Pull request #1251 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from f2401abdcfa1e592ffad9e7e9dce0400c102535c+21e2314d0be0883f9fe388992978a72096c1cede (fadfafa27a223f5efaf8bf09cedf86a96914bc08) 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-ssh16484515998701722550.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-ssh9423212335310902817.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-1251/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-1251/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9524502301467829696.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-ssh17871114655684670405.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-1251/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-1251/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10425459949954379388.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-117153 in /w/workspace/gexfoundry_device-sdk-go_PR-1251 [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-1251 # 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/1251/head:refs/remotes/origin/PR-1251 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 21e2314d0be0883f9fe388992978a72096c1cede into PR head commit f2401abdcfa1e592ffad9e7e9dce0400c102535c Merge succeeded, producing f2401abdcfa1e592ffad9e7e9dce0400c102535c Checking out Revision f2401abdcfa1e592ffad9e7e9dce0400c102535c (PR-1251) > git config core.sparsecheckout # timeout=10 > git checkout -f f2401abdcfa1e592ffad9e7e9dce0400c102535c # 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 21e2314d0be0883f9fe388992978a72096c1cede # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f2401abdcfa1e592ffad9e7e9dce0400c102535c # timeout=10 Commit message: "build: Update to latest go-mods" First time build. Skipping changelog. > git rev-list --no-walk 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 15:02:56 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:02:56 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:02:56 ========================================================= 15:02:56 EdgeX Global Pipelines Version Info 15:02:56 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:02:56 ------------------- 15:02:56 stable info: 15:02:56 ------------------- 15:02:56 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:02:56 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 15:02:56 Message: update stable to v1.0.243 15:02:57 ------------------- 15:02:57 experimental info: 15:02:57 ------------------- 15:02:57 Commited By: **** collab-it+edgex@linuxfoundation.org 15:02:57 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 15:02:57 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:02:57 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 15:02:57 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 15:02:57 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:02:57 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:02:57 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:02:57 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 15:02:57 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:02:57 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 15:02:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:02:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:02:57 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:02:57 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 15:02:57 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:02:57 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:02:57 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:02:57 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 15:02:57 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:02:57 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:02:57 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:02:57 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:02:57 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 15:02:57 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 15:02:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:02:57 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:02:57 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:02:57 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:02:57 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:02:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1251 [Pipeline] echo 15:02:57 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1251 [Pipeline] echo 15:02:57 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1251 [Pipeline] echo 15:02:57 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f2401abdcfa1e592ffad9e7e9dce0400c102535c [Pipeline] echo 15:02:57 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f2401ab [Pipeline] echo 15:02:57 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:02:57 provisioning config files... 15:02:58 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp/config4908426229372164810tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:02:58 ---> docker-login.sh 15:02:58 nexus3.edgexfoundry.org:10001 15:02:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:02:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:02:58 Configure a credential helper to remove this warning. See 15:02:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:02:58 15:02:58 Login Succeeded 15:02:58 nexus3.edgexfoundry.org:10002 15:02:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:02:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:02:58 Configure a credential helper to remove this warning. See 15:02:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:02:58 15:02:58 Login Succeeded 15:02:58 nexus3.edgexfoundry.org:10003 15:02:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:02:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:02:58 Configure a credential helper to remove this warning. See 15:02:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:02:58 15:02:58 Login Succeeded 15:02:58 nexus3.edgexfoundry.org:10004 15:02:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:02:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:02:59 Configure a credential helper to remove this warning. See 15:02:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:02:59 15:02:59 Login Succeeded 15:02:59 docker.io 15:02:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:02:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:02:59 Configure a credential helper to remove this warning. See 15:02:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:02:59 15:02:59 Login Succeeded 15:02:59 ---> docker-login.sh ends [Pipeline] } 15:02:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:02:59 + git rev-list -1 --merges f2401abdcfa1e592ffad9e7e9dce0400c102535c~1..f2401abdcfa1e592ffad9e7e9dce0400c102535c [Pipeline] echo 15:02:59 -----------> git rev-list -1 --merges f2401abdcfa1e592ffad9e7e9dce0400c102535c~1..f2401abdcfa1e592ffad9e7e9dce0400c102535c f2401abdcfa1e592ffad9e7e9dce0400c102535c [false] [Pipeline] sh 15:03:00 + git log --format=format:%s -1 f2401abdcfa1e592ffad9e7e9dce0400c102535c [Pipeline] echo 15:03:00 ========================================================= 15:03:00 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:03:00 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:03:00 + git log --format=format:%s -1 f2401abdcfa1e592ffad9e7e9dce0400c102535c [Pipeline] echo 15:03:00 [semverPrep] GIT_COMMIT: f2401abdcfa1e592ffad9e7e9dce0400c102535c, Commit Message: build: Update to latest go-mods [Pipeline] echo 15:03:00 [semverPrep] This is not a build commit. [Pipeline] sh 15:03:00 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:03:00 + grep -v github /etc/ssh/ssh_known_hosts 15:03:00 + [ -e /tmp/ssh_known_hosts ] 15:03:00 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:03:00 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:03:00 + sudo tee -a /etc/ssh/ssh_known_hosts 15:03:00 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:03:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:03:01 15:03:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:03:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:03:01 0.1.4: Pulling from edgex-devops/py-git-semver 15:03:01 b85a868b505f: Pulling fs layer 15:03:01 e2be974225ed: Pulling fs layer 15:03:01 339a4e72a1f5: Pulling fs layer 15:03:01 988bab9f4d93: Pulling fs layer 15:03:01 1469e6f7b9e6: Pulling fs layer 15:03:01 eaf3925da568: Pulling fs layer 15:03:01 bab4dde63d76: Pulling fs layer 15:03:01 bde34c3a00c8: Pulling fs layer 15:03:01 b352a97aabf1: Pulling fs layer 15:03:01 4872d77fe225: Pulling fs layer 15:03:01 5851b861e8e6: Pulling fs layer 15:03:01 bde34c3a00c8: Waiting 15:03:01 bab4dde63d76: Waiting 15:03:01 b352a97aabf1: Waiting 15:03:01 5851b861e8e6: Waiting 15:03:01 4872d77fe225: Waiting 15:03:01 eaf3925da568: Waiting 15:03:01 988bab9f4d93: Waiting 15:03:01 1469e6f7b9e6: Waiting 15:03:01 e2be974225ed: Verifying Checksum 15:03:01 e2be974225ed: Download complete 15:03:01 988bab9f4d93: Verifying Checksum 15:03:01 988bab9f4d93: Download complete 15:03:01 1469e6f7b9e6: Verifying Checksum 15:03:01 1469e6f7b9e6: Download complete 15:03:01 eaf3925da568: Verifying Checksum 15:03:01 eaf3925da568: Download complete 15:03:01 339a4e72a1f5: Verifying Checksum 15:03:01 339a4e72a1f5: Download complete 15:03:01 bde34c3a00c8: Verifying Checksum 15:03:01 bde34c3a00c8: Download complete 15:03:01 b352a97aabf1: Verifying Checksum 15:03:01 b352a97aabf1: Download complete 15:03:01 4872d77fe225: Verifying Checksum 15:03:01 4872d77fe225: Download complete 15:03:01 5851b861e8e6: Download complete 15:03:01 b85a868b505f: Verifying Checksum 15:03:01 b85a868b505f: Download complete 15:03:01 bab4dde63d76: Verifying Checksum 15:03:01 bab4dde63d76: Download complete 15:03:03 b85a868b505f: Pull complete 15:03:03 e2be974225ed: Pull complete 15:03:03 339a4e72a1f5: Pull complete 15:03:03 988bab9f4d93: Pull complete 15:03:04 1469e6f7b9e6: Pull complete 15:03:04 eaf3925da568: Pull complete 15:03:06 bab4dde63d76: Pull complete 15:03:06 bde34c3a00c8: Pull complete 15:03:06 b352a97aabf1: Pull complete 15:03:06 4872d77fe225: Pull complete 15:03:06 5851b861e8e6: Pull complete 15:03:06 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:03:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:03:06 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:03:07 prd-ubuntu20.04-docker-8c-8g-117153 does not seem to be running inside a container 15:03:07 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1251 -v /w/workspace/gexfoundry_device-sdk-go_PR-1251:/w/workspace/gexfoundry_device-sdk-go_PR-1251:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1251@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-devops/py-git-semver:0.1.4 cat 15:03:08 $ docker top d9ccb7d30255d9a4e0dc9ad89c6039c40bf8364b304457aaab0e3b8028939194 -eo pid,comm 15:03:08 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). 15:03:08 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:03:08 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:03:08 [ssh-agent] Looking for ssh-agent implementation... 15:03:08 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:03:08 $ docker exec d9ccb7d30255d9a4e0dc9ad89c6039c40bf8364b304457aaab0e3b8028939194 ssh-agent 15:03:08 SSH_AUTH_SOCK=/tmp/ssh-8xxLd7mTqoTe/agent.32 15:03:08 SSH_AGENT_PID=38 15:03:08 Running ssh-add (command line suppressed) 15:03:09 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp/private_key_13415530626056039415.key (/w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp/private_key_13415530626056039415.key) 15:03:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:03:09 + git tag --points-at HEAD [Pipeline] } 15:03:09 $ docker exec --env ******** --env ******** d9ccb7d30255d9a4e0dc9ad89c6039c40bf8364b304457aaab0e3b8028939194 ssh-agent -k 15:03:09 unset SSH_AUTH_SOCK; 15:03:09 unset SSH_AGENT_PID; 15:03:09 echo Agent pid 38 killed; 15:03:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:03:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:03:09 [ssh-agent] Looking for ssh-agent implementation... 15:03:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:03:09 $ docker exec d9ccb7d30255d9a4e0dc9ad89c6039c40bf8364b304457aaab0e3b8028939194 ssh-agent 15:03:09 SSH_AUTH_SOCK=/tmp/ssh-pymEqI3sQXKG/agent.72 15:03:09 SSH_AGENT_PID=77 15:03:09 Running ssh-add (command line suppressed) 15:03:09 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp/private_key_3324907336019643591.key (/w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp/private_key_3324907336019643591.key) 15:03:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:03:10 + git semver init 15:03:10 2022-10-26 15:03:10,283 [run_init] DEBUG init version:0.0.0 force:False 15:03:10 2022-10-26 15:03:10,284 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1251/.semver 15:03:10 2022-10-26 15:03:10,285 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1251/.semver 15:03:10 2022-10-26 15:03:10,285 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1251/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1251, universal_newlines=False, shell=None, istream=None) 15:03:11 2022-10-26 15:03:11,345 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1251/.git/info/exclude 15:03:11 2022-10-26 15:03:11,346 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1251/.semver/PR-1251 with force:False 15:03:11 2022-10-26 15:03:11,346 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1251/.semver/PR-1251 15:03:11 2022-10-26 15:03:11,351 [execute] INFO git cat-file --batch-check 15:03:11 2022-10-26 15:03:11,352 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1251/.semver, universal_newlines=False, shell=None, istream=) 15:03:11 2022-10-26 15:03:11,359 [execute] INFO git cat-file --batch 15:03:11 2022-10-26 15:03:11,359 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1251/.semver, universal_newlines=False, shell=None, istream=) 15:03:11 2022-10-26 15:03:11,365 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1251/.semver/PR-1251 15:03:11 0.0.0 [Pipeline] } 15:03:11 $ docker exec --env ******** --env ******** d9ccb7d30255d9a4e0dc9ad89c6039c40bf8364b304457aaab0e3b8028939194 ssh-agent -k 15:03:11 unset SSH_AUTH_SOCK; 15:03:11 unset SSH_AGENT_PID; 15:03:11 echo Agent pid 77 killed; 15:03:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:03:12 + git semver [Pipeline] } 15:03:12 $ docker stop --time=1 d9ccb7d30255d9a4e0dc9ad89c6039c40bf8364b304457aaab0e3b8028939194 15:03:13 $ docker rm -f d9ccb7d30255d9a4e0dc9ad89c6039c40bf8364b304457aaab0e3b8028939194 [Pipeline] // withDockerContainer [Pipeline] sh 15:03:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:03:14 Stashed 1 file(s) [Pipeline] echo 15:03:14 [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 15:03:14 provisioning config files... 15:03:14 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp/config3181630522410163206tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:03:14 ---> docker-login.sh 15:03:14 nexus3.edgexfoundry.org:10001 15:03:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:03:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:03:14 Configure a credential helper to remove this warning. See 15:03:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:03:14 15:03:14 Login Succeeded 15:03:14 nexus3.edgexfoundry.org:10002 15:03:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:03:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:03:14 Configure a credential helper to remove this warning. See 15:03:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:03:14 15:03:14 Login Succeeded 15:03:14 nexus3.edgexfoundry.org:10003 15:03:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:03:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:03:14 Configure a credential helper to remove this warning. See 15:03:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:03:14 15:03:14 Login Succeeded 15:03:14 nexus3.edgexfoundry.org:10004 15:03:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:03:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:03:14 Configure a credential helper to remove this warning. See 15:03:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:03:14 15:03:14 Login Succeeded 15:03:14 docker.io 15:03:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:03:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:03:15 Configure a credential helper to remove this warning. See 15:03:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:03:15 15:03:15 Login Succeeded 15:03:15 ---> docker-login.sh ends [Pipeline] } 15:03:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:03:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:03:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:03:15 ========================================================= 15:03:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 15:03:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:03:15 + 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 . 15:03:15 Sending build context to Docker daemon 10.12MB 15:03:15 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 15:03:15 Step 2/10 : FROM ${BASE} AS builder 15:03:15 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 15:03:15 213ec9aee27d: Pulling fs layer 15:03:15 4583459ba037: Pulling fs layer 15:03:15 93c1e223e6f2: Pulling fs layer 15:03:15 53926ce57604: Pulling fs layer 15:03:15 21b2b0c7a3f4: Pulling fs layer 15:03:15 30f14e443154: Pulling fs layer 15:03:15 801331c1e519: Pulling fs layer 15:03:15 99cc6dd402b0: Pulling fs layer 15:03:15 7d9ed39f4882: Pulling fs layer 15:03:15 30f14e443154: Waiting 15:03:15 801331c1e519: Waiting 15:03:15 99cc6dd402b0: Waiting 15:03:15 7d9ed39f4882: Waiting 15:03:15 53926ce57604: Waiting 15:03:15 21b2b0c7a3f4: Waiting 15:03:15 93c1e223e6f2: Verifying Checksum 15:03:15 93c1e223e6f2: Download complete 15:03:16 4583459ba037: Download complete 15:03:16 21b2b0c7a3f4: Verifying Checksum 15:03:16 21b2b0c7a3f4: Download complete 15:03:16 30f14e443154: Download complete 15:03:16 213ec9aee27d: Verifying Checksum 15:03:16 213ec9aee27d: Download complete 15:03:16 801331c1e519: Verifying Checksum 15:03:16 801331c1e519: Download complete 15:03:16 213ec9aee27d: Pull complete 15:03:16 4583459ba037: Pull complete 15:03:16 93c1e223e6f2: Pull complete 15:03:16 7d9ed39f4882: Verifying Checksum 15:03:16 7d9ed39f4882: Download complete 15:03:16 99cc6dd402b0: Verifying Checksum 15:03:16 99cc6dd402b0: Download complete 15:03:16 53926ce57604: Verifying Checksum 15:03:16 53926ce57604: Download complete 15:03:21 53926ce57604: Pull complete 15:03:21 21b2b0c7a3f4: Pull complete 15:03:21 30f14e443154: Pull complete 15:03:21 801331c1e519: Pull complete 15:03:23 99cc6dd402b0: Pull complete 15:03:24 7d9ed39f4882: Pull complete 15:03:24 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 15:03:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:03:24 ---> 1dedd983c030 15:03:24 Step 3/10 : ARG MAKE=make build 15:03:26 ---> Running in 976248729bf9 15:03:26 Removing intermediate container 976248729bf9 15:03:26 ---> e58f0d8189fd 15:03:26 Step 4/10 : WORKDIR /device-sdk-go 15:03:26 ---> Running in 03da37fe0c25 15:03:26 Removing intermediate container 03da37fe0c25 15:03:26 ---> 3a91f9efd5ac 15:03:26 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:03:26 ---> Running in 493c8811f58a 15:03:26 Removing intermediate container 493c8811f58a 15:03:26 ---> 7356fdbe2dfb 15:03:26 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:03:26 ---> Running in 5ef5132178ec 15:03:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:03:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:03:27 OK: 211 MiB in 51 packages 15:03:27 Removing intermediate container 5ef5132178ec 15:03:27 ---> 98b0cb82fda8 15:03:27 Step 7/10 : COPY go.mod vendor* ./ 15:03:27 ---> 405dc273e1fe 15:03:27 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:03:27 ---> Running in e5f7e117fe57 15:03:29 Still waiting to schedule task 15:03:29 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 15:03:45 Removing intermediate container e5f7e117fe57 15:03:45 ---> 882f53632d6e 15:03:45 Step 9/10 : COPY . . 15:03:45 ---> 96228d6f1cd6 15:03:45 Step 10/10 : RUN ${MAKE} 15:03:45 ---> Running in 54bd66788652 15:03:45 noop 15:03:45 Removing intermediate container 54bd66788652 15:03:45 ---> 82587d823025 15:03:45 Successfully built 82587d823025 15:03:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:03:46 + docker inspect -f . ci-base-image-x86_64 15:03:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:03:46 prd-ubuntu20.04-docker-8c-8g-117153 does not seem to be running inside a container 15:03:46 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1251 -v /w/workspace/gexfoundry_device-sdk-go_PR-1251:/w/workspace/gexfoundry_device-sdk-go_PR-1251:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:03:46 $ docker top b799c864e150f3ee59c50b1f948896f9753801d687c41a2830b9a0dfc97dfe6e -eo pid,comm [Pipeline] { [Pipeline] sh 15:03:46 + go version 15:03:46 go version go1.18.7 linux/amd64 [Pipeline] } 15:03:46 $ docker stop --time=1 b799c864e150f3ee59c50b1f948896f9753801d687c41a2830b9a0dfc97dfe6e 15:03:48 $ docker rm -f b799c864e150f3ee59c50b1f948896f9753801d687c41a2830b9a0dfc97dfe6e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:03:48 + docker inspect -f . ci-base-image-x86_64 15:03:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:03:48 prd-ubuntu20.04-docker-8c-8g-117153 does not seem to be running inside a container 15:03:48 $ 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-1251 -v /w/workspace/gexfoundry_device-sdk-go_PR-1251:/w/workspace/gexfoundry_device-sdk-go_PR-1251:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:03:49 $ docker top 9a5f4ad613451443c65603485041b78456b75c10187ba6c7003b2c1f467264fa -eo pid,comm [Pipeline] { [Pipeline] sh 15:03:49 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1251 [Pipeline] fileExists [Pipeline] sh 15:03:49 + make test 15:03:49 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 15:03:56 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 15:04:11 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 15:04:11 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 15:04:11 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 15:04:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 15:04:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 15:04:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.063s coverage: 27.6% of statements 15:04:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.076s coverage: 78.9% of statements 15:04:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 15:04:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.109s coverage: 73.1% of statements 15:04:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 15:04:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 15:04:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.124s coverage: 54.4% of statements 15:04:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 15:04:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 15:04:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 15:04:11 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 15:04:11 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.112s coverage: 65.1% of statements 15:04:11 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 15:04:11 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 15:04:11 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.756s coverage: 89.2% of statements 15:04:11 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 15:04:11 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.7% of statements 15:04:11 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 15:04:29 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." 15:04:29 GO111MODULE=on go vet ./... 15:04:31 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:04:31 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:04:31 ./bin/test-attribution-txt.sh 15:04:31 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 15:04:31 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 15:04:31 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 15:04:31 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 15:04:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:04:31 $ docker stop --time=1 9a5f4ad613451443c65603485041b78456b75c10187ba6c7003b2c1f467264fa 15:04:33 $ docker rm -f 9a5f4ad613451443c65603485041b78456b75c10187ba6c7003b2c1f467264fa [Pipeline] // withDockerContainer [Pipeline] sh 15:04:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:04:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:04:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:04:34 + ls -al . 15:04:34 total 280 15:04:34 drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 15:03 . 15:04:34 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 15:02 .. 15:04:34 -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 15:02 .dockerignore 15:04:34 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 15:04 .git 15:04:34 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 15:02 .github 15:04:34 -rw-rw-r-- 1 jenkins jenkins 131 Oct 26 15:02 .gitignore 15:04:34 -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 15:02 .golangci.yml 15:04:34 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 15:03 .semver 15:04:34 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 26 15:02 CHANGELOG.md 15:04:34 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 15:02 GOVERNANCE.md 15:04:34 -rw-rw-r-- 1 jenkins jenkins 880 Oct 26 15:02 Jenkinsfile 15:04:34 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 26 15:02 LICENSE 15:04:34 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 26 15:02 Makefile 15:04:34 -rw-rw-r-- 1 jenkins jenkins 619 Oct 26 15:02 OWNERS.md 15:04:34 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 26 15:02 README.md 15:04:34 -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 15:03 VERSION 15:04:34 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 15:02 bin 15:04:34 -rw-r--r-- 1 jenkins jenkins 101759 Oct 26 15:04 coverage.out 15:04:34 drwxrwxr-x 5 jenkins jenkins 4096 Oct 26 15:02 example 15:04:34 -rw-rw-r-- 1 jenkins jenkins 3389 Oct 26 15:02 go.mod 15:04:34 -rw-rw-r-- 1 jenkins jenkins 44507 Oct 26 15:02 go.sum 15:04:34 drwxrwxr-x 14 jenkins jenkins 4096 Oct 26 15:02 internal 15:04:34 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 15:02 openapi 15:04:34 drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 15:02 pkg 15:04:34 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 15:02 snap 15:04:34 -rw-rw-r-- 1 jenkins jenkins 222 Oct 26 15:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:04:35 + 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=f2401abdcfa1e592ffad9e7e9dce0400c102535c --label arch=amd64 --label version=0.0.0 . 15:04:35 Sending build context to Docker daemon 10.22MB 15:04:35 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 15:04:35 Step 2/23 : FROM ${BASE} AS builder 15:04:35 ---> 82587d823025 15:04:35 Step 3/23 : ARG MAKE=make build 15:04:35 ---> Running in dd3dc5cfdf94 15:04:35 Removing intermediate container dd3dc5cfdf94 15:04:35 ---> 4aa1b8d7e19e 15:04:35 Step 4/23 : WORKDIR /device-sdk-go 15:04:35 ---> Running in 71244f08d2df 15:04:35 Removing intermediate container 71244f08d2df 15:04:35 ---> dc857cfbce5b 15:04:35 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:04:35 ---> Running in 9eab7ba70c88 15:04:35 Removing intermediate container 9eab7ba70c88 15:04:35 ---> 97a058710db1 15:04:35 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:04:35 ---> Running in b8614253544e 15:04:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:04:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:04:36 OK: 211 MiB in 51 packages 15:04:36 Removing intermediate container b8614253544e 15:04:36 ---> a9c04e107e50 15:04:36 Step 7/23 : COPY go.mod vendor* ./ 15:04:36 ---> 9cfd8ee80309 15:04:36 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:04:36 ---> Running in da645397eaee 15:04:37 Removing intermediate container da645397eaee 15:04:37 ---> f71c7b6fd560 15:04:37 Step 9/23 : COPY . . 15:04:38 ---> 954aad326ec9 15:04:38 Step 10/23 : RUN ${MAKE} 15:04:38 ---> Running in d5929a0162a3 15:04:38 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 15:04:56 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 15:04:58 Removing intermediate container d5929a0162a3 15:04:58 ---> a31093323828 15:04:58 Step 11/23 : FROM alpine:3.16 15:04:58 3.16: Pulling from library/alpine 15:04:58 213ec9aee27d: Already exists 15:04:59 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 15:04:59 Status: Downloaded newer image for alpine:3.16 15:04:59 ---> 9c6f07244728 15:04:59 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:04:59 ---> Running in 23643871060b 15:04:59 Removing intermediate container 23643871060b 15:04:59 ---> c8cd879c7a1f 15:04:59 Step 13/23 : RUN apk add --update --no-cache zeromq 15:04:59 ---> Running in 9a9b8c33b3c1 15:04:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:04:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:04:59 (1/5) Installing libgcc (11.2.1_git20220219-r2) 15:04:59 (2/5) Installing libsodium (1.0.18-r0) 15:04:59 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 15:04:59 (4/5) Installing libzmq (4.3.4-r0) 15:04:59 (5/5) Installing zeromq (4.3.4-r0) 15:04:59 Executing busybox-1.35.0-r17.trigger 15:04:59 OK: 8 MiB in 19 packages 15:05:00 Removing intermediate container 9a9b8c33b3c1 15:05:00 ---> 61ac5dc042de 15:05:00 Step 14/23 : WORKDIR / 15:05:00 ---> Running in 50db039b6a1b 15:05:00 Removing intermediate container 50db039b6a1b 15:05:00 ---> 0d6dd4ca6861 15:05:00 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:05:00 ---> 4b9aa0fb583a 15:05:00 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:05:01 ---> f937dd83b2a1 15:05:01 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:05:01 ---> ec80160e044d 15:05:01 Step 18/23 : EXPOSE 59999 15:05:01 ---> Running in 7e638bb97ee6 15:05:01 Removing intermediate container 7e638bb97ee6 15:05:01 ---> cd07a7f98580 15:05:01 Step 19/23 : ENTRYPOINT ["/device-simple"] 15:05:01 ---> Running in 94907a18da18 15:05:01 Removing intermediate container 94907a18da18 15:05:01 ---> 62c876088973 15:05:01 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:05:01 ---> Running in 04e482472399 15:05:01 Removing intermediate container 04e482472399 15:05:01 ---> dac0067abb1f 15:05:01 Step 21/23 : LABEL arch=amd64 15:05:01 ---> Running in aade85042a88 15:05:01 Removing intermediate container aade85042a88 15:05:01 ---> 107166f033db 15:05:01 Step 22/23 : LABEL git_sha=f2401abdcfa1e592ffad9e7e9dce0400c102535c 15:05:01 ---> Running in a27698efdb3a 15:05:02 Removing intermediate container a27698efdb3a 15:05:02 ---> b36921b0f57a 15:05:02 Step 23/23 : LABEL version=0.0.0 15:05:02 ---> Running in 53f173004f1b 15:05:02 Removing intermediate container 53f173004f1b 15:05:02 ---> dd8937fd407d 15:05:02 [Warning] One or more build-args [ARCH] were not consumed 15:05:02 Successfully built dd8937fd407d 15:05:02 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 15:05:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:05:02 15:05:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:05:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:05:02 latest: Pulling from edgex-lftools-log-publisher 15:05:02 5eb5b503b376: Pulling fs layer 15:05:02 5c69ac0246d0: Pulling fs layer 15:05:02 ec43610c2a17: Pulling fs layer 15:05:02 3a2ae6a8a46f: Pulling fs layer 15:05:02 33b1e0a273af: Pulling fs layer 15:05:02 5d3b04190fa2: Pulling fs layer 15:05:02 2f39f015ded8: Pulling fs layer 15:05:02 33b1e0a273af: Waiting 15:05:02 5d3b04190fa2: Waiting 15:05:02 2f39f015ded8: Waiting 15:05:02 3a2ae6a8a46f: Waiting 15:05:02 5c69ac0246d0: Download complete 15:05:02 3a2ae6a8a46f: Download complete 15:05:02 33b1e0a273af: Verifying Checksum 15:05:02 33b1e0a273af: Download complete 15:05:02 5d3b04190fa2: Verifying Checksum 15:05:02 5d3b04190fa2: Download complete 15:05:02 ec43610c2a17: Verifying Checksum 15:05:02 ec43610c2a17: Download complete 15:05:02 5eb5b503b376: Download complete 15:05:03 2f39f015ded8: Download complete 15:05:04 5eb5b503b376: Pull complete 15:05:04 5c69ac0246d0: Pull complete 15:05:04 ec43610c2a17: Pull complete 15:05:04 3a2ae6a8a46f: Pull complete 15:05:04 33b1e0a273af: Pull complete 15:05:05 5d3b04190fa2: Pull complete 15:05:09 2f39f015ded8: Pull complete 15:05:09 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 15:05:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:05:09 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:05:09 prd-ubuntu20.04-docker-8c-8g-117153 does not seem to be running inside a container 15:05:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-sdk-go_PR-1251 -v /w/workspace/gexfoundry_device-sdk-go_PR-1251:/w/workspace/gexfoundry_device-sdk-go_PR-1251:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:05:11 $ docker top 431bbbf333086a974454ad32eca2596d769bf4a21a5ff9091cb0f93a0d2a45a8 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:05:11 ---> job-cost.sh 15:05:11 lf-activate-venv: SKIPPING 15:05:11 INFO: No Stack... 15:05:11 INFO: Retrieving Pricing Info for: v3-standard-8 15:05:12 INFO: Archiving Costs [Pipeline] sh 15:05:12 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1251/archives/cost.csv 15:05:12 + cut -d, -f6 [Pipeline] lock 15:05:12 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1251-2-stack-cost] 15:05:12 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1251-2-stack-cost] did not exist. Created. 15:05:12 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1251-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:05:12 + echo total: 0.2199999988079071 [Pipeline] stash 15:05:12 Stashed 1 file(s) [Pipeline] } 15:05:12 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1251-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:05:12 $ docker stop --time=1 431bbbf333086a974454ad32eca2596d769bf4a21a5ff9091cb0f93a0d2a45a8 15:05:14 $ docker rm -f 431bbbf333086a974454ad32eca2596d769bf4a21a5ff9091cb0f93a0d2a45a8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 15:05:55 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117156 in /w/workspace/gexfoundry_device-sdk-go_PR-1251 [Pipeline] { [Pipeline] ws 15:05:55 Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout 15:05:55 The recommended git tool is: git 15:06:01 using credential edgex-jenkins-ssh 15:06:01 Cloning the remote Git repository 15:06:01 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 15:06:01 > git init /w/workspace/device-sdk-go/2 # timeout=10 15:06:01 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:06:01 > git --version # timeout=10 15:06:01 > git --version # 'git version 2.25.1' 15:06:01 using GIT_SSH to set credentials SSH Credentials for GitHub 15:06:01 Verifying host key using known hosts file 15:06:01 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. 15:06:01 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 15:06:03 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:06:03 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 15:06:04 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 15:06:04 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 15:06:04 using GIT_SSH to set credentials SSH Credentials for GitHub 15:06:04 Verifying host key using known hosts file 15:06:04 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. 15:06:04 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1251/head:refs/remotes/origin/PR-1251 +refs/heads/main:refs/remotes/origin/main # timeout=10 15:06:05 Merging remotes/origin/main commit 21e2314d0be0883f9fe388992978a72096c1cede into PR head commit f2401abdcfa1e592ffad9e7e9dce0400c102535c 15:06:05 Merge succeeded, producing f2401abdcfa1e592ffad9e7e9dce0400c102535c 15:06:05 Checking out Revision f2401abdcfa1e592ffad9e7e9dce0400c102535c (PR-1251) 15:06:05 > git config core.sparsecheckout # timeout=10 15:06:05 > git checkout -f f2401abdcfa1e592ffad9e7e9dce0400c102535c # timeout=10 15:06:05 > git remote # timeout=10 15:06:05 > git config --get remote.origin.url # timeout=10 15:06:05 using GIT_SSH to set credentials SSH Credentials for GitHub 15:06:05 Verifying host key using known hosts file 15:06:05 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. 15:06:05 > git merge 21e2314d0be0883f9fe388992978a72096c1cede # timeout=10 15:06:05 > git rev-parse HEAD^{commit} # timeout=10 15:06:05 > git config core.sparsecheckout # timeout=10 15:06:05 > git checkout -f f2401abdcfa1e592ffad9e7e9dce0400c102535c # timeout=10 15:06:09 Commit message: "build: Update to latest go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:06:10 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 15:06:10 % Total % Received % Xferd Average Speed Time Time Time Current 15:06:10 Dload Upload Total Spent Left Speed 15:06:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 79257 0 --:--:-- --:--:-- --:--:-- 79257 [Pipeline] sh 15:06:10 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 15:06:11 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 15:06:11 + sudo tee /etc/docker/daemon.new 15:06:11 { 15:06:11 "registry-mirrors": [ 15:06:11 "https://nexus3.edgexfoundry.org:10001" 15:06:11 ], 15:06:11 "bip": "10.250.0.254/24", 15:06:11 "hosts": [ 15:06:11 "tcp://0.0.0.0:5555", 15:06:11 "unix:///var/run/docker.sock" 15:06:11 ], 15:06:11 "mtu": 1458, 15:06:11 "selinux-enabled": true, 15:06:11 "seccomp-profile": "/etc/docker/seccomp.json" 15:06:11 } [Pipeline] sh 15:06:11 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 15:06:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:06:30 provisioning config files... 15:06:30 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config15303352198364081068tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:06:30 ---> docker-login.sh 15:06:30 nexus3.edgexfoundry.org:10001 15:06:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:06:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:06:31 Configure a credential helper to remove this warning. See 15:06:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:06:31 15:06:31 Login Succeeded 15:06:31 nexus3.edgexfoundry.org:10002 15:06:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:06:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:06:31 Configure a credential helper to remove this warning. See 15:06:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:06:31 15:06:31 Login Succeeded 15:06:31 nexus3.edgexfoundry.org:10003 15:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:06:32 Configure a credential helper to remove this warning. See 15:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:06:32 15:06:32 Login Succeeded 15:06:32 nexus3.edgexfoundry.org:10004 15:06:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:06:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:06:32 Configure a credential helper to remove this warning. See 15:06:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:06:32 15:06:32 Login Succeeded 15:06:32 docker.io 15:06:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:06:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:06:33 Configure a credential helper to remove this warning. See 15:06:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:06:33 15:06:33 Login Succeeded 15:06:33 ---> docker-login.sh ends [Pipeline] } 15:06:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:06:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:06:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:06:33 ========================================================= 15:06:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 15:06:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:06:33 + 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 . 15:06:34 Sending build context to Docker daemon 5.453MB 15:06:34 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 15:06:34 Step 2/10 : FROM ${BASE} AS builder 15:06:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 15:06:34 9b18e9b68314: Pulling fs layer 15:06:34 d32db5db7311: Pulling fs layer 15:06:34 d0c4b47475fc: Pulling fs layer 15:06:34 5831b945b038: Pulling fs layer 15:06:34 86bbec2aaacd: Pulling fs layer 15:06:34 e10730c5d714: Pulling fs layer 15:06:34 5dd5c2283517: Pulling fs layer 15:06:34 d5ac0230b979: Pulling fs layer 15:06:34 5831b945b038: Waiting 15:06:34 e10730c5d714: Waiting 15:06:34 86bbec2aaacd: Waiting 15:06:34 d0c4b47475fc: Verifying Checksum 15:06:34 d0c4b47475fc: Download complete 15:06:34 d32db5db7311: Verifying Checksum 15:06:34 d32db5db7311: Download complete 15:06:34 86bbec2aaacd: Verifying Checksum 15:06:34 86bbec2aaacd: Download complete 15:06:34 e10730c5d714: Verifying Checksum 15:06:34 e10730c5d714: Download complete 15:06:34 9b18e9b68314: Verifying Checksum 15:06:35 9b18e9b68314: Pull complete 15:06:35 d5ac0230b979: Verifying Checksum 15:06:35 d5ac0230b979: Download complete 15:06:35 d32db5db7311: Pull complete 15:06:36 d0c4b47475fc: Pull complete 15:06:36 5dd5c2283517: Verifying Checksum 15:06:36 5dd5c2283517: Download complete 15:06:37 5831b945b038: Verifying Checksum 15:06:37 5831b945b038: Download complete 15:06:49 5831b945b038: Pull complete 15:06:49 86bbec2aaacd: Pull complete 15:06:49 e10730c5d714: Pull complete 15:06:55 5dd5c2283517: Pull complete 15:06:57 d5ac0230b979: Pull complete 15:06:57 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 15:06:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 15:06:57 ---> 59b3b1a385d4 15:06:57 Step 3/10 : ARG MAKE=make build 15:06:59 ---> Running in f8b0f5e48dee 15:06:59 Removing intermediate container f8b0f5e48dee 15:06:59 ---> 36a3af47da06 15:06:59 Step 4/10 : WORKDIR /device-sdk-go 15:06:59 ---> Running in 24208d56878c 15:06:59 Removing intermediate container 24208d56878c 15:06:59 ---> 92fab8ad813e 15:06:59 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:06:59 ---> Running in 2722abed0982 15:07:00 Removing intermediate container 2722abed0982 15:07:00 ---> e56ed834f351 15:07:00 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:07:00 ---> Running in c68d5d8459b7 15:07:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:07:01 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:07:02 OK: 221 MiB in 51 packages 15:07:03 Removing intermediate container c68d5d8459b7 15:07:03 ---> a1136835b6b7 15:07:03 Step 7/10 : COPY go.mod vendor* ./ 15:07:04 ---> 08284c994249 15:07:04 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:07:04 ---> Running in c1b388229aae 15:08:00 Removing intermediate container c1b388229aae 15:08:00 ---> 47eebb2e82a4 15:08:00 Step 9/10 : COPY . . 15:08:00 ---> 5df56563c96c 15:08:00 Step 10/10 : RUN ${MAKE} 15:08:00 ---> Running in 88435b720ffa 15:08:00 noop 15:08:00 Removing intermediate container 88435b720ffa 15:08:00 ---> d8ed634d2749 15:08:00 Successfully built d8ed634d2749 15:08:00 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:08:01 + docker inspect -f . ci-base-image-arm64 15:08:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:08:01 prd-ubuntu20.04-docker-arm64-4c-16g-117156 does not seem to be running inside a container 15:08:01 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:08:02 $ docker top 0315c591756c2d9f24166ffe60cd8931cd008ffa1b552af435ecd51656dbe5e0 -eo pid,comm [Pipeline] { [Pipeline] sh 15:08:03 + go version 15:08:03 go version go1.18.7 linux/arm64 [Pipeline] } 15:08:03 $ docker stop --time=1 0315c591756c2d9f24166ffe60cd8931cd008ffa1b552af435ecd51656dbe5e0 15:08:05 $ docker rm -f 0315c591756c2d9f24166ffe60cd8931cd008ffa1b552af435ecd51656dbe5e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:08:05 + docker inspect -f . ci-base-image-arm64 15:08:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:08:06 prd-ubuntu20.04-docker-arm64-4c-16g-117156 does not seem to be running inside a container 15:08:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 15:08:07 $ docker top 6596bab47a63b12319c2cbc82ba0b973ba98664fe14b002e7898e2f75161dbf4 -eo pid,comm [Pipeline] { [Pipeline] sh 15:08:08 + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh 15:08:08 + make test 15:08:08 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 15:08:47 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 15:11:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 15:11:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 15:11:09 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 15:11:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 15:11:09 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 15:11:13 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.608s coverage: 27.6% of statements 15:11:16 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.815s coverage: 78.9% of statements 15:11:16 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 15:11:23 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.552s coverage: 73.1% of statements 15:11:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 15:11:23 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 15:11:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.540s coverage: 54.4% of statements 15:11:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 15:11:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 15:11:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 15:11:28 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 15:11:28 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.465s coverage: 65.1% of statements 15:11:28 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 15:11:28 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 15:11:28 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.427s coverage: 89.2% of statements 15:11:28 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 15:11:31 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.262s coverage: 4.7% of statements 15:11:31 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 15:11:32 WARNING: Linting skipped (not on x86_64 or linter not installed) 15:11:32 GO111MODULE=on go vet ./... 15:13:24 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:13:24 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:13:24 ./bin/test-attribution-txt.sh 15:13:24 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 15:13:24 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 15:13:24 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 15:13:24 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 15:13:24 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:13:24 $ docker stop --time=1 6596bab47a63b12319c2cbc82ba0b973ba98664fe14b002e7898e2f75161dbf4 15:13:25 $ docker rm -f 6596bab47a63b12319c2cbc82ba0b973ba98664fe14b002e7898e2f75161dbf4 [Pipeline] // withDockerContainer [Pipeline] sh 15:13:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:13:27 Warning: overwriting stash ‘coverage-report’ 15:13:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 15:13:28 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:13:29 + ls -al . 15:13:29 total 276 15:13:29 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 15:08 . 15:13:29 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 15:06 .. 15:13:29 -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 15:06 .dockerignore 15:13:29 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 15:06 .git 15:13:29 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 15:06 .github 15:13:29 -rw-rw-r-- 1 jenkins jenkins 131 Oct 26 15:06 .gitignore 15:13:29 -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 15:06 .golangci.yml 15:13:29 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 26 15:06 CHANGELOG.md 15:13:29 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 15:06 GOVERNANCE.md 15:13:29 -rw-rw-r-- 1 jenkins jenkins 880 Oct 26 15:06 Jenkinsfile 15:13:29 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 26 15:06 LICENSE 15:13:29 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 26 15:06 Makefile 15:13:29 -rw-rw-r-- 1 jenkins jenkins 619 Oct 26 15:06 OWNERS.md 15:13:29 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 26 15:06 README.md 15:13:29 -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 15:03 VERSION 15:13:29 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 15:06 bin 15:13:29 -rw-r--r-- 1 jenkins jenkins 101759 Oct 26 15:11 coverage.out 15:13:29 drwxrwxr-x 5 jenkins jenkins 4096 Oct 26 15:06 example 15:13:29 -rw-rw-r-- 1 jenkins jenkins 3389 Oct 26 15:06 go.mod 15:13:29 -rw-rw-r-- 1 jenkins jenkins 44507 Oct 26 15:06 go.sum 15:13:29 drwxrwxr-x 14 jenkins jenkins 4096 Oct 26 15:06 internal 15:13:29 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 15:06 openapi 15:13:29 drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 15:06 pkg 15:13:29 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 15:06 snap 15:13:29 -rw-rw-r-- 1 jenkins jenkins 222 Oct 26 15:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:13:29 + 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=f2401abdcfa1e592ffad9e7e9dce0400c102535c --label arch=arm64 --label version=0.0.0 . 15:13:30 Sending build context to Docker daemon 5.556MB 15:13:30 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 15:13:30 Step 2/23 : FROM ${BASE} AS builder 15:13:30 ---> d8ed634d2749 15:13:30 Step 3/23 : ARG MAKE=make build 15:13:30 ---> Running in 59532bd07a74 15:13:30 Removing intermediate container 59532bd07a74 15:13:30 ---> 67e920f3e97c 15:13:30 Step 4/23 : WORKDIR /device-sdk-go 15:13:30 ---> Running in 359a05297cec 15:13:30 Removing intermediate container 359a05297cec 15:13:30 ---> e51fe6299dfd 15:13:30 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:13:30 ---> Running in c009f86fa291 15:13:31 Removing intermediate container c009f86fa291 15:13:31 ---> 842e51e09768 15:13:31 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 15:13:31 ---> Running in fd00ec3a5a55 15:13:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:13:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:13:34 OK: 221 MiB in 51 packages 15:13:34 Removing intermediate container fd00ec3a5a55 15:13:34 ---> d8d55b4e7704 15:13:34 Step 7/23 : COPY go.mod vendor* ./ 15:13:35 ---> ee29f6857745 15:13:35 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:13:35 ---> Running in df9dc653ea5b 15:13:37 Removing intermediate container df9dc653ea5b 15:13:37 ---> 09b7f42e60c8 15:13:37 Step 9/23 : COPY . . 15:13:38 ---> 90d51ccc2c7b 15:13:38 Step 10/23 : RUN ${MAKE} 15:13:38 ---> Running in 23c81e9a8632 15:13:39 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 15:16:16 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 15:16:16 Removing intermediate container 23c81e9a8632 15:16:16 ---> 7bd3b2dd2a80 15:16:16 Step 11/23 : FROM alpine:3.16 15:16:16 3.16: Pulling from library/alpine 15:16:16 9b18e9b68314: Already exists 15:16:16 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 15:16:16 Status: Downloaded newer image for alpine:3.16 15:16:16 ---> a6215f271958 15:16:16 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:16:17 ---> Running in ef302065aea5 15:16:17 Removing intermediate container ef302065aea5 15:16:17 ---> 53d086ddeabd 15:16:17 Step 13/23 : RUN apk add --update --no-cache zeromq 15:16:17 ---> Running in 01b6eb371ce5 15:16:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 15:16:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 15:16:20 (1/5) Installing libgcc (11.2.1_git20220219-r2) 15:16:20 (2/5) Installing libsodium (1.0.18-r0) 15:16:20 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 15:16:20 (4/5) Installing libzmq (4.3.4-r0) 15:16:20 (5/5) Installing zeromq (4.3.4-r0) 15:16:20 Executing busybox-1.35.0-r17.trigger 15:16:20 OK: 8 MiB in 19 packages 15:16:21 Removing intermediate container 01b6eb371ce5 15:16:21 ---> b7fb5efa746d 15:16:21 Step 14/23 : WORKDIR / 15:16:21 ---> Running in ea31b1cd7f89 15:16:21 Removing intermediate container ea31b1cd7f89 15:16:21 ---> 9fcda16c6a29 15:16:21 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 15:16:22 ---> 214f2c0442ea 15:16:22 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 15:16:23 ---> dfc55ed62b0c 15:16:23 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 15:16:24 ---> d846f6f38f9f 15:16:24 Step 18/23 : EXPOSE 59999 15:16:24 ---> Running in e60c0e420183 15:16:24 Removing intermediate container e60c0e420183 15:16:24 ---> e023908a2d5a 15:16:24 Step 19/23 : ENTRYPOINT ["/device-simple"] 15:16:24 ---> Running in 12f54f7803cb 15:16:25 Removing intermediate container 12f54f7803cb 15:16:25 ---> 1fc5c014cdc6 15:16:25 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 15:16:25 ---> Running in c9a3b8590ef2 15:16:25 Removing intermediate container c9a3b8590ef2 15:16:25 ---> 05794950c2fe 15:16:25 Step 21/23 : LABEL arch=arm64 15:16:25 ---> Running in 78d47c428256 15:16:25 Removing intermediate container 78d47c428256 15:16:25 ---> a672fa1c5684 15:16:25 Step 22/23 : LABEL git_sha=f2401abdcfa1e592ffad9e7e9dce0400c102535c 15:16:25 ---> Running in 4654a61a1121 15:16:26 Removing intermediate container 4654a61a1121 15:16:26 ---> 8270da20803f 15:16:26 Step 23/23 : LABEL version=0.0.0 15:16:26 ---> Running in db6bda0f4b05 15:16:26 Removing intermediate container db6bda0f4b05 15:16:26 ---> 8490279bbd4d 15:16:26 [Warning] One or more build-args [ARCH] were not consumed 15:16:26 Successfully built 8490279bbd4d 15:16:26 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 15:16:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:16:26 15:16:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:16:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:16:27 arm64: Pulling from edgex-lftools-log-publisher 15:16:27 8998bd30e6a1: Pulling fs layer 15:16:27 04944245beec: Pulling fs layer 15:16:27 699f458cf7ca: Pulling fs layer 15:16:27 765212b225bb: Pulling fs layer 15:16:27 f23df028b6ca: Pulling fs layer 15:16:27 d65c8cfc05b1: Pulling fs layer 15:16:27 2437ff75d9bd: Pulling fs layer 15:16:27 765212b225bb: Waiting 15:16:27 f23df028b6ca: Waiting 15:16:27 d65c8cfc05b1: Waiting 15:16:27 04944245beec: Verifying Checksum 15:16:27 04944245beec: Download complete 15:16:27 765212b225bb: Download complete 15:16:27 f23df028b6ca: Verifying Checksum 15:16:27 f23df028b6ca: Download complete 15:16:27 d65c8cfc05b1: Verifying Checksum 15:16:27 d65c8cfc05b1: Download complete 15:16:27 699f458cf7ca: Verifying Checksum 15:16:27 699f458cf7ca: Download complete 15:16:27 8998bd30e6a1: Verifying Checksum 15:16:27 8998bd30e6a1: Download complete 15:16:30 2437ff75d9bd: Verifying Checksum 15:16:30 2437ff75d9bd: Download complete 15:16:31 8998bd30e6a1: Pull complete 15:16:32 04944245beec: Pull complete 15:16:33 699f458cf7ca: Pull complete 15:16:33 765212b225bb: Pull complete 15:16:34 f23df028b6ca: Pull complete 15:16:34 d65c8cfc05b1: Pull complete 15:16:49 2437ff75d9bd: Pull complete 15:16:49 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 15:16:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 15:16:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:16:49 prd-ubuntu20.04-docker-arm64-4c-16g-117156 does not seem to be running inside a container 15:16:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 15:16:52 $ docker top f225da4e7eb4f72dd723e4e57e85da89d4bcb979ea0670b8421ada11eff288fd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:16:53 ---> job-cost.sh 15:16:53 lf-activate-venv: SKIPPING 15:16:53 INFO: No Stack... 15:16:54 INFO: Retrieving Pricing Info for: v3-standard-4 15:16:55 INFO: Archiving Costs [Pipeline] sh 15:16:55 + cat /w/workspace/device-sdk-go/2/archives/cost.csv 15:16:55 + cut -d, -f6 [Pipeline] lock 15:16:55 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1251-2-stack-cost] 15:16:55 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1251-2-stack-cost] did not exist. Created. 15:16:55 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1251-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 15:16:56 /w/workspace/device-sdk-go/2@tmp/durable-112b011d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 15:16:57 + echo total: 0.10999999940395355 [Pipeline] stash 15:16:57 Warning: overwriting stash ‘stack-cost’ 15:16:57 Stashed 1 file(s) [Pipeline] } 15:16:57 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1251-2-stack-cost] [Pipeline] // lock [Pipeline] } 15:16:57 $ docker stop --time=1 f225da4e7eb4f72dd723e4e57e85da89d4bcb979ea0670b8421ada11eff288fd 15:16:58 $ docker rm -f f225da4e7eb4f72dd723e4e57e85da89d4bcb979ea0670b8421ada11eff288fd [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 15:16:59 provisioning config files... 15:16:59 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp/config971827908127897795tmp [Pipeline] { [Pipeline] sh 15:16:59 + set +x 15:16:59 + + bashcurl -s -s -- https://codecov.io/bash 15:16:59 15:16:59 15:16:59 _____ _ 15:16:59 / ____| | | 15:16:59 | | ___ __| | ___ ___ _____ __ 15:16:59 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 15:16:59 | |___| (_) | (_| | __/ (_| (_) \ V / 15:16:59 \_____\___/ \__,_|\___|\___\___/ \_/ 15:16:59 Bash-1.0.6 15:16:59 15:16:59 15:16:59 ==> git version 2.25.1 found 15:16:59 ==> 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 15:16:59 Release-Date: 2020-01-08 15:16:59 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 15:16:59 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 15:16:59 ==> Jenkins CI detected. 15:16:59 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1251 15:16:59 project root: . 15:16:59 --> token set from env 15:16:59 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 15:16:59 ==> Running gcov in . (disable via -X gcov) 15:16:59 ==> Python coveragepy not found 15:16:59 ==> Searching for coverage reports in: 15:16:59 + . 15:16:59 -> Found 1 reports 15:16:59 ==> Detecting git/mercurial file structure 15:16:59 ==> Reading reports 15:16:59 + ./coverage.out bytes=101759 15:16:59 ==> Appending adjustments 15:16:59 https://docs.codecov.io/docs/fixing-reports 15:17:00 + Found adjustments 15:17:00 ==> Gzipping contents 15:17:00 16K /tmp/codecov.gLoROV.gz 15:17:00 ==> Uploading reports 15:17:00 url: https://codecov.io 15:17:00 query: branch=PR-1251&commit=f2401abdcfa1e592ffad9e7e9dce0400c102535c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1251%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1251&job=&cmd_args= 15:17:00 -> Pinging Codecov 15:17:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1251&commit=f2401abdcfa1e592ffad9e7e9dce0400c102535c&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1251%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1251&job=&cmd_args= 15:17:00 -> Uploading to 15:17:00 https://storage.googleapis.com/codecov/v4/raw/2022-10-26/7E55EF52A471D76F132DFD9A03CDDE97/f2401abdcfa1e592ffad9e7e9dce0400c102535c/af4b1e5e-363d-41fc-b44f-e6e24461185a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T151700Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0590a7ef3acc3e8969f0cd9a0ba41d4ffa6b810c5c91f0b42ed040bf695895f3 15:17:00 % Total % Received % Xferd Average Speed Time Time Time Current 15:17:00 Dload Upload Total Spent Left Speed 15:17:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14713 0 0 100 14713 0 54695 --:--:-- --:--:-- --:--:-- 54695 15:17:00 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/f2401abdcfa1e592ffad9e7e9dce0400c102535c [Pipeline] } 15:17:00 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 15:17:01 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1251/archives ] 15:17:01 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1251/archives 15:17:01 total 16 15:17:01 drwxr-xr-x 3 root root 4096 Oct 26 15:05 . 15:17:01 drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 15:05 .. 15:17:01 drwxr-xr-x 2 root root 4096 Oct 26 15:05 cost 15:17:01 -rw-r--r-- 1 root root 86 Oct 26 15:05 cost.csv 15:17:01 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1251/archives 15:17:01 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1251/archives 15:17:01 total 16 15:17:01 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 15:05 . 15:17:01 drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 15:05 .. 15:17:01 drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 15:05 cost 15:17:01 -rw-r--r-- 1 jenkins jenkins 86 Oct 26 15:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 15:17:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 15:17:02 ---> package-listing.sh 15:17:02 ++ facter osfamily 15:17:02 ++ tr '[:upper:]' '[:lower:]' 15:17:02 + OS_FAMILY=debian 15:17:02 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1251 15:17:02 + START_PACKAGES=/tmp/packages_start.txt 15:17:02 + END_PACKAGES=/tmp/packages_end.txt 15:17:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 15:17:02 + PACKAGES=/tmp/packages_start.txt 15:17:02 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1251 ']' 15:17:02 + PACKAGES=/tmp/packages_end.txt 15:17:02 + case "${OS_FAMILY}" in 15:17:02 + dpkg -l 15:17:02 + grep '^ii' 15:17:02 + '[' -f /tmp/packages_start.txt ']' 15:17:02 + '[' -f /tmp/packages_end.txt ']' 15:17:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 15:17:02 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1251 ']' 15:17:02 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1251/archives/ 15:17:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1251/archives/ [Pipeline] echo 15:17:02 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-1251/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 15:17:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:17:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:17:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:17:03 prd-ubuntu20.04-docker-8c-8g-117153 does not seem to be running inside a container 15:17:03 $ 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-1251/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-1251 -v /w/workspace/gexfoundry_device-sdk-go_PR-1251:/w/workspace/gexfoundry_device-sdk-go_PR-1251:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 15:17:03 $ docker top 625ebcf3e4c012565a3b85358f247cd94ba0d344e5125effe087dd943b0bb219 -eo pid,comm [Pipeline] { [Pipeline] sh 15:17:04 + touch /tmp/pre-build-complete [Pipeline] sh 15:17:04 + mkdir -p /var/log/sysstat [Pipeline] sh 15:17:04 + ls /var/log/sa-host 15:17:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:17:04 provisioning config files... 15:17:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp/config11816220283331035355tmp [Pipeline] { [Pipeline] echo 15:17:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 15:17:05 ---> create-netrc.sh [Pipeline] } 15:17:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 15:17:05 ---> python-tools-install.sh [Pipeline] echo 15:17:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 15:17:05 ---> sudo-logs.sh 15:17:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 15:17:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 15:17:06 ---> job-cost.sh 15:17:06 lf-activate-venv: SKIPPING 15:17:06 DEBUG: total: 0.2199999988079071 15:17:06 INFO: Retrieving Stack Cost... 15:17:06 INFO: Retrieving Pricing Info for: v3-standard-8 15:17:06 INFO: Archiving Costs [Pipeline] echo 15:17:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 15:17:07 ---> logs-deploy.sh 15:17:07 lf-activate-venv: SKIPPING 15:17:07 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1251/2 15:17:07 INFO: archiving workspace using pattern(s): 15:17:08 Archives upload complete. 15:17:08 INFO: archiving logs to Nexus 15:17:09 ---> uname -a: 15:17:09 Linux prd-ubuntu20-04-docker-8c-8g-117153 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 15:17:09 15:17:09 15:17:09 ---> lscpu: 15:17:09 Architecture: x86_64 15:17:09 CPU op-mode(s): 32-bit, 64-bit 15:17:09 Byte Order: Little Endian 15:17:09 Address sizes: 40 bits physical, 48 bits virtual 15:17:09 CPU(s): 8 15:17:09 On-line CPU(s) list: 0-7 15:17:09 Thread(s) per core: 1 15:17:09 Core(s) per socket: 1 15:17:09 Socket(s): 8 15:17:09 NUMA node(s): 1 15:17:09 Vendor ID: AuthenticAMD 15:17:09 CPU family: 23 15:17:09 Model: 49 15:17:09 Model name: AMD EPYC-Rome Processor 15:17:09 Stepping: 0 15:17:09 CPU MHz: 2799.998 15:17:09 BogoMIPS: 5599.99 15:17:09 Virtualization: AMD-V 15:17:09 Hypervisor vendor: KVM 15:17:09 Virtualization type: full 15:17:09 L1d cache: 256 KiB 15:17:09 L1i cache: 256 KiB 15:17:09 L2 cache: 4 MiB 15:17:09 L3 cache: 128 MiB 15:17:09 NUMA node0 CPU(s): 0-7 15:17:09 Vulnerability Itlb multihit: Not affected 15:17:09 Vulnerability L1tf: Not affected 15:17:09 Vulnerability Mds: Not affected 15:17:09 Vulnerability Meltdown: Not affected 15:17:09 Vulnerability Mmio stale data: Not affected 15:17:09 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 15:17:09 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 15:17:09 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 15:17:09 Vulnerability Srbds: Not affected 15:17:09 Vulnerability Tsx async abort: Not affected 15:17:09 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 15:17:09 15:17:09 15:17:09 ---> nproc: 15:17:09 8 15:17:09 15:17:09 15:17:09 ---> df -h: 15:17:09 Filesystem Size Used Avail Use% Mounted on 15:17:09 overlay 155G 12G 144G 8% / 15:17:09 tmpfs 64M 0 64M 0% /dev 15:17:09 tmpfs 16G 0 16G 0% /sys/fs/cgroup 15:17:09 shm 64M 0 64M 0% /dev/shm 15:17:09 /dev/vda1 155G 12G 144G 8% /facter-os 15:17:09 15:17:09 15:17:09 ---> sar -b -r -n DEV: 15:17:09 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-117153) 10/26/22 _x86_64_ (8 CPU) 15:17:09 15:17:09 15:02:18 LINUX RESTART (8 CPU) 15:17:09 15:17:09 15:03:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 15:17:09 15:04:01 201.15 4.33 196.82 0.00 457.79 76303.28 0.00 15:17:09 15:05:01 119.36 0.25 119.11 0.00 9.60 30870.19 0.00 15:17:09 15:06:01 63.85 0.00 63.85 0.00 0.00 17300.12 0.00 15:17:09 15:07:01 1.72 0.00 1.72 0.00 0.00 19.06 0.00 15:17:09 15:08:01 38.08 9.33 28.75 0.00 2884.32 4785.07 0.00 15:17:09 15:09:01 2.63 0.00 2.63 0.00 0.00 29.86 0.00 15:17:09 15:10:01 0.90 0.00 0.90 0.00 0.00 10.80 0.00 15:17:09 15:11:01 1.88 0.00 1.88 0.00 0.00 20.93 0.00 15:17:09 15:12:01 0.98 0.00 0.98 0.00 0.00 11.06 0.00 15:17:09 15:13:01 2.32 0.00 2.32 0.00 0.00 37.19 0.00 15:17:09 15:14:01 1.15 0.00 1.15 0.00 0.00 13.06 0.00 15:17:09 15:15:01 1.73 0.00 1.73 0.00 0.00 19.06 0.00 15:17:09 15:16:01 0.97 0.00 0.97 0.00 0.00 10.40 0.00 15:17:09 15:17:01 2.68 0.12 2.57 0.00 7.33 33.99 0.00 15:17:09 Average: 31.38 1.00 30.38 0.00 239.92 9247.09 0.00 15:17:09 15:17:09 15:03:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 15:17:09 15:04:01 28178048 31438920 855076 2.60 136780 3332200 2242532 6.61 1384412 2868832 230728 15:17:09 15:05:01 28250916 31535004 760608 2.31 142912 3352208 1947040 5.74 1245588 2940820 12 15:17:09 15:06:01 27775848 31560032 734028 2.23 152292 3793448 1753088 5.17 1238556 3369380 20 15:17:09 15:07:01 27775456 31559808 733824 2.23 152332 3793452 1753088 5.17 1239080 3369380 180 15:17:09 15:08:01 27476692 31543888 742872 2.26 170892 4042372 1813312 5.34 1396640 3489636 308 15:17:09 15:09:01 27478952 31546264 740212 2.25 170988 4042364 1813312 5.34 1389972 3489636 8 15:17:09 15:10:01 27490196 31557696 728880 2.22 171000 4042376 1813312 5.34 1378932 3489716 12 15:17:09 15:11:01 27490180 31557680 728852 2.22 171056 4042368 1813312 5.34 1379140 3489724 12 15:17:09 15:12:01 27490424 31557988 728492 2.22 171096 4042380 1813312 5.34 1379024 3489728 12 15:17:09 15:13:01 27490312 31559160 728416 2.22 171212 4042388 1813312 5.34 1378032 3490900 4 15:17:09 15:14:01 27490452 31559448 728076 2.21 171264 4042388 1813312 5.34 1378104 3490900 16 15:17:09 15:15:01 27490452 31559452 727952 2.21 171308 4042392 1813312 5.34 1378104 3490904 8 15:17:09 15:16:01 27491124 31560184 727408 2.21 171332 4042392 1813312 5.34 1377884 3490904 20 15:17:09 15:17:01 27490052 31559464 728076 2.21 171372 4042636 1803620 5.32 1378984 3491012 4 15:17:09 Average: 27632793 31546785 742341 2.26 163988 3906812 1844227 5.44 1351604 3389391 16525 15:17:09 15:17:09 15:03:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 15:17:09 15:04:01 veth8f7dd9e 0.00 0.15 0.00 0.01 0.00 0.00 0.00 0.00 15:17:09 15:04:01 docker0 180.42 198.63 14.14 1822.60 0.00 0.00 0.00 0.00 15:17:09 15:04:01 ens3 473.29 363.17 7437.73 74.92 0.00 0.00 0.00 0.00 15:17:09 15:04:01 lo 4.00 4.00 0.39 0.39 0.00 0.00 0.00 0.00 15:17:09 15:05:01 docker0 4.45 9.27 0.27 98.09 0.00 0.00 0.00 0.00 15:17:09 15:05:01 ens3 44.08 23.18 127.35 11.93 0.00 0.00 0.00 0.00 15:17:09 15:05:01 lo 1.13 1.13 0.11 0.11 0.00 0.00 0.00 0.00 15:17:09 15:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:17:09 15:06:01 ens3 102.20 67.41 2523.91 11.43 0.00 0.00 0.00 0.00 15:17:09 15:06:01 lo 0.93 0.93 0.09 0.09 0.00 0.00 0.00 0.00 15:17:09 15:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:17:09 15:07:01 ens3 0.68 0.40 0.35 0.27 0.00 0.00 0.00 0.00 15:17:09 15:07:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 15:17:09 15:08:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:17:09 15:08:01 ens3 76.77 46.81 1298.89 3.50 0.00 0.00 0.00 0.00 15:17:09 15:08:01 lo 0.47 0.47 0.04 0.04 0.00 0.00 0.00 0.00 15:17:09 15:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:17:09 15:09:01 ens3 0.20 0.13 0.01 0.01 0.00 0.00 0.00 0.00 15:17:09 15:09:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 15:17:09 15:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:17:09 15:10:01 ens3 0.43 0.00 0.05 0.00 0.00 0.00 0.00 0.00 15:17:09 15:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:17:09 15:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:17:09 15:11:01 ens3 0.60 0.42 0.32 0.22 0.00 0.00 0.00 0.00 15:17:09 15:11:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 15:17:09 15:12:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:17:09 15:12:01 ens3 0.03 0.02 0.00 0.00 0.00 0.00 0.00 0.00 15:17:09 15:12:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:17:09 15:13:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:17:09 15:13:01 ens3 0.28 0.20 0.08 0.07 0.00 0.00 0.00 0.00 15:17:09 15:13:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 15:17:09 15:14:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:17:09 15:14:01 ens3 0.08 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:17:09 15:14:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:17:09 15:15:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:17:09 15:15:01 ens3 0.73 0.10 0.06 0.01 0.00 0.00 0.00 0.00 15:17:09 15:15:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 15:17:09 15:16:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:17:09 15:16:01 ens3 0.28 0.15 0.10 0.07 0.00 0.00 0.00 0.00 15:17:09 15:16:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:17:09 15:17:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 15:17:09 15:17:01 ens3 5.70 3.82 5.54 2.13 0.00 0.00 0.00 0.00 15:17:09 15:17:01 lo 0.53 0.53 0.04 0.04 0.00 0.00 0.00 0.00 15:17:09 Average: docker0 13.20 14.85 1.03 137.18 0.00 0.00 0.00 0.00 15:17:09 Average: ens3 50.38 36.13 813.87 7.47 0.00 0.00 0.00 0.00 15:17:09 Average: lo 0.58 0.58 0.05 0.05 0.00 0.00 0.00 0.00 15:17:09 15:17:09