Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c86f3382c5af20230a0e7f19b8225d91b13900b4+8250e301d92a025f83865f5663963929d81085da (5b308c9c2604722f27659a54039670c8c78dec14) 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-ssh1450379400047290914.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2097994547506805586.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 6c1167a966ce7273a24629bf6583a1975ad218c3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1244/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-1244/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4628555532215201252.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 6c1167a966ce7273a24629bf6583a1975ad218c3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 6c1167a966ce7273a24629bf6583a1975ad218c3 # timeout=10 Commit message: "Merge pull request #418 from cjoyv/upgrade-gradle" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh11857982874911912446.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-1244/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-1244/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15149319148945600592.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-117438 in /w/workspace/gexfoundry_device-sdk-go_PR-1244 [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-1244 # 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/1244/head:refs/remotes/origin/PR-1244 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8250e301d92a025f83865f5663963929d81085da into PR head commit c86f3382c5af20230a0e7f19b8225d91b13900b4 Merge succeeded, producing 97257b8796e026a7d5e717dffd91c696e8afa037 Checking out Revision 97257b8796e026a7d5e717dffd91c696e8afa037 (PR-1244) > git config core.sparsecheckout # timeout=10 > git checkout -f c86f3382c5af20230a0e7f19b8225d91b13900b4 # 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 8250e301d92a025f83865f5663963929d81085da # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 97257b8796e026a7d5e717dffd91c696e8afa037 # timeout=10 Commit message: "Merge commit '8250e301d92a025f83865f5663963929d81085da' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 958d654d46e124f578525c94fc4c2683daa14816 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:41:15 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:41:16 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:41:16 ========================================================= 06:41:16 EdgeX Global Pipelines Version Info 06:41:16 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:41:16 ------------------- 06:41:16 stable info: 06:41:16 ------------------- 06:41:16 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:41:16 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 06:41:16 Message: update stable to v1.0.243 06:41:17 ------------------- 06:41:17 experimental info: 06:41:17 ------------------- 06:41:17 Commited By: **** collab-it+edgex@linuxfoundation.org 06:41:17 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 06:41:17 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:41:17 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 06:41:17 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 06:41:17 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:41:17 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:41:17 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:41:17 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 06:41:17 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:41:17 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 06:41:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:41:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:41:17 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:41:17 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 06:41:17 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:41:17 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:41:17 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:41:17 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 06:41:17 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:41:17 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:41:17 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:41:17 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:41:17 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:41:17 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 06:41:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:41:17 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:41:17 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:41:17 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:41:17 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:41:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1244 [Pipeline] echo 06:41:17 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1244 [Pipeline] echo 06:41:17 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1244 [Pipeline] echo 06:41:17 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 97257b8796e026a7d5e717dffd91c696e8afa037 [Pipeline] echo 06:41:17 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 97257b8 [Pipeline] echo 06:41:17 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:41:17 provisioning config files... 06:41:17 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config1494149059369619097tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:41:18 ---> docker-login.sh 06:41:18 nexus3.edgexfoundry.org:10001 06:41:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:19 Configure a credential helper to remove this warning. See 06:41:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:19 06:41:19 Login Succeeded 06:41:19 nexus3.edgexfoundry.org:10002 06:41:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:19 Configure a credential helper to remove this warning. See 06:41:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:19 06:41:19 Login Succeeded 06:41:19 nexus3.edgexfoundry.org:10003 06:41:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:19 Configure a credential helper to remove this warning. See 06:41:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:19 06:41:19 Login Succeeded 06:41:19 nexus3.edgexfoundry.org:10004 06:41:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:19 Configure a credential helper to remove this warning. See 06:41:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:19 06:41:19 Login Succeeded 06:41:19 docker.io 06:41:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:19 Configure a credential helper to remove this warning. See 06:41:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:19 06:41:19 Login Succeeded 06:41:19 ---> docker-login.sh ends [Pipeline] } 06:41:19 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:41:19 + git rev-list -1 --merges 97257b8796e026a7d5e717dffd91c696e8afa037~1..97257b8796e026a7d5e717dffd91c696e8afa037 [Pipeline] echo 06:41:20 -----------> git rev-list -1 --merges 97257b8796e026a7d5e717dffd91c696e8afa037~1..97257b8796e026a7d5e717dffd91c696e8afa037 97257b8796e026a7d5e717dffd91c696e8afa037 06:41:20 97257b8796e026a7d5e717dffd91c696e8afa037 [false] [Pipeline] sh 06:41:20 + git log --format=format:%s -1 97257b8796e026a7d5e717dffd91c696e8afa037 [Pipeline] echo 06:41:20 ========================================================= 06:41:20 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:41:20 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:41:20 + git log --format=format:%s -1 97257b8796e026a7d5e717dffd91c696e8afa037 [Pipeline] echo 06:41:20 [semverPrep] GIT_COMMIT: 97257b8796e026a7d5e717dffd91c696e8afa037, Commit Message: Merge commit '8250e301d92a025f83865f5663963929d81085da' into HEAD [Pipeline] echo 06:41:20 [semverPrep] This is not a build commit. [Pipeline] sh 06:41:21 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:41:21 + grep -v github /etc/ssh/ssh_known_hosts 06:41:21 + [ -e /tmp/ssh_known_hosts ] 06:41:21 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:41:21 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:41:21 sudo tee -a /etc/ssh/ssh_known_hosts 06:41:21 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:41:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:41:21 06:41:21 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:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:41:21 0.1.4: Pulling from edgex-devops/py-git-semver 06:41:21 b85a868b505f: Pulling fs layer 06:41:21 e2be974225ed: Pulling fs layer 06:41:21 339a4e72a1f5: Pulling fs layer 06:41:21 988bab9f4d93: Pulling fs layer 06:41:21 1469e6f7b9e6: Pulling fs layer 06:41:21 eaf3925da568: Pulling fs layer 06:41:21 bab4dde63d76: Pulling fs layer 06:41:21 bde34c3a00c8: Pulling fs layer 06:41:21 b352a97aabf1: Pulling fs layer 06:41:21 4872d77fe225: Pulling fs layer 06:41:21 5851b861e8e6: Pulling fs layer 06:41:21 bab4dde63d76: Waiting 06:41:21 bde34c3a00c8: Waiting 06:41:21 b352a97aabf1: Waiting 06:41:21 4872d77fe225: Waiting 06:41:21 5851b861e8e6: Waiting 06:41:21 988bab9f4d93: Waiting 06:41:21 1469e6f7b9e6: Waiting 06:41:21 eaf3925da568: Waiting 06:41:21 e2be974225ed: Verifying Checksum 06:41:21 e2be974225ed: Download complete 06:41:21 988bab9f4d93: Verifying Checksum 06:41:21 1469e6f7b9e6: Verifying Checksum 06:41:21 1469e6f7b9e6: Download complete 06:41:21 339a4e72a1f5: Verifying Checksum 06:41:21 339a4e72a1f5: Download complete 06:41:21 eaf3925da568: Verifying Checksum 06:41:21 eaf3925da568: Download complete 06:41:21 bde34c3a00c8: Verifying Checksum 06:41:21 bde34c3a00c8: Download complete 06:41:21 b352a97aabf1: Download complete 06:41:21 4872d77fe225: Download complete 06:41:21 5851b861e8e6: Verifying Checksum 06:41:21 5851b861e8e6: Download complete 06:41:21 b85a868b505f: Download complete 06:41:22 bab4dde63d76: Verifying Checksum 06:41:22 bab4dde63d76: Download complete 06:41:23 b85a868b505f: Pull complete 06:41:23 e2be974225ed: Pull complete 06:41:24 339a4e72a1f5: Pull complete 06:41:24 988bab9f4d93: Pull complete 06:41:24 1469e6f7b9e6: Pull complete 06:41:24 eaf3925da568: Pull complete 06:41:26 bab4dde63d76: Pull complete 06:41:26 bde34c3a00c8: Pull complete 06:41:26 b352a97aabf1: Pull complete 06:41:26 4872d77fe225: Pull complete 06:41:26 5851b861e8e6: Pull complete 06:41:26 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:41:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:41:26 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:41:26 prd-ubuntu20.04-docker-8c-8g-117438 does not seem to be running inside a container 06:41:26 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:41:28 $ docker top 2b0e909df6b33788a7f7f9907a20bfa06f7abdb0f7e2c4ce827722212ae3560e -eo pid,comm 06:41:28 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:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:41:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:41:28 [ssh-agent] Looking for ssh-agent implementation... 06:41:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:41:28 $ docker exec 2b0e909df6b33788a7f7f9907a20bfa06f7abdb0f7e2c4ce827722212ae3560e ssh-agent 06:41:28 SSH_AUTH_SOCK=/tmp/ssh-lWDDlrN0M2Rg/agent.33 06:41:28 SSH_AGENT_PID=39 06:41:28 Running ssh-add (command line suppressed) 06:41:28 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_7068244696682232809.key (/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_7068244696682232809.key) 06:41:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:41:29 + git tag --points-at HEAD [Pipeline] } 06:41:29 $ docker exec --env ******** --env ******** 2b0e909df6b33788a7f7f9907a20bfa06f7abdb0f7e2c4ce827722212ae3560e ssh-agent -k 06:41:29 unset SSH_AUTH_SOCK; 06:41:29 unset SSH_AGENT_PID; 06:41:29 echo Agent pid 39 killed; 06:41:29 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:41:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:41:29 [ssh-agent] Looking for ssh-agent implementation... 06:41:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:41:29 $ docker exec 2b0e909df6b33788a7f7f9907a20bfa06f7abdb0f7e2c4ce827722212ae3560e ssh-agent 06:41:29 SSH_AUTH_SOCK=/tmp/ssh-aJVjlSuvXUnr/agent.71 06:41:29 SSH_AGENT_PID=77 06:41:29 Running ssh-add (command line suppressed) 06:41:29 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_4659696185902040577.key (/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/private_key_4659696185902040577.key) 06:41:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:41:29 + git semver init 06:41:30 2022-10-27 06:41:30,211 [run_init] DEBUG init version:0.0.0 force:False 06:41:30 2022-10-27 06:41:30,212 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver 06:41:30 2022-10-27 06:41:30,212 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver 06:41:30 2022-10-27 06:41:30,212 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1244, universal_newlines=False, shell=None, istream=None) 06:41:31 2022-10-27 06:41:31,330 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.git/info/exclude 06:41:31 2022-10-27 06:41:31,331 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver/PR-1244 with force:False 06:41:31 2022-10-27 06:41:31,331 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver/PR-1244 06:41:31 2022-10-27 06:41:31,334 [execute] INFO git cat-file --batch-check 06:41:31 2022-10-27 06:41:31,335 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver, universal_newlines=False, shell=None, istream=) 06:41:31 2022-10-27 06:41:31,340 [execute] INFO git cat-file --batch 06:41:31 2022-10-27 06:41:31,341 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver, universal_newlines=False, shell=None, istream=) 06:41:31 2022-10-27 06:41:31,344 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1244/.semver/PR-1244 06:41:31 0.0.0 [Pipeline] } 06:41:31 $ docker exec --env ******** --env ******** 2b0e909df6b33788a7f7f9907a20bfa06f7abdb0f7e2c4ce827722212ae3560e ssh-agent -k 06:41:31 unset SSH_AUTH_SOCK; 06:41:31 unset SSH_AGENT_PID; 06:41:31 echo Agent pid 77 killed; 06:41:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:41:32 + git semver [Pipeline] } 06:41:32 $ docker stop --time=1 2b0e909df6b33788a7f7f9907a20bfa06f7abdb0f7e2c4ce827722212ae3560e 06:41:33 $ docker rm -f 2b0e909df6b33788a7f7f9907a20bfa06f7abdb0f7e2c4ce827722212ae3560e [Pipeline] // withDockerContainer [Pipeline] sh 06:41:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:41:34 Stashed 1 file(s) [Pipeline] echo 06:41:34 [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:34 provisioning config files... 06:41:34 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config2656682724667496555tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:41:34 ---> docker-login.sh 06:41:34 nexus3.edgexfoundry.org:10001 06:41:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:34 Configure a credential helper to remove this warning. See 06:41:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:34 06:41:34 Login Succeeded 06:41:34 nexus3.edgexfoundry.org:10002 06:41:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:34 Configure a credential helper to remove this warning. See 06:41:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:34 06:41:34 Login Succeeded 06:41:34 nexus3.edgexfoundry.org:10003 06:41:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:34 Configure a credential helper to remove this warning. See 06:41:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:34 06:41:34 Login Succeeded 06:41:34 nexus3.edgexfoundry.org:10004 06:41:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:34 Configure a credential helper to remove this warning. See 06:41:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:34 06:41:34 Login Succeeded 06:41:34 docker.io 06:41:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:41:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:41:35 Configure a credential helper to remove this warning. See 06:41:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:41:35 06:41:35 Login Succeeded 06:41:35 ---> docker-login.sh ends [Pipeline] } 06:41:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:41:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:41:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:41:35 ========================================================= 06:41:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 06:41:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:41:35 + 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:35 Sending build context to Docker daemon 10.11MB 06:41:35 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 06:41:35 Step 2/10 : FROM ${BASE} AS builder 06:41:35 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 06:41:35 213ec9aee27d: Pulling fs layer 06:41:35 4583459ba037: Pulling fs layer 06:41:35 93c1e223e6f2: Pulling fs layer 06:41:35 53926ce57604: Pulling fs layer 06:41:35 21b2b0c7a3f4: Pulling fs layer 06:41:35 30f14e443154: Pulling fs layer 06:41:35 801331c1e519: Pulling fs layer 06:41:35 99cc6dd402b0: Pulling fs layer 06:41:35 7d9ed39f4882: Pulling fs layer 06:41:35 53926ce57604: Waiting 06:41:35 21b2b0c7a3f4: Waiting 06:41:35 30f14e443154: Waiting 06:41:35 801331c1e519: Waiting 06:41:35 99cc6dd402b0: Waiting 06:41:35 7d9ed39f4882: Waiting 06:41:35 93c1e223e6f2: Verifying Checksum 06:41:35 93c1e223e6f2: Download complete 06:41:35 4583459ba037: Download complete 06:41:36 21b2b0c7a3f4: Download complete 06:41:36 30f14e443154: Download complete 06:41:36 213ec9aee27d: Verifying Checksum 06:41:36 213ec9aee27d: Download complete 06:41:36 801331c1e519: Verifying Checksum 06:41:36 801331c1e519: Download complete 06:41:36 213ec9aee27d: Pull complete 06:41:36 4583459ba037: Pull complete 06:41:36 93c1e223e6f2: Pull complete 06:41:36 7d9ed39f4882: Verifying Checksum 06:41:36 7d9ed39f4882: Download complete 06:41:36 99cc6dd402b0: Verifying Checksum 06:41:36 99cc6dd402b0: Download complete 06:41:36 53926ce57604: Verifying Checksum 06:41:36 53926ce57604: Download complete 06:41:40 53926ce57604: Pull complete 06:41:40 21b2b0c7a3f4: Pull complete 06:41:40 30f14e443154: Pull complete 06:41:40 801331c1e519: Pull complete 06:41:42 99cc6dd402b0: Pull complete 06:41:43 7d9ed39f4882: Pull complete 06:41:43 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 06:41:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 06:41:43 ---> 1dedd983c030 06:41:43 Step 3/10 : ARG MAKE=make build 06:41:45 ---> Running in f6c0617597e8 06:41:45 Removing intermediate container f6c0617597e8 06:41:45 ---> 3d1916dddf7c 06:41:45 Step 4/10 : WORKDIR /device-sdk-go 06:41:45 ---> Running in 672b9203cc12 06:41:45 Removing intermediate container 672b9203cc12 06:41:45 ---> 2fb0a609de8a 06:41:45 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:41:45 ---> Running in 595d07f85c83 06:41:45 Removing intermediate container 595d07f85c83 06:41:45 ---> 611fc72d126f 06:41:45 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:41:45 ---> Running in 27e7e03fbaa9 06:41:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:41:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:41:46 OK: 211 MiB in 51 packages 06:41:46 Removing intermediate container 27e7e03fbaa9 06:41:46 ---> f83f4d8a6d25 06:41:46 Step 7/10 : COPY go.mod vendor* ./ 06:41:47 ---> 96ffb174a2b8 06:41:47 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:41:47 ---> Running in ec10dc1c0987 06:41:49 Still waiting to schedule task 06:41:49 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:42:05 Removing intermediate container ec10dc1c0987 06:42:05 ---> 3e9b3a62dc59 06:42:05 Step 9/10 : COPY . . 06:42:05 ---> cd2237c59613 06:42:05 Step 10/10 : RUN ${MAKE} 06:42:05 ---> Running in 36b314b8af13 06:42:05 noop 06:42:05 Removing intermediate container 36b314b8af13 06:42:05 ---> 15c75a14d111 06:42:05 Successfully built 15c75a14d111 06:42:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:05 + docker inspect -f . ci-base-image-x86_64 06:42:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:42:05 prd-ubuntu20.04-docker-8c-8g-117438 does not seem to be running inside a container 06:42:05 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:42:06 $ docker top 9e7d2c18e3cfcf2f5088f394d1b30d29a3cc92f5c84bb50aac628d4884769956 -eo pid,comm [Pipeline] { [Pipeline] sh 06:42:06 + go version 06:42:06 go version go1.18.7 linux/amd64 [Pipeline] } 06:42:06 $ docker stop --time=1 9e7d2c18e3cfcf2f5088f394d1b30d29a3cc92f5c84bb50aac628d4884769956 06:42:07 $ docker rm -f 9e7d2c18e3cfcf2f5088f394d1b30d29a3cc92f5c84bb50aac628d4884769956 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:08 + docker inspect -f . ci-base-image-x86_64 06:42:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:42:08 prd-ubuntu20.04-docker-8c-8g-117438 does not seem to be running inside a container 06:42:08 $ 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-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 06:42:08 $ docker top c71adfef9210241b5f322279e3335960706da34340973974757da571b75812c9 -eo pid,comm [Pipeline] { [Pipeline] sh 06:42:08 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1244 [Pipeline] fileExists [Pipeline] sh 06:42:09 + make test 06:42:09 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:42:15 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:42:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:42:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:42:27 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:42:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:42:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:42:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.059s coverage: 27.6% of statements 06:42:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.048s coverage: 78.9% of statements 06:42:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 06:42:27 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.094s coverage: 73.1% of statements 06:42:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:42:27 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:42:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.100s coverage: 54.4% of statements 06:42:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:42:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 06:42:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:42:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:42:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.075s coverage: 65.1% of statements 06:42:28 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 06:42:28 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 06:42:28 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.743s coverage: 89.2% of statements 06:42:28 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 06:42:28 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.059s coverage: 4.7% of statements 06:42:28 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:42:43 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:43 GO111MODULE=on go vet ./... 06:42:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:42:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:42:45 ./bin/test-attribution-txt.sh 06:42:45 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 06:42:45 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 06:42:45 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 06:42:45 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 06:42:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:42:45 $ docker stop --time=1 c71adfef9210241b5f322279e3335960706da34340973974757da571b75812c9 06:42:48 $ docker rm -f c71adfef9210241b5f322279e3335960706da34340973974757da571b75812c9 [Pipeline] // withDockerContainer [Pipeline] sh 06:42:48 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:42:48 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:42:49 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:42:49 + ls -al . 06:42:49 total 280 06:42:49 drwxrwxr-x 11 jenkins jenkins 4096 Oct 27 06:42 . 06:42:49 drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 06:41 .. 06:42:49 -rw-rw-r-- 1 jenkins jenkins 140 Oct 27 06:41 .dockerignore 06:42:49 drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 06:42 .git 06:42:49 drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 06:41 .github 06:42:49 -rw-rw-r-- 1 jenkins jenkins 131 Oct 27 06:41 .gitignore 06:42:49 -rw-rw-r-- 1 jenkins jenkins 42 Oct 27 06:41 .golangci.yml 06:42:49 drwxr-xr-x 3 jenkins jenkins 4096 Oct 27 06:41 .semver 06:42:49 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 27 06:41 CHANGELOG.md 06:42:49 -rw-rw-r-- 1 jenkins jenkins 677 Oct 27 06:41 GOVERNANCE.md 06:42:49 -rw-rw-r-- 1 jenkins jenkins 880 Oct 27 06:41 Jenkinsfile 06:42:49 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 27 06:41 LICENSE 06:42:49 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 27 06:41 Makefile 06:42:49 -rw-rw-r-- 1 jenkins jenkins 619 Oct 27 06:41 OWNERS.md 06:42:49 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 27 06:41 README.md 06:42:49 -rw-rw-r-- 1 jenkins jenkins 5 Oct 27 06:41 VERSION 06:42:49 drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 06:41 bin 06:42:49 -rw-r--r-- 1 jenkins jenkins 101759 Oct 27 06:42 coverage.out 06:42:49 drwxrwxr-x 5 jenkins jenkins 4096 Oct 27 06:41 example 06:42:49 -rw-rw-r-- 1 jenkins jenkins 3389 Oct 27 06:41 go.mod 06:42:49 -rw-rw-r-- 1 jenkins jenkins 44684 Oct 27 06:41 go.sum 06:42:49 drwxrwxr-x 14 jenkins jenkins 4096 Oct 27 06:41 internal 06:42:49 drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 06:41 openapi 06:42:49 drwxrwxr-x 6 jenkins jenkins 4096 Oct 27 06:41 pkg 06:42:49 drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 06:41 snap 06:42:49 -rw-rw-r-- 1 jenkins jenkins 222 Oct 27 06:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:42:49 + 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=97257b8796e026a7d5e717dffd91c696e8afa037 --label arch=amd64 --label version=0.0.0 . 06:42:49 Sending build context to Docker daemon 10.22MB 06:42:49 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 06:42:49 Step 2/23 : FROM ${BASE} AS builder 06:42:49 ---> 15c75a14d111 06:42:49 Step 3/23 : ARG MAKE=make build 06:42:49 ---> Running in 79bed6f2bf1d 06:42:49 Removing intermediate container 79bed6f2bf1d 06:42:49 ---> 8b182171a08c 06:42:49 Step 4/23 : WORKDIR /device-sdk-go 06:42:49 ---> Running in a631e05c471c 06:42:49 Removing intermediate container a631e05c471c 06:42:49 ---> 84dccf3608f8 06:42:49 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:42:49 ---> Running in cda01087945c 06:42:50 Removing intermediate container cda01087945c 06:42:50 ---> eefd2266ee49 06:42:50 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:42:50 ---> Running in 3594206331e7 06:42:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:42:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:42:50 OK: 211 MiB in 51 packages 06:42:50 Removing intermediate container 3594206331e7 06:42:50 ---> 427b4ee5b3e2 06:42:50 Step 7/23 : COPY go.mod vendor* ./ 06:42:51 ---> 2344f6a31125 06:42:51 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:42:51 ---> Running in 4f3fc84b4c06 06:42:51 Removing intermediate container 4f3fc84b4c06 06:42:51 ---> 84d800e9b21b 06:42:51 Step 9/23 : COPY . . 06:42:52 ---> 8d968b0d03ef 06:42:52 Step 10/23 : RUN ${MAKE} 06:42:52 ---> Running in 2acafb9ecf50 06:42:52 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:10 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:43:11 Removing intermediate container 2acafb9ecf50 06:43:11 ---> 7e8e9db733fd 06:43:11 Step 11/23 : FROM alpine:3.16 06:43:11 3.16: Pulling from library/alpine 06:43:11 213ec9aee27d: Already exists 06:43:12 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 06:43:12 Status: Downloaded newer image for alpine:3.16 06:43:12 ---> 9c6f07244728 06:43:12 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:43:12 ---> Running in 445804fd90c7 06:43:12 Removing intermediate container 445804fd90c7 06:43:12 ---> 6266bfab9ea1 06:43:12 Step 13/23 : RUN apk add --update --no-cache zeromq 06:43:12 ---> Running in da432ce1e38c 06:43:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 06:43:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 06:43:12 (1/5) Installing libgcc (11.2.1_git20220219-r2) 06:43:12 (2/5) Installing libsodium (1.0.18-r0) 06:43:12 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 06:43:12 (4/5) Installing libzmq (4.3.4-r0) 06:43:12 (5/5) Installing zeromq (4.3.4-r0) 06:43:12 Executing busybox-1.35.0-r17.trigger 06:43:12 OK: 8 MiB in 19 packages 06:43:13 Removing intermediate container da432ce1e38c 06:43:13 ---> edefecf10055 06:43:13 Step 14/23 : WORKDIR / 06:43:13 ---> Running in 6fdc7bc84f4b 06:43:13 Removing intermediate container 6fdc7bc84f4b 06:43:13 ---> a7b8642b9987 06:43:13 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:43:13 ---> 8e892cdc4056 06:43:13 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:43:14 ---> c3ccf930495b 06:43:14 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:43:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117439 in /w/workspace/gexfoundry_device-sdk-go_PR-1244 [Pipeline] { [Pipeline] ws 06:43:14 Running in /w/workspace/device-sdk-go/4 [Pipeline] { [Pipeline] checkout 06:43:14 The recommended git tool is: git 06:43:14 ---> 82db15509ea3 06:43:14 Step 18/23 : EXPOSE 59999 06:43:14 ---> Running in 47471b51fbd8 06:43:14 Removing intermediate container 47471b51fbd8 06:43:14 ---> 66f218493db9 06:43:14 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:43:14 ---> Running in 02bd6565394e 06:43:14 Removing intermediate container 02bd6565394e 06:43:14 ---> 67e8c946ae6c 06:43:14 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:43:14 ---> Running in 1d359ef97fec 06:43:14 Removing intermediate container 1d359ef97fec 06:43:14 ---> f08f824e32a3 06:43:14 Step 21/23 : LABEL arch=amd64 06:43:14 ---> Running in c11f776b69d0 06:43:14 Removing intermediate container c11f776b69d0 06:43:14 ---> 0ec77a5012e0 06:43:14 Step 22/23 : LABEL git_sha=97257b8796e026a7d5e717dffd91c696e8afa037 06:43:14 ---> Running in 854c1988c3b2 06:43:14 Removing intermediate container 854c1988c3b2 06:43:14 ---> 8966fcfb50ba 06:43:14 Step 23/23 : LABEL version=0.0.0 06:43:14 ---> Running in 6faa101c9032 06:43:15 Removing intermediate container 6faa101c9032 06:43:15 ---> e4b25aa2a738 06:43:15 [Warning] One or more build-args [ARCH] were not consumed 06:43:15 Successfully built e4b25aa2a738 06:43:15 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:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:43:15 06:43:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:43:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:43:15 latest: Pulling from edgex-lftools-log-publisher 06:43:15 5eb5b503b376: Pulling fs layer 06:43:15 5c69ac0246d0: Pulling fs layer 06:43:15 ec43610c2a17: Pulling fs layer 06:43:15 3a2ae6a8a46f: Pulling fs layer 06:43:15 33b1e0a273af: Pulling fs layer 06:43:15 5d3b04190fa2: Pulling fs layer 06:43:15 2f39f015ded8: Pulling fs layer 06:43:15 3a2ae6a8a46f: Waiting 06:43:15 33b1e0a273af: Waiting 06:43:15 5c69ac0246d0: Verifying Checksum 06:43:15 5c69ac0246d0: Download complete 06:43:15 3a2ae6a8a46f: Verifying Checksum 06:43:15 3a2ae6a8a46f: Download complete 06:43:15 33b1e0a273af: Verifying Checksum 06:43:15 33b1e0a273af: Download complete 06:43:15 ec43610c2a17: Verifying Checksum 06:43:15 ec43610c2a17: Download complete 06:43:15 5d3b04190fa2: Verifying Checksum 06:43:15 5d3b04190fa2: Download complete 06:43:16 5eb5b503b376: Verifying Checksum 06:43:16 5eb5b503b376: Download complete 06:43:16 2f39f015ded8: Download complete 06:43:17 5eb5b503b376: Pull complete 06:43:17 5c69ac0246d0: Pull complete 06:43:17 ec43610c2a17: Pull complete 06:43:17 3a2ae6a8a46f: Pull complete 06:43:17 33b1e0a273af: Pull complete 06:43:18 5d3b04190fa2: Pull complete 06:43:18 using credential edgex-jenkins-ssh 06:43:18 Cloning the remote Git repository 06:43:18 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 06:43:18 > git init /w/workspace/device-sdk-go/4 # timeout=10 06:43:19 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:43:19 > git --version # timeout=10 06:43:19 > git --version # 'git version 2.25.1' 06:43:19 using GIT_SSH to set credentials SSH Credentials for GitHub 06:43:19 Verifying host key using known hosts file 06:43:19 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:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:43:20 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:43:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:43:22 2f39f015ded8: Pull complete 06:43:22 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:43:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:43:22 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:43:22 Merging remotes/origin/main commit 8250e301d92a025f83865f5663963929d81085da into PR head commit c86f3382c5af20230a0e7f19b8225d91b13900b4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:43:22 prd-ubuntu20.04-docker-8c-8g-117438 does not seem to be running inside a container 06:43:22 $ 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-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:43:22 Merge succeeded, producing a2cbac808847926cba089165f83d8f8e6b4e2b12 06:43:22 Checking out Revision a2cbac808847926cba089165f83d8f8e6b4e2b12 (PR-1244) 06:43:21 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 06:43:21 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 06:43:21 using GIT_SSH to set credentials SSH Credentials for GitHub 06:43:21 Verifying host key using known hosts file 06:43:21 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:21 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1244/head:refs/remotes/origin/PR-1244 +refs/heads/main:refs/remotes/origin/main # timeout=10 06:43:22 > git config core.sparsecheckout # timeout=10 06:43:22 > git checkout -f c86f3382c5af20230a0e7f19b8225d91b13900b4 # timeout=10 06:43:22 > git remote # timeout=10 06:43:22 > git config --get remote.origin.url # timeout=10 06:43:22 using GIT_SSH to set credentials SSH Credentials for GitHub 06:43:22 Verifying host key using known hosts file 06:43:22 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 06:43:22 > git merge 8250e301d92a025f83865f5663963929d81085da # timeout=10 06:43:22 > git rev-parse HEAD^{commit} # timeout=10 06:43:22 > git config core.sparsecheckout # timeout=10 06:43:22 > git checkout -f a2cbac808847926cba089165f83d8f8e6b4e2b12 # timeout=10 06:43:24 $ docker top 0c05b918e608fd81d3741ab25a4542f6521972d484b4c32578b034f217d081fb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:43:24 ---> job-cost.sh 06:43:24 lf-activate-venv: SKIPPING 06:43:24 INFO: No Stack... 06:43:24 INFO: Retrieving Pricing Info for: v3-standard-8 06:43:25 INFO: Archiving Costs [Pipeline] sh 06:43:25 + + cat /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives/cost.csv 06:43:25 cut -d, -f6 [Pipeline] lock 06:43:25 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1244-4-stack-cost] 06:43:25 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-4-stack-cost] did not exist. Created. 06:43:25 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1244-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:43:25 + echo total: 0.2199999988079071 [Pipeline] stash 06:43:25 Stashed 1 file(s) [Pipeline] } 06:43:25 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-4-stack-cost] [Pipeline] // lock [Pipeline] } 06:43:25 $ docker stop --time=1 0c05b918e608fd81d3741ab25a4542f6521972d484b4c32578b034f217d081fb 06:43:26 Commit message: "Merge commit '8250e301d92a025f83865f5663963929d81085da' into HEAD" 06:43:26 First time build. Skipping changelog. 06:43:26 06:43:26 GitHub has been notified of this commit’s build result 06:43:26 06:43:27 $ docker rm -f 0c05b918e608fd81d3741ab25a4542f6521972d484b4c32578b034f217d081fb [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:26 > git rev-list --no-walk 958d654d46e124f578525c94fc4c2683daa14816 # timeout=10 06:43:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:43:27 % Total % Received % Xferd Average Speed Time Time Time Current 06:43:27 Dload Upload Total Spent Left Speed 06:43:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 77790 0 --:--:-- --:--:-- --:--:-- 77790 [Pipeline] sh 06:43:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:43:28 + sudo tee /etc/docker/daemon.new 06:43:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:43:28 { 06:43:28 "registry-mirrors": [ 06:43:28 "https://nexus3.edgexfoundry.org:10001" 06:43:28 ], 06:43:28 "bip": "10.250.0.254/24", 06:43:28 "hosts": [ 06:43:28 "tcp://0.0.0.0:5555", 06:43:28 "unix:///var/run/docker.sock" 06:43:28 ], 06:43:28 "mtu": 1458, 06:43:28 "selinux-enabled": true, 06:43:28 "seccomp-profile": "/etc/docker/seccomp.json" 06:43:28 } [Pipeline] sh 06:43:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:43:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:43:47 provisioning config files... 06:43:47 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/4@tmp/config16394399283932458345tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:43:48 ---> docker-login.sh 06:43:48 nexus3.edgexfoundry.org:10001 06:43:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:48 Configure a credential helper to remove this warning. See 06:43:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:48 06:43:48 Login Succeeded 06:43:48 nexus3.edgexfoundry.org:10002 06:43:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:49 Configure a credential helper to remove this warning. See 06:43:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:49 06:43:49 Login Succeeded 06:43:49 nexus3.edgexfoundry.org:10003 06:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:49 Configure a credential helper to remove this warning. See 06:43:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:49 06:43:49 Login Succeeded 06:43:49 nexus3.edgexfoundry.org:10004 06:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:49 Configure a credential helper to remove this warning. See 06:43:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:49 06:43:49 Login Succeeded 06:43:49 docker.io 06:43:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:43:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:43:50 Configure a credential helper to remove this warning. See 06:43:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:43:50 06:43:50 Login Succeeded 06:43:50 ---> docker-login.sh ends [Pipeline] } 06:43:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:43:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:43:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:43:50 ========================================================= 06:43:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 06:43:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:43:50 + 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:43:51 Sending build context to Docker daemon 5.454MB 06:43:51 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 06:43:51 Step 2/10 : FROM ${BASE} AS builder 06:43:51 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:43:51 9b18e9b68314: Pulling fs layer 06:43:51 d32db5db7311: Pulling fs layer 06:43:51 d0c4b47475fc: Pulling fs layer 06:43:51 5831b945b038: Pulling fs layer 06:43:51 86bbec2aaacd: Pulling fs layer 06:43:51 e10730c5d714: Pulling fs layer 06:43:51 5dd5c2283517: Pulling fs layer 06:43:51 d5ac0230b979: Pulling fs layer 06:43:51 5831b945b038: Waiting 06:43:51 e10730c5d714: Waiting 06:43:51 86bbec2aaacd: Waiting 06:43:51 d5ac0230b979: Waiting 06:43:51 5dd5c2283517: Waiting 06:43:51 d0c4b47475fc: Verifying Checksum 06:43:51 d0c4b47475fc: Download complete 06:43:51 d32db5db7311: Download complete 06:43:51 86bbec2aaacd: Download complete 06:43:51 e10730c5d714: Verifying Checksum 06:43:51 e10730c5d714: Download complete 06:43:51 9b18e9b68314: Verifying Checksum 06:43:51 9b18e9b68314: Download complete 06:43:52 9b18e9b68314: Pull complete 06:43:52 d5ac0230b979: Verifying Checksum 06:43:52 d5ac0230b979: Download complete 06:43:52 d32db5db7311: Pull complete 06:43:53 d0c4b47475fc: Pull complete 06:43:53 5dd5c2283517: Verifying Checksum 06:43:53 5dd5c2283517: Download complete 06:43:54 5831b945b038: Verifying Checksum 06:43:54 5831b945b038: Download complete 06:44:06 5831b945b038: Pull complete 06:44:06 86bbec2aaacd: Pull complete 06:44:06 e10730c5d714: Pull complete 06:44:13 5dd5c2283517: Pull complete 06:44:14 d5ac0230b979: Pull complete 06:44:14 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 06:44:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 06:44:14 ---> 59b3b1a385d4 06:44:14 Step 3/10 : ARG MAKE=make build 06:44:17 ---> Running in 71e242ad2688 06:44:17 Removing intermediate container 71e242ad2688 06:44:17 ---> a0e3a39b62ba 06:44:17 Step 4/10 : WORKDIR /device-sdk-go 06:44:17 ---> Running in 0d13f40ae71f 06:44:17 Removing intermediate container 0d13f40ae71f 06:44:17 ---> cc0ec2a52173 06:44:17 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:44:17 ---> Running in 3cc54826fde2 06:44:17 Removing intermediate container 3cc54826fde2 06:44:17 ---> f501e7eda4fa 06:44:17 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:44:17 ---> Running in 7fe2b172218d 06:44:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:44:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:44:20 OK: 221 MiB in 51 packages 06:44:20 Removing intermediate container 7fe2b172218d 06:44:20 ---> e6ed31801728 06:44:20 Step 7/10 : COPY go.mod vendor* ./ 06:44:21 ---> baa8ba78c404 06:44:21 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:44:21 ---> Running in 1f20003265b0 06:45:17 Removing intermediate container 1f20003265b0 06:45:17 ---> 3ebc8e602578 06:45:17 Step 9/10 : COPY . . 06:45:17 ---> 083f046aa942 06:45:17 Step 10/10 : RUN ${MAKE} 06:45:17 ---> Running in 878dd8676bd1 06:45:17 noop 06:45:17 Removing intermediate container 878dd8676bd1 06:45:17 ---> a2d022e10d32 06:45:17 Successfully built a2d022e10d32 06:45:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:18 + docker inspect -f . ci-base-image-arm64 06:45:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:45:18 prd-ubuntu20.04-docker-arm64-4c-16g-117439 does not seem to be running inside a container 06:45:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:45:19 $ docker top 54c22d5761ae6b7ec1dfd6d59a818398fcb00d1cc6557a4e72e835fc5f31e8bd -eo pid,comm [Pipeline] { [Pipeline] sh 06:45:19 + go version 06:45:20 go version go1.18.7 linux/arm64 [Pipeline] } 06:45:20 $ docker stop --time=1 54c22d5761ae6b7ec1dfd6d59a818398fcb00d1cc6557a4e72e835fc5f31e8bd 06:45:21 $ docker rm -f 54c22d5761ae6b7ec1dfd6d59a818398fcb00d1cc6557a4e72e835fc5f31e8bd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:45:22 + docker inspect -f . ci-base-image-arm64 06:45:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:45:22 prd-ubuntu20.04-docker-arm64-4c-16g-117439 does not seem to be running inside a container 06:45:22 $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:45:23 $ docker top 42f44d9f3de96949b387359b33bda4da746dada755975f8bc09fdfff43c72d3c -eo pid,comm [Pipeline] { [Pipeline] sh 06:45:23 + git config --global --add safe.directory /w/workspace/device-sdk-go/4 [Pipeline] fileExists [Pipeline] sh 06:45:24 + make test 06:45:24 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 06:45:56 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 06:47:48 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 06:47:48 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 06:47:48 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 06:47:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 06:47:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 06:47:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.390s coverage: 27.6% of statements 06:47:48 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.310s coverage: 78.9% of statements 06:47:48 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 06:47:58 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.657s coverage: 73.1% of statements 06:47:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 06:47:58 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 06:48:00 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.577s coverage: 54.4% of statements 06:48:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 06:48:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 06:48:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 06:48:00 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 06:48:01 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.469s coverage: 65.1% of statements 06:48:01 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 06:48:01 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 06:48:01 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.819s coverage: 89.2% of statements 06:48:01 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 06:48:02 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.230s coverage: 4.7% of statements 06:48:02 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 06:48:03 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:48:03 GO111MODULE=on go vet ./... 06:49:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:49:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:49:39 ./bin/test-attribution-txt.sh 06:49:39 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 06:49:39 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 06:49:39 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 06:49:39 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 06:49:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:49:39 $ docker stop --time=1 42f44d9f3de96949b387359b33bda4da746dada755975f8bc09fdfff43c72d3c 06:49:41 $ docker rm -f 42f44d9f3de96949b387359b33bda4da746dada755975f8bc09fdfff43c72d3c [Pipeline] // withDockerContainer [Pipeline] sh 06:49:43 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:49:43 Warning: overwriting stash ‘coverage-report’ 06:49:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:49:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:49:44 + ls -al . 06:49:44 total 276 06:49:44 drwxrwxr-x 10 jenkins jenkins 4096 Oct 27 06:45 . 06:49:44 drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 06:43 .. 06:49:44 -rw-rw-r-- 1 jenkins jenkins 140 Oct 27 06:43 .dockerignore 06:49:44 drwxrwxr-x 8 jenkins jenkins 4096 Oct 27 06:43 .git 06:49:44 drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 06:43 .github 06:49:44 -rw-rw-r-- 1 jenkins jenkins 131 Oct 27 06:43 .gitignore 06:49:44 -rw-rw-r-- 1 jenkins jenkins 42 Oct 27 06:43 .golangci.yml 06:49:44 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 27 06:43 CHANGELOG.md 06:49:44 -rw-rw-r-- 1 jenkins jenkins 677 Oct 27 06:43 GOVERNANCE.md 06:49:44 -rw-rw-r-- 1 jenkins jenkins 880 Oct 27 06:43 Jenkinsfile 06:49:44 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 27 06:43 LICENSE 06:49:44 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 27 06:43 Makefile 06:49:44 -rw-rw-r-- 1 jenkins jenkins 619 Oct 27 06:43 OWNERS.md 06:49:44 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 27 06:43 README.md 06:49:44 -rw-rw-r-- 1 jenkins jenkins 5 Oct 27 06:41 VERSION 06:49:44 drwxrwxr-x 2 jenkins jenkins 4096 Oct 27 06:43 bin 06:49:44 -rw-r--r-- 1 jenkins jenkins 101759 Oct 27 06:48 coverage.out 06:49:44 drwxrwxr-x 5 jenkins jenkins 4096 Oct 27 06:43 example 06:49:44 -rw-rw-r-- 1 jenkins jenkins 3389 Oct 27 06:43 go.mod 06:49:44 -rw-rw-r-- 1 jenkins jenkins 44684 Oct 27 06:43 go.sum 06:49:44 drwxrwxr-x 14 jenkins jenkins 4096 Oct 27 06:43 internal 06:49:44 drwxrwxr-x 3 jenkins jenkins 4096 Oct 27 06:43 openapi 06:49:44 drwxrwxr-x 6 jenkins jenkins 4096 Oct 27 06:43 pkg 06:49:44 drwxrwxr-x 4 jenkins jenkins 4096 Oct 27 06:43 snap 06:49:44 -rw-rw-r-- 1 jenkins jenkins 222 Oct 27 06:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:49:44 + 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=a2cbac808847926cba089165f83d8f8e6b4e2b12 --label arch=arm64 --label version=0.0.0 . 06:49:44 Sending build context to Docker daemon 5.557MB 06:49:44 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 06:49:44 Step 2/23 : FROM ${BASE} AS builder 06:49:44 ---> a2d022e10d32 06:49:44 Step 3/23 : ARG MAKE=make build 06:49:45 ---> Running in 497a95be85ea 06:49:45 Removing intermediate container 497a95be85ea 06:49:45 ---> 529b0842850d 06:49:45 Step 4/23 : WORKDIR /device-sdk-go 06:49:45 ---> Running in d841898ba10a 06:49:45 Removing intermediate container d841898ba10a 06:49:45 ---> 99d13cd1c7ec 06:49:45 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:49:45 ---> Running in fb72603b16bb 06:49:46 Removing intermediate container fb72603b16bb 06:49:46 ---> 223a0c90e013 06:49:46 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 06:49:46 ---> Running in 0c5e6e4aacbe 06:49:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:49:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:49:48 OK: 221 MiB in 51 packages 06:49:49 Removing intermediate container 0c5e6e4aacbe 06:49:49 ---> c2c5dc254fe7 06:49:49 Step 7/23 : COPY go.mod vendor* ./ 06:49:49 ---> bf6955b42402 06:49:49 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:49:49 ---> Running in 3f97e45e86dc 06:49:51 Removing intermediate container 3f97e45e86dc 06:49:51 ---> ba7a84aa6499 06:49:51 Step 9/23 : COPY . . 06:49:53 ---> 9cc804fc0359 06:49:53 Step 10/23 : RUN ${MAKE} 06:49:53 ---> Running in b6abf0e36449 06:49:53 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:00 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 06:52:00 Removing intermediate container b6abf0e36449 06:52:00 ---> fa68915a915e 06:52:00 Step 11/23 : FROM alpine:3.16 06:52:00 3.16: Pulling from library/alpine 06:52:00 9b18e9b68314: Already exists 06:52:00 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 06:52:00 Status: Downloaded newer image for alpine:3.16 06:52:00 ---> a6215f271958 06:52:00 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:52:00 ---> Running in 6663291bdb53 06:52:01 Removing intermediate container 6663291bdb53 06:52:01 ---> e3a0b4872f08 06:52:01 Step 13/23 : RUN apk add --update --no-cache zeromq 06:52:01 ---> Running in dd995ad31488 06:52:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 06:52:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 06:52:03 (1/5) Installing libgcc (11.2.1_git20220219-r2) 06:52:03 (2/5) Installing libsodium (1.0.18-r0) 06:52:03 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 06:52:03 (4/5) Installing libzmq (4.3.4-r0) 06:52:03 (5/5) Installing zeromq (4.3.4-r0) 06:52:03 Executing busybox-1.35.0-r17.trigger 06:52:03 OK: 8 MiB in 19 packages 06:52:04 Removing intermediate container dd995ad31488 06:52:04 ---> 7f2a2b4e1260 06:52:04 Step 14/23 : WORKDIR / 06:52:04 ---> Running in b2ba377828a7 06:52:04 Removing intermediate container b2ba377828a7 06:52:04 ---> c78fea769aa5 06:52:04 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 06:52:05 ---> 6dfd240a0005 06:52:05 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 06:52:06 ---> 72d2aa34810c 06:52:06 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 06:52:07 ---> 02714d653ac7 06:52:07 Step 18/23 : EXPOSE 59999 06:52:07 ---> Running in ad9584795551 06:52:07 Removing intermediate container ad9584795551 06:52:07 ---> 0db04c606853 06:52:07 Step 19/23 : ENTRYPOINT ["/device-simple"] 06:52:07 ---> Running in 1231705fe370 06:52:07 Removing intermediate container 1231705fe370 06:52:07 ---> cb642e4db875 06:52:07 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 06:52:07 ---> Running in ae0cd3aa40e7 06:52:07 Removing intermediate container ae0cd3aa40e7 06:52:07 ---> 84bffcf4a64a 06:52:07 Step 21/23 : LABEL arch=arm64 06:52:07 ---> Running in f140fb358379 06:52:08 Removing intermediate container f140fb358379 06:52:08 ---> 13864e7d1ad9 06:52:08 Step 22/23 : LABEL git_sha=a2cbac808847926cba089165f83d8f8e6b4e2b12 06:52:08 ---> Running in 0becede95ce6 06:52:08 Removing intermediate container 0becede95ce6 06:52:08 ---> fa06b504f6e8 06:52:08 Step 23/23 : LABEL version=0.0.0 06:52:08 ---> Running in 2e12d3dfd904 06:52:09 Removing intermediate container 2e12d3dfd904 06:52:09 ---> 04ba7fa89c4c 06:52:09 [Warning] One or more build-args [ARCH] were not consumed 06:52:09 Successfully built 04ba7fa89c4c 06:52:09 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:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:52:09 06:52:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:52:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:52:09 arm64: Pulling from edgex-lftools-log-publisher 06:52:09 8998bd30e6a1: Pulling fs layer 06:52:09 04944245beec: Pulling fs layer 06:52:09 699f458cf7ca: Pulling fs layer 06:52:09 765212b225bb: Pulling fs layer 06:52:09 f23df028b6ca: Pulling fs layer 06:52:09 d65c8cfc05b1: Pulling fs layer 06:52:09 2437ff75d9bd: Pulling fs layer 06:52:09 765212b225bb: Waiting 06:52:09 f23df028b6ca: Waiting 06:52:09 d65c8cfc05b1: Waiting 06:52:09 2437ff75d9bd: Waiting 06:52:10 04944245beec: Verifying Checksum 06:52:10 04944245beec: Download complete 06:52:10 765212b225bb: Verifying Checksum 06:52:10 765212b225bb: Download complete 06:52:10 f23df028b6ca: Verifying Checksum 06:52:10 f23df028b6ca: Download complete 06:52:10 d65c8cfc05b1: Verifying Checksum 06:52:10 d65c8cfc05b1: Download complete 06:52:10 699f458cf7ca: Verifying Checksum 06:52:10 699f458cf7ca: Download complete 06:52:10 8998bd30e6a1: Verifying Checksum 06:52:10 8998bd30e6a1: Download complete 06:52:12 2437ff75d9bd: Verifying Checksum 06:52:12 2437ff75d9bd: Download complete 06:52:14 8998bd30e6a1: Pull complete 06:52:14 04944245beec: Pull complete 06:52:15 699f458cf7ca: Pull complete 06:52:15 765212b225bb: Pull complete 06:52:16 f23df028b6ca: Pull complete 06:52:16 d65c8cfc05b1: Pull complete 06:52:31 2437ff75d9bd: Pull complete 06:52:31 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:52:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:52:31 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:52:32 prd-ubuntu20.04-docker-arm64-4c-16g-117439 does not seem to be running inside a container 06:52:32 $ 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/4 -v /w/workspace/device-sdk-go/4:/w/workspace/device-sdk-go/4:rw,z -v /w/workspace/device-sdk-go/4@tmp:/w/workspace/device-sdk-go/4@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:52:34 $ docker top 6856750e464f83b7142f05b423fc860e199027388c06bd7a643df80a74163a84 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:52:35 ---> job-cost.sh 06:52:35 lf-activate-venv: SKIPPING 06:52:35 INFO: No Stack... 06:52:36 INFO: Retrieving Pricing Info for: v3-standard-4 06:52:36 INFO: Archiving Costs [Pipeline] sh 06:52:37 + cat /w/workspace/device-sdk-go/4/archives/cost.csv 06:52:37 + cut -d, -f6 [Pipeline] lock 06:52:37 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1244-4-stack-cost] 06:52:37 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-4-stack-cost] did not exist. Created. 06:52:37 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1244-4-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:52:37 /w/workspace/device-sdk-go/4@tmp/durable-b60df4a3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:52:38 + echo total: 0.10999999940395355 [Pipeline] stash 06:52:38 Warning: overwriting stash ‘stack-cost’ 06:52:38 Stashed 1 file(s) [Pipeline] } 06:52:38 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1244-4-stack-cost] [Pipeline] // lock [Pipeline] } 06:52:38 $ docker stop --time=1 6856750e464f83b7142f05b423fc860e199027388c06bd7a643df80a74163a84 06:52:39 $ docker rm -f 6856750e464f83b7142f05b423fc860e199027388c06bd7a643df80a74163a84 [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:52:40 provisioning config files... 06:52:40 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config3990911577732673369tmp [Pipeline] { [Pipeline] sh 06:52:40 + set +x 06:52:40 + curl -s https://codecov.io/bash+ 06:52:40 bash -s -- 06:52:40 06:52:40 _____ _ 06:52:40 / ____| | | 06:52:40 | | ___ __| | ___ ___ _____ __ 06:52:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:52:40 | |___| (_) | (_| | __/ (_| (_) \ V / 06:52:40 \_____\___/ \__,_|\___|\___\___/ \_/ 06:52:40 Bash-1.0.6 06:52:40 06:52:40 06:52:40 ==> git version 2.25.1 found 06:52:40 ==> 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:52:40 Release-Date: 2020-01-08 06:52:40 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:52:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:52:40 ==> Jenkins CI detected. 06:52:40 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1244 06:52:40 project root: . 06:52:40 --> token set from env 06:52:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:52:40 ==> Running gcov in . (disable via -X gcov) 06:52:40 ==> Python coveragepy not found 06:52:40 ==> Searching for coverage reports in: 06:52:40 + . 06:52:40 -> Found 1 reports 06:52:40 ==> Detecting git/mercurial file structure 06:52:40 ==> Reading reports 06:52:40 + ./coverage.out bytes=101759 06:52:40 ==> Appending adjustments 06:52:40 https://docs.codecov.io/docs/fixing-reports 06:52:40 + Found adjustments 06:52:40 ==> Gzipping contents 06:52:40 16K /tmp/codecov.94WJJr.gz 06:52:40 ==> Uploading reports 06:52:40 url: https://codecov.io 06:52:40 query: branch=PR-1244&commit=97257b8796e026a7d5e717dffd91c696e8afa037&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1244%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1244&job=&cmd_args= 06:52:40 -> Pinging Codecov 06:52:40 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1244&commit=97257b8796e026a7d5e717dffd91c696e8afa037&build=4&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1244%2F4%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1244&job=&cmd_args= 06:52:41 -> Uploading to 06:52:41 https://storage.googleapis.com/codecov/v4/raw/2022-10-27/7E55EF52A471D76F132DFD9A03CDDE97/97257b8796e026a7d5e717dffd91c696e8afa037/aa73b07d-832b-4216-aca6-ffebd4aa16c7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221027%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221027T065240Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5734451b270b881164a94bb0eff3689ad7f1934492ef0e4e63f3cea492b2b24f 06:52:41 % Total % Received % Xferd Average Speed Time Time Time Current 06:52:41 Dload Upload Total Spent Left Speed 06:52:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14701 0 0 100 14701 0 60250 --:--:-- --:--:-- --:--:-- 60250 06:52:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/97257b8796e026a7d5e717dffd91c696e8afa037 [Pipeline] } 06:52:41 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:52:42 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives ] 06:52:42 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives 06:52:42 total 16 06:52:42 drwxr-xr-x 3 root root 4096 Oct 27 06:43 . 06:52:42 drwxrwxr-x 12 jenkins jenkins 4096 Oct 27 06:43 .. 06:52:42 drwxr-xr-x 2 root root 4096 Oct 27 06:43 cost 06:52:42 -rw-r--r-- 1 root root 86 Oct 27 06:43 cost.csv 06:52:42 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives 06:52:42 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives 06:52:42 total 16 06:52:42 drwxr-xr-x 3 jenkins jenkins 4096 Oct 27 06:43 . 06:52:42 drwxrwxr-x 12 jenkins jenkins 4096 Oct 27 06:43 .. 06:52:42 drwxr-xr-x 2 jenkins jenkins 4096 Oct 27 06:43 cost 06:52:42 -rw-r--r-- 1 jenkins jenkins 86 Oct 27 06:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:52:42 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:52:43 ---> package-listing.sh 06:52:43 ++ facter osfamily 06:52:43 ++ tr '[:upper:]' '[:lower:]' 06:52:43 + OS_FAMILY=debian 06:52:43 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1244 06:52:43 + START_PACKAGES=/tmp/packages_start.txt 06:52:43 + END_PACKAGES=/tmp/packages_end.txt 06:52:43 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:52:43 + PACKAGES=/tmp/packages_start.txt 06:52:43 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1244 ']' 06:52:43 + PACKAGES=/tmp/packages_end.txt 06:52:43 + case "${OS_FAMILY}" in 06:52:43 + dpkg -l 06:52:43 + grep '^ii' 06:52:43 + '[' -f /tmp/packages_start.txt ']' 06:52:43 + '[' -f /tmp/packages_end.txt ']' 06:52:43 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:52:43 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1244 ']' 06:52:43 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives/ 06:52:43 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1244/archives/ [Pipeline] echo 06:52:43 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-1244/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:52:43 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:52:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:52:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:52:44 prd-ubuntu20.04-docker-8c-8g-117438 does not seem to be running inside a container 06:52:44 $ 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-1244/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-1244 -v /w/workspace/gexfoundry_device-sdk-go_PR-1244:/w/workspace/gexfoundry_device-sdk-go_PR-1244:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:52:44 $ docker top a4c0d084e74223ab23c8bcd5e14a5ac912087252dfef6569a3e13bb9bfe09596 -eo pid,comm [Pipeline] { [Pipeline] sh 06:52:44 + touch /tmp/pre-build-complete [Pipeline] sh 06:52:45 + mkdir -p /var/log/sysstat [Pipeline] sh 06:52:45 + ls /var/log/sa-host 06:52:45 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:52:45 provisioning config files... 06:52:45 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1244@tmp/config15227224337978451233tmp [Pipeline] { [Pipeline] echo 06:52:45 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:52:45 ---> create-netrc.sh [Pipeline] } 06:52:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:52:46 ---> python-tools-install.sh [Pipeline] echo 06:52:46 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:52:46 ---> sudo-logs.sh 06:52:46 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:52:46 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:52:46 ---> job-cost.sh 06:52:46 lf-activate-venv: SKIPPING 06:52:46 DEBUG: total: 0.2199999988079071 06:52:46 INFO: Retrieving Stack Cost... 06:52:47 INFO: Retrieving Pricing Info for: v3-standard-8 06:52:47 INFO: Archiving Costs [Pipeline] echo 06:52:47 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:52:47 ---> logs-deploy.sh 06:52:47 lf-activate-venv: SKIPPING 06:52:47 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1244/4 06:52:47 INFO: archiving workspace using pattern(s): 06:52:48 Archives upload complete. 06:52:48 INFO: archiving logs to Nexus