Pull request #1251 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe+21e2314d0be0883f9fe388992978a72096c1cede (b273ff067905820fdc4a6e1a8972cc1f70e56921) 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-ssh7240084008960290043.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-ssh2275021641529430330.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 Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1251/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1251/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17858944159791355709.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1251/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16749097558604621925.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 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13450806887608476502.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1251/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1251/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5923621478727596287.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 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-117146 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 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe Merge succeeded, producing 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe Checking out Revision 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe (PR-1251) > git config core.sparsecheckout # timeout=10 > git checkout -f 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe # 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 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe # timeout=10 Commit message: "build: Update to latest go-mods" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 14:18:36 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 14:18:36 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 14:18:36 ========================================================= 14:18:36 EdgeX Global Pipelines Version Info 14:18:36 ========================================================= [Pipeline] libraryResource [Pipeline] sh 14:18:37 ------------------- 14:18:37 stable info: 14:18:37 ------------------- 14:18:37 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 14:18:37 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 14:18:37 Message: update stable to v1.0.243 14:18:37 ------------------- 14:18:37 experimental info: 14:18:37 ------------------- 14:18:37 Commited By: **** collab-it+edgex@linuxfoundation.org 14:18:37 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 14:18:37 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 14:18:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 14:18:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 14:18:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 14:18:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 14:18:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 14:18:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 14:18:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 14:18:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 14:18:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 14:18:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 14:18:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 14:18:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 14:18:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 14:18:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 14:18:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 14:18:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 14:18:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 14:18:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 14:18:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 14:18:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 14:18:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 14:18:39 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 14:18:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 14:18:39 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 14:18:39 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 14:18:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 14:18:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 14:18:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1251 [Pipeline] echo 14:18:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1251 [Pipeline] echo 14:18:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1251 [Pipeline] echo 14:18:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe [Pipeline] echo 14:18:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6ae0e89 [Pipeline] echo 14:18:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:18:39 provisioning config files... 14:18:39 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp/config1529371944315716389tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:18:39 ---> docker-login.sh 14:18:39 nexus3.edgexfoundry.org:10001 14:18:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:18:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:18:40 Configure a credential helper to remove this warning. See 14:18:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:18:40 14:18:40 Login Succeeded 14:18:40 nexus3.edgexfoundry.org:10002 14:18:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:18:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:18:40 Configure a credential helper to remove this warning. See 14:18:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:18:40 14:18:40 Login Succeeded 14:18:40 nexus3.edgexfoundry.org:10003 14:18:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:18:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:18:40 Configure a credential helper to remove this warning. See 14:18:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:18:40 14:18:40 Login Succeeded 14:18:40 nexus3.edgexfoundry.org:10004 14:18:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:18:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:18:40 Configure a credential helper to remove this warning. See 14:18:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:18:40 14:18:40 Login Succeeded 14:18:40 docker.io 14:18:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:18:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:18:40 Configure a credential helper to remove this warning. See 14:18:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:18:40 14:18:40 Login Succeeded 14:18:40 ---> docker-login.sh ends [Pipeline] } 14:18:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 14:18:41 + git rev-list -1 --merges 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe~1..6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe [Pipeline] echo 14:18:41 -----------> git rev-list -1 --merges 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe~1..6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe [false] [Pipeline] sh 14:18:41 + git log --format=format:%s -1 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe [Pipeline] echo 14:18:41 ========================================================= 14:18:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 14:18:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:18:42 + git log --format=format:%s -1 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe [Pipeline] echo 14:18:42 [semverPrep] GIT_COMMIT: 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe, Commit Message: build: Update to latest go-mods [Pipeline] echo 14:18:42 [semverPrep] This is not a build commit. [Pipeline] sh 14:18:42 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 14:18:42 + grep -v github /etc/ssh/ssh_known_hosts 14:18:42 + [ -e /tmp/ssh_known_hosts ] 14:18:42 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 14:18:42 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 14:18:42 + sudo tee -a /etc/ssh/ssh_known_hosts 14:18:42 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:18:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:18:43 14:18:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:18:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:18:43 0.1.4: Pulling from edgex-devops/py-git-semver 14:18:43 b85a868b505f: Pulling fs layer 14:18:43 e2be974225ed: Pulling fs layer 14:18:43 339a4e72a1f5: Pulling fs layer 14:18:43 988bab9f4d93: Pulling fs layer 14:18:43 1469e6f7b9e6: Pulling fs layer 14:18:43 eaf3925da568: Pulling fs layer 14:18:43 bab4dde63d76: Pulling fs layer 14:18:43 bde34c3a00c8: Pulling fs layer 14:18:43 b352a97aabf1: Pulling fs layer 14:18:43 4872d77fe225: Pulling fs layer 14:18:43 5851b861e8e6: Pulling fs layer 14:18:43 988bab9f4d93: Waiting 14:18:43 1469e6f7b9e6: Waiting 14:18:43 eaf3925da568: Waiting 14:18:43 4872d77fe225: Waiting 14:18:43 bab4dde63d76: Waiting 14:18:43 bde34c3a00c8: Waiting 14:18:43 b352a97aabf1: Waiting 14:18:43 e2be974225ed: Verifying Checksum 14:18:43 e2be974225ed: Download complete 14:18:43 988bab9f4d93: Verifying Checksum 14:18:43 988bab9f4d93: Download complete 14:18:43 1469e6f7b9e6: Verifying Checksum 14:18:43 1469e6f7b9e6: Download complete 14:18:43 eaf3925da568: Verifying Checksum 14:18:43 eaf3925da568: Download complete 14:18:43 339a4e72a1f5: Verifying Checksum 14:18:43 339a4e72a1f5: Download complete 14:18:43 bde34c3a00c8: Download complete 14:18:43 b352a97aabf1: Verifying Checksum 14:18:43 b352a97aabf1: Download complete 14:18:44 5851b861e8e6: Verifying Checksum 14:18:44 5851b861e8e6: Download complete 14:18:44 b85a868b505f: Verifying Checksum 14:18:44 b85a868b505f: Download complete 14:18:44 bab4dde63d76: Verifying Checksum 14:18:44 bab4dde63d76: Download complete 14:18:45 b85a868b505f: Pull complete 14:18:45 e2be974225ed: Pull complete 14:18:46 339a4e72a1f5: Pull complete 14:18:46 988bab9f4d93: Pull complete 14:18:46 1469e6f7b9e6: Pull complete 14:18:46 eaf3925da568: Pull complete 14:18:48 bab4dde63d76: Pull complete 14:18:48 bde34c3a00c8: Pull complete 14:18:48 b352a97aabf1: Pull complete 14:18:48 4872d77fe225: Pull complete 14:18:48 5851b861e8e6: Pull complete 14:18:48 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 14:18:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 14:18:48 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:18:48 prd-ubuntu20.04-docker-8c-8g-117146 does not seem to be running inside a container 14:18:48 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 14:18:50 $ docker top 6a0a0837fef2ed4c9e9f4682d0c4bacb697d8062f81fc03951994d189745b692 -eo pid,comm 14:18:50 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). 14:18:50 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 14:18:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:18:50 [ssh-agent] Looking for ssh-agent implementation... 14:18:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:18:50 $ docker exec 6a0a0837fef2ed4c9e9f4682d0c4bacb697d8062f81fc03951994d189745b692 ssh-agent 14:18:50 SSH_AUTH_SOCK=/tmp/ssh-taG1yd5NKoNA/agent.32 14:18:50 SSH_AGENT_PID=38 14:18:50 Running ssh-add (command line suppressed) 14:18:50 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp/private_key_13657632386850670243.key (/w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp/private_key_13657632386850670243.key) 14:18:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:18:50 + git tag --points-at HEAD [Pipeline] } 14:18:51 $ docker exec --env ******** --env ******** 6a0a0837fef2ed4c9e9f4682d0c4bacb697d8062f81fc03951994d189745b692 ssh-agent -k 14:18:51 unset SSH_AUTH_SOCK; 14:18:51 unset SSH_AGENT_PID; 14:18:51 echo Agent pid 38 killed; 14:18:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 14:18:51 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 14:18:51 [ssh-agent] Looking for ssh-agent implementation... 14:18:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 14:18:51 $ docker exec 6a0a0837fef2ed4c9e9f4682d0c4bacb697d8062f81fc03951994d189745b692 ssh-agent 14:18:51 SSH_AUTH_SOCK=/tmp/ssh-v2IAom1NvqqS/agent.70 14:18:51 SSH_AGENT_PID=76 14:18:51 Running ssh-add (command line suppressed) 14:18:51 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp/private_key_15277748393722693195.key (/w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp/private_key_15277748393722693195.key) 14:18:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 14:18:51 + git semver init 14:18:52 2022-10-26 14:18:52,117 [run_init] DEBUG init version:0.0.0 force:False 14:18:52 2022-10-26 14:18:52,118 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1251/.semver 14:18:52 2022-10-26 14:18:52,118 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1251/.semver 14:18:52 2022-10-26 14:18:52,118 [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) 14:18:53 2022-10-26 14:18:53,246 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1251/.git/info/exclude 14:18:53 2022-10-26 14:18:53,247 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1251/.semver/PR-1251 with force:False 14:18:53 2022-10-26 14:18:53,247 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1251/.semver/PR-1251 14:18:53 2022-10-26 14:18:53,251 [execute] INFO git cat-file --batch-check 14:18:53 2022-10-26 14:18:53,252 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1251/.semver, universal_newlines=False, shell=None, istream=) 14:18:53 2022-10-26 14:18:53,257 [execute] INFO git cat-file --batch 14:18:53 2022-10-26 14:18:53,258 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1251/.semver, universal_newlines=False, shell=None, istream=) 14:18:53 2022-10-26 14:18:53,263 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1251/.semver/PR-1251 14:18:53 0.0.0 [Pipeline] } 14:18:53 $ docker exec --env ******** --env ******** 6a0a0837fef2ed4c9e9f4682d0c4bacb697d8062f81fc03951994d189745b692 ssh-agent -k 14:18:53 unset SSH_AUTH_SOCK; 14:18:53 unset SSH_AGENT_PID; 14:18:53 echo Agent pid 76 killed; 14:18:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 14:18:54 + git semver [Pipeline] } 14:18:54 $ docker stop --time=1 6a0a0837fef2ed4c9e9f4682d0c4bacb697d8062f81fc03951994d189745b692 14:18:55 $ docker rm -f 6a0a0837fef2ed4c9e9f4682d0c4bacb697d8062f81fc03951994d189745b692 [Pipeline] // withDockerContainer [Pipeline] sh 14:18:56 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 14:18:56 Stashed 1 file(s) [Pipeline] echo 14:18:56 [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 14:18:56 provisioning config files... 14:18:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp/config12227860457810610338tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:18:57 ---> docker-login.sh 14:18:57 nexus3.edgexfoundry.org:10001 14:18:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:18:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:18:57 Configure a credential helper to remove this warning. See 14:18:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:18:57 14:18:57 Login Succeeded 14:18:57 nexus3.edgexfoundry.org:10002 14:18:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:18:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:18:57 Configure a credential helper to remove this warning. See 14:18:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:18:57 14:18:57 Login Succeeded 14:18:57 nexus3.edgexfoundry.org:10003 14:18:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:18:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:18:57 Configure a credential helper to remove this warning. See 14:18:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:18:57 14:18:57 Login Succeeded 14:18:57 nexus3.edgexfoundry.org:10004 14:18:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:18:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:18:57 Configure a credential helper to remove this warning. See 14:18:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:18:57 14:18:57 Login Succeeded 14:18:57 docker.io 14:18:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:18:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:18:58 Configure a credential helper to remove this warning. See 14:18:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:18:58 14:18:58 Login Succeeded 14:18:58 ---> docker-login.sh ends [Pipeline] } 14:18:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:18:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:18:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:18:58 ========================================================= 14:18:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 14:18:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:18:58 + 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 . 14:18:58 Sending build context to Docker daemon 10.1MB 14:18:58 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 14:18:58 Step 2/10 : FROM ${BASE} AS builder 14:18:58 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 14:18:58 213ec9aee27d: Pulling fs layer 14:18:58 4583459ba037: Pulling fs layer 14:18:58 93c1e223e6f2: Pulling fs layer 14:18:58 53926ce57604: Pulling fs layer 14:18:58 21b2b0c7a3f4: Pulling fs layer 14:18:58 53926ce57604: Waiting 14:18:58 30f14e443154: Pulling fs layer 14:18:58 801331c1e519: Pulling fs layer 14:18:58 21b2b0c7a3f4: Waiting 14:18:58 30f14e443154: Waiting 14:18:58 801331c1e519: Waiting 14:18:58 99cc6dd402b0: Pulling fs layer 14:18:58 7d9ed39f4882: Pulling fs layer 14:18:58 99cc6dd402b0: Waiting 14:18:58 7d9ed39f4882: Waiting 14:18:59 93c1e223e6f2: Verifying Checksum 14:18:59 93c1e223e6f2: Download complete 14:18:59 4583459ba037: Download complete 14:18:59 21b2b0c7a3f4: Download complete 14:18:59 30f14e443154: Verifying Checksum 14:18:59 30f14e443154: Download complete 14:18:59 213ec9aee27d: Verifying Checksum 14:18:59 801331c1e519: Verifying Checksum 14:18:59 801331c1e519: Download complete 14:18:59 213ec9aee27d: Pull complete 14:18:59 4583459ba037: Pull complete 14:18:59 93c1e223e6f2: Pull complete 14:18:59 53926ce57604: Verifying Checksum 14:18:59 53926ce57604: Download complete 14:18:59 7d9ed39f4882: Verifying Checksum 14:18:59 7d9ed39f4882: Download complete 14:19:00 99cc6dd402b0: Verifying Checksum 14:19:00 99cc6dd402b0: Download complete 14:19:04 53926ce57604: Pull complete 14:19:04 21b2b0c7a3f4: Pull complete 14:19:04 30f14e443154: Pull complete 14:19:04 801331c1e519: Pull complete 14:19:06 99cc6dd402b0: Pull complete 14:19:07 7d9ed39f4882: Pull complete 14:19:07 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 14:19:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 14:19:07 ---> 1dedd983c030 14:19:07 Step 3/10 : ARG MAKE=make build 14:19:08 ---> Running in 913a7e6b4685 14:19:08 Removing intermediate container 913a7e6b4685 14:19:08 ---> 4d85daf61a87 14:19:08 Step 4/10 : WORKDIR /device-sdk-go 14:19:08 ---> Running in 03d2be2e3d8d 14:19:08 Removing intermediate container 03d2be2e3d8d 14:19:08 ---> 8cae4112a4b1 14:19:08 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 14:19:08 ---> Running in cf4fe92119ec 14:19:08 Removing intermediate container cf4fe92119ec 14:19:08 ---> 26ef138998b5 14:19:08 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 14:19:08 ---> Running in 06af1e5f7ef9 14:19:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:19:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:19:09 OK: 211 MiB in 51 packages 14:19:09 Removing intermediate container 06af1e5f7ef9 14:19:09 ---> 5b75c5700bf6 14:19:09 Step 7/10 : COPY go.mod vendor* ./ 14:19:10 ---> 5dfd9247f928 14:19:10 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:19:10 ---> Running in db043ab2d09f 14:19:11 Still waiting to schedule task 14:19:11 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-117144’ 14:19:28 Removing intermediate container db043ab2d09f 14:19:28 ---> d4cb09b427d1 14:19:28 Step 9/10 : COPY . . 14:19:28 ---> 4d67b171d894 14:19:28 Step 10/10 : RUN ${MAKE} 14:19:28 ---> Running in 2e34e4b942fe 14:19:28 noop 14:19:28 Removing intermediate container 2e34e4b942fe 14:19:28 ---> 2684f9416328 14:19:28 Successfully built 2684f9416328 14:19:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:19:28 + docker inspect -f . ci-base-image-x86_64 14:19:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:19:28 prd-ubuntu20.04-docker-8c-8g-117146 does not seem to be running inside a container 14:19:28 $ 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 ******** ci-base-image-x86_64 cat 14:19:29 $ docker top 9ef463d0867ee3a03220ec040b3081be72b1dcc7cdf9f70ed39b7b3197bf1d59 -eo pid,comm [Pipeline] { [Pipeline] sh 14:19:29 + go version 14:19:29 go version go1.18.7 linux/amd64 [Pipeline] } 14:19:29 $ docker stop --time=1 9ef463d0867ee3a03220ec040b3081be72b1dcc7cdf9f70ed39b7b3197bf1d59 14:19:31 $ docker rm -f 9ef463d0867ee3a03220ec040b3081be72b1dcc7cdf9f70ed39b7b3197bf1d59 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:19:31 + docker inspect -f . ci-base-image-x86_64 14:19:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:19:31 prd-ubuntu20.04-docker-8c-8g-117146 does not seem to be running inside a container 14:19:31 $ 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 ******** ci-base-image-x86_64 cat 14:19:32 $ docker top 47a9ff53b306034fb65a63098de4d33551239f25e34882a63abfd76aa1f2c689 -eo pid,comm [Pipeline] { [Pipeline] sh 14:19:32 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1251 [Pipeline] fileExists [Pipeline] sh 14:19:33 + make test 14:19:33 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 14:19:39 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 14:19:54 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 14:19:54 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 14:19:54 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 14:19:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 14:19:54 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 14:19:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.060s coverage: 27.6% of statements 14:19:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.071s coverage: 78.9% of statements 14:19:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 14:19:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.102s coverage: 73.1% of statements 14:19:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 14:19:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 14:19:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.112s coverage: 54.4% of statements 14:19:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 14:19:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 14:19:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 14:19:55 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 14:19:55 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.103s coverage: 65.1% of statements 14:19:55 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 14:19:55 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 14:19:55 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.774s coverage: 89.2% of statements 14:19:55 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 14:19:55 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.071s coverage: 4.7% of statements 14:19:55 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 14:20:13 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." 14:20:13 GO111MODULE=on go vet ./... 14:20:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:20:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:20:16 ./bin/test-attribution-txt.sh 14:20:16 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 14:20:16 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 14:20:16 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 14:20:16 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 14:20:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:20:17 $ docker stop --time=1 47a9ff53b306034fb65a63098de4d33551239f25e34882a63abfd76aa1f2c689 14:20:18 $ docker rm -f 47a9ff53b306034fb65a63098de4d33551239f25e34882a63abfd76aa1f2c689 [Pipeline] // withDockerContainer [Pipeline] sh 14:20:19 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:20:19 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 14:20:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:20:20 + ls -al . 14:20:20 total 280 14:20:20 drwxrwxr-x 11 jenkins jenkins 4096 Oct 26 14:19 . 14:20:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 14:18 .. 14:20:20 -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 14:18 .dockerignore 14:20:20 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 14:19 .git 14:20:20 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 14:18 .github 14:20:20 -rw-rw-r-- 1 jenkins jenkins 131 Oct 26 14:18 .gitignore 14:20:20 -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 14:18 .golangci.yml 14:20:20 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 14:18 .semver 14:20:20 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 26 14:18 CHANGELOG.md 14:20:20 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 14:18 GOVERNANCE.md 14:20:20 -rw-rw-r-- 1 jenkins jenkins 880 Oct 26 14:18 Jenkinsfile 14:20:20 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 26 14:18 LICENSE 14:20:20 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 26 14:18 Makefile 14:20:20 -rw-rw-r-- 1 jenkins jenkins 619 Oct 26 14:18 OWNERS.md 14:20:20 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 26 14:18 README.md 14:20:20 -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 14:18 VERSION 14:20:20 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 14:18 bin 14:20:20 -rw-r--r-- 1 jenkins jenkins 101759 Oct 26 14:19 coverage.out 14:20:20 drwxrwxr-x 5 jenkins jenkins 4096 Oct 26 14:18 example 14:20:20 -rw-rw-r-- 1 jenkins jenkins 3389 Oct 26 14:18 go.mod 14:20:20 -rw-rw-r-- 1 jenkins jenkins 44507 Oct 26 14:18 go.sum 14:20:20 drwxrwxr-x 14 jenkins jenkins 4096 Oct 26 14:18 internal 14:20:20 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 14:18 openapi 14:20:20 drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 14:18 pkg 14:20:20 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 14:18 snap 14:20:20 -rw-rw-r-- 1 jenkins jenkins 222 Oct 26 14:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:20:20 + 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=6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe --label arch=amd64 --label version=0.0.0 . 14:20:20 Sending build context to Docker daemon 10.21MB 14:20:20 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 14:20:20 Step 2/23 : FROM ${BASE} AS builder 14:20:20 ---> 2684f9416328 14:20:20 Step 3/23 : ARG MAKE=make build 14:20:20 ---> Running in 5a65711124bd 14:20:21 Removing intermediate container 5a65711124bd 14:20:21 ---> e17dfd82dd98 14:20:21 Step 4/23 : WORKDIR /device-sdk-go 14:20:21 ---> Running in 15cf10f8256c 14:20:21 Removing intermediate container 15cf10f8256c 14:20:21 ---> 335dea22a9d3 14:20:21 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 14:20:21 ---> Running in e4beaf2d25ed 14:20:21 Removing intermediate container e4beaf2d25ed 14:20:21 ---> 871edcc3befe 14:20:21 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 14:20:21 ---> Running in 808be1756767 14:20:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:20:21 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:20:21 OK: 211 MiB in 51 packages 14:20:22 Removing intermediate container 808be1756767 14:20:22 ---> a919e5d3117c 14:20:22 Step 7/23 : COPY go.mod vendor* ./ 14:20:22 ---> 1b68af66f36e 14:20:22 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:20:22 ---> Running in 4d12cf398b99 14:20:23 Removing intermediate container 4d12cf398b99 14:20:23 ---> 87c7b9e6cc9e 14:20:23 Step 9/23 : COPY . . 14:20:23 ---> 974e1514a4df 14:20:23 Step 10/23 : RUN ${MAKE} 14:20:23 ---> Running in 526f4f5d2a7d 14:20:23 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 14:20:42 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 14:20:45 Removing intermediate container 526f4f5d2a7d 14:20:45 ---> cc96f063ed28 14:20:45 Step 11/23 : FROM alpine:3.16 14:20:45 3.16: Pulling from library/alpine 14:20:47 213ec9aee27d: Already exists 14:20:51 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 14:20:51 Status: Downloaded newer image for alpine:3.16 14:20:51 ---> 9c6f07244728 14:20:51 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 14:20:51 ---> Running in 86243d17bff6 14:20:51 Removing intermediate container 86243d17bff6 14:20:51 ---> bc658a969a90 14:20:51 Step 13/23 : RUN apk add --update --no-cache zeromq 14:20:51 ---> Running in cf9988edfdb0 14:20:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 14:20:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 14:20:51 (1/5) Installing libgcc (11.2.1_git20220219-r2) 14:20:51 (2/5) Installing libsodium (1.0.18-r0) 14:20:51 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 14:20:51 (4/5) Installing libzmq (4.3.4-r0) 14:20:51 (5/5) Installing zeromq (4.3.4-r0) 14:20:51 Executing busybox-1.35.0-r17.trigger 14:20:51 OK: 8 MiB in 19 packages 14:20:52 Removing intermediate container cf9988edfdb0 14:20:52 ---> f4a2081eb820 14:20:52 Step 14/23 : WORKDIR / 14:20:52 ---> Running in 4cc29026fbdd 14:20:52 Removing intermediate container 4cc29026fbdd 14:20:52 ---> 117e04059c83 14:20:52 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 14:20:52 ---> 6b56ca9c6e25 14:20:52 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 14:20:53 ---> 4295f987a62c 14:20:53 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 14:20:53 ---> 67d138838f69 14:20:53 Step 18/23 : EXPOSE 59999 14:20:53 ---> Running in 7e94e2c7e754 14:20:53 Removing intermediate container 7e94e2c7e754 14:20:53 ---> 8379371657f7 14:20:53 Step 19/23 : ENTRYPOINT ["/device-simple"] 14:20:53 ---> Running in 4437a1297ad4 14:20:53 Removing intermediate container 4437a1297ad4 14:20:53 ---> 8226df53ad17 14:20:53 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:20:53 ---> Running in 572034bfbbe8 14:20:53 Removing intermediate container 572034bfbbe8 14:20:53 ---> 1e4b962d825d 14:20:53 Step 21/23 : LABEL arch=amd64 14:20:53 ---> Running in 7e932c01e995 14:20:53 Removing intermediate container 7e932c01e995 14:20:53 ---> f615a60b9196 14:20:53 Step 22/23 : LABEL git_sha=6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe 14:20:53 ---> Running in f2ff93677da4 14:20:53 Removing intermediate container f2ff93677da4 14:20:53 ---> 4dd14a6c9a68 14:20:53 Step 23/23 : LABEL version=0.0.0 14:20:54 ---> Running in 8f94bb5aba9f 14:20:54 Removing intermediate container 8f94bb5aba9f 14:20:54 ---> f1a4be541bdb 14:20:54 [Warning] One or more build-args [ARCH] were not consumed 14:20:54 Successfully built f1a4be541bdb 14:20:54 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 14:20:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:20:54 14:20:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:20:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:20:55 latest: Pulling from edgex-lftools-log-publisher 14:20:55 5eb5b503b376: Pulling fs layer 14:20:55 5c69ac0246d0: Pulling fs layer 14:20:55 ec43610c2a17: Pulling fs layer 14:20:55 3a2ae6a8a46f: Pulling fs layer 14:20:55 33b1e0a273af: Pulling fs layer 14:20:55 5d3b04190fa2: Pulling fs layer 14:20:55 2f39f015ded8: Pulling fs layer 14:20:55 2f39f015ded8: Waiting 14:20:55 33b1e0a273af: Waiting 14:20:55 5d3b04190fa2: Waiting 14:20:55 3a2ae6a8a46f: Waiting 14:20:55 5c69ac0246d0: Verifying Checksum 14:20:55 5c69ac0246d0: Download complete 14:20:55 3a2ae6a8a46f: Download complete 14:20:55 33b1e0a273af: Verifying Checksum 14:20:55 33b1e0a273af: Download complete 14:20:55 ec43610c2a17: Verifying Checksum 14:20:55 ec43610c2a17: Download complete 14:20:55 5d3b04190fa2: Verifying Checksum 14:20:55 5d3b04190fa2: Download complete 14:20:55 5eb5b503b376: Download complete 14:20:56 2f39f015ded8: Download complete 14:20:56 5eb5b503b376: Pull complete 14:20:56 5c69ac0246d0: Pull complete 14:20:57 ec43610c2a17: Pull complete 14:20:57 3a2ae6a8a46f: Pull complete 14:20:57 33b1e0a273af: Pull complete 14:20:57 5d3b04190fa2: Pull complete 14:21:01 2f39f015ded8: Pull complete 14:21:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 14:21:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:21:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:21:02 prd-ubuntu20.04-docker-8c-8g-117146 does not seem to be running inside a container 14:21:02 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:21:03 $ docker top 7f21daf4fd389915d91fe4376a690a084a43be1666875ff7a8ae95f3300acd43 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:21:04 ---> job-cost.sh 14:21:04 lf-activate-venv: SKIPPING 14:21:04 INFO: No Stack... 14:21:04 INFO: Retrieving Pricing Info for: v3-standard-8 14:21:05 INFO: Archiving Costs [Pipeline] sh 14:21:05 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1251/archives/cost.csv 14:21:05 + cut -d, -f6 [Pipeline] lock 14:21:05 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1251-1-stack-cost] 14:21:05 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1251-1-stack-cost] did not exist. Created. 14:21:05 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1251-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:21:05 + echo total: 0.2199999988079071 [Pipeline] stash 14:21:05 Stashed 1 file(s) [Pipeline] } 14:21:05 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1251-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:21:05 $ docker stop --time=1 7f21daf4fd389915d91fe4376a690a084a43be1666875ff7a8ae95f3300acd43 14:21:07 $ docker rm -f 7f21daf4fd389915d91fe4376a690a084a43be1666875ff7a8ae95f3300acd43 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 14:22:04 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117148 in /w/workspace/gexfoundry_device-sdk-go_PR-1251 [Pipeline] { [Pipeline] ws 14:22:04 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 14:22:04 The recommended git tool is: git 14:22:10 using credential edgex-jenkins-ssh 14:22:10 Cloning the remote Git repository 14:22:10 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 14:22:10 > git init /w/workspace/device-sdk-go/1 # timeout=10 14:22:10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:22:10 > git --version # timeout=10 14:22:10 > git --version # 'git version 2.25.1' 14:22:10 using GIT_SSH to set credentials SSH Credentials for GitHub 14:22:10 Verifying host key using known hosts file 14:22:11 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. 14:22:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 14:22:12 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:22:13 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 14:22:14 Merging remotes/origin/main commit 21e2314d0be0883f9fe388992978a72096c1cede into PR head commit 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe 14:22:15 Merge succeeded, producing 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe 14:22:15 Checking out Revision 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe (PR-1251) 14:22:13 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 14:22:13 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 14:22:13 using GIT_SSH to set credentials SSH Credentials for GitHub 14:22:14 Verifying host key using known hosts file 14:22:14 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. 14:22:14 > 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 14:22:14 > git config core.sparsecheckout # timeout=10 14:22:14 > git checkout -f 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe # timeout=10 14:22:14 > git remote # timeout=10 14:22:14 > git config --get remote.origin.url # timeout=10 14:22:14 using GIT_SSH to set credentials SSH Credentials for GitHub 14:22:14 Verifying host key using known hosts file 14:22:14 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. 14:22:14 > git merge 21e2314d0be0883f9fe388992978a72096c1cede # timeout=10 14:22:15 > git rev-parse HEAD^{commit} # timeout=10 14:22:15 > git config core.sparsecheckout # timeout=10 14:22:15 > git checkout -f 6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe # timeout=10 14:22:18 Commit message: "build: Update to latest go-mods" 14:22:18 > git --version # timeout=10 14:22:18 > git --version # 'git version 2.25.1' 14:22:18 fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 14:22:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 14:22:20 % Total % Received % Xferd Average Speed Time Time Time Current 14:22:20 Dload Upload Total Spent Left Speed 14:22:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 208k 0 --:--:-- --:--:-- --:--:-- 208k [Pipeline] sh 14:22:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 14:22:21 + sudo tee /etc/docker/daemon.new 14:22:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 14:22:21 { 14:22:21 "registry-mirrors": [ 14:22:21 "https://nexus3.edgexfoundry.org:10001" 14:22:21 ], 14:22:21 "bip": "10.250.0.254/24", 14:22:21 "hosts": [ 14:22:21 "tcp://0.0.0.0:5555", 14:22:21 "unix:///var/run/docker.sock" 14:22:21 ], 14:22:21 "mtu": 1458, 14:22:21 "selinux-enabled": true, 14:22:21 "seccomp-profile": "/etc/docker/seccomp.json" 14:22:21 } [Pipeline] sh 14:22:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 14:22:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:22:40 provisioning config files... 14:22:40 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config15565145909246683481tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:22:40 ---> docker-login.sh 14:22:40 nexus3.edgexfoundry.org:10001 14:22:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:22:41 Configure a credential helper to remove this warning. See 14:22:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:22:41 14:22:41 Login Succeeded 14:22:41 nexus3.edgexfoundry.org:10002 14:22:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:22:41 Configure a credential helper to remove this warning. See 14:22:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:22:41 14:22:41 Login Succeeded 14:22:41 nexus3.edgexfoundry.org:10003 14:22:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:22:42 Configure a credential helper to remove this warning. See 14:22:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:22:42 14:22:42 Login Succeeded 14:22:42 nexus3.edgexfoundry.org:10004 14:22:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:22:42 Configure a credential helper to remove this warning. See 14:22:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:22:42 14:22:42 Login Succeeded 14:22:42 docker.io 14:22:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 14:22:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 14:22:43 Configure a credential helper to remove this warning. See 14:22:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 14:22:43 14:22:43 Login Succeeded 14:22:43 ---> docker-login.sh ends [Pipeline] } 14:22:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 14:22:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:22:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 14:22:43 ========================================================= 14:22:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 14:22:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:22:44 + 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 . 14:22:44 Sending build context to Docker daemon 5.449MB 14:22:44 Step 1/10 : ARG BASE=golang:1.18-alpine3.16 14:22:44 Step 2/10 : FROM ${BASE} AS builder 14:22:44 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 14:22:44 9b18e9b68314: Pulling fs layer 14:22:44 d32db5db7311: Pulling fs layer 14:22:44 d0c4b47475fc: Pulling fs layer 14:22:44 5831b945b038: Pulling fs layer 14:22:44 86bbec2aaacd: Pulling fs layer 14:22:44 e10730c5d714: Pulling fs layer 14:22:44 5dd5c2283517: Pulling fs layer 14:22:44 d5ac0230b979: Pulling fs layer 14:22:44 5831b945b038: Waiting 14:22:44 86bbec2aaacd: Waiting 14:22:44 e10730c5d714: Waiting 14:22:44 5dd5c2283517: Waiting 14:22:44 d5ac0230b979: Waiting 14:22:44 d0c4b47475fc: Download complete 14:22:44 d32db5db7311: Verifying Checksum 14:22:44 d32db5db7311: Download complete 14:22:44 86bbec2aaacd: Download complete 14:22:44 e10730c5d714: Verifying Checksum 14:22:44 e10730c5d714: Download complete 14:22:44 9b18e9b68314: Verifying Checksum 14:22:44 9b18e9b68314: Download complete 14:22:46 d5ac0230b979: Verifying Checksum 14:22:46 d5ac0230b979: Download complete 14:22:46 9b18e9b68314: Pull complete 14:22:46 d32db5db7311: Pull complete 14:22:46 d0c4b47475fc: Pull complete 14:22:47 5dd5c2283517: Verifying Checksum 14:22:47 5dd5c2283517: Download complete 14:22:47 5831b945b038: Verifying Checksum 14:22:47 5831b945b038: Download complete 14:23:00 5831b945b038: Pull complete 14:23:00 86bbec2aaacd: Pull complete 14:23:00 e10730c5d714: Pull complete 14:23:05 5dd5c2283517: Pull complete 14:23:08 d5ac0230b979: Pull complete 14:23:08 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 14:23:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 14:23:08 ---> 59b3b1a385d4 14:23:08 Step 3/10 : ARG MAKE=make build 14:23:10 ---> Running in fdcbffb84931 14:23:10 Removing intermediate container fdcbffb84931 14:23:10 ---> ff86f47ad5e0 14:23:10 Step 4/10 : WORKDIR /device-sdk-go 14:23:10 ---> Running in 5d31783e057a 14:23:10 Removing intermediate container 5d31783e057a 14:23:10 ---> e93aa4b168d3 14:23:10 Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 14:23:10 ---> Running in d7762e216325 14:23:10 Removing intermediate container d7762e216325 14:23:10 ---> a5975b9d9356 14:23:10 Step 6/10 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 14:23:11 ---> Running in 57f4b8957b64 14:23:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:23:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:23:13 OK: 221 MiB in 51 packages 14:23:14 Removing intermediate container 57f4b8957b64 14:23:14 ---> 039827fbf9db 14:23:14 Step 7/10 : COPY go.mod vendor* ./ 14:23:14 ---> e23633058f8b 14:23:14 Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:23:14 ---> Running in 9c6fff459c07 14:24:11 Removing intermediate container 9c6fff459c07 14:24:11 ---> 3e3bdbda2d70 14:24:11 Step 9/10 : COPY . . 14:24:11 ---> c6b18a4a5728 14:24:11 Step 10/10 : RUN ${MAKE} 14:24:11 ---> Running in 47f74520f2c4 14:24:11 noop 14:24:12 Removing intermediate container 47f74520f2c4 14:24:12 ---> e57e6b26f68b 14:24:12 Successfully built e57e6b26f68b 14:24:12 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:24:13 + docker inspect -f . ci-base-image-arm64 14:24:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:24:13 prd-ubuntu20.04-docker-arm64-4c-16g-117148 does not seem to be running inside a container 14:24:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:24:14 $ docker top 9ae0194b47e3c1ffe8b4bce9c0956f56a516f8ff8a99590a5688fcca8b751816 -eo pid,comm [Pipeline] { [Pipeline] sh 14:24:15 + go version 14:24:15 go version go1.18.7 linux/arm64 [Pipeline] } 14:24:15 $ docker stop --time=1 9ae0194b47e3c1ffe8b4bce9c0956f56a516f8ff8a99590a5688fcca8b751816 14:24:17 $ docker rm -f 9ae0194b47e3c1ffe8b4bce9c0956f56a516f8ff8a99590a5688fcca8b751816 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:24:18 + docker inspect -f . ci-base-image-arm64 14:24:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:24:18 prd-ubuntu20.04-docker-arm64-4c-16g-117148 does not seem to be running inside a container 14:24:18 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 14:24:19 $ docker top 08dc800a89b6c9f734bfe0414a2dc86f8b604ae2e2edd2ec08643761ff14f1ff -eo pid,comm [Pipeline] { [Pipeline] sh 14:24:20 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 14:24:21 + make test 14:24:21 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 14:24:53 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 14:27:15 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 14:27:15 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 14:27:15 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 14:27:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 14:27:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 14:27:21 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.321s coverage: 27.6% of statements 14:27:22 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.402s coverage: 78.9% of statements 14:27:22 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 14:27:32 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.835s coverage: 73.1% of statements 14:27:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 14:27:32 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 14:27:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.738s coverage: 54.4% of statements 14:27:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 14:27:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 14:27:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 14:27:36 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 14:27:36 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.491s coverage: 65.1% of statements 14:27:36 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 14:27:36 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 14:27:36 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 5.137s coverage: 89.2% of statements 14:27:36 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 14:27:41 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.282s coverage: 4.7% of statements 14:27:41 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 14:27:41 WARNING: Linting skipped (not on x86_64 or linter not installed) 14:27:41 GO111MODULE=on go vet ./... 14:29:33 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 14:29:33 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 14:29:33 ./bin/test-attribution-txt.sh 14:29:33 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 14:29:33 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 14:29:33 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 14:29:33 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 14:29:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 14:29:33 $ docker stop --time=1 08dc800a89b6c9f734bfe0414a2dc86f8b604ae2e2edd2ec08643761ff14f1ff 14:29:35 $ docker rm -f 08dc800a89b6c9f734bfe0414a2dc86f8b604ae2e2edd2ec08643761ff14f1ff [Pipeline] // withDockerContainer [Pipeline] sh 14:29:36 + sudo chown -R jenkins:jenkins . [Pipeline] stash 14:29:36 Warning: overwriting stash ‘coverage-report’ 14:29:37 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 14:29:37 + sudo chown -R jenkins:jenkins . [Pipeline] sh 14:29:38 + ls -al . 14:29:38 total 276 14:29:38 drwxrwxr-x 10 jenkins jenkins 4096 Oct 26 14:24 . 14:29:38 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 14:22 .. 14:29:38 -rw-rw-r-- 1 jenkins jenkins 140 Oct 26 14:22 .dockerignore 14:29:38 drwxrwxr-x 8 jenkins jenkins 4096 Oct 26 14:22 .git 14:29:38 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 14:22 .github 14:29:38 -rw-rw-r-- 1 jenkins jenkins 131 Oct 26 14:22 .gitignore 14:29:38 -rw-rw-r-- 1 jenkins jenkins 42 Oct 26 14:22 .golangci.yml 14:29:38 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 26 14:22 CHANGELOG.md 14:29:38 -rw-rw-r-- 1 jenkins jenkins 677 Oct 26 14:22 GOVERNANCE.md 14:29:38 -rw-rw-r-- 1 jenkins jenkins 880 Oct 26 14:22 Jenkinsfile 14:29:38 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 26 14:22 LICENSE 14:29:38 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 26 14:22 Makefile 14:29:38 -rw-rw-r-- 1 jenkins jenkins 619 Oct 26 14:22 OWNERS.md 14:29:38 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 26 14:22 README.md 14:29:38 -rw-rw-r-- 1 jenkins jenkins 5 Oct 26 14:18 VERSION 14:29:38 drwxrwxr-x 2 jenkins jenkins 4096 Oct 26 14:22 bin 14:29:38 -rw-r--r-- 1 jenkins jenkins 101759 Oct 26 14:27 coverage.out 14:29:38 drwxrwxr-x 5 jenkins jenkins 4096 Oct 26 14:22 example 14:29:38 -rw-rw-r-- 1 jenkins jenkins 3389 Oct 26 14:22 go.mod 14:29:38 -rw-rw-r-- 1 jenkins jenkins 44507 Oct 26 14:22 go.sum 14:29:38 drwxrwxr-x 14 jenkins jenkins 4096 Oct 26 14:22 internal 14:29:38 drwxrwxr-x 3 jenkins jenkins 4096 Oct 26 14:22 openapi 14:29:38 drwxrwxr-x 6 jenkins jenkins 4096 Oct 26 14:22 pkg 14:29:38 drwxrwxr-x 4 jenkins jenkins 4096 Oct 26 14:22 snap 14:29:38 -rw-rw-r-- 1 jenkins jenkins 222 Oct 26 14:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:29:38 + 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=6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe --label arch=arm64 --label version=0.0.0 . 14:29:38 Sending build context to Docker daemon 5.551MB 14:29:39 Step 1/23 : ARG BASE=golang:1.18-alpine3.16 14:29:39 Step 2/23 : FROM ${BASE} AS builder 14:29:39 ---> e57e6b26f68b 14:29:39 Step 3/23 : ARG MAKE=make build 14:29:39 ---> Running in 4c5fe201524f 14:29:39 Removing intermediate container 4c5fe201524f 14:29:39 ---> a83f5ff44810 14:29:39 Step 4/23 : WORKDIR /device-sdk-go 14:29:39 ---> Running in 83fa786f167d 14:29:39 Removing intermediate container 83fa786f167d 14:29:39 ---> e3e7edbb81ad 14:29:39 Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 14:29:39 ---> Running in 3a0c645e07d8 14:29:40 Removing intermediate container 3a0c645e07d8 14:29:40 ---> 0a5a5b308b9b 14:29:40 Step 6/23 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 14:29:40 ---> Running in c20118c7a50e 14:29:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:29:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:29:42 OK: 221 MiB in 51 packages 14:29:44 Removing intermediate container c20118c7a50e 14:29:44 ---> 237ea4ab537e 14:29:44 Step 7/23 : COPY go.mod vendor* ./ 14:29:44 ---> 59a352a1dfae 14:29:44 Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 14:29:44 ---> Running in b05d8c8cac54 14:29:46 Removing intermediate container b05d8c8cac54 14:29:46 ---> ed667efa9731 14:29:46 Step 9/23 : COPY . . 14:29:48 ---> 5f787470c980 14:29:48 Step 10/23 : RUN ${MAKE} 14:29:48 ---> Running in 70659a7138d5 14:29:49 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 14:32:11 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 14:32:11 Removing intermediate container 70659a7138d5 14:32:11 ---> 08b25e14f3ce 14:32:11 Step 11/23 : FROM alpine:3.16 14:32:12 3.16: Pulling from library/alpine 14:32:12 9b18e9b68314: Already exists 14:32:12 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 14:32:12 Status: Downloaded newer image for alpine:3.16 14:32:12 ---> a6215f271958 14:32:12 Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 14:32:12 ---> Running in 9dcfc2d85f5d 14:32:13 Removing intermediate container 9dcfc2d85f5d 14:32:13 ---> e23ec69507d5 14:32:13 Step 13/23 : RUN apk add --update --no-cache zeromq 14:32:13 ---> Running in fa9ffecc1f14 14:32:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 14:32:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 14:32:15 (1/5) Installing libgcc (11.2.1_git20220219-r2) 14:32:15 (2/5) Installing libsodium (1.0.18-r0) 14:32:15 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 14:32:15 (4/5) Installing libzmq (4.3.4-r0) 14:32:15 (5/5) Installing zeromq (4.3.4-r0) 14:32:15 Executing busybox-1.35.0-r17.trigger 14:32:15 OK: 8 MiB in 19 packages 14:32:16 Removing intermediate container fa9ffecc1f14 14:32:16 ---> e330bab0971d 14:32:16 Step 14/23 : WORKDIR / 14:32:16 ---> Running in b38f39ce9776 14:32:16 Removing intermediate container b38f39ce9776 14:32:16 ---> 175879208689 14:32:16 Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 14:32:17 ---> bb9d3b592d50 14:32:17 Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 14:32:18 ---> 445bb47ee977 14:32:18 Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 14:32:19 ---> 90c0ade05319 14:32:19 Step 18/23 : EXPOSE 59999 14:32:19 ---> Running in d54425b225ed 14:32:19 Removing intermediate container d54425b225ed 14:32:19 ---> 3860cf8910be 14:32:19 Step 19/23 : ENTRYPOINT ["/device-simple"] 14:32:19 ---> Running in ab1bd4de8e0e 14:32:20 Removing intermediate container ab1bd4de8e0e 14:32:20 ---> 9bc429e8c4f5 14:32:20 Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 14:32:20 ---> Running in ea01494f954e 14:32:20 Removing intermediate container ea01494f954e 14:32:20 ---> 88ad80c814ed 14:32:20 Step 21/23 : LABEL arch=arm64 14:32:20 ---> Running in 85ba2ea43757 14:32:20 Removing intermediate container 85ba2ea43757 14:32:20 ---> c7874988f5b9 14:32:20 Step 22/23 : LABEL git_sha=6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe 14:32:20 ---> Running in 18fa9d0dfb50 14:32:21 Removing intermediate container 18fa9d0dfb50 14:32:21 ---> 6f0c437f8bc1 14:32:21 Step 23/23 : LABEL version=0.0.0 14:32:21 ---> Running in 723b11a5e843 14:32:21 Removing intermediate container 723b11a5e843 14:32:21 ---> f88f6f372939 14:32:21 [Warning] One or more build-args [ARCH] were not consumed 14:32:21 Successfully built f88f6f372939 14:32:21 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 14:32:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:32:22 14:32:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:32:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:32:22 arm64: Pulling from edgex-lftools-log-publisher 14:32:22 8998bd30e6a1: Pulling fs layer 14:32:22 04944245beec: Pulling fs layer 14:32:22 699f458cf7ca: Pulling fs layer 14:32:22 765212b225bb: Pulling fs layer 14:32:22 f23df028b6ca: Pulling fs layer 14:32:22 d65c8cfc05b1: Pulling fs layer 14:32:22 2437ff75d9bd: Pulling fs layer 14:32:22 f23df028b6ca: Waiting 14:32:22 d65c8cfc05b1: Waiting 14:32:22 2437ff75d9bd: Waiting 14:32:22 765212b225bb: Waiting 14:32:23 04944245beec: Verifying Checksum 14:32:23 04944245beec: Download complete 14:32:23 765212b225bb: Verifying Checksum 14:32:23 765212b225bb: Download complete 14:32:23 f23df028b6ca: Verifying Checksum 14:32:23 f23df028b6ca: Download complete 14:32:23 d65c8cfc05b1: Verifying Checksum 14:32:23 d65c8cfc05b1: Download complete 14:32:23 699f458cf7ca: Verifying Checksum 14:32:23 699f458cf7ca: Download complete 14:32:23 8998bd30e6a1: Verifying Checksum 14:32:23 8998bd30e6a1: Download complete 14:32:25 2437ff75d9bd: Verifying Checksum 14:32:25 2437ff75d9bd: Download complete 14:32:27 8998bd30e6a1: Pull complete 14:32:27 04944245beec: Pull complete 14:32:29 699f458cf7ca: Pull complete 14:32:29 765212b225bb: Pull complete 14:32:29 f23df028b6ca: Pull complete 14:32:29 d65c8cfc05b1: Pull complete 14:32:42 2437ff75d9bd: Pull complete 14:32:42 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 14:32:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 14:32:42 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:32:42 prd-ubuntu20.04-docker-arm64-4c-16g-117148 does not seem to be running inside a container 14:32:42 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 14:32:45 $ docker top 38fb3f8ff81c67ecdd6de5779fd5f75d60041cc7ac2c684146cd1f59a2ec0402 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 14:32:46 ---> job-cost.sh 14:32:46 lf-activate-venv: SKIPPING 14:32:46 INFO: No Stack... 14:32:47 INFO: Retrieving Pricing Info for: v3-standard-4 14:32:47 INFO: Archiving Costs [Pipeline] sh 14:32:48 + cut -d, -f6 14:32:48 + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock 14:32:48 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1251-1-stack-cost] 14:32:48 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1251-1-stack-cost] did not exist. Created. 14:32:48 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1251-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 14:32:49 /w/workspace/device-sdk-go/1@tmp/durable-04f23903/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 14:32:50 + echo total: 0.10999999940395355 [Pipeline] stash 14:32:50 Warning: overwriting stash ‘stack-cost’ 14:32:50 Stashed 1 file(s) [Pipeline] } 14:32:50 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1251-1-stack-cost] [Pipeline] // lock [Pipeline] } 14:32:50 $ docker stop --time=1 38fb3f8ff81c67ecdd6de5779fd5f75d60041cc7ac2c684146cd1f59a2ec0402 14:32:51 $ docker rm -f 38fb3f8ff81c67ecdd6de5779fd5f75d60041cc7ac2c684146cd1f59a2ec0402 [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 14:32:52 provisioning config files... 14:32:52 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp/config16869762434656555022tmp [Pipeline] { [Pipeline] sh 14:32:53 + set +x 14:32:53 + bash -s -- 14:32:53 + curl -s https://codecov.io/bash 14:32:53 14:32:53 _____ _ 14:32:53 / ____| | | 14:32:53 | | ___ __| | ___ ___ _____ __ 14:32:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 14:32:53 | |___| (_) | (_| | __/ (_| (_) \ V / 14:32:53 \_____\___/ \__,_|\___|\___\___/ \_/ 14:32:53 Bash-1.0.6 14:32:53 14:32:53 14:32:53 ==> git version 2.25.1 found 14:32:53 ==> 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 14:32:53 Release-Date: 2020-01-08 14:32:53 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 14:32:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 14:32:53 ==> Jenkins CI detected. 14:32:53 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1251 14:32:53 project root: . 14:32:53 --> token set from env 14:32:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 14:32:53 ==> Running gcov in . (disable via -X gcov) 14:32:53 ==> Python coveragepy not found 14:32:53 ==> Searching for coverage reports in: 14:32:53 + . 14:32:53 -> Found 1 reports 14:32:53 ==> Detecting git/mercurial file structure 14:32:53 ==> Reading reports 14:32:53 + ./coverage.out bytes=101759 14:32:53 ==> Appending adjustments 14:32:53 https://docs.codecov.io/docs/fixing-reports 14:32:53 + Found adjustments 14:32:53 ==> Gzipping contents 14:32:53 16K /tmp/codecov.Zf8ZgF.gz 14:32:53 ==> Uploading reports 14:32:53 url: https://codecov.io 14:32:53 query: branch=PR-1251&commit=6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1251%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1251&job=&cmd_args= 14:32:53 -> Pinging Codecov 14:32:53 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=6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1251%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1251&job=&cmd_args= 14:32:54 -> Uploading to 14:32:54 https://storage.googleapis.com/codecov/v4/raw/2022-10-26/7E55EF52A471D76F132DFD9A03CDDE97/6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe/22f2611d-ca90-4415-ab7f-63c0a5d46781.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221026%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221026T143253Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=dfff29cbe74f0ed4da3dc6c6053698b41683d09fa4e13e1e58fdd1ec1829bebc 14:32:54 % Total % Received % Xferd Average Speed Time Time Time Current 14:32:54 Dload Upload Total Spent Left Speed 14:32:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14695 0 0 100 14695 0 64735 --:--:-- --:--:-- --:--:-- 64735 14:32:54 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/6ae0e89a3d0aa61ba1eee47be1f424eae3cc73fe [Pipeline] } 14:32:54 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 14:32:56 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1251/archives ] 14:32:56 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1251/archives 14:32:56 total 16 14:32:56 drwxr-xr-x 3 root root 4096 Oct 26 14:21 . 14:32:56 drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 14:21 .. 14:32:56 drwxr-xr-x 2 root root 4096 Oct 26 14:21 cost 14:32:56 -rw-r--r-- 1 root root 86 Oct 26 14:21 cost.csv 14:32:56 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1251/archives 14:32:56 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1251/archives 14:32:56 total 16 14:32:56 drwxr-xr-x 3 jenkins jenkins 4096 Oct 26 14:21 . 14:32:56 drwxrwxr-x 12 jenkins jenkins 4096 Oct 26 14:21 .. 14:32:56 drwxr-xr-x 2 jenkins jenkins 4096 Oct 26 14:21 cost 14:32:56 -rw-r--r-- 1 jenkins jenkins 86 Oct 26 14:21 cost.csv [Pipeline] libraryResource [Pipeline] sh 14:32:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 14:32:57 ---> package-listing.sh 14:32:57 ++ facter osfamily 14:32:57 ++ tr '[:upper:]' '[:lower:]' 14:32:57 + OS_FAMILY=debian 14:32:57 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1251 14:32:57 + START_PACKAGES=/tmp/packages_start.txt 14:32:57 + END_PACKAGES=/tmp/packages_end.txt 14:32:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 14:32:57 + PACKAGES=/tmp/packages_start.txt 14:32:57 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1251 ']' 14:32:57 + PACKAGES=/tmp/packages_end.txt 14:32:57 + case "${OS_FAMILY}" in 14:32:57 + dpkg -l 14:32:57 + grep '^ii' 14:32:57 + '[' -f /tmp/packages_start.txt ']' 14:32:57 + '[' -f /tmp/packages_end.txt ']' 14:32:57 + diff /tmp/packages_start.txt /tmp/packages_end.txt 14:32:57 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1251 ']' 14:32:57 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1251/archives/ 14:32:57 + 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 14:32:57 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 14:32:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 14:32:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 14:32:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 14:32:58 prd-ubuntu20.04-docker-8c-8g-117146 does not seem to be running inside a container 14:32:58 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 14:32:58 $ docker top f2309bf538932aba80e06ec2d3d6f7ab3a846b995ee3f16b8565b5b695f73f0e -eo pid,comm [Pipeline] { [Pipeline] sh 14:32:59 + touch /tmp/pre-build-complete [Pipeline] sh 14:32:59 + mkdir -p /var/log/sysstat [Pipeline] sh 14:32:59 + ls /var/log/sa-host 14:32:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 14:33:00 provisioning config files... 14:33:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1251@tmp/config17795648997344155163tmp [Pipeline] { [Pipeline] echo 14:33:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 14:33:00 ---> create-netrc.sh [Pipeline] } 14:33:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 14:33:00 ---> python-tools-install.sh [Pipeline] echo 14:33:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 14:33:01 ---> sudo-logs.sh 14:33:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 14:33:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 14:33:01 ---> job-cost.sh 14:33:01 lf-activate-venv: SKIPPING 14:33:01 DEBUG: total: 0.2199999988079071 14:33:01 INFO: Retrieving Stack Cost... 14:33:01 INFO: Retrieving Pricing Info for: v3-standard-8 14:33:02 INFO: Archiving Costs [Pipeline] echo 14:33:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 14:33:02 ---> logs-deploy.sh 14:33:02 lf-activate-venv: SKIPPING 14:33:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1251/1 14:33:02 INFO: archiving workspace using pattern(s): 14:33:03 Archives upload complete. 14:33:03 INFO: archiving logs to Nexus