Pull request #1242 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4df858f7e36b16750546cfc8c77ea882965b39da+5df0661f6aa28262333844c5296207997c828617 (f88d021945456978f4c03fa7dd08b50f7a80b2fb) 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-ssh7064360272972533617.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-ssh11885354648105817177.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-1242/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-1242/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13092509854757539794.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-1242/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11920297251241782088.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-ssh8248493999955955778.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-1242/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-1242/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9323569754345804593.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8660 in /w/workspace/gexfoundry_device-sdk-go_PR-1242 [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-1242 # 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/1242/head:refs/remotes/origin/PR-1242 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5df0661f6aa28262333844c5296207997c828617 into PR head commit 4df858f7e36b16750546cfc8c77ea882965b39da Merge succeeded, producing 4df858f7e36b16750546cfc8c77ea882965b39da Checking out Revision 4df858f7e36b16750546cfc8c77ea882965b39da (PR-1242) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 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 04:04:34 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 4df858f7e36b16750546cfc8c77ea882965b39da # 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 5df0661f6aa28262333844c5296207997c828617 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4df858f7e36b16750546cfc8c77ea882965b39da # timeout=10 [Pipeline] withCredentials 04:04:34 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:04:34 ========================================================= 04:04:34 EdgeX Global Pipelines Version Info 04:04:34 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:04:35 ------------------- 04:04:35 stable info: 04:04:35 ------------------- 04:04:35 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 04:04:35 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 04:04:35 Message: update stable to v1.0.243 04:04:36 ------------------- 04:04:36 experimental info: 04:04:36 ------------------- 04:04:36 Commited By: **** collab-it+edgex@linuxfoundation.org 04:04:36 Commit SHA: 6c1167a966ce7273a24629bf6583a1975ad218c3 04:04:36 Message: update experimental to v1.0.243 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:04:36 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo 04:04:36 [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo 04:04:36 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:04:36 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:04:36 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:04:36 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 04:04:36 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:04:36 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo 04:04:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:04:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:04:36 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:04:36 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo 04:04:36 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:04:36 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:04:36 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:04:36 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo 04:04:36 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:04:37 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:04:37 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:04:37 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:04:37 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 04:04:37 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo 04:04:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:04:37 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:04:37 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:04:37 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:04:37 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:04:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1242 [Pipeline] echo 04:04:37 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1242 [Pipeline] echo 04:04:37 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1242 [Pipeline] echo 04:04:37 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4df858f7e36b16750546cfc8c77ea882965b39da [Pipeline] echo 04:04:37 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4df858f [Pipeline] echo 04:04:37 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:04:37 provisioning config files... 04:04:37 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1242@tmp/config9439394128880796351tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:04:38 ---> docker-login.sh 04:04:38 nexus3.edgexfoundry.org:10001 04:04:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:38 Configure a credential helper to remove this warning. See 04:04:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:38 04:04:38 Login Succeeded 04:04:38 nexus3.edgexfoundry.org:10002 04:04:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:38 Configure a credential helper to remove this warning. See 04:04:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:38 04:04:38 Login Succeeded 04:04:38 nexus3.edgexfoundry.org:10003 04:04:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:38 Configure a credential helper to remove this warning. See 04:04:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:38 04:04:38 Login Succeeded 04:04:38 nexus3.edgexfoundry.org:10004 04:04:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:38 Configure a credential helper to remove this warning. See 04:04:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:38 04:04:38 Login Succeeded 04:04:38 docker.io 04:04:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:39 Configure a credential helper to remove this warning. See 04:04:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:39 04:04:39 Login Succeeded 04:04:39 ---> docker-login.sh ends [Pipeline] } 04:04:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:04:40 + git rev-list -1 --merges 4df858f7e36b16750546cfc8c77ea882965b39da~1..4df858f7e36b16750546cfc8c77ea882965b39da [Pipeline] echo 04:04:40 -----------> git rev-list -1 --merges 4df858f7e36b16750546cfc8c77ea882965b39da~1..4df858f7e36b16750546cfc8c77ea882965b39da 4df858f7e36b16750546cfc8c77ea882965b39da [false] [Pipeline] sh 04:04:40 + git log --format=format:%s -1 4df858f7e36b16750546cfc8c77ea882965b39da [Pipeline] echo 04:04:40 ========================================================= 04:04:40 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:04:40 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:04:40 + git log --format=format:%s -1 4df858f7e36b16750546cfc8c77ea882965b39da [Pipeline] echo 04:04:41 [semverPrep] GIT_COMMIT: 4df858f7e36b16750546cfc8c77ea882965b39da, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2 [Pipeline] echo 04:04:41 [semverPrep] This is not a build commit. [Pipeline] sh 04:04:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:04:41 + grep -v github /etc/ssh/ssh_known_hosts 04:04:41 + [ -e /tmp/ssh_known_hosts ] 04:04:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:04:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:04:41 + sudo tee -a /etc/ssh/ssh_known_hosts 04:04:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:04:41 04:04:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:04:42 0.1.4: Pulling from edgex-devops/py-git-semver 04:04:42 b85a868b505f: Pulling fs layer 04:04:42 e2be974225ed: Pulling fs layer 04:04:42 339a4e72a1f5: Pulling fs layer 04:04:42 988bab9f4d93: Pulling fs layer 04:04:42 1469e6f7b9e6: Pulling fs layer 04:04:42 eaf3925da568: Pulling fs layer 04:04:42 bab4dde63d76: Pulling fs layer 04:04:42 bde34c3a00c8: Pulling fs layer 04:04:42 b352a97aabf1: Pulling fs layer 04:04:42 4872d77fe225: Pulling fs layer 04:04:42 5851b861e8e6: Pulling fs layer 04:04:42 988bab9f4d93: Waiting 04:04:42 bab4dde63d76: Waiting 04:04:42 1469e6f7b9e6: Waiting 04:04:42 5851b861e8e6: Waiting 04:04:42 4872d77fe225: Waiting 04:04:42 b352a97aabf1: Waiting 04:04:42 bde34c3a00c8: Waiting 04:04:42 eaf3925da568: Waiting 04:04:42 e2be974225ed: Download complete 04:04:42 988bab9f4d93: Download complete 04:04:42 339a4e72a1f5: Verifying Checksum 04:04:42 339a4e72a1f5: Download complete 04:04:42 1469e6f7b9e6: Verifying Checksum 04:04:42 1469e6f7b9e6: Download complete 04:04:42 eaf3925da568: Download complete 04:04:42 bde34c3a00c8: Verifying Checksum 04:04:42 bde34c3a00c8: Download complete 04:04:42 b352a97aabf1: Verifying Checksum 04:04:42 b352a97aabf1: Download complete 04:04:42 4872d77fe225: Verifying Checksum 04:04:42 4872d77fe225: Download complete 04:04:42 5851b861e8e6: Verifying Checksum 04:04:42 5851b861e8e6: Download complete 04:04:42 b85a868b505f: Download complete 04:04:42 bab4dde63d76: Verifying Checksum 04:04:42 bab4dde63d76: Download complete 04:04:43 b85a868b505f: Pull complete 04:04:43 e2be974225ed: Pull complete 04:04:44 339a4e72a1f5: Pull complete 04:04:44 988bab9f4d93: Pull complete 04:04:44 1469e6f7b9e6: Pull complete 04:04:44 eaf3925da568: Pull complete 04:04:46 bab4dde63d76: Pull complete 04:04:46 bde34c3a00c8: Pull complete 04:04:46 b352a97aabf1: Pull complete 04:04:47 4872d77fe225: Pull complete 04:04:47 5851b861e8e6: Pull complete 04:04:47 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:04:47 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:04:47 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:04:47 prd-ubuntu20.04-docker-8c-8g-8660 does not seem to be running inside a container 04:04:47 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1242 -v /w/workspace/gexfoundry_device-sdk-go_PR-1242:/w/workspace/gexfoundry_device-sdk-go_PR-1242:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1242@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1242@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:04:49 $ docker top 6784e3ca5e281884ff62084d1694d89485cadc45f47c7b59e9a9d7ffca1443bc -eo pid,comm 04:04:49 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). 04:04:49 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:04:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:04:50 [ssh-agent] Looking for ssh-agent implementation... 04:04:50 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:04:50 $ docker exec 6784e3ca5e281884ff62084d1694d89485cadc45f47c7b59e9a9d7ffca1443bc ssh-agent 04:04:50 SSH_AUTH_SOCK=/tmp/ssh-ZuMrEJ4rk4PL/agent.33 04:04:50 SSH_AGENT_PID=39 04:04:50 Running ssh-add (command line suppressed) 04:04:50 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1242@tmp/private_key_7975126084214481481.key (/w/workspace/gexfoundry_device-sdk-go_PR-1242@tmp/private_key_7975126084214481481.key) 04:04:50 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:04:50 + git tag --points-at HEAD [Pipeline] } 04:04:50 $ docker exec --env ******** --env ******** 6784e3ca5e281884ff62084d1694d89485cadc45f47c7b59e9a9d7ffca1443bc ssh-agent -k 04:04:50 unset SSH_AUTH_SOCK; 04:04:50 unset SSH_AGENT_PID; 04:04:50 echo Agent pid 39 killed; 04:04:50 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:04:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:04:50 [ssh-agent] Looking for ssh-agent implementation... 04:04:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:04:51 $ docker exec 6784e3ca5e281884ff62084d1694d89485cadc45f47c7b59e9a9d7ffca1443bc ssh-agent 04:04:51 SSH_AUTH_SOCK=/tmp/ssh-JBuYzIFLLf1O/agent.71 04:04:51 SSH_AGENT_PID=77 04:04:51 Running ssh-add (command line suppressed) 04:04:51 Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1242@tmp/private_key_8723026618240907681.key (/w/workspace/gexfoundry_device-sdk-go_PR-1242@tmp/private_key_8723026618240907681.key) 04:04:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:04:51 + git semver init 04:04:51 2022-10-20 04:04:51,811 [run_init] DEBUG init version:0.0.0 force:False 04:04:51 2022-10-20 04:04:51,812 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1242/.semver 04:04:51 2022-10-20 04:04:51,813 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1242/.semver 04:04:51 2022-10-20 04:04:51,813 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1242/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1242, universal_newlines=False, shell=None, istream=None) 04:04:53 2022-10-20 04:04:52,893 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1242/.git/info/exclude 04:04:53 2022-10-20 04:04:52,895 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1242/.semver/PR-1242 with force:False 04:04:53 2022-10-20 04:04:52,895 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1242/.semver/PR-1242 04:04:53 2022-10-20 04:04:52,900 [execute] INFO git cat-file --batch-check 04:04:53 2022-10-20 04:04:52,900 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1242/.semver, universal_newlines=False, shell=None, istream=) 04:04:53 2022-10-20 04:04:52,907 [execute] INFO git cat-file --batch 04:04:53 2022-10-20 04:04:52,907 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1242/.semver, universal_newlines=False, shell=None, istream=) 04:04:53 2022-10-20 04:04:52,913 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1242/.semver/PR-1242 04:04:53 0.0.0 [Pipeline] } 04:04:53 $ docker exec --env ******** --env ******** 6784e3ca5e281884ff62084d1694d89485cadc45f47c7b59e9a9d7ffca1443bc ssh-agent -k 04:04:53 unset SSH_AUTH_SOCK; 04:04:53 unset SSH_AGENT_PID; 04:04:53 echo Agent pid 77 killed; 04:04:53 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:04:53 + git semver [Pipeline] } 04:04:54 $ docker stop --time=1 6784e3ca5e281884ff62084d1694d89485cadc45f47c7b59e9a9d7ffca1443bc 04:04:55 $ docker rm -f 6784e3ca5e281884ff62084d1694d89485cadc45f47c7b59e9a9d7ffca1443bc [Pipeline] // withDockerContainer [Pipeline] sh 04:04:55 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:04:56 Stashed 1 file(s) [Pipeline] echo 04:04: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 04:04:56 provisioning config files... 04:04:56 copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1242@tmp/config14303798937214091647tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:04:57 ---> docker-login.sh 04:04:57 nexus3.edgexfoundry.org:10001 04:04:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:57 Configure a credential helper to remove this warning. See 04:04:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:57 04:04:57 Login Succeeded 04:04:57 nexus3.edgexfoundry.org:10002 04:04:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:57 Configure a credential helper to remove this warning. See 04:04:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:57 04:04:57 Login Succeeded 04:04:57 nexus3.edgexfoundry.org:10003 04:04:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:57 Configure a credential helper to remove this warning. See 04:04:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:57 04:04:57 Login Succeeded 04:04:57 nexus3.edgexfoundry.org:10004 04:04:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:57 Configure a credential helper to remove this warning. See 04:04:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:57 04:04:57 Login Succeeded 04:04:57 docker.io 04:04:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:04:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:04:57 Configure a credential helper to remove this warning. See 04:04:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:04:57 04:04:57 Login Succeeded 04:04:57 ---> docker-login.sh ends [Pipeline] } 04:04:57 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:04:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:04:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:04:58 ========================================================= 04:04:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 04:04:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:04: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 . 04:04:58 Sending build context to Docker daemon 10.04MB 04:04:58 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 04:04:58 Step 2/11 : FROM ${BASE} AS builder 04:04:58 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 04:04:58 213ec9aee27d: Pulling fs layer 04:04:58 4583459ba037: Pulling fs layer 04:04:58 93c1e223e6f2: Pulling fs layer 04:04:58 53926ce57604: Pulling fs layer 04:04:58 21b2b0c7a3f4: Pulling fs layer 04:04:58 30f14e443154: Pulling fs layer 04:04:58 801331c1e519: Pulling fs layer 04:04:58 99cc6dd402b0: Pulling fs layer 04:04:58 7d9ed39f4882: Pulling fs layer 04:04:58 53926ce57604: Waiting 04:04:58 21b2b0c7a3f4: Waiting 04:04:58 30f14e443154: Waiting 04:04:58 801331c1e519: Waiting 04:04:58 99cc6dd402b0: Waiting 04:04:58 7d9ed39f4882: Waiting 04:04:58 93c1e223e6f2: Verifying Checksum 04:04:58 93c1e223e6f2: Download complete 04:04:58 4583459ba037: Verifying Checksum 04:04:58 4583459ba037: Download complete 04:04:58 21b2b0c7a3f4: Verifying Checksum 04:04:58 21b2b0c7a3f4: Download complete 04:04:58 213ec9aee27d: Download complete 04:04:58 30f14e443154: Download complete 04:04:58 801331c1e519: Download complete 04:04:59 213ec9aee27d: Pull complete 04:04:59 4583459ba037: Pull complete 04:04:59 93c1e223e6f2: Pull complete 04:04:59 53926ce57604: Verifying Checksum 04:04:59 53926ce57604: Download complete 04:05:00 99cc6dd402b0: Verifying Checksum 04:05:00 99cc6dd402b0: Download complete 04:05:00 7d9ed39f4882: Verifying Checksum 04:05:00 7d9ed39f4882: Download complete 04:05:03 53926ce57604: Pull complete 04:05:03 21b2b0c7a3f4: Pull complete 04:05:03 30f14e443154: Pull complete 04:05:03 801331c1e519: Pull complete 04:05:06 99cc6dd402b0: Pull complete 04:05:06 7d9ed39f4882: Pull complete 04:05:06 Digest: sha256:1f16063191d1a9870fce7bbdb1825a1eb962d13bb3ce54f6dd36240110f048b3 04:05:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 04:05:06 ---> 1dedd983c030 04:05:06 Step 3/11 : ARG MAKE=make build 04:05:10 ---> Running in 07d44b677400 04:05:10 Removing intermediate container 07d44b677400 04:05:10 ---> b9fd1f39dd6a 04:05:10 Step 4/11 : WORKDIR /device-sdk-go 04:05:10 ---> Running in 7f5062f71d12 04:05:10 Removing intermediate container 7f5062f71d12 04:05:10 ---> d113713e4fa7 04:05:10 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:05:10 ---> Running in 551673e83e46 04:05:10 Removing intermediate container 551673e83e46 04:05:10 ---> df1425cbd4a8 04:05:10 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:05:10 ---> Running in 5ae649899af8 04:05:11 Removing intermediate container 5ae649899af8 04:05:11 ---> a810ef2b3bc5 04:05:11 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:05:11 ---> Running in fb3b1a72cff2 04:05:11 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:05:11 Still waiting to schedule task 04:05:11 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:05:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:05:12 OK: 211 MiB in 51 packages 04:05:13 Removing intermediate container fb3b1a72cff2 04:05:13 ---> c1315c0a1191 04:05:13 Step 8/11 : COPY go.mod vendor* ./ 04:05:13 ---> 287038554776 04:05:13 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:05:13 ---> Running in 7fb55df69210 04:05:39 Removing intermediate container 7fb55df69210 04:05:39 ---> a5b92c565b42 04:05:39 Step 10/11 : COPY . . 04:05:39 ---> 31ffc314d91c 04:05:39 Step 11/11 : RUN ${MAKE} 04:05:39 ---> Running in d885a891463b 04:05:39 noop 04:05:39 Removing intermediate container d885a891463b 04:05:39 ---> 0eeef2b5af30 04:05:39 Successfully built 0eeef2b5af30 04:05:39 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:40 + docker inspect -f . ci-base-image-x86_64 04:05:40 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:40 prd-ubuntu20.04-docker-8c-8g-8660 does not seem to be running inside a container 04:05:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1242 -v /w/workspace/gexfoundry_device-sdk-go_PR-1242:/w/workspace/gexfoundry_device-sdk-go_PR-1242:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1242@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1242@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 ******** ci-base-image-x86_64 cat 04:05:40 $ docker top 34143e21d62ddd3dfae9e00c6a48238898781b35ab8b716ffa16c50e37909cb4 -eo pid,comm [Pipeline] { [Pipeline] sh 04:05:41 + go version 04:05:41 go version go1.18.7 linux/amd64 [Pipeline] } 04:05:41 $ docker stop --time=1 34143e21d62ddd3dfae9e00c6a48238898781b35ab8b716ffa16c50e37909cb4 04:05:42 $ docker rm -f 34143e21d62ddd3dfae9e00c6a48238898781b35ab8b716ffa16c50e37909cb4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:05:43 + docker inspect -f . ci-base-image-x86_64 04:05:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:05:43 prd-ubuntu20.04-docker-8c-8g-8660 does not seem to be running inside a container 04:05:43 $ 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-1242 -v /w/workspace/gexfoundry_device-sdk-go_PR-1242:/w/workspace/gexfoundry_device-sdk-go_PR-1242:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1242@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1242@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 ******** ci-base-image-x86_64 cat 04:05:43 $ docker top dd022c2e55aca71f28e96d0b57af609f4b08107f073e0218dd399512e4d58b9e -eo pid,comm [Pipeline] { [Pipeline] sh 04:05:44 + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1242 [Pipeline] fileExists [Pipeline] sh 04:05:44 + make test 04:05:44 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:05:50 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:06:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:06:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:06:05 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:06:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:06:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:06:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.074s coverage: 27.6% of statements 04:06:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.087s coverage: 78.9% of statements 04:06:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 04:06:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.105s coverage: 73.1% of statements 04:06:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:06:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:06:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.110s coverage: 54.4% of statements 04:06:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:06:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 04:06:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:06:05 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:06:05 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.095s coverage: 65.1% of statements 04:06:05 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 04:06:05 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 04:06:05 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 0.751s coverage: 89.2% of statements 04:06:05 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:06:05 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.062s coverage: 4.7% of statements 04:06:05 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:06:23 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." 04:06:23 GO111MODULE=on go vet ./... 04:06:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:06:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:06:26 ./bin/test-attribution-txt.sh 04:06:26 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:06:26 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:06:26 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:06:26 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 04:06:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:06:26 $ docker stop --time=1 dd022c2e55aca71f28e96d0b57af609f4b08107f073e0218dd399512e4d58b9e 04:06:29 $ docker rm -f dd022c2e55aca71f28e96d0b57af609f4b08107f073e0218dd399512e4d58b9e [Pipeline] // withDockerContainer [Pipeline] sh 04:06:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:06:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:06:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:06:31 + ls -al . 04:06:31 total 276 04:06:31 drwxrwxr-x 11 jenkins jenkins 4096 Oct 20 04:05 . 04:06:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 04:04 .. 04:06:31 -rw-rw-r-- 1 jenkins jenkins 140 Oct 20 04:04 .dockerignore 04:06:31 drwxrwxr-x 8 jenkins jenkins 4096 Oct 20 04:06 .git 04:06:31 drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 04:04 .github 04:06:31 -rw-rw-r-- 1 jenkins jenkins 131 Oct 20 04:04 .gitignore 04:06:31 -rw-rw-r-- 1 jenkins jenkins 42 Oct 20 04:04 .golangci.yml 04:06:31 drwxr-xr-x 3 jenkins jenkins 4096 Oct 20 04:04 .semver 04:06:31 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 20 04:04 CHANGELOG.md 04:06:31 -rw-rw-r-- 1 jenkins jenkins 677 Oct 20 04:04 GOVERNANCE.md 04:06:31 -rw-rw-r-- 1 jenkins jenkins 880 Oct 20 04:04 Jenkinsfile 04:06:31 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 20 04:04 LICENSE 04:06:31 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 20 04:04 Makefile 04:06:31 -rw-rw-r-- 1 jenkins jenkins 619 Oct 20 04:04 OWNERS.md 04:06:31 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 20 04:04 README.md 04:06:31 -rw-rw-r-- 1 jenkins jenkins 5 Oct 20 04:04 VERSION 04:06:31 drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 04:04 bin 04:06:31 -rw-r--r-- 1 jenkins jenkins 101758 Oct 20 04:06 coverage.out 04:06:31 drwxrwxr-x 5 jenkins jenkins 4096 Oct 20 04:04 example 04:06:31 -rw-rw-r-- 1 jenkins jenkins 3400 Oct 20 04:04 go.mod 04:06:31 -rw-rw-r-- 1 jenkins jenkins 37486 Oct 20 04:04 go.sum 04:06:31 drwxrwxr-x 14 jenkins jenkins 4096 Oct 20 04:04 internal 04:06:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 04:04 openapi 04:06:31 drwxrwxr-x 6 jenkins jenkins 4096 Oct 20 04:04 pkg 04:06:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 04:04 snap 04:06:31 -rw-rw-r-- 1 jenkins jenkins 222 Oct 20 04:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:06:31 + 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=4df858f7e36b16750546cfc8c77ea882965b39da --label arch=amd64 --label version=0.0.0 . 04:06:31 Sending build context to Docker daemon 10.14MB 04:06:31 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 04:06:31 Step 2/25 : FROM ${BASE} AS builder 04:06:31 ---> 0eeef2b5af30 04:06:31 Step 3/25 : ARG MAKE=make build 04:06:32 ---> Running in 0571e3277d67 04:06:32 Removing intermediate container 0571e3277d67 04:06:32 ---> 4556eb51886b 04:06:32 Step 4/25 : WORKDIR /device-sdk-go 04:06:32 ---> Running in 1d5ed2433429 04:06:32 Removing intermediate container 1d5ed2433429 04:06:32 ---> 4bf7b12d42c8 04:06:32 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:06:32 ---> Running in 1c887b349416 04:06:32 Removing intermediate container 1c887b349416 04:06:32 ---> 706d45c9c0ce 04:06:32 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:06:32 ---> Running in 64fd43b1de96 04:06:32 Removing intermediate container 64fd43b1de96 04:06:32 ---> 90deb0d6c048 04:06:32 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:06:32 ---> Running in 27de1f07d1d8 04:06:33 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:06:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:06:35 OK: 211 MiB in 51 packages 04:06:35 Removing intermediate container 27de1f07d1d8 04:06:35 ---> 6729e1d49c3a 04:06:35 Step 8/25 : COPY go.mod vendor* ./ 04:06:36 ---> 8c98e188386b 04:06:36 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:06:36 ---> Running in 658975c60ddf 04:06:36 Removing intermediate container 658975c60ddf 04:06:36 ---> 391840d27a17 04:06:36 Step 10/25 : COPY . . 04:06:37 ---> aaf6fba4ab2b 04:06:37 Step 11/25 : RUN ${MAKE} 04:06:37 ---> Running in 3f4558d2f118 04:06:37 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 04:06:45 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8662 in /w/workspace/gexfoundry_device-sdk-go_PR-1242 [Pipeline] { [Pipeline] ws 04:06:45 Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout 04:06:45 The recommended git tool is: git 04:06:50 using credential edgex-jenkins-ssh 04:06:50 Cloning the remote Git repository 04:06:50 Cloning repository git@github.com:edgexfoundry/device-sdk-go.git 04:06:50 > git init /w/workspace/device-sdk-go/1 # timeout=10 04:06:50 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:06:50 > git --version # timeout=10 04:06:50 > git --version # 'git version 2.25.1' 04:06:50 using GIT_SSH to set credentials SSH Credentials for GitHub 04:06:50 Verifying host key using known hosts file 04:06:50 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. 04:06:50 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:06:52 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:06:52 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:06:53 Merging remotes/origin/main commit 5df0661f6aa28262333844c5296207997c828617 into PR head commit 4df858f7e36b16750546cfc8c77ea882965b39da 04:06:53 Merge succeeded, producing 4df858f7e36b16750546cfc8c77ea882965b39da 04:06:53 Checking out Revision 4df858f7e36b16750546cfc8c77ea882965b39da (PR-1242) 04:06:53 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 04:06:53 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git 04:06:53 using GIT_SSH to set credentials SSH Credentials for GitHub 04:06:53 Verifying host key using known hosts file 04:06:53 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. 04:06:53 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1242/head:refs/remotes/origin/PR-1242 +refs/heads/main:refs/remotes/origin/main # timeout=10 04:06:53 > git config core.sparsecheckout # timeout=10 04:06:53 > git checkout -f 4df858f7e36b16750546cfc8c77ea882965b39da # timeout=10 04:06:53 > git remote # timeout=10 04:06:53 > git config --get remote.origin.url # timeout=10 04:06:53 using GIT_SSH to set credentials SSH Credentials for GitHub 04:06:53 Verifying host key using known hosts file 04:06:53 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. 04:06:53 > git merge 5df0661f6aa28262333844c5296207997c828617 # timeout=10 04:06:53 > git rev-parse HEAD^{commit} # timeout=10 04:06:53 > git config core.sparsecheckout # timeout=10 04:06:54 > git checkout -f 4df858f7e36b16750546cfc8c77ea882965b39da # timeout=10 04:06:54 Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v2" 04:06:54 > git --version # timeout=10 04:06:54 > git --version # 'git version 2.25.1' 04:06:54 fatal: bad object 6c1167a966ce7273a24629bf6583a1975ad218c3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:06:55 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:06:55 % Total % Received % Xferd Average Speed Time Time Time Current 04:06:55 Dload Upload Total Spent Left Speed 04:06:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 88125 0 --:--:-- --:--:-- --:--:-- 88125 04:06:55 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe [Pipeline] sh 04:06:56 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:06:56 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:06:56 + sudo tee /etc/docker/daemon.new 04:06:56 { 04:06:56 "registry-mirrors": [ 04:06:56 "https://nexus3.edgexfoundry.org:10001" 04:06:56 ], 04:06:56 "bip": "10.250.0.254/24", 04:06:56 "hosts": [ 04:06:56 "tcp://0.0.0.0:5555", 04:06:56 "unix:///var/run/docker.sock" 04:06:56 ], 04:06:56 "mtu": 1458, 04:06:56 "selinux-enabled": true, 04:06:56 "seccomp-profile": "/etc/docker/seccomp.json" 04:06:56 } [Pipeline] sh 04:06:56 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:06:57 + sudo service docker restart 04:06:58 Removing intermediate container 3f4558d2f118 04:06:58 ---> 03167e993b29 04:06:58 Step 12/25 : FROM alpine:3.16 04:06:58 3.16: Pulling from library/alpine 04:06:59 213ec9aee27d: Already exists 04:06:59 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:06:59 Status: Downloaded newer image for alpine:3.16 04:06:59 ---> 9c6f07244728 04:06:59 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:06:59 ---> Running in 22bc027df7a7 04:06:59 Removing intermediate container 22bc027df7a7 04:06:59 ---> f50f91bce09f 04:06:59 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:06:59 ---> Running in 2abbb24a5f8d 04:06:59 Removing intermediate container 2abbb24a5f8d 04:06:59 ---> 6b36f95ed348 04:06:59 Step 15/25 : RUN apk add --update --no-cache zeromq 04:06:59 ---> Running in f35ccbfb4ed2 04:07:00 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 04:07:01 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 04:07:01 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:07:01 (2/5) Installing libsodium (1.0.18-r0) 04:07:01 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:07:01 (4/5) Installing libzmq (4.3.4-r0) 04:07:01 (5/5) Installing zeromq (4.3.4-r0) 04:07:01 Executing busybox-1.35.0-r17.trigger 04:07:01 OK: 8 MiB in 19 packages 04:07:02 Removing intermediate container f35ccbfb4ed2 04:07:02 ---> 52ffe3e5f736 04:07:02 Step 16/25 : WORKDIR / 04:07:02 ---> Running in 45e11216fcf7 04:07:02 Removing intermediate container 45e11216fcf7 04:07:02 ---> 2fb9ffc06774 04:07:02 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:07:02 ---> f7bed2f53999 04:07:02 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:07:03 ---> c644a79da9be 04:07:03 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:07:03 ---> 1b5e96a5b179 04:07:03 Step 20/25 : EXPOSE 59999 04:07:03 ---> Running in 896c426fd4aa 04:07:03 Removing intermediate container 896c426fd4aa 04:07:03 ---> 189f13273805 04:07:03 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:07:03 ---> Running in 4b0c0fa1840f 04:07:03 Removing intermediate container 4b0c0fa1840f 04:07:03 ---> ccdb7d5e0dab 04:07:03 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:07:03 ---> Running in fa448933b8ec 04:07:03 Removing intermediate container fa448933b8ec 04:07:03 ---> 39512fed740d 04:07:03 Step 23/25 : LABEL arch=amd64 04:07:03 ---> Running in fca7b7620e48 04:07:03 Removing intermediate container fca7b7620e48 04:07:03 ---> 6554d653dda0 04:07:03 Step 24/25 : LABEL git_sha=4df858f7e36b16750546cfc8c77ea882965b39da 04:07:03 ---> Running in 52fa70d0489a 04:07:04 Removing intermediate container 52fa70d0489a 04:07:04 ---> c041bb23ee66 04:07:04 Step 25/25 : LABEL version=0.0.0 04:07:04 ---> Running in 865c93eab619 04:07:04 Removing intermediate container 865c93eab619 04:07:04 ---> 9ddef253a295 04:07:04 [Warning] One or more build-args [ARCH] were not consumed 04:07:04 Successfully built 9ddef253a295 04:07:04 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 04:07:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:07:04 04:07:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:07:05 latest: Pulling from edgex-lftools-log-publisher 04:07:05 5eb5b503b376: Pulling fs layer 04:07:05 5c69ac0246d0: Pulling fs layer 04:07:05 ec43610c2a17: Pulling fs layer 04:07:05 3a2ae6a8a46f: Pulling fs layer 04:07:05 33b1e0a273af: Pulling fs layer 04:07:05 5d3b04190fa2: Pulling fs layer 04:07:05 2f39f015ded8: Pulling fs layer 04:07:05 3a2ae6a8a46f: Waiting 04:07:05 33b1e0a273af: Waiting 04:07:05 2f39f015ded8: Waiting 04:07:05 5d3b04190fa2: Waiting 04:07:05 5c69ac0246d0: Verifying Checksum 04:07:05 5c69ac0246d0: Download complete 04:07:05 3a2ae6a8a46f: Download complete 04:07:05 33b1e0a273af: Verifying Checksum 04:07:05 33b1e0a273af: Download complete 04:07:05 5d3b04190fa2: Verifying Checksum 04:07:05 5d3b04190fa2: Download complete 04:07:05 ec43610c2a17: Verifying Checksum 04:07:05 ec43610c2a17: Download complete 04:07:05 5eb5b503b376: Verifying Checksum 04:07:05 5eb5b503b376: Download complete 04:07:06 2f39f015ded8: Download complete 04:07:07 5eb5b503b376: Pull complete 04:07:07 5c69ac0246d0: Pull complete 04:07:07 ec43610c2a17: Pull complete 04:07:07 3a2ae6a8a46f: Pull complete 04:07:07 33b1e0a273af: Pull complete 04:07:07 5d3b04190fa2: Pull complete 04:07:12 2f39f015ded8: Pull complete 04:07:12 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:07:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:07:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:07:12 prd-ubuntu20.04-docker-8c-8g-8660 does not seem to be running inside a container 04:07:12 $ 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-1242 -v /w/workspace/gexfoundry_device-sdk-go_PR-1242:/w/workspace/gexfoundry_device-sdk-go_PR-1242:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1242@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1242@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 04:07:15 $ docker top bb28dd733375b5f210270dbf57da370080af5f2e96588128116a947bbabfb522 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:07:15 provisioning config files... 04:07:15 copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config9412676867092346831tmp [Pipeline] { 04:07:15 ---> job-cost.sh 04:07:15 lf-activate-venv: SKIPPING 04:07:15 INFO: No Stack... [Pipeline] libraryResource [Pipeline] sh 04:07:15 INFO: Retrieving Pricing Info for: v3-standard-8 04:07:16 ---> docker-login.sh 04:07:16 nexus3.edgexfoundry.org:10001 04:07:16 INFO: Archiving Costs [Pipeline] sh 04:07:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:16 Configure a credential helper to remove this warning. See 04:07:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:16 04:07:16 Login Succeeded 04:07:16 nexus3.edgexfoundry.org:10002 04:07:16 + cat /w/workspace/gexfoundry_device-sdk-go_PR-1242/archives/cost.csv 04:07:16 + cut -d, -f6 [Pipeline] lock 04:07:16 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1242-1-stack-cost] 04:07:16 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1242-1-stack-cost] did not exist. Created. 04:07:16 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1242-1-stack-cost] 04:07:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:16 Configure a credential helper to remove this warning. See 04:07:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:16 04:07:16 Login Succeeded 04:07:16 nexus3.edgexfoundry.org:10003 [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:07:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:17 + echo total: 0.2199999988079071 [Pipeline] stash 04:07:17 Stashed 1 file(s) [Pipeline] } 04:07:17 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1242-1-stack-cost] 04:07:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:17 Configure a credential helper to remove this warning. See 04:07:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:17 04:07:17 Login Succeeded 04:07:17 nexus3.edgexfoundry.org:10004 [Pipeline] // lock [Pipeline] } 04:07:17 $ docker stop --time=1 bb28dd733375b5f210270dbf57da370080af5f2e96588128116a947bbabfb522 04:07:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:17 Configure a credential helper to remove this warning. See 04:07:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:17 04:07:17 Login Succeeded 04:07:17 docker.io 04:07:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:07:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:07:18 Configure a credential helper to remove this warning. See 04:07:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:07:18 04:07:18 Login Succeeded 04:07:18 ---> docker-login.sh ends 04:07:18 $ docker rm -f bb28dd733375b5f210270dbf57da370080af5f2e96588128116a947bbabfb522 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] } 04:07:18 Deleting 1 temporary files [Pipeline] // script [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] echo 04:07:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:07:19 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:07:19 ========================================================= 04:07:19 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 04:07:19 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:07:19 + 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 . 04:07:20 Sending build context to Docker daemon 5.396MB 04:07:20 Step 1/11 : ARG BASE=golang:1.18-alpine3.16 04:07:20 Step 2/11 : FROM ${BASE} AS builder 04:07:20 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:07:20 9b18e9b68314: Pulling fs layer 04:07:20 d32db5db7311: Pulling fs layer 04:07:20 d0c4b47475fc: Pulling fs layer 04:07:20 5831b945b038: Pulling fs layer 04:07:20 86bbec2aaacd: Pulling fs layer 04:07:20 e10730c5d714: Pulling fs layer 04:07:20 5dd5c2283517: Pulling fs layer 04:07:20 d5ac0230b979: Pulling fs layer 04:07:20 5831b945b038: Waiting 04:07:20 86bbec2aaacd: Waiting 04:07:20 e10730c5d714: Waiting 04:07:20 5dd5c2283517: Waiting 04:07:20 d5ac0230b979: Waiting 04:07:20 d0c4b47475fc: Verifying Checksum 04:07:20 d0c4b47475fc: Download complete 04:07:20 d32db5db7311: Verifying Checksum 04:07:20 d32db5db7311: Download complete 04:07:20 86bbec2aaacd: Verifying Checksum 04:07:20 86bbec2aaacd: Download complete 04:07:20 e10730c5d714: Verifying Checksum 04:07:20 e10730c5d714: Download complete 04:07:20 9b18e9b68314: Verifying Checksum 04:07:20 9b18e9b68314: Download complete 04:07:21 9b18e9b68314: Pull complete 04:07:21 d5ac0230b979: Verifying Checksum 04:07:21 d5ac0230b979: Download complete 04:07:22 d32db5db7311: Pull complete 04:07:22 d0c4b47475fc: Pull complete 04:07:23 5dd5c2283517: Verifying Checksum 04:07:23 5dd5c2283517: Download complete 04:07:24 5831b945b038: Verifying Checksum 04:07:24 5831b945b038: Download complete 04:07:39 5831b945b038: Pull complete 04:07:39 86bbec2aaacd: Pull complete 04:07:39 e10730c5d714: Pull complete 04:07:43 5dd5c2283517: Pull complete 04:07:44 d5ac0230b979: Pull complete 04:07:44 Digest: sha256:20129d036edcc9aeb260ee0df12cfa5280992c4a8e5b89377467d541f90c94a2 04:07:44 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 04:07:44 ---> 59b3b1a385d4 04:07:44 Step 3/11 : ARG MAKE=make build 04:07:46 ---> Running in c16df354085b 04:07:46 Removing intermediate container c16df354085b 04:07:46 ---> 48025df7c149 04:07:46 Step 4/11 : WORKDIR /device-sdk-go 04:07:46 ---> Running in 449b0937eea5 04:07:47 Removing intermediate container 449b0937eea5 04:07:47 ---> e3281b7549da 04:07:47 Step 5/11 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:07:47 ---> Running in 38750e841bba 04:07:47 Removing intermediate container 38750e841bba 04:07:47 ---> c24034a5b14f 04:07:47 Step 6/11 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:07:47 ---> Running in 47f027d38661 04:07:49 Removing intermediate container 47f027d38661 04:07:49 ---> e719fa6dc821 04:07:49 Step 7/11 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:07:50 ---> Running in 4b32ff3339fd 04:07:50 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:07:51 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:07:52 OK: 221 MiB in 51 packages 04:07:53 Removing intermediate container 4b32ff3339fd 04:07:53 ---> 82f38750e605 04:07:53 Step 8/11 : COPY go.mod vendor* ./ 04:07:54 ---> efc6a420ed09 04:07:54 Step 9/11 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:07:54 ---> Running in d72d6275ca2f 04:08:41 Removing intermediate container d72d6275ca2f 04:08:41 ---> f995df6a5d31 04:08:41 Step 10/11 : COPY . . 04:08:41 ---> 5ac65ba426b5 04:08:41 Step 11/11 : RUN ${MAKE} 04:08:41 ---> Running in 7c337161df20 04:08:42 noop 04:08:43 Removing intermediate container 7c337161df20 04:08:43 ---> 63a8e00fbd23 04:08:43 Successfully built 63a8e00fbd23 04:08:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:43 + docker inspect -f . ci-base-image-arm64 04:08:43 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:44 prd-ubuntu20.04-docker-arm64-4c-16g-8662 does not seem to be running inside a container 04:08:44 $ 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 ******** ci-base-image-arm64 cat 04:08:45 $ docker top ac6eaa518c893df61127fdfc30a0377d91e98e0bf2bb800eea8c08f8a22ebe7e -eo pid,comm [Pipeline] { [Pipeline] sh 04:08:46 + go version 04:08:46 go version go1.18.7 linux/arm64 [Pipeline] } 04:08:46 $ docker stop --time=1 ac6eaa518c893df61127fdfc30a0377d91e98e0bf2bb800eea8c08f8a22ebe7e 04:08:48 $ docker rm -f ac6eaa518c893df61127fdfc30a0377d91e98e0bf2bb800eea8c08f8a22ebe7e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:08:48 + docker inspect -f . ci-base-image-arm64 04:08:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:08:49 prd-ubuntu20.04-docker-arm64-4c-16g-8662 does not seem to be running inside a container 04:08:49 $ 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 ******** ci-base-image-arm64 cat 04:08:50 $ docker top f9b1d3b67f6320a891782281ded34c9d8aef8d4635f3ce152bbbfe179227e38a -eo pid,comm [Pipeline] { [Pipeline] sh 04:08:50 + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh 04:08:51 + make test 04:08:51 GO111MODULE=on go test -race -coverprofile=coverage.out ./... 04:09:23 ? github.com/edgexfoundry/device-sdk-go/v2 [no test files] 04:11:15 ? github.com/edgexfoundry/device-sdk-go/v2/example/cmd/device-simple [no test files] 04:11:15 ? github.com/edgexfoundry/device-sdk-go/v2/example/config [no test files] 04:11:15 ? github.com/edgexfoundry/device-sdk-go/v2/example/driver [no test files] 04:11:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/application [no test files] 04:11:15 ? github.com/edgexfoundry/device-sdk-go/v2/internal/autodiscovery [no test files] 04:11:18 ok github.com/edgexfoundry/device-sdk-go/v2/internal/autoevent 0.481s coverage: 27.6% of statements 04:11:20 ok github.com/edgexfoundry/device-sdk-go/v2/internal/cache 0.682s coverage: 78.9% of statements 04:11:20 ? github.com/edgexfoundry/device-sdk-go/v2/internal/clients [no test files] 04:11:25 ok github.com/edgexfoundry/device-sdk-go/v2/internal/common 0.739s coverage: 73.1% of statements 04:11:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/config [no test files] 04:11:25 ? github.com/edgexfoundry/device-sdk-go/v2/internal/container [no test files] 04:11:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http 0.696s coverage: 54.4% of statements 04:11:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/http/correlation [no test files] 04:11:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/controller/messaging [no test files] 04:11:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/provision [no test files] 04:11:31 ? github.com/edgexfoundry/device-sdk-go/v2/internal/telemetry [no test files] 04:11:31 ok github.com/edgexfoundry/device-sdk-go/v2/internal/transformer 0.628s coverage: 65.1% of statements 04:11:31 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces [no test files] 04:11:31 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/interfaces/mocks [no test files] 04:11:31 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/models 4.293s coverage: 89.2% of statements 04:11:31 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/models/mocks [no test files] 04:11:34 ok github.com/edgexfoundry/device-sdk-go/v2/pkg/service 0.313s coverage: 4.7% of statements 04:11:34 ? github.com/edgexfoundry/device-sdk-go/v2/pkg/startup [no test files] 04:11:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:11:34 GO111MODULE=on go vet ./... 04:13:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:13:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:13:26 ./bin/test-attribution-txt.sh 04:13:26 An attribution for github.com/Microsoft/go-winio is missing from Attribution.txt, please add 04:13:26 An attribution for github.com/nats-io/nats.go is missing from Attribution.txt, please add 04:13:26 An attribution for github.com/nats-io/nkeys is missing from Attribution.txt, please add 04:13:26 An attribution for github.com/nats-io/nuid is missing from Attribution.txt, please add [Pipeline] echo 04:13:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:13:26 $ docker stop --time=1 f9b1d3b67f6320a891782281ded34c9d8aef8d4635f3ce152bbbfe179227e38a 04:13:28 $ docker rm -f f9b1d3b67f6320a891782281ded34c9d8aef8d4635f3ce152bbbfe179227e38a [Pipeline] // withDockerContainer [Pipeline] sh 04:13:29 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:13:29 Warning: overwriting stash ‘coverage-report’ 04:13:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:13:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:13:31 + ls -al . 04:13:31 total 272 04:13:31 drwxrwxr-x 10 jenkins jenkins 4096 Oct 20 04:08 . 04:13:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 04:06 .. 04:13:31 -rw-rw-r-- 1 jenkins jenkins 140 Oct 20 04:06 .dockerignore 04:13:31 drwxrwxr-x 8 jenkins jenkins 4096 Oct 20 04:06 .git 04:13:31 drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 04:06 .github 04:13:31 -rw-rw-r-- 1 jenkins jenkins 131 Oct 20 04:06 .gitignore 04:13:31 -rw-rw-r-- 1 jenkins jenkins 42 Oct 20 04:06 .golangci.yml 04:13:31 -rw-rw-r-- 1 jenkins jenkins 29536 Oct 20 04:06 CHANGELOG.md 04:13:31 -rw-rw-r-- 1 jenkins jenkins 677 Oct 20 04:06 GOVERNANCE.md 04:13:31 -rw-rw-r-- 1 jenkins jenkins 880 Oct 20 04:06 Jenkinsfile 04:13:31 -rw-rw-r-- 1 jenkins jenkins 11341 Oct 20 04:06 LICENSE 04:13:31 -rw-rw-r-- 1 jenkins jenkins 2003 Oct 20 04:06 Makefile 04:13:31 -rw-rw-r-- 1 jenkins jenkins 619 Oct 20 04:06 OWNERS.md 04:13:31 -rw-rw-r-- 1 jenkins jenkins 4881 Oct 20 04:06 README.md 04:13:31 -rw-rw-r-- 1 jenkins jenkins 5 Oct 20 04:04 VERSION 04:13:31 drwxrwxr-x 2 jenkins jenkins 4096 Oct 20 04:06 bin 04:13:31 -rw-r--r-- 1 jenkins jenkins 101758 Oct 20 04:11 coverage.out 04:13:31 drwxrwxr-x 5 jenkins jenkins 4096 Oct 20 04:06 example 04:13:31 -rw-rw-r-- 1 jenkins jenkins 3400 Oct 20 04:06 go.mod 04:13:31 -rw-rw-r-- 1 jenkins jenkins 37486 Oct 20 04:06 go.sum 04:13:31 drwxrwxr-x 14 jenkins jenkins 4096 Oct 20 04:06 internal 04:13:31 drwxrwxr-x 3 jenkins jenkins 4096 Oct 20 04:06 openapi 04:13:31 drwxrwxr-x 6 jenkins jenkins 4096 Oct 20 04:06 pkg 04:13:31 drwxrwxr-x 4 jenkins jenkins 4096 Oct 20 04:06 snap 04:13:31 -rw-rw-r-- 1 jenkins jenkins 222 Oct 20 04:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:13:31 + 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=4df858f7e36b16750546cfc8c77ea882965b39da --label arch=arm64 --label version=0.0.0 . 04:13:31 Sending build context to Docker daemon 5.498MB 04:13:32 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 04:13:32 Step 2/25 : FROM ${BASE} AS builder 04:13:32 ---> 63a8e00fbd23 04:13:32 Step 3/25 : ARG MAKE=make build 04:13:32 ---> Running in 76da7c4c4ab0 04:13:32 Removing intermediate container 76da7c4c4ab0 04:13:32 ---> f7122cc4867e 04:13:32 Step 4/25 : WORKDIR /device-sdk-go 04:13:32 ---> Running in 8c8745612bb8 04:13:32 Removing intermediate container 8c8745612bb8 04:13:32 ---> d477fef69c63 04:13:32 Step 5/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:13:32 ---> Running in 59643db3cf53 04:13:33 Removing intermediate container 59643db3cf53 04:13:33 ---> 09613fe1399b 04:13:33 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:13:33 ---> Running in d60fbd280f7c 04:13:35 Removing intermediate container d60fbd280f7c 04:13:35 ---> 9b53dbd60c2c 04:13:35 Step 7/25 : RUN apk add --update --no-cache make git gcc libc-dev zeromq-dev libsodium-dev 04:13:35 ---> Running in 9d64537a8ddc 04:13:36 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:13:37 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:13:38 OK: 221 MiB in 51 packages 04:13:39 Removing intermediate container 9d64537a8ddc 04:13:39 ---> 510307e6f3a8 04:13:39 Step 8/25 : COPY go.mod vendor* ./ 04:13:39 ---> 3c45d1e153c2 04:13:39 Step 9/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:13:39 ---> Running in 53db529a4634 04:13:41 Removing intermediate container 53db529a4634 04:13:41 ---> 2b17f4cb7dcc 04:13:41 Step 10/25 : COPY . . 04:13:42 ---> a347abb0e5cf 04:13:42 Step 11/25 : RUN ${MAKE} 04:13:42 ---> Running in da63014e6dc2 04:13:43 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 04:16:05 CGO_ENABLED=1 GO111MODULE=on go install -tags=safe 04:16:07 Removing intermediate container da63014e6dc2 04:16:07 ---> cbffddbe1746 04:16:07 Step 12/25 : FROM alpine:3.16 04:16:08 3.16: Pulling from library/alpine 04:16:08 9b18e9b68314: Already exists 04:16:09 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 04:16:09 Status: Downloaded newer image for alpine:3.16 04:16:09 ---> a6215f271958 04:16:09 Step 13/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:16:09 ---> Running in 359c490ebbad 04:16:09 Removing intermediate container 359c490ebbad 04:16:09 ---> 8785ff53e308 04:16:09 Step 14/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 04:16:09 ---> Running in 1e4923344de2 04:16:11 Removing intermediate container 1e4923344de2 04:16:11 ---> a300acab3eb5 04:16:11 Step 15/25 : RUN apk add --update --no-cache zeromq 04:16:11 ---> Running in 6004b2adba62 04:16:12 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 04:16:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 04:16:14 (1/5) Installing libgcc (11.2.1_git20220219-r2) 04:16:14 (2/5) Installing libsodium (1.0.18-r0) 04:16:14 (3/5) Installing libstdc++ (11.2.1_git20220219-r2) 04:16:14 (4/5) Installing libzmq (4.3.4-r0) 04:16:14 (5/5) Installing zeromq (4.3.4-r0) 04:16:14 Executing busybox-1.35.0-r17.trigger 04:16:14 OK: 8 MiB in 19 packages 04:16:15 Removing intermediate container 6004b2adba62 04:16:15 ---> dd90d548e3be 04:16:15 Step 16/25 : WORKDIR / 04:16:15 ---> Running in 72c3fd2b9ff6 04:16:16 Removing intermediate container 72c3fd2b9ff6 04:16:16 ---> 698cc8f4e269 04:16:16 Step 17/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt 04:16:16 ---> b1754050106e 04:16:16 Step 18/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple 04:16:18 ---> 4ee007b3ca93 04:16:18 Step 19/25 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res 04:16:18 ---> 51e837650279 04:16:18 Step 20/25 : EXPOSE 59999 04:16:18 ---> Running in bdac7cc5bb34 04:16:19 Removing intermediate container bdac7cc5bb34 04:16:19 ---> bf5a66cc601a 04:16:19 Step 21/25 : ENTRYPOINT ["/device-simple"] 04:16:19 ---> Running in 706d4fd9ce9e 04:16:19 Removing intermediate container 706d4fd9ce9e 04:16:19 ---> 0161ce56a2f2 04:16:19 Step 22/25 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] 04:16:19 ---> Running in 93730bb7fc38 04:16:19 Removing intermediate container 93730bb7fc38 04:16:19 ---> 06f57562f3c0 04:16:19 Step 23/25 : LABEL arch=arm64 04:16:20 ---> Running in 2d1573fbefa6 04:16:20 Removing intermediate container 2d1573fbefa6 04:16:20 ---> 1a79b7bce535 04:16:20 Step 24/25 : LABEL git_sha=4df858f7e36b16750546cfc8c77ea882965b39da 04:16:20 ---> Running in 46abf611b1b3 04:16:20 Removing intermediate container 46abf611b1b3 04:16:20 ---> 0e8cace476fd 04:16:20 Step 25/25 : LABEL version=0.0.0 04:16:20 ---> Running in c470cc0cf31e 04:16:21 Removing intermediate container c470cc0cf31e 04:16:21 ---> 1deb9c65e9a6 04:16:21 [Warning] One or more build-args [ARCH] were not consumed 04:16:21 Successfully built 1deb9c65e9a6 04:16: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 04:16:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:16:22 04:16:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:16:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:16:22 arm64: Pulling from edgex-lftools-log-publisher 04:16:22 8998bd30e6a1: Pulling fs layer 04:16:22 04944245beec: Pulling fs layer 04:16:22 699f458cf7ca: Pulling fs layer 04:16:22 765212b225bb: Pulling fs layer 04:16:22 f23df028b6ca: Pulling fs layer 04:16:22 d65c8cfc05b1: Pulling fs layer 04:16:22 2437ff75d9bd: Pulling fs layer 04:16:22 f23df028b6ca: Waiting 04:16:22 2437ff75d9bd: Waiting 04:16:22 d65c8cfc05b1: Waiting 04:16:22 04944245beec: Verifying Checksum 04:16:22 04944245beec: Download complete 04:16:22 765212b225bb: Verifying Checksum 04:16:22 765212b225bb: Download complete 04:16:22 f23df028b6ca: Verifying Checksum 04:16:22 f23df028b6ca: Download complete 04:16:22 d65c8cfc05b1: Verifying Checksum 04:16:22 d65c8cfc05b1: Download complete 04:16:23 699f458cf7ca: Verifying Checksum 04:16:23 699f458cf7ca: Download complete 04:16:23 8998bd30e6a1: Download complete 04:16:25 2437ff75d9bd: Verifying Checksum 04:16:25 2437ff75d9bd: Download complete 04:16:27 8998bd30e6a1: Pull complete 04:16:28 04944245beec: Pull complete 04:16:29 699f458cf7ca: Pull complete 04:16:29 765212b225bb: Pull complete 04:16:30 f23df028b6ca: Pull complete 04:16:30 d65c8cfc05b1: Pull complete 04:16:45 2437ff75d9bd: Pull complete 04:16:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:16:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:16:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:16:46 prd-ubuntu20.04-docker-arm64-4c-16g-8662 does not seem to be running inside a container 04:16:46 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 04:16:49 $ docker top 546e4d3a849388af9e1533d65fb33575bf81235cc3ca1390d8e93fe3dff17bb6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:16:50 ---> job-cost.sh 04:16:50 lf-activate-venv: SKIPPING 04:16:50 INFO: No Stack... 04:16:50 INFO: Retrieving Pricing Info for: v3-standard-4 04:16:51 INFO: Archiving Costs [Pipeline] sh 04:16:52 + cat /w/workspace/device-sdk-go/1/archives/cost.csv 04:16:52 + cut -d, -f6 [Pipeline] lock 04:16:52 Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1242-1-stack-cost] 04:16:52 Resource [jenkins-edgexfoundry-device-sdk-go-PR-1242-1-stack-cost] did not exist. Created. 04:16:52 Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1242-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:16:53 /w/workspace/device-sdk-go/1@tmp/durable-17b45b24/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:16:53 + echo total: 0.10999999940395355 [Pipeline] stash 04:16:53 Warning: overwriting stash ‘stack-cost’ 04:16:53 Stashed 1 file(s) [Pipeline] } 04:16:53 Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1242-1-stack-cost] [Pipeline] // lock [Pipeline] } 04:16:53 $ docker stop --time=1 546e4d3a849388af9e1533d65fb33575bf81235cc3ca1390d8e93fe3dff17bb6 04:16:55 $ docker rm -f 546e4d3a849388af9e1533d65fb33575bf81235cc3ca1390d8e93fe3dff17bb6 [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 04:16:56 provisioning config files... 04:16:56 copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1242@tmp/config12372608521209147986tmp [Pipeline] { [Pipeline] sh 04:16:56 + set +x 04:16:56 + bash -s -- 04:16:56 + curl -s https://codecov.io/bash 04:16:56 04:16:56 _____ _ 04:16:56 / ____| | | 04:16:56 | | ___ __| | ___ ___ _____ __ 04:16:56 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:16:56 | |___| (_) | (_| | __/ (_| (_) \ V / 04:16:56 \_____\___/ \__,_|\___|\___\___/ \_/ 04:16:56 Bash-1.0.6 04:16:56 04:16:56 04:16:56 ==> git version 2.25.1 found 04:16:56 ==> 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 04:16:56 Release-Date: 2020-01-08 04:16:56 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:16:56 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:16:56 ==> Jenkins CI detected. 04:16:56 current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1242 04:16:56 project root: . 04:16:56 --> token set from env 04:16:56 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:16:57 ==> Running gcov in . (disable via -X gcov) 04:16:57 ==> Python coveragepy not found 04:16:57 ==> Searching for coverage reports in: 04:16:57 + . 04:16:57 -> Found 1 reports 04:16:57 ==> Detecting git/mercurial file structure 04:16:57 ==> Reading reports 04:16:57 + ./coverage.out bytes=101758 04:16:57 ==> Appending adjustments 04:16:57 https://docs.codecov.io/docs/fixing-reports 04:16:57 + Found adjustments 04:16:57 ==> Gzipping contents 04:16:57 16K /tmp/codecov.F1udGi.gz 04:16:57 ==> Uploading reports 04:16:57 url: https://codecov.io 04:16:57 query: branch=PR-1242&commit=4df858f7e36b16750546cfc8c77ea882965b39da&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1242%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1242&job=&cmd_args= 04:16:57 -> Pinging Codecov 04:16:57 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1242&commit=4df858f7e36b16750546cfc8c77ea882965b39da&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1242%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1242&job=&cmd_args= 04:16:57 -> Uploading to 04:16:57 https://storage.googleapis.com/codecov/v4/raw/2022-10-20/7E55EF52A471D76F132DFD9A03CDDE97/4df858f7e36b16750546cfc8c77ea882965b39da/28dc049e-8d2e-4bce-abd7-a136bf87c382.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221020%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221020T041657Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=faff9fafc28a80c60afbca46198bf1e6099183ff5413226ead7fa4f9b5ddf766 04:16:57 % Total % Received % Xferd Average Speed Time Time Time Current 04:16:57 Dload Upload Total Spent Left Speed 04:16:57 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14708 0 0 100 14708 0 72098 --:--:-- --:--:-- --:--:-- 71746 100 14708 0 0 100 14708 0 71398 --:--:-- --:--:-- --:--:-- 71053 04:16:57 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/4df858f7e36b16750546cfc8c77ea882965b39da [Pipeline] } 04:16:57 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 04:16:59 + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1242/archives ] 04:16:59 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1242/archives 04:16:59 total 16 04:16:59 drwxr-xr-x 3 root root 4096 Oct 20 04:07 . 04:16:59 drwxrwxr-x 12 jenkins jenkins 4096 Oct 20 04:07 .. 04:16:59 drwxr-xr-x 2 root root 4096 Oct 20 04:07 cost 04:16:59 -rw-r--r-- 1 root root 86 Oct 20 04:07 cost.csv 04:16:59 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1242/archives 04:16:59 + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1242/archives 04:16:59 total 16 04:16:59 drwxr-xr-x 3 jenkins jenkins 4096 Oct 20 04:07 . 04:16:59 drwxrwxr-x 12 jenkins jenkins 4096 Oct 20 04:07 .. 04:16:59 drwxr-xr-x 2 jenkins jenkins 4096 Oct 20 04:07 cost 04:16:59 -rw-r--r-- 1 jenkins jenkins 86 Oct 20 04:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:17:00 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:17:01 ---> package-listing.sh 04:17:01 ++ facter osfamily 04:17:01 ++ tr '[:upper:]' '[:lower:]' 04:17:01 + OS_FAMILY=debian 04:17:01 + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1242 04:17:01 + START_PACKAGES=/tmp/packages_start.txt 04:17:01 + END_PACKAGES=/tmp/packages_end.txt 04:17:01 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:17:01 + PACKAGES=/tmp/packages_start.txt 04:17:01 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1242 ']' 04:17:01 + PACKAGES=/tmp/packages_end.txt 04:17:01 + case "${OS_FAMILY}" in 04:17:01 + dpkg -l 04:17:01 + grep '^ii' 04:17:01 + '[' -f /tmp/packages_start.txt ']' 04:17:01 + '[' -f /tmp/packages_end.txt ']' 04:17:01 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:17:01 + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1242 ']' 04:17:01 + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1242/archives/ 04:17:01 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1242/archives/ [Pipeline] echo 04:17:01 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-1242/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 04:17:01 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:17:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:17:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:17:02 prd-ubuntu20.04-docker-8c-8g-8660 does not seem to be running inside a container 04:17:02 $ 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-1242/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-1242 -v /w/workspace/gexfoundry_device-sdk-go_PR-1242:/w/workspace/gexfoundry_device-sdk-go_PR-1242:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1242@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1242@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-lftools-log-publisher:latest cat 04:17:02 $ docker top 0e16df6107dd717fcebe97b6881f9c4b4e98a834bd9e991ff50becddea5d5515 -eo pid,comm [Pipeline] { [Pipeline] sh 04:17:02 + touch /tmp/pre-build-complete [Pipeline] sh 04:17:03 + mkdir -p /var/log/sysstat [Pipeline] sh 04:17:03 + ls /var/log/sa-host 04:17:03 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:17:03 provisioning config files... 04:17:03 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1242@tmp/config1695956895232585395tmp [Pipeline] { [Pipeline] echo 04:17:03 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:17:04 ---> create-netrc.sh [Pipeline] } 04:17:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:17:04 ---> python-tools-install.sh [Pipeline] echo 04:17:04 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:17:04 ---> sudo-logs.sh 04:17:04 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:17:04 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:17:05 ---> job-cost.sh 04:17:05 lf-activate-venv: SKIPPING 04:17:05 DEBUG: total: 0.2199999988079071 04:17:05 INFO: Retrieving Stack Cost... 04:17:05 INFO: Retrieving Pricing Info for: v3-standard-8 04:17:06 INFO: Archiving Costs [Pipeline] echo 04:17:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:17:06 ---> logs-deploy.sh 04:17:06 lf-activate-venv: SKIPPING 04:17:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1242/1 04:17:06 INFO: archiving workspace using pattern(s): 04:17:07 Archives upload complete. 04:17:07 INFO: archiving logs to Nexus