Pull request #1362 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 529a380fc4285eb77e5184ae09e48ed3257457f7+b4dcd90c517d60267da088e4e26fcccd6a523ed6 (c4b54d1ac225b0935ac3617a43663cbe664bd094) 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-ssh16260733316623023061.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh10679956217724491185.key > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-1362/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-1362/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4945496063127572827.key > 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-1362/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7930245456095133310.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh9250798703759127677.key > 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-1362/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-1362/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9960992245636574722.key > 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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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/v3]] ========================================================= [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/v3 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-8484 in /w/workspace/gexfoundry_device-sdk-go_PR-1362 [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-1362 # 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 > 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 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1362/head:refs/remotes/origin/PR-1362 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b4dcd90c517d60267da088e4e26fcccd6a523ed6 into PR head commit 529a380fc4285eb77e5184ae09e48ed3257457f7 Merge succeeded, producing 529a380fc4285eb77e5184ae09e48ed3257457f7 Checking out Revision 529a380fc4285eb77e5184ae09e48ed3257457f7 (PR-1362) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 529a380fc4285eb77e5184ae09e48ed3257457f7 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge b4dcd90c517d60267da088e4e26fcccd6a523ed6 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 529a380fc4285eb77e5184ae09e48ed3257457f7 # timeout=10 [Pipeline] timeout [2023-03-07T04:58:48.080Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-07T04:58:48.243Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-07T04:58:48.336Z] ========================================================= [2023-03-07T04:58:48.336Z] EdgeX Global Pipelines Version Info [2023-03-07T04:58:48.336Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-07T04:58:49.066Z] ------------------- [2023-03-07T04:58:49.066Z] stable info: [2023-03-07T04:58:49.066Z] ------------------- [2023-03-07T04:58:49.066Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-07T04:58:49.066Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T04:58:49.066Z] Message: update stable to v1.0.244 [2023-03-07T04:58:49.636Z] ------------------- [2023-03-07T04:58:49.636Z] experimental info: [2023-03-07T04:58:49.636Z] ------------------- [2023-03-07T04:58:49.636Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-07T04:58:49.636Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T04:58:49.636Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-07T04:58:49.935Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-07T04:58:49.978Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-07T04:58:50.023Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-07T04:58:50.066Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-07T04:58:50.105Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-07T04:58:50.146Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-07T04:58:50.183Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-07T04:58:50.221Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-07T04:58:50.256Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-07T04:58:50.295Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-07T04:58:50.334Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-07T04:58:50.370Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-07T04:58:50.408Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-07T04:58:50.454Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-07T04:58:50.496Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-07T04:58:50.540Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T04:58:50.583Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T04:58:50.633Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T04:58:50.679Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-07T04:58:50.725Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-07T04:58:50.770Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-07T04:58:50.809Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-07T04:58:50.850Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-07T04:58:50.896Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-07T04:58:50.934Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-07T04:58:50.974Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-07T04:58:51.014Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-07T04:58:51.055Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1362 [Pipeline] echo [2023-03-07T04:58:51.095Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1362 [Pipeline] echo [2023-03-07T04:58:51.136Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1362 [Pipeline] echo [2023-03-07T04:58:51.176Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 529a380fc4285eb77e5184ae09e48ed3257457f7 [Pipeline] echo [2023-03-07T04:58:51.217Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 529a380 [Pipeline] echo [2023-03-07T04:58:51.257Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T04:58:51.373Z] provisioning config files... [2023-03-07T04:58:51.389Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1362@tmp/config8803950453134933785tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T04:58:51.734Z] ---> docker-login.sh [2023-03-07T04:58:51.734Z] nexus3.edgexfoundry.org:10001 [2023-03-07T04:58:51.994Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T04:58:51.994Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T04:58:51.994Z] Configure a credential helper to remove this warning. See [2023-03-07T04:58:51.994Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T04:58:51.994Z] [2023-03-07T04:58:51.994Z] Login Succeeded [2023-03-07T04:58:51.995Z] nexus3.edgexfoundry.org:10002 [2023-03-07T04:58:52.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T04:58:52.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T04:58:52.254Z] Configure a credential helper to remove this warning. See [2023-03-07T04:58:52.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T04:58:52.254Z] [2023-03-07T04:58:52.254Z] Login Succeeded [2023-03-07T04:58:52.254Z] nexus3.edgexfoundry.org:10003 [2023-03-07T04:58:52.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T04:58:52.254Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T04:58:52.254Z] Configure a credential helper to remove this warning. See [2023-03-07T04:58:52.254Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T04:58:52.254Z] [2023-03-07T04:58:52.254Z] Login Succeeded [2023-03-07T04:58:52.254Z] nexus3.edgexfoundry.org:10004 [2023-03-07T04:58:52.254Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T04:58:52.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T04:58:52.514Z] Configure a credential helper to remove this warning. See [2023-03-07T04:58:52.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T04:58:52.514Z] [2023-03-07T04:58:52.514Z] Login Succeeded [2023-03-07T04:58:52.514Z] docker.io [2023-03-07T04:58:52.514Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T04:58:52.778Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T04:58:52.778Z] Configure a credential helper to remove this warning. See [2023-03-07T04:58:52.778Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T04:58:52.778Z] [2023-03-07T04:58:52.778Z] Login Succeeded [2023-03-07T04:58:52.778Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T04:58:52.811Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-07T04:58:53.454Z] + git rev-list -1 --merges 529a380fc4285eb77e5184ae09e48ed3257457f7~1..529a380fc4285eb77e5184ae09e48ed3257457f7 [Pipeline] echo [2023-03-07T04:58:53.523Z] -----------> git rev-list -1 --merges 529a380fc4285eb77e5184ae09e48ed3257457f7~1..529a380fc4285eb77e5184ae09e48ed3257457f7 529a380fc4285eb77e5184ae09e48ed3257457f7 [false] [Pipeline] sh [2023-03-07T04:58:53.832Z] + git log --format=format:%s -1 529a380fc4285eb77e5184ae09e48ed3257457f7 [Pipeline] echo [2023-03-07T04:58:53.871Z] ========================================================= [2023-03-07T04:58:53.871Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-07T04:58:53.871Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T04:58:54.321Z] + git log --format=format:%s -1 529a380fc4285eb77e5184ae09e48ed3257457f7 [Pipeline] echo [2023-03-07T04:58:54.356Z] [semverPrep] GIT_COMMIT: 529a380fc4285eb77e5184ae09e48ed3257457f7, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3 [Pipeline] echo [2023-03-07T04:58:54.389Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-07T04:58:54.784Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-07T04:58:54.784Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-07T04:58:54.784Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-07T04:58:54.784Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-07T04:58:54.785Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-07T04:58:54.785Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-07T04:58:54.785Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T04:58:55.299Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T04:58:55.299Z] [2023-03-07T04:58:55.299Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T04:58:55.694Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T04:58:55.694Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-07T04:58:55.694Z] b85a868b505f: Pulling fs layer [2023-03-07T04:58:55.694Z] e2be974225ed: Pulling fs layer [2023-03-07T04:58:55.694Z] 339a4e72a1f5: Pulling fs layer [2023-03-07T04:58:55.694Z] 988bab9f4d93: Pulling fs layer [2023-03-07T04:58:55.694Z] 1469e6f7b9e6: Pulling fs layer [2023-03-07T04:58:55.694Z] eaf3925da568: Pulling fs layer [2023-03-07T04:58:55.694Z] bab4dde63d76: Pulling fs layer [2023-03-07T04:58:55.694Z] bde34c3a00c8: Pulling fs layer [2023-03-07T04:58:55.694Z] b352a97aabf1: Pulling fs layer [2023-03-07T04:58:55.694Z] 4872d77fe225: Pulling fs layer [2023-03-07T04:58:55.694Z] 5851b861e8e6: Pulling fs layer [2023-03-07T04:58:55.694Z] 988bab9f4d93: Waiting [2023-03-07T04:58:55.694Z] 1469e6f7b9e6: Waiting [2023-03-07T04:58:55.694Z] eaf3925da568: Waiting [2023-03-07T04:58:55.694Z] bab4dde63d76: Waiting [2023-03-07T04:58:55.694Z] bde34c3a00c8: Waiting [2023-03-07T04:58:55.694Z] b352a97aabf1: Waiting [2023-03-07T04:58:55.694Z] 4872d77fe225: Waiting [2023-03-07T04:58:55.694Z] 5851b861e8e6: Waiting [2023-03-07T04:58:55.694Z] e2be974225ed: Verifying Checksum [2023-03-07T04:58:55.694Z] e2be974225ed: Download complete [2023-03-07T04:58:55.694Z] 988bab9f4d93: Verifying Checksum [2023-03-07T04:58:55.694Z] 988bab9f4d93: Download complete [2023-03-07T04:58:55.957Z] 1469e6f7b9e6: Verifying Checksum [2023-03-07T04:58:55.957Z] 1469e6f7b9e6: Download complete [2023-03-07T04:58:55.957Z] eaf3925da568: Download complete [2023-03-07T04:58:55.957Z] 339a4e72a1f5: Verifying Checksum [2023-03-07T04:58:55.957Z] 339a4e72a1f5: Download complete [2023-03-07T04:58:55.957Z] bde34c3a00c8: Download complete [2023-03-07T04:58:55.957Z] b352a97aabf1: Verifying Checksum [2023-03-07T04:58:55.957Z] 4872d77fe225: Download complete [2023-03-07T04:58:55.957Z] 5851b861e8e6: Verifying Checksum [2023-03-07T04:58:55.957Z] 5851b861e8e6: Download complete [2023-03-07T04:58:55.957Z] b85a868b505f: Verifying Checksum [2023-03-07T04:58:55.957Z] b85a868b505f: Download complete [2023-03-07T04:58:56.528Z] bab4dde63d76: Verifying Checksum [2023-03-07T04:58:56.528Z] bab4dde63d76: Download complete [2023-03-07T04:58:57.466Z] b85a868b505f: Pull complete [2023-03-07T04:58:57.466Z] e2be974225ed: Pull complete [2023-03-07T04:58:58.035Z] 339a4e72a1f5: Pull complete [2023-03-07T04:58:58.035Z] 988bab9f4d93: Pull complete [2023-03-07T04:58:58.294Z] 1469e6f7b9e6: Pull complete [2023-03-07T04:58:58.294Z] eaf3925da568: Pull complete [2023-03-07T04:59:00.197Z] bab4dde63d76: Pull complete [2023-03-07T04:59:00.197Z] bde34c3a00c8: Pull complete [2023-03-07T04:59:00.456Z] b352a97aabf1: Pull complete [2023-03-07T04:59:00.456Z] 4872d77fe225: Pull complete [2023-03-07T04:59:00.456Z] 5851b861e8e6: Pull complete [2023-03-07T04:59:00.456Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-07T04:59:00.456Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T04:59:00.456Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T04:59:00.666Z] prd-ubuntu20.04-docker-8c-8g-8484 does not seem to be running inside a container [2023-03-07T04:59:00.697Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1362 -v /w/workspace/gexfoundry_device-sdk-go_PR-1362:/w/workspace/gexfoundry_device-sdk-go_PR-1362:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1362@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1362@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-07T04:59:01.959Z] $ docker top b0f99cbcc9ba29ea18bafa2ae527d17e28911a3015b1837d3359ab9d02d15ae0 -eo pid,comm [2023-03-07T04:59:02.018Z] 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). [2023-03-07T04:59:02.018Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-07T04:59:02.137Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T04:59:02.137Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T04:59:02.258Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T04:59:02.262Z] $ docker exec b0f99cbcc9ba29ea18bafa2ae527d17e28911a3015b1837d3359ab9d02d15ae0 ssh-agent [2023-03-07T04:59:02.378Z] SSH_AUTH_SOCK=/tmp/ssh-KcaWlV97ac76/agent.32 [2023-03-07T04:59:02.378Z] SSH_AGENT_PID=38 [2023-03-07T04:59:02.383Z] Running ssh-add (command line suppressed) [2023-03-07T04:59:02.495Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1362@tmp/private_key_3887109235655481836.key (/w/workspace/gexfoundry_device-sdk-go_PR-1362@tmp/private_key_3887109235655481836.key) [2023-03-07T04:59:02.508Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T04:59:02.841Z] + git tag --points-at HEAD [Pipeline] } [2023-03-07T04:59:02.869Z] $ docker exec --env ******** --env ******** b0f99cbcc9ba29ea18bafa2ae527d17e28911a3015b1837d3359ab9d02d15ae0 ssh-agent -k [2023-03-07T04:59:02.956Z] unset SSH_AUTH_SOCK; [2023-03-07T04:59:02.957Z] unset SSH_AGENT_PID; [2023-03-07T04:59:02.957Z] echo Agent pid 38 killed; [2023-03-07T04:59:02.967Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-07T04:59:03.063Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T04:59:03.063Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T04:59:03.172Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T04:59:03.176Z] $ docker exec b0f99cbcc9ba29ea18bafa2ae527d17e28911a3015b1837d3359ab9d02d15ae0 ssh-agent [2023-03-07T04:59:03.285Z] SSH_AUTH_SOCK=/tmp/ssh-1IkOsfaC72f9/agent.70 [2023-03-07T04:59:03.285Z] SSH_AGENT_PID=76 [2023-03-07T04:59:03.290Z] Running ssh-add (command line suppressed) [2023-03-07T04:59:03.405Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1362@tmp/private_key_7692325489068148439.key (/w/workspace/gexfoundry_device-sdk-go_PR-1362@tmp/private_key_7692325489068148439.key) [2023-03-07T04:59:03.416Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T04:59:03.745Z] + git semver init [2023-03-07T04:59:04.005Z] 2023-03-07 04:59:03,967 [run_init] DEBUG init version:0.0.0 force:False [2023-03-07T04:59:04.005Z] 2023-03-07 04:59:03,969 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1362/.semver [2023-03-07T04:59:04.005Z] 2023-03-07 04:59:03,969 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1362/.semver [2023-03-07T04:59:04.005Z] 2023-03-07 04:59:03,970 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1362/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1362, universal_newlines=False, shell=None, istream=None) [2023-03-07T04:59:04.943Z] 2023-03-07 04:59:04,915 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1362/.git/info/exclude [2023-03-07T04:59:04.943Z] 2023-03-07 04:59:04,916 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1362/.semver/PR-1362 with force:False [2023-03-07T04:59:04.943Z] 2023-03-07 04:59:04,916 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1362/.semver/PR-1362 [2023-03-07T04:59:04.943Z] 2023-03-07 04:59:04,921 [execute] INFO git cat-file --batch-check [2023-03-07T04:59:04.943Z] 2023-03-07 04:59:04,921 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1362/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T04:59:04.943Z] 2023-03-07 04:59:04,929 [execute] INFO git cat-file --batch [2023-03-07T04:59:04.943Z] 2023-03-07 04:59:04,929 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1362/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T04:59:04.943Z] 2023-03-07 04:59:04,935 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1362/.semver/PR-1362 [2023-03-07T04:59:04.943Z] 0.0.0 [Pipeline] } [2023-03-07T04:59:05.219Z] $ docker exec --env ******** --env ******** b0f99cbcc9ba29ea18bafa2ae527d17e28911a3015b1837d3359ab9d02d15ae0 ssh-agent -k [2023-03-07T04:59:05.318Z] unset SSH_AUTH_SOCK; [2023-03-07T04:59:05.319Z] unset SSH_AGENT_PID; [2023-03-07T04:59:05.319Z] echo Agent pid 76 killed; [2023-03-07T04:59:05.324Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-07T04:59:05.751Z] + git semver [Pipeline] } [2023-03-07T04:59:06.347Z] $ docker stop --time=1 b0f99cbcc9ba29ea18bafa2ae527d17e28911a3015b1837d3359ab9d02d15ae0 [2023-03-07T04:59:07.700Z] $ docker rm -f --volumes b0f99cbcc9ba29ea18bafa2ae527d17e28911a3015b1837d3359ab9d02d15ae0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T04:59:08.110Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-07T04:59:08.348Z] Stashed 1 file(s) [Pipeline] echo [2023-03-07T04:59:08.365Z] [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 [2023-03-07T04:59:08.954Z] provisioning config files... [2023-03-07T04:59:08.962Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1362@tmp/config12943318193398415679tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T04:59:09.301Z] ---> docker-login.sh [2023-03-07T04:59:09.301Z] nexus3.edgexfoundry.org:10001 [2023-03-07T04:59:09.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T04:59:09.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T04:59:09.301Z] Configure a credential helper to remove this warning. See [2023-03-07T04:59:09.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T04:59:09.301Z] [2023-03-07T04:59:09.301Z] Login Succeeded [2023-03-07T04:59:09.301Z] nexus3.edgexfoundry.org:10002 [2023-03-07T04:59:09.301Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T04:59:09.301Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T04:59:09.301Z] Configure a credential helper to remove this warning. See [2023-03-07T04:59:09.301Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T04:59:09.301Z] [2023-03-07T04:59:09.301Z] Login Succeeded [2023-03-07T04:59:09.301Z] nexus3.edgexfoundry.org:10003 [2023-03-07T04:59:09.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T04:59:09.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T04:59:09.560Z] Configure a credential helper to remove this warning. See [2023-03-07T04:59:09.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T04:59:09.560Z] [2023-03-07T04:59:09.560Z] Login Succeeded [2023-03-07T04:59:09.560Z] nexus3.edgexfoundry.org:10004 [2023-03-07T04:59:09.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T04:59:09.560Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T04:59:09.560Z] Configure a credential helper to remove this warning. See [2023-03-07T04:59:09.560Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T04:59:09.560Z] [2023-03-07T04:59:09.560Z] Login Succeeded [2023-03-07T04:59:09.560Z] docker.io [2023-03-07T04:59:09.560Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T04:59:09.818Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T04:59:09.818Z] Configure a credential helper to remove this warning. See [2023-03-07T04:59:09.818Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T04:59:09.818Z] [2023-03-07T04:59:09.818Z] Login Succeeded [2023-03-07T04:59:09.818Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T04:59:09.845Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T04:59:10.026Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T04:59:10.065Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T04:59:10.101Z] ========================================================= [2023-03-07T04:59:10.101Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-07T04:59:10.101Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T04:59:10.557Z] + 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 . [2023-03-07T04:59:10.557Z] Sending build context to Docker daemon 10.61MB [2023-03-07T04:59:10.557Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T04:59:10.557Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-07T04:59:10.557Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-07T04:59:10.557Z] 213ec9aee27d: Pulling fs layer [2023-03-07T04:59:10.557Z] 4583459ba037: Pulling fs layer [2023-03-07T04:59:10.557Z] 93c1e223e6f2: Pulling fs layer [2023-03-07T04:59:10.557Z] 53926ce57604: Pulling fs layer [2023-03-07T04:59:10.557Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-07T04:59:10.557Z] 22ff95d597cd: Pulling fs layer [2023-03-07T04:59:10.557Z] 12d6caf4c0d1: Pulling fs layer [2023-03-07T04:59:10.557Z] 96b7cbca73a9: Pulling fs layer [2023-03-07T04:59:10.557Z] a7acece74701: Pulling fs layer [2023-03-07T04:59:10.557Z] 53926ce57604: Waiting [2023-03-07T04:59:10.557Z] 21b2b0c7a3f4: Waiting [2023-03-07T04:59:10.557Z] 96b7cbca73a9: Waiting [2023-03-07T04:59:10.557Z] a7acece74701: Waiting [2023-03-07T04:59:10.557Z] 12d6caf4c0d1: Waiting [2023-03-07T04:59:10.557Z] 22ff95d597cd: Waiting [2023-03-07T04:59:10.818Z] 93c1e223e6f2: Verifying Checksum [2023-03-07T04:59:10.818Z] 93c1e223e6f2: Download complete [2023-03-07T04:59:10.818Z] 4583459ba037: Verifying Checksum [2023-03-07T04:59:10.818Z] 4583459ba037: Download complete [2023-03-07T04:59:10.818Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-07T04:59:10.818Z] 21b2b0c7a3f4: Download complete [2023-03-07T04:59:10.818Z] 22ff95d597cd: Verifying Checksum [2023-03-07T04:59:10.818Z] 22ff95d597cd: Download complete [2023-03-07T04:59:10.818Z] 213ec9aee27d: Verifying Checksum [2023-03-07T04:59:10.818Z] 213ec9aee27d: Download complete [2023-03-07T04:59:10.818Z] 12d6caf4c0d1: Verifying Checksum [2023-03-07T04:59:10.818Z] 12d6caf4c0d1: Download complete [2023-03-07T04:59:11.081Z] 213ec9aee27d: Pull complete [2023-03-07T04:59:11.081Z] 4583459ba037: Pull complete [2023-03-07T04:59:11.081Z] 93c1e223e6f2: Pull complete [2023-03-07T04:59:11.345Z] a7acece74701: Verifying Checksum [2023-03-07T04:59:11.345Z] a7acece74701: Download complete [2023-03-07T04:59:11.606Z] 96b7cbca73a9: Verifying Checksum [2023-03-07T04:59:11.606Z] 96b7cbca73a9: Download complete [2023-03-07T04:59:11.606Z] 53926ce57604: Verifying Checksum [2023-03-07T04:59:11.606Z] 53926ce57604: Download complete [2023-03-07T04:59:15.789Z] 53926ce57604: Pull complete [2023-03-07T04:59:15.789Z] 21b2b0c7a3f4: Pull complete [2023-03-07T04:59:15.789Z] 22ff95d597cd: Pull complete [2023-03-07T04:59:16.048Z] 12d6caf4c0d1: Pull complete [2023-03-07T04:59:18.577Z] 96b7cbca73a9: Pull complete [2023-03-07T04:59:19.143Z] a7acece74701: Pull complete [2023-03-07T04:59:19.143Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-07T04:59:19.143Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-07T04:59:19.143Z] ---> db6d94c90886 [2023-03-07T04:59:19.143Z] Step 3/10 : ARG MAKE=make build [2023-03-07T04:59:21.048Z] ---> Running in 76c733e25d26 [2023-03-07T04:59:21.048Z] Removing intermediate container 76c733e25d26 [2023-03-07T04:59:21.048Z] ---> 9b8fa70613df [2023-03-07T04:59:21.048Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-07T04:59:21.048Z] ---> Running in 38d9607a0618 [2023-03-07T04:59:21.048Z] Removing intermediate container 38d9607a0618 [2023-03-07T04:59:21.048Z] ---> 3dbcfee8f6d3 [2023-03-07T04:59:21.048Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-07T04:59:21.048Z] ---> Running in 154c2730f22b [2023-03-07T04:59:21.048Z] Removing intermediate container 154c2730f22b [2023-03-07T04:59:21.048Z] ---> d5dd03ecdf94 [2023-03-07T04:59:21.048Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-07T04:59:21.306Z] ---> Running in b2340bb692fd [2023-03-07T04:59:21.565Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T04:59:21.565Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T04:59:21.824Z] OK: 211 MiB in 51 packages [2023-03-07T04:59:22.391Z] Removing intermediate container b2340bb692fd [2023-03-07T04:59:22.391Z] ---> 0d7c24897b06 [2023-03-07T04:59:22.391Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-07T04:59:22.391Z] ---> 7450cff1e8a7 [2023-03-07T04:59:22.391Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T04:59:22.391Z] ---> Running in 7b5afa4d42f5 [2023-03-07T04:59:23.766Z] Still waiting to schedule task [2023-03-07T04:59:23.766Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-07T04:59:48.943Z] Removing intermediate container 7b5afa4d42f5 [2023-03-07T04:59:48.943Z] ---> db7f8e2ca709 [2023-03-07T04:59:48.943Z] Step 9/10 : COPY . . [2023-03-07T04:59:48.943Z] ---> f51c5cde0225 [2023-03-07T04:59:48.943Z] Step 10/10 : RUN ${MAKE} [2023-03-07T04:59:48.943Z] ---> Running in ca42369cdc42 [2023-03-07T04:59:48.943Z] noop [2023-03-07T04:59:48.943Z] Removing intermediate container ca42369cdc42 [2023-03-07T04:59:48.943Z] ---> 4387ab307fa8 [2023-03-07T04:59:48.943Z] Successfully built 4387ab307fa8 [2023-03-07T04:59:48.943Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T04:59:49.394Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T04:59:49.394Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T04:59:49.528Z] prd-ubuntu20.04-docker-8c-8g-8484 does not seem to be running inside a container [2023-03-07T04:59:49.556Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1362 -v /w/workspace/gexfoundry_device-sdk-go_PR-1362:/w/workspace/gexfoundry_device-sdk-go_PR-1362:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1362@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1362@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 ******** ci-base-image-x86_64 cat [2023-03-07T04:59:49.906Z] $ docker top 6e9d2fdb125c1a50178dc7f819cc3ad0e6629a37b43151e59cc649b025f6eff0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T04:59:50.289Z] + go version [2023-03-07T04:59:50.289Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-07T04:59:50.322Z] $ docker stop --time=1 6e9d2fdb125c1a50178dc7f819cc3ad0e6629a37b43151e59cc649b025f6eff0 [2023-03-07T04:59:51.585Z] $ docker rm -f --volumes 6e9d2fdb125c1a50178dc7f819cc3ad0e6629a37b43151e59cc649b025f6eff0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T04:59:52.296Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T04:59:52.296Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T04:59:52.454Z] prd-ubuntu20.04-docker-8c-8g-8484 does not seem to be running inside a container [2023-03-07T04:59:52.485Z] $ 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-1362 -v /w/workspace/gexfoundry_device-sdk-go_PR-1362:/w/workspace/gexfoundry_device-sdk-go_PR-1362:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1362@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1362@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 ******** ci-base-image-x86_64 cat [2023-03-07T04:59:52.825Z] $ docker top 73068714ceab74869a5cd231b8b20064c6e6c9e1a68927b88fd902248cff8fce -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T04:59:53.208Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1362 [Pipeline] fileExists [Pipeline] sh [2023-03-07T04:59:53.596Z] + make test [2023-03-07T04:59:53.596Z] go test -race -coverprofile=coverage.out ./... [2023-03-07T05:00:00.155Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-07T05:00:15.025Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-07T05:00:15.025Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-07T05:00:15.025Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-07T05:00:15.025Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-07T05:00:15.025Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-07T05:00:15.285Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.073s coverage: 27.6% of statements [2023-03-07T05:00:15.285Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.085s coverage: 78.9% of statements [2023-03-07T05:00:15.285Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-07T05:00:15.285Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.119s coverage: 86.0% of statements [2023-03-07T05:00:15.285Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-07T05:00:15.285Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-07T05:00:15.854Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.105s coverage: 75.0% of statements [2023-03-07T05:00:15.854Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-07T05:00:19.129Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.078s coverage: 15.3% of statements [2023-03-07T05:00:19.129Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-07T05:00:19.129Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.160s coverage: 65.2% of statements [2023-03-07T05:00:19.129Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-07T05:00:19.129Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-07T05:00:19.129Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.778s coverage: 89.2% of statements [2023-03-07T05:00:19.129Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-07T05:00:19.129Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.055s coverage: 4.6% of statements [2023-03-07T05:00:19.129Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-07T05:00:34.036Z] 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." [2023-03-07T05:00:34.036Z] GO111MODULE=on go vet ./... [2023-03-07T05:00:37.434Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-07T05:00:37.434Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-07T05:00:37.434Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-07T05:00:37.474Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-07T05:00:37.510Z] $ docker stop --time=1 73068714ceab74869a5cd231b8b20064c6e6c9e1a68927b88fd902248cff8fce [2023-03-07T05:00:39.261Z] $ docker rm -f --volumes 73068714ceab74869a5cd231b8b20064c6e6c9e1a68927b88fd902248cff8fce [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T05:00:39.862Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-07T05:00:39.941Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-07T05:00:40.641Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-07T05:00:40.945Z] + ls -al . [2023-03-07T05:00:40.945Z] total 280 [2023-03-07T05:00:40.945Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 04:59 . [2023-03-07T05:00:40.946Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 04:58 .. [2023-03-07T05:00:40.946Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 04:58 .dockerignore [2023-03-07T05:00:40.946Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 05:00 .git [2023-03-07T05:00:40.946Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 04:58 .github [2023-03-07T05:00:40.946Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 7 04:58 .gitignore [2023-03-07T05:00:40.946Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 04:58 .golangci.yml [2023-03-07T05:00:40.946Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 04:59 .semver [2023-03-07T05:00:40.946Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 7 04:58 CHANGELOG.md [2023-03-07T05:00:40.946Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 04:58 GOVERNANCE.md [2023-03-07T05:00:40.946Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 7 04:58 Jenkinsfile [2023-03-07T05:00:40.946Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 7 04:58 LICENSE [2023-03-07T05:00:40.946Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 7 04:58 Makefile [2023-03-07T05:00:40.946Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 7 04:58 OWNERS.md [2023-03-07T05:00:40.946Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 7 04:58 README.md [2023-03-07T05:00:40.946Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 04:59 VERSION [2023-03-07T05:00:40.946Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 04:58 bin [2023-03-07T05:00:40.946Z] -rw-r--r-- 1 jenkins jenkins 111243 Mar 7 05:00 coverage.out [2023-03-07T05:00:40.946Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 7 04:58 example [2023-03-07T05:00:40.946Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 7 04:58 go.mod [2023-03-07T05:00:40.946Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 7 04:58 go.sum [2023-03-07T05:00:40.946Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 7 04:58 internal [2023-03-07T05:00:40.946Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 04:58 openapi [2023-03-07T05:00:40.946Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 04:58 pkg [2023-03-07T05:00:40.946Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 04:58 snap [2023-03-07T05:00:40.946Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 7 04:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T05:00:41.363Z] + 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=529a380fc4285eb77e5184ae09e48ed3257457f7 --label arch=amd64 --label version=0.0.0 . [2023-03-07T05:00:41.363Z] Sending build context to Docker daemon 10.72MB [2023-03-07T05:00:41.363Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T05:00:41.363Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-07T05:00:41.363Z] ---> 4387ab307fa8 [2023-03-07T05:00:41.363Z] Step 3/23 : ARG MAKE=make build [2023-03-07T05:00:41.621Z] ---> Running in 8cf0afcf8ed9 [2023-03-07T05:00:41.621Z] Removing intermediate container 8cf0afcf8ed9 [2023-03-07T05:00:41.621Z] ---> 4de678a8e960 [2023-03-07T05:00:41.621Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-07T05:00:41.621Z] ---> Running in 27bf6383fdb5 [2023-03-07T05:00:41.621Z] Removing intermediate container 27bf6383fdb5 [2023-03-07T05:00:41.621Z] ---> 071374c1eec8 [2023-03-07T05:00:41.621Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-07T05:00:41.881Z] ---> Running in 884cfd775537 [2023-03-07T05:00:41.881Z] Removing intermediate container 884cfd775537 [2023-03-07T05:00:41.881Z] ---> 9ae19fe102d1 [2023-03-07T05:00:41.881Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-07T05:00:41.881Z] ---> Running in 1253de7cdb52 [2023-03-07T05:00:42.140Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T05:00:42.398Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T05:00:42.656Z] OK: 211 MiB in 51 packages [2023-03-07T05:00:42.914Z] Removing intermediate container 1253de7cdb52 [2023-03-07T05:00:42.914Z] ---> 746f7930e150 [2023-03-07T05:00:42.914Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-07T05:00:43.172Z] ---> 7160af30e131 [2023-03-07T05:00:43.172Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T05:00:43.172Z] ---> Running in 413f6e2a4d5c [2023-03-07T05:00:44.107Z] Removing intermediate container 413f6e2a4d5c [2023-03-07T05:00:44.107Z] ---> e808c094a262 [2023-03-07T05:00:44.107Z] Step 9/23 : COPY . . [2023-03-07T05:00:44.365Z] ---> 4e1cbe270888 [2023-03-07T05:00:44.365Z] Step 10/23 : RUN ${MAKE} [2023-03-07T05:00:44.365Z] ---> Running in a59f6e530ae4 [2023-03-07T05:00:44.623Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-07T05:00:49.700Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8489 in /w/workspace/gexfoundry_device-sdk-go_PR-1362 [Pipeline] { [Pipeline] ws [2023-03-07T05:00:49.762Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-03-07T05:00:49.841Z] The recommended git tool is: git [2023-03-07T05:00:55.021Z] using credential edgex-jenkins-ssh [2023-03-07T05:00:55.036Z] Cloning the remote Git repository [2023-03-07T05:00:55.080Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-07T05:00:55.156Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-03-07T05:00:55.298Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-07T05:00:55.299Z] > git --version # timeout=10 [2023-03-07T05:00:55.321Z] > git --version # 'git version 2.25.1' [2023-03-07T05:00:55.322Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T05:00:55.382Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T05:00:56.973Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-07T05:00:57.017Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T05:00:58.523Z] Merging remotes/origin/main commit b4dcd90c517d60267da088e4e26fcccd6a523ed6 into PR head commit 529a380fc4285eb77e5184ae09e48ed3257457f7 [2023-03-07T05:00:57.862Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-07T05:00:57.906Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-07T05:00:57.907Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T05:00:57.921Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1362/head:refs/remotes/origin/PR-1362 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-07T05:00:58.535Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T05:00:58.747Z] Merge succeeded, producing 529a380fc4285eb77e5184ae09e48ed3257457f7 [2023-03-07T05:00:58.747Z] Checking out Revision 529a380fc4285eb77e5184ae09e48ed3257457f7 (PR-1362) [2023-03-07T05:00:59.233Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-messaging/v3" [2023-03-07T05:00:59.272Z] > git --version # timeout=10 [2023-03-07T05:00:59.283Z] > git --version # 'git version 2.25.1' [2023-03-07T05:00:59.295Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [2023-03-07T05:00:58.561Z] > git checkout -f 529a380fc4285eb77e5184ae09e48ed3257457f7 # timeout=10 [2023-03-07T05:00:58.657Z] > git remote # timeout=10 [2023-03-07T05:00:58.674Z] > git config --get remote.origin.url # timeout=10 [2023-03-07T05:00:58.691Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T05:00:58.704Z] > git merge b4dcd90c517d60267da088e4e26fcccd6a523ed6 # timeout=10 [2023-03-07T05:00:58.728Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-07T05:00:58.748Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T05:00:58.764Z] > git checkout -f 529a380fc4285eb77e5184ae09e48ed3257457f7 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T05:01:00.529Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-07T05:01:00.529Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T05:01:00.529Z] Dload Upload Total Spent Left Speed [2023-03-07T05:01:00.529Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80194 0 --:--:-- --:--:-- --:--:-- 80194 [Pipeline] sh [2023-03-07T05:01:01.267Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-07T05:01:01.608Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-07T05:01:01.608Z] + sudo tee /etc/docker/daemon.new [2023-03-07T05:01:01.608Z] { [2023-03-07T05:01:01.608Z] "registry-mirrors": [ [2023-03-07T05:01:01.608Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-07T05:01:01.608Z] ], [2023-03-07T05:01:01.608Z] "bip": "10.250.0.254/24", [2023-03-07T05:01:01.608Z] "hosts": [ [2023-03-07T05:01:01.608Z] "tcp://0.0.0.0:5555", [2023-03-07T05:01:01.608Z] "unix:///var/run/docker.sock" [2023-03-07T05:01:01.608Z] ], [2023-03-07T05:01:01.608Z] "mtu": 1458, [2023-03-07T05:01:01.608Z] "selinux-enabled": true, [2023-03-07T05:01:01.608Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-07T05:01:01.608Z] } [Pipeline] sh [2023-03-07T05:01:01.956Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-07T05:01:02.315Z] + sudo service docker restart [2023-03-07T05:01:02.704Z] Removing intermediate container a59f6e530ae4 [2023-03-07T05:01:02.704Z] ---> 2e01cd8f9f25 [2023-03-07T05:01:02.704Z] Step 11/23 : FROM alpine:3.16 [2023-03-07T05:01:03.273Z] 3.16: Pulling from library/alpine [2023-03-07T05:01:03.273Z] ef5531b6e74e: Pulling fs layer [2023-03-07T05:01:03.273Z] ef5531b6e74e: Verifying Checksum [2023-03-07T05:01:03.273Z] ef5531b6e74e: Download complete [2023-03-07T05:01:03.533Z] ef5531b6e74e: Pull complete [2023-03-07T05:01:03.533Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-07T05:01:03.533Z] Status: Downloaded newer image for alpine:3.16 [2023-03-07T05:01:03.533Z] ---> dfd21b5a31f5 [2023-03-07T05:01:03.533Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-07T05:01:03.533Z] ---> Running in 56cbb2a984ac [2023-03-07T05:01:03.533Z] Removing intermediate container 56cbb2a984ac [2023-03-07T05:01:03.533Z] ---> 362f770a7b90 [2023-03-07T05:01:03.533Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-07T05:01:03.533Z] ---> Running in 1f9e36959e81 [2023-03-07T05:01:04.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T05:01:04.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T05:01:04.098Z] OK: 6 MiB in 14 packages [2023-03-07T05:01:04.674Z] Removing intermediate container 1f9e36959e81 [2023-03-07T05:01:04.674Z] ---> 81883227ca31 [2023-03-07T05:01:04.674Z] Step 14/23 : WORKDIR / [2023-03-07T05:01:04.674Z] ---> Running in 72b831846ab8 [2023-03-07T05:01:04.674Z] Removing intermediate container 72b831846ab8 [2023-03-07T05:01:04.674Z] ---> 187ce9c234d4 [2023-03-07T05:01:04.674Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-07T05:01:04.674Z] ---> fad5530d03ed [2023-03-07T05:01:04.674Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-07T05:01:05.241Z] ---> b88544663122 [2023-03-07T05:01:05.241Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-07T05:01:05.241Z] ---> fb435f69fce4 [2023-03-07T05:01:05.241Z] Step 18/23 : EXPOSE 59999 [2023-03-07T05:01:05.501Z] ---> Running in 80bce4960c6b [2023-03-07T05:01:05.501Z] Removing intermediate container 80bce4960c6b [2023-03-07T05:01:05.501Z] ---> cb625836c2a3 [2023-03-07T05:01:05.501Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-07T05:01:05.501Z] ---> Running in 6b4a18e50b3c [2023-03-07T05:01:05.501Z] Removing intermediate container 6b4a18e50b3c [2023-03-07T05:01:05.501Z] ---> 363a5295b836 [2023-03-07T05:01:05.501Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-07T05:01:05.501Z] ---> Running in 6947b8d2ec51 [2023-03-07T05:01:05.764Z] Removing intermediate container 6947b8d2ec51 [2023-03-07T05:01:05.764Z] ---> 6120bad7a15e [2023-03-07T05:01:05.764Z] Step 21/23 : LABEL arch=amd64 [2023-03-07T05:01:05.764Z] ---> Running in 0a6836117f34 [2023-03-07T05:01:05.764Z] Removing intermediate container 0a6836117f34 [2023-03-07T05:01:05.764Z] ---> e22d276c6d1a [2023-03-07T05:01:05.764Z] Step 22/23 : LABEL git_sha=529a380fc4285eb77e5184ae09e48ed3257457f7 [2023-03-07T05:01:05.764Z] ---> Running in 813a3134e7fb [2023-03-07T05:01:05.764Z] Removing intermediate container 813a3134e7fb [2023-03-07T05:01:05.764Z] ---> b9cc0e810e99 [2023-03-07T05:01:05.764Z] Step 23/23 : LABEL version=0.0.0 [2023-03-07T05:01:06.022Z] ---> Running in 263d72421f10 [2023-03-07T05:01:06.022Z] Removing intermediate container 263d72421f10 [2023-03-07T05:01:06.022Z] ---> 9e1854d54c0c [2023-03-07T05:01:06.022Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-07T05:01:06.022Z] Successfully built 9e1854d54c0c [2023-03-07T05:01:06.022Z] 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 [2023-03-07T05:01:06.877Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T05:01:06.877Z] [2023-03-07T05:01:06.877Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T05:01:07.253Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T05:01:07.253Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-07T05:01:07.253Z] 5eb5b503b376: Pulling fs layer [2023-03-07T05:01:07.253Z] 5c69ac0246d0: Pulling fs layer [2023-03-07T05:01:07.253Z] ec43610c2a17: Pulling fs layer [2023-03-07T05:01:07.253Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-07T05:01:07.253Z] 33b1e0a273af: Pulling fs layer [2023-03-07T05:01:07.253Z] 5d3b04190fa2: Pulling fs layer [2023-03-07T05:01:07.253Z] 2f39f015ded8: Pulling fs layer [2023-03-07T05:01:07.253Z] 3a2ae6a8a46f: Waiting [2023-03-07T05:01:07.253Z] 33b1e0a273af: Waiting [2023-03-07T05:01:07.253Z] 5d3b04190fa2: Waiting [2023-03-07T05:01:07.253Z] 2f39f015ded8: Waiting [2023-03-07T05:01:07.253Z] 5c69ac0246d0: Download complete [2023-03-07T05:01:07.253Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-07T05:01:07.253Z] 3a2ae6a8a46f: Download complete [2023-03-07T05:01:07.512Z] 33b1e0a273af: Verifying Checksum [2023-03-07T05:01:07.512Z] 33b1e0a273af: Download complete [2023-03-07T05:01:07.512Z] ec43610c2a17: Verifying Checksum [2023-03-07T05:01:07.512Z] ec43610c2a17: Download complete [2023-03-07T05:01:07.512Z] 5d3b04190fa2: Verifying Checksum [2023-03-07T05:01:07.512Z] 5d3b04190fa2: Download complete [2023-03-07T05:01:07.512Z] 5eb5b503b376: Verifying Checksum [2023-03-07T05:01:07.512Z] 5eb5b503b376: Download complete [2023-03-07T05:01:08.445Z] 2f39f015ded8: Download complete [2023-03-07T05:01:08.703Z] 5eb5b503b376: Pull complete [2023-03-07T05:01:08.961Z] 5c69ac0246d0: Pull complete [2023-03-07T05:01:09.527Z] ec43610c2a17: Pull complete [2023-03-07T05:01:09.527Z] 3a2ae6a8a46f: Pull complete [2023-03-07T05:01:09.788Z] 33b1e0a273af: Pull complete [2023-03-07T05:01:09.788Z] 5d3b04190fa2: Pull complete [2023-03-07T05:01:13.970Z] 2f39f015ded8: Pull complete [2023-03-07T05:01:13.970Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-07T05:01:13.970Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T05:01:13.970Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T05:01:14.195Z] prd-ubuntu20.04-docker-8c-8g-8484 does not seem to be running inside a container [2023-03-07T05:01:14.223Z] $ 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-1362 -v /w/workspace/gexfoundry_device-sdk-go_PR-1362:/w/workspace/gexfoundry_device-sdk-go_PR-1362:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1362@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1362@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 [2023-03-07T05:01:15.785Z] $ docker top 7e072e4e2c23f2f813118d8b2229d712e542f901407736e391d501962341c01c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T05:01:16.247Z] ---> job-cost.sh [2023-03-07T05:01:16.247Z] lf-activate-venv: SKIPPING [2023-03-07T05:01:16.247Z] INFO: No Stack... [2023-03-07T05:01:16.505Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T05:01:17.070Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T05:01:17.389Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1362/archives/cost.csv [2023-03-07T05:01:17.389Z] + cut -d, -f6 [Pipeline] lock [2023-03-07T05:01:17.436Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1362-1-stack-cost] [2023-03-07T05:01:17.441Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1362-1-stack-cost] did not exist. Created. [2023-03-07T05:01:17.441Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1362-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T05:01:17.823Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-07T05:01:17.876Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T05:01:17.903Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1362-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T05:01:17.981Z] $ docker stop --time=1 7e072e4e2c23f2f813118d8b2229d712e542f901407736e391d501962341c01c [2023-03-07T05:01:19.129Z] $ docker rm -f --volumes 7e072e4e2c23f2f813118d8b2229d712e542f901407736e391d501962341c01c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T05:01:20.637Z] provisioning config files... [2023-03-07T05:01:20.667Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8313480329886488051tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T05:01:21.067Z] ---> docker-login.sh [2023-03-07T05:01:21.067Z] nexus3.edgexfoundry.org:10001 [2023-03-07T05:01:21.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T05:01:21.659Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T05:01:21.659Z] Configure a credential helper to remove this warning. See [2023-03-07T05:01:21.659Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T05:01:21.659Z] [2023-03-07T05:01:21.659Z] Login Succeeded [2023-03-07T05:01:21.659Z] nexus3.edgexfoundry.org:10002 [2023-03-07T05:01:21.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T05:01:21.932Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T05:01:21.932Z] Configure a credential helper to remove this warning. See [2023-03-07T05:01:21.932Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T05:01:21.932Z] [2023-03-07T05:01:21.932Z] Login Succeeded [2023-03-07T05:01:21.932Z] nexus3.edgexfoundry.org:10003 [2023-03-07T05:01:22.198Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T05:01:22.198Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T05:01:22.198Z] Configure a credential helper to remove this warning. See [2023-03-07T05:01:22.198Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T05:01:22.198Z] [2023-03-07T05:01:22.198Z] Login Succeeded [2023-03-07T05:01:22.465Z] nexus3.edgexfoundry.org:10004 [2023-03-07T05:01:22.465Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T05:01:22.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T05:01:22.734Z] Configure a credential helper to remove this warning. See [2023-03-07T05:01:22.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T05:01:22.734Z] [2023-03-07T05:01:22.734Z] Login Succeeded [2023-03-07T05:01:22.734Z] docker.io [2023-03-07T05:01:23.004Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T05:01:23.271Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T05:01:23.271Z] Configure a credential helper to remove this warning. See [2023-03-07T05:01:23.271Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T05:01:23.271Z] [2023-03-07T05:01:23.271Z] Login Succeeded [2023-03-07T05:01:23.271Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T05:01:23.299Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T05:01:23.735Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T05:01:23.773Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T05:01:23.806Z] ========================================================= [2023-03-07T05:01:23.806Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-07T05:01:23.806Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T05:01:24.309Z] + 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 . [2023-03-07T05:01:24.580Z] Sending build context to Docker daemon 5.699MB [2023-03-07T05:01:24.858Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T05:01:24.858Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-07T05:01:24.858Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-07T05:01:24.858Z] 9b18e9b68314: Pulling fs layer [2023-03-07T05:01:24.858Z] 35d82f9e3411: Pulling fs layer [2023-03-07T05:01:24.858Z] e16973657156: Pulling fs layer [2023-03-07T05:01:24.858Z] fc693d55d65f: Pulling fs layer [2023-03-07T05:01:24.858Z] 7e9fc2657dce: Pulling fs layer [2023-03-07T05:01:24.858Z] dda99020689f: Pulling fs layer [2023-03-07T05:01:24.858Z] db1c61fa0a46: Pulling fs layer [2023-03-07T05:01:24.858Z] 891c053d2c06: Pulling fs layer [2023-03-07T05:01:24.858Z] dda99020689f: Waiting [2023-03-07T05:01:24.858Z] db1c61fa0a46: Waiting [2023-03-07T05:01:24.858Z] 891c053d2c06: Waiting [2023-03-07T05:01:24.858Z] fc693d55d65f: Waiting [2023-03-07T05:01:24.858Z] e16973657156: Verifying Checksum [2023-03-07T05:01:24.858Z] e16973657156: Download complete [2023-03-07T05:01:24.858Z] 35d82f9e3411: Verifying Checksum [2023-03-07T05:01:24.858Z] 35d82f9e3411: Download complete [2023-03-07T05:01:25.143Z] 7e9fc2657dce: Verifying Checksum [2023-03-07T05:01:25.143Z] 7e9fc2657dce: Download complete [2023-03-07T05:01:25.143Z] dda99020689f: Verifying Checksum [2023-03-07T05:01:25.143Z] dda99020689f: Download complete [2023-03-07T05:01:25.143Z] 9b18e9b68314: Verifying Checksum [2023-03-07T05:01:25.143Z] 9b18e9b68314: Download complete [2023-03-07T05:01:26.115Z] 9b18e9b68314: Pull complete [2023-03-07T05:01:26.388Z] 891c053d2c06: Verifying Checksum [2023-03-07T05:01:26.388Z] 891c053d2c06: Download complete [2023-03-07T05:01:26.659Z] 35d82f9e3411: Pull complete [2023-03-07T05:01:26.937Z] e16973657156: Pull complete [2023-03-07T05:01:27.529Z] db1c61fa0a46: Verifying Checksum [2023-03-07T05:01:27.529Z] db1c61fa0a46: Download complete [2023-03-07T05:01:28.127Z] fc693d55d65f: Verifying Checksum [2023-03-07T05:01:28.127Z] fc693d55d65f: Download complete [2023-03-07T05:01:38.310Z] fc693d55d65f: Pull complete [2023-03-07T05:01:38.579Z] 7e9fc2657dce: Pull complete [2023-03-07T05:01:38.845Z] dda99020689f: Pull complete [2023-03-07T05:01:45.497Z] db1c61fa0a46: Pull complete [2023-03-07T05:01:46.459Z] 891c053d2c06: Pull complete [2023-03-07T05:01:46.459Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-07T05:01:46.459Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-07T05:01:46.459Z] ---> f96f9c87975a [2023-03-07T05:01:46.459Z] Step 3/10 : ARG MAKE=make build [2023-03-07T05:01:48.403Z] ---> Running in 26d98f7bb602 [2023-03-07T05:01:48.673Z] Removing intermediate container 26d98f7bb602 [2023-03-07T05:01:48.673Z] ---> 280a10bf9b1a [2023-03-07T05:01:48.673Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-07T05:01:48.673Z] ---> Running in dc94ef42235a [2023-03-07T05:01:49.265Z] Removing intermediate container dc94ef42235a [2023-03-07T05:01:49.265Z] ---> f7451415a30b [2023-03-07T05:01:49.265Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-07T05:01:49.265Z] ---> Running in b5e0d21b104d [2023-03-07T05:01:49.537Z] Removing intermediate container b5e0d21b104d [2023-03-07T05:01:49.537Z] ---> caf8836300d3 [2023-03-07T05:01:49.537Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-07T05:01:49.537Z] ---> Running in cf0bb1696dc8 [2023-03-07T05:01:50.963Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T05:01:51.232Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T05:01:52.651Z] OK: 221 MiB in 51 packages [2023-03-07T05:01:53.694Z] Removing intermediate container cf0bb1696dc8 [2023-03-07T05:01:53.694Z] ---> 1761d89496cd [2023-03-07T05:01:53.694Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-07T05:01:53.991Z] ---> e2b2a224a3dc [2023-03-07T05:01:53.991Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T05:01:54.275Z] ---> Running in 3faa9eadd283 [2023-03-07T05:03:02.205Z] Removing intermediate container 3faa9eadd283 [2023-03-07T05:03:02.205Z] ---> 55253212357e [2023-03-07T05:03:02.205Z] Step 9/10 : COPY . . [2023-03-07T05:03:02.205Z] ---> c74b65ece822 [2023-03-07T05:03:02.205Z] Step 10/10 : RUN ${MAKE} [2023-03-07T05:03:02.205Z] ---> Running in d739939fdbbc [2023-03-07T05:03:02.205Z] noop [2023-03-07T05:03:02.205Z] Removing intermediate container d739939fdbbc [2023-03-07T05:03:02.205Z] ---> bab7587fb55a [2023-03-07T05:03:02.205Z] Successfully built bab7587fb55a [2023-03-07T05:03:02.205Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T05:03:02.694Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T05:03:02.694Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T05:03:02.969Z] prd-ubuntu20.04-docker-arm64-4c-16g-8489 does not seem to be running inside a container [2023-03-07T05:03:03.041Z] $ 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 ******** ci-base-image-arm64 cat [2023-03-07T05:03:04.378Z] $ docker top f83cc208d05a36e4c4a170db58a73a40cf5e9d10a8bfa376ad13da88ab0e87d5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T05:03:05.273Z] + go version [2023-03-07T05:03:05.273Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-07T05:03:05.306Z] $ docker stop --time=1 f83cc208d05a36e4c4a170db58a73a40cf5e9d10a8bfa376ad13da88ab0e87d5 [2023-03-07T05:03:06.994Z] $ docker rm -f --volumes f83cc208d05a36e4c4a170db58a73a40cf5e9d10a8bfa376ad13da88ab0e87d5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T05:03:07.851Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T05:03:07.851Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T05:03:08.114Z] prd-ubuntu20.04-docker-arm64-4c-16g-8489 does not seem to be running inside a container [2023-03-07T05:03:08.186Z] $ 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 ******** ci-base-image-arm64 cat [2023-03-07T05:03:09.393Z] $ docker top a027a867d697d76084f23a9c17d1bf435c92f8e2486cf7b0e747a7f28b7d31e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T05:03:10.446Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-07T05:03:11.173Z] + make test [2023-03-07T05:03:11.173Z] go test -race -coverprofile=coverage.out ./... [2023-03-07T05:03:50.135Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-07T05:06:11.871Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-07T05:06:11.871Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-07T05:06:11.871Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-07T05:06:11.871Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-07T05:06:11.871Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-07T05:06:11.871Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.661s coverage: 27.6% of statements [2023-03-07T05:06:11.871Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.561s coverage: 78.9% of statements [2023-03-07T05:06:11.871Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-03-07T05:06:18.532Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.410s coverage: 86.0% of statements [2023-03-07T05:06:18.532Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-07T05:06:18.532Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-07T05:06:21.121Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.289s coverage: 75.0% of statements [2023-03-07T05:06:21.121Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-07T05:06:21.121Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.358s coverage: 15.3% of statements [2023-03-07T05:06:21.121Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-07T05:06:21.121Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.169s coverage: 65.2% of statements [2023-03-07T05:06:21.121Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-07T05:06:21.121Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-07T05:06:29.351Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.328s coverage: 89.2% of statements [2023-03-07T05:06:29.351Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-03-07T05:06:29.351Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.286s coverage: 4.6% of statements [2023-03-07T05:06:29.351Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-07T05:06:29.351Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-07T05:06:29.351Z] GO111MODULE=on go vet ./... [2023-03-07T05:08:21.147Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-07T05:08:21.147Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-07T05:08:21.147Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-07T05:08:21.188Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-07T05:08:21.221Z] $ docker stop --time=1 a027a867d697d76084f23a9c17d1bf435c92f8e2486cf7b0e747a7f28b7d31e8 [2023-03-07T05:08:23.070Z] $ docker rm -f --volumes a027a867d697d76084f23a9c17d1bf435c92f8e2486cf7b0e747a7f28b7d31e8 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T05:08:24.615Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-07T05:08:24.654Z] Warning: overwriting stash ‘coverage-report’ [2023-03-07T05:08:25.464Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T05:08:26.074Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-07T05:08:26.424Z] + ls -al . [2023-03-07T05:08:26.424Z] total 276 [2023-03-07T05:08:26.424Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 05:03 . [2023-03-07T05:08:26.424Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 05:00 .. [2023-03-07T05:08:26.424Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 7 05:00 .dockerignore [2023-03-07T05:08:26.424Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 05:00 .git [2023-03-07T05:08:26.424Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 05:00 .github [2023-03-07T05:08:26.424Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 7 05:00 .gitignore [2023-03-07T05:08:26.424Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 05:00 .golangci.yml [2023-03-07T05:08:26.424Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 7 05:00 CHANGELOG.md [2023-03-07T05:08:26.424Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 05:00 GOVERNANCE.md [2023-03-07T05:08:26.424Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 7 05:00 Jenkinsfile [2023-03-07T05:08:26.424Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 7 05:00 LICENSE [2023-03-07T05:08:26.424Z] -rw-rw-r-- 1 jenkins jenkins 1679 Mar 7 05:00 Makefile [2023-03-07T05:08:26.424Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 7 05:00 OWNERS.md [2023-03-07T05:08:26.424Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 7 05:00 README.md [2023-03-07T05:08:26.424Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 04:59 VERSION [2023-03-07T05:08:26.424Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 05:00 bin [2023-03-07T05:08:26.424Z] -rw-r--r-- 1 jenkins jenkins 111243 Mar 7 05:06 coverage.out [2023-03-07T05:08:26.424Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 7 05:00 example [2023-03-07T05:08:26.424Z] -rw-rw-r-- 1 jenkins jenkins 3266 Mar 7 05:00 go.mod [2023-03-07T05:08:26.424Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 7 05:00 go.sum [2023-03-07T05:08:26.424Z] drwxrwxr-x 13 jenkins jenkins 4096 Mar 7 05:00 internal [2023-03-07T05:08:26.424Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 05:00 openapi [2023-03-07T05:08:26.424Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 05:00 pkg [2023-03-07T05:08:26.424Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 05:00 snap [2023-03-07T05:08:26.424Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 7 05:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T05:08:26.869Z] + 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=529a380fc4285eb77e5184ae09e48ed3257457f7 --label arch=arm64 --label version=0.0.0 . [2023-03-07T05:08:27.458Z] Sending build context to Docker daemon 5.811MB [2023-03-07T05:08:27.458Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T05:08:27.458Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-07T05:08:27.458Z] ---> bab7587fb55a [2023-03-07T05:08:27.458Z] Step 3/23 : ARG MAKE=make build [2023-03-07T05:08:27.458Z] ---> Running in 70fb4388a3eb [2023-03-07T05:08:27.728Z] Removing intermediate container 70fb4388a3eb [2023-03-07T05:08:27.728Z] ---> 91eb560fde1a [2023-03-07T05:08:27.728Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-07T05:08:28.000Z] ---> Running in f850ef7069b2 [2023-03-07T05:08:28.269Z] Removing intermediate container f850ef7069b2 [2023-03-07T05:08:28.269Z] ---> 961ada5ed19f [2023-03-07T05:08:28.269Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-07T05:08:28.269Z] ---> Running in daa1f02acad0 [2023-03-07T05:08:28.538Z] Removing intermediate container daa1f02acad0 [2023-03-07T05:08:28.538Z] ---> b2632315d6d1 [2023-03-07T05:08:28.538Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-07T05:08:28.807Z] ---> Running in ba3991e052cb [2023-03-07T05:08:29.777Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T05:08:30.050Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T05:08:31.482Z] OK: 221 MiB in 51 packages [2023-03-07T05:08:32.461Z] Removing intermediate container ba3991e052cb [2023-03-07T05:08:32.461Z] ---> 6150f39af187 [2023-03-07T05:08:32.461Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-07T05:08:33.052Z] ---> 5307c11d36c9 [2023-03-07T05:08:33.052Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T05:08:33.052Z] ---> Running in 453dd96d02a6 [2023-03-07T05:08:36.422Z] Removing intermediate container 453dd96d02a6 [2023-03-07T05:08:36.422Z] ---> 68b20e133442 [2023-03-07T05:08:36.422Z] Step 9/23 : COPY . . [2023-03-07T05:08:37.393Z] ---> 8c3903d05072 [2023-03-07T05:08:37.393Z] Step 10/23 : RUN ${MAKE} [2023-03-07T05:08:37.666Z] ---> Running in 7fba0b3a213d [2023-03-07T05:08:38.641Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-07T05:11:15.409Z] Removing intermediate container 7fba0b3a213d [2023-03-07T05:11:15.409Z] ---> 4a3febd6545f [2023-03-07T05:11:15.409Z] Step 11/23 : FROM alpine:3.16 [2023-03-07T05:11:15.409Z] 3.16: Pulling from library/alpine [2023-03-07T05:11:15.409Z] 3760b48202b3: Pulling fs layer [2023-03-07T05:11:15.409Z] 3760b48202b3: Verifying Checksum [2023-03-07T05:11:15.409Z] 3760b48202b3: Download complete [2023-03-07T05:11:15.409Z] 3760b48202b3: Pull complete [2023-03-07T05:11:15.409Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-07T05:11:15.409Z] Status: Downloaded newer image for alpine:3.16 [2023-03-07T05:11:15.409Z] ---> 4c81e5bf8899 [2023-03-07T05:11:15.409Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-07T05:11:15.409Z] ---> Running in 35669687be22 [2023-03-07T05:11:15.409Z] Removing intermediate container 35669687be22 [2023-03-07T05:11:15.409Z] ---> 0c3a0919d7b9 [2023-03-07T05:11:15.409Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-07T05:11:15.409Z] ---> Running in cb1d60a0f551 [2023-03-07T05:11:15.409Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T05:11:15.409Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T05:11:15.409Z] OK: 5 MiB in 14 packages [2023-03-07T05:11:15.409Z] Removing intermediate container cb1d60a0f551 [2023-03-07T05:11:15.409Z] ---> 267f500cdfcc [2023-03-07T05:11:15.409Z] Step 14/23 : WORKDIR / [2023-03-07T05:11:15.409Z] ---> Running in 892d0f32eeca [2023-03-07T05:11:15.409Z] Removing intermediate container 892d0f32eeca [2023-03-07T05:11:15.409Z] ---> ad5ca16d99c6 [2023-03-07T05:11:15.409Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-07T05:11:15.410Z] ---> 99e69f64ab92 [2023-03-07T05:11:15.410Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-07T05:11:15.410Z] ---> 2c6bba5c0446 [2023-03-07T05:11:15.410Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-07T05:11:15.410Z] ---> fe4a73b8f27a [2023-03-07T05:11:15.410Z] Step 18/23 : EXPOSE 59999 [2023-03-07T05:11:15.410Z] ---> Running in e69a24c4f967 [2023-03-07T05:11:15.410Z] Removing intermediate container e69a24c4f967 [2023-03-07T05:11:15.410Z] ---> 9330eccf8011 [2023-03-07T05:11:15.410Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-07T05:11:15.410Z] ---> Running in 9884b40c1c5f [2023-03-07T05:11:15.410Z] Removing intermediate container 9884b40c1c5f [2023-03-07T05:11:15.410Z] ---> ad425b4f6034 [2023-03-07T05:11:15.410Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-07T05:11:15.410Z] ---> Running in 2ae7887ed7da [2023-03-07T05:11:15.410Z] Removing intermediate container 2ae7887ed7da [2023-03-07T05:11:15.410Z] ---> 301909d01ca5 [2023-03-07T05:11:15.410Z] Step 21/23 : LABEL arch=arm64 [2023-03-07T05:11:15.410Z] ---> Running in b380b89d5864 [2023-03-07T05:11:15.410Z] Removing intermediate container b380b89d5864 [2023-03-07T05:11:15.410Z] ---> 7d846d5922fb [2023-03-07T05:11:15.410Z] Step 22/23 : LABEL git_sha=529a380fc4285eb77e5184ae09e48ed3257457f7 [2023-03-07T05:11:15.410Z] ---> Running in c5039f4e1f89 [2023-03-07T05:11:15.410Z] Removing intermediate container c5039f4e1f89 [2023-03-07T05:11:15.410Z] ---> e0249bc8cbe8 [2023-03-07T05:11:15.410Z] Step 23/23 : LABEL version=0.0.0 [2023-03-07T05:11:15.410Z] ---> Running in 8d7e0b0ab9bd [2023-03-07T05:11:15.410Z] Removing intermediate container 8d7e0b0ab9bd [2023-03-07T05:11:15.410Z] ---> f8c4b848a896 [2023-03-07T05:11:15.410Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-07T05:11:15.410Z] Successfully built f8c4b848a896 [2023-03-07T05:11:15.410Z] 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 [2023-03-07T05:11:16.186Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T05:11:16.187Z] [2023-03-07T05:11:16.187Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T05:11:16.666Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T05:11:17.252Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-07T05:11:17.252Z] 8998bd30e6a1: Pulling fs layer [2023-03-07T05:11:17.252Z] 04944245beec: Pulling fs layer [2023-03-07T05:11:17.252Z] 699f458cf7ca: Pulling fs layer [2023-03-07T05:11:17.252Z] 765212b225bb: Pulling fs layer [2023-03-07T05:11:17.252Z] f23df028b6ca: Pulling fs layer [2023-03-07T05:11:17.252Z] d65c8cfc05b1: Pulling fs layer [2023-03-07T05:11:17.252Z] 2437ff75d9bd: Pulling fs layer [2023-03-07T05:11:17.252Z] d65c8cfc05b1: Waiting [2023-03-07T05:11:17.252Z] 765212b225bb: Waiting [2023-03-07T05:11:17.252Z] 2437ff75d9bd: Waiting [2023-03-07T05:11:17.252Z] 04944245beec: Verifying Checksum [2023-03-07T05:11:17.252Z] 04944245beec: Download complete [2023-03-07T05:11:17.252Z] 765212b225bb: Verifying Checksum [2023-03-07T05:11:17.252Z] 765212b225bb: Download complete [2023-03-07T05:11:17.524Z] f23df028b6ca: Verifying Checksum [2023-03-07T05:11:17.524Z] f23df028b6ca: Download complete [2023-03-07T05:11:17.524Z] d65c8cfc05b1: Verifying Checksum [2023-03-07T05:11:17.524Z] d65c8cfc05b1: Download complete [2023-03-07T05:11:17.524Z] 699f458cf7ca: Verifying Checksum [2023-03-07T05:11:17.524Z] 699f458cf7ca: Download complete [2023-03-07T05:11:18.151Z] 8998bd30e6a1: Verifying Checksum [2023-03-07T05:11:18.151Z] 8998bd30e6a1: Download complete [2023-03-07T05:11:20.786Z] 2437ff75d9bd: Verifying Checksum [2023-03-07T05:11:20.786Z] 2437ff75d9bd: Download complete [2023-03-07T05:11:22.735Z] 8998bd30e6a1: Pull complete [2023-03-07T05:11:22.735Z] 04944245beec: Pull complete [2023-03-07T05:11:24.149Z] 699f458cf7ca: Pull complete [2023-03-07T05:11:24.149Z] 765212b225bb: Pull complete [2023-03-07T05:11:25.114Z] f23df028b6ca: Pull complete [2023-03-07T05:11:25.382Z] d65c8cfc05b1: Pull complete [2023-03-07T05:11:40.413Z] 2437ff75d9bd: Pull complete [2023-03-07T05:11:40.413Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-07T05:11:40.413Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T05:11:40.413Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T05:11:40.753Z] prd-ubuntu20.04-docker-arm64-4c-16g-8489 does not seem to be running inside a container [2023-03-07T05:11:40.836Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-07T05:11:43.892Z] $ docker top 2043c93e1eb996d339f6e00a0ad4332eec1f557df068ead45f0a9594101708ce -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T05:11:44.817Z] ---> job-cost.sh [2023-03-07T05:11:44.817Z] lf-activate-venv: SKIPPING [2023-03-07T05:11:44.817Z] INFO: No Stack... [2023-03-07T05:11:45.401Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-07T05:11:46.364Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T05:11:47.026Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-03-07T05:11:47.026Z] + cut -d, -f6 [Pipeline] lock [2023-03-07T05:11:47.119Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1362-1-stack-cost] [2023-03-07T05:11:47.124Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1362-1-stack-cost] did not exist. Created. [2023-03-07T05:11:47.124Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1362-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T05:11:47.855Z] /w/workspace/device-sdk-go/1@tmp/durable-73139110/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-07T05:11:48.536Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-07T05:11:48.598Z] Warning: overwriting stash ‘stack-cost’ [2023-03-07T05:11:48.672Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T05:11:48.689Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1362-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T05:11:48.783Z] $ docker stop --time=1 2043c93e1eb996d339f6e00a0ad4332eec1f557df068ead45f0a9594101708ce [2023-03-07T05:11:50.298Z] $ docker rm -f --volumes 2043c93e1eb996d339f6e00a0ad4332eec1f557df068ead45f0a9594101708ce [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 [2023-03-07T05:11:51.292Z] provisioning config files... [2023-03-07T05:11:51.299Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1362@tmp/config4569041346643088613tmp [Pipeline] { [Pipeline] sh [2023-03-07T05:11:51.627Z] + set +x [2023-03-07T05:11:51.627Z] + curl -s https://codecov.io/bash [2023-03-07T05:11:51.627Z] + bash -s -- [2023-03-07T05:11:51.627Z] [2023-03-07T05:11:51.627Z] _____ _ [2023-03-07T05:11:51.627Z] / ____| | | [2023-03-07T05:11:51.627Z] | | ___ __| | ___ ___ _____ __ [2023-03-07T05:11:51.627Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-07T05:11:51.627Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-07T05:11:51.627Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-07T05:11:51.627Z] Bash-1.0.6 [2023-03-07T05:11:51.627Z] [2023-03-07T05:11:51.627Z] [2023-03-07T05:11:51.627Z] ==> git version 2.25.1 found [2023-03-07T05:11:51.627Z] ==> 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 [2023-03-07T05:11:51.627Z] Release-Date: 2020-01-08 [2023-03-07T05:11:51.627Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-07T05:11:51.627Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-07T05:11:51.627Z] ==> Jenkins CI detected. [2023-03-07T05:11:51.627Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1362 [2023-03-07T05:11:51.627Z] project root: . [2023-03-07T05:11:51.627Z] --> token set from env [2023-03-07T05:11:51.627Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-07T05:11:51.627Z] ==> Running gcov in . (disable via -X gcov) [2023-03-07T05:11:51.627Z] ==> Python coveragepy not found [2023-03-07T05:11:51.627Z] ==> Searching for coverage reports in: [2023-03-07T05:11:51.627Z] + . [2023-03-07T05:11:51.627Z] -> Found 1 reports [2023-03-07T05:11:51.627Z] ==> Detecting git/mercurial file structure [2023-03-07T05:11:51.885Z] ==> Reading reports [2023-03-07T05:11:51.886Z] + ./coverage.out bytes=111243 [2023-03-07T05:11:51.886Z] ==> Appending adjustments [2023-03-07T05:11:51.886Z] https://docs.codecov.io/docs/fixing-reports [2023-03-07T05:11:51.886Z] + Found adjustments [2023-03-07T05:11:51.886Z] ==> Gzipping contents [2023-03-07T05:11:51.886Z] 16K /tmp/codecov.gVNRed.gz [2023-03-07T05:11:51.886Z] ==> Uploading reports [2023-03-07T05:11:51.886Z] url: https://codecov.io [2023-03-07T05:11:51.886Z] query: branch=PR-1362&commit=529a380fc4285eb77e5184ae09e48ed3257457f7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1362%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1362&job=&cmd_args= [2023-03-07T05:11:51.886Z] -> Pinging Codecov [2023-03-07T05:11:51.886Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1362&commit=529a380fc4285eb77e5184ae09e48ed3257457f7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1362%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1362&job=&cmd_args= [2023-03-07T05:11:52.144Z] -> Uploading to [2023-03-07T05:11:52.144Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-07/7E55EF52A471D76F132DFD9A03CDDE97/529a380fc4285eb77e5184ae09e48ed3257457f7/1f213cf2-3e31-4e89-8ff4-9ea419361fa2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230307%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230307T051151Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e6deca398a42c04ab75fcf0dde5880e22c7c510cc357c9fa0e751381ff4558ba [2023-03-07T05:11:52.144Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T05:11:52.144Z] Dload Upload Total Spent Left Speed [2023-03-07T05:11:52.405Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15404 0 0 100 15404 0 58793 --:--:-- --:--:-- --:--:-- 58793 [2023-03-07T05:11:52.405Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/529a380fc4285eb77e5184ae09e48ed3257457f7 [Pipeline] } [2023-03-07T05:11:52.430Z] 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 [2023-03-07T05:11:54.168Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1362/archives ] [2023-03-07T05:11:54.168Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1362/archives [2023-03-07T05:11:54.168Z] total 16 [2023-03-07T05:11:54.168Z] drwxr-xr-x 3 root root 4096 Mar 7 05:01 . [2023-03-07T05:11:54.168Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 05:01 .. [2023-03-07T05:11:54.168Z] drwxr-xr-x 2 root root 4096 Mar 7 05:01 cost [2023-03-07T05:11:54.168Z] -rw-r--r-- 1 root root 86 Mar 7 05:01 cost.csv [2023-03-07T05:11:54.168Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1362/archives [2023-03-07T05:11:54.168Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1362/archives [2023-03-07T05:11:54.168Z] total 16 [2023-03-07T05:11:54.168Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 05:01 . [2023-03-07T05:11:54.168Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 7 05:01 .. [2023-03-07T05:11:54.168Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 05:01 cost [2023-03-07T05:11:54.168Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 7 05:01 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-07T05:11:54.495Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T05:11:55.375Z] ---> package-listing.sh [2023-03-07T05:11:55.375Z] ++ facter osfamily [2023-03-07T05:11:55.375Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-07T05:11:55.634Z] + OS_FAMILY=debian [2023-03-07T05:11:55.635Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1362 [2023-03-07T05:11:55.635Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-07T05:11:55.635Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-07T05:11:55.635Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-07T05:11:55.635Z] + PACKAGES=/tmp/packages_start.txt [2023-03-07T05:11:55.635Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1362 ']' [2023-03-07T05:11:55.635Z] + PACKAGES=/tmp/packages_end.txt [2023-03-07T05:11:55.635Z] + case "${OS_FAMILY}" in [2023-03-07T05:11:55.635Z] + dpkg -l [2023-03-07T05:11:55.635Z] + grep '^ii' [2023-03-07T05:11:55.635Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-07T05:11:55.635Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-07T05:11:55.635Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-07T05:11:55.635Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1362 ']' [2023-03-07T05:11:55.635Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1362/archives/ [2023-03-07T05:11:55.635Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1362/archives/ [Pipeline] echo [2023-03-07T05:11:55.664Z] 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-1362/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-07T05:11:55.952Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T05:11:56.575Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T05:11:56.575Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T05:11:56.714Z] prd-ubuntu20.04-docker-8c-8g-8484 does not seem to be running inside a container [2023-03-07T05:11:56.742Z] $ 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-1362/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-1362 -v /w/workspace/gexfoundry_device-sdk-go_PR-1362:/w/workspace/gexfoundry_device-sdk-go_PR-1362:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1362@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1362@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-07T05:11:56.948Z] $ docker top 6793410a501cf9480bdf8cbd2eee6ffde319ef2c5e36681ed1470a3c428d5217 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T05:11:57.327Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-07T05:11:57.641Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-07T05:11:57.952Z] + ls /var/log/sa-host [2023-03-07T05:11:57.952Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T05:11:58.173Z] provisioning config files... [2023-03-07T05:11:58.181Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1362@tmp/config3745886852714920946tmp [Pipeline] { [Pipeline] echo [2023-03-07T05:11:58.230Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T05:11:58.542Z] ---> create-netrc.sh [Pipeline] } [2023-03-07T05:11:58.568Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-07T05:11:58.964Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-07T05:11:59.003Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T05:11:59.311Z] ---> sudo-logs.sh [2023-03-07T05:11:59.312Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-07T05:11:59.402Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T05:11:59.710Z] ---> job-cost.sh [2023-03-07T05:11:59.710Z] lf-activate-venv: SKIPPING [2023-03-07T05:11:59.710Z] DEBUG: total: 0.2199999988079071 [2023-03-07T05:11:59.710Z] INFO: Retrieving Stack Cost... [2023-03-07T05:12:00.276Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T05:12:00.535Z] INFO: Archiving Costs [Pipeline] echo [2023-03-07T05:12:00.572Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T05:12:00.879Z] ---> logs-deploy.sh [2023-03-07T05:12:00.880Z] lf-activate-venv: SKIPPING [2023-03-07T05:12:00.880Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1362/1 [2023-03-07T05:12:00.880Z] INFO: archiving workspace using pattern(s): [2023-03-07T05:12:01.814Z] Archives upload complete. [2023-03-07T05:12:02.072Z] INFO: archiving logs to Nexus