Pull request #1276 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 6a7a60cf858b527f90a237d655849bdfd65bddba+8025d415256bff1d08fe37ed408de885b1f3053d (4859d0830568433f8ca8a2bc4e217b6145c0f16f) 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-ssh9242561069825820098.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-ssh17933421432355736826.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-1276/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-1276/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15367223252942655754.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-1276/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11415358379675374326.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-ssh13913909519408263637.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-1276/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-1276/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6131472278128853433.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/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1544 in /w/workspace/gexfoundry_device-sdk-go_PR-1276 [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-1276 # 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/1276/head:refs/remotes/origin/PR-1276 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 8025d415256bff1d08fe37ed408de885b1f3053d into PR head commit 6a7a60cf858b527f90a237d655849bdfd65bddba Merge succeeded, producing 6a7a60cf858b527f90a237d655849bdfd65bddba Checking out Revision 6a7a60cf858b527f90a237d655849bdfd65bddba (PR-1276) > git config core.sparsecheckout # timeout=10 > git checkout -f 6a7a60cf858b527f90a237d655849bdfd65bddba # 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 8025d415256bff1d08fe37ed408de885b1f3053d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6a7a60cf858b527f90a237d655849bdfd65bddba # timeout=10 Commit message: "feat!: replace REST device callbacks with System Events" 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] { [Pipeline] timeout [2023-01-10T06:11:51.113Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-10T06:11:51.283Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-10T06:11:51.375Z] ========================================================= [2023-01-10T06:11:51.375Z] EdgeX Global Pipelines Version Info [2023-01-10T06:11:51.375Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-10T06:11:52.137Z] ------------------- [2023-01-10T06:11:52.137Z] stable info: [2023-01-10T06:11:52.137Z] ------------------- [2023-01-10T06:11:52.137Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-10T06:11:52.137Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T06:11:52.137Z] Message: update stable to v1.0.244 [2023-01-10T06:11:52.705Z] ------------------- [2023-01-10T06:11:52.706Z] experimental info: [2023-01-10T06:11:52.706Z] ------------------- [2023-01-10T06:11:52.706Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-10T06:11:52.706Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T06:11:52.706Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-10T06:11:52.984Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-01-10T06:11:53.025Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-01-10T06:11:53.063Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-10T06:11:53.108Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-10T06:11:53.149Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-10T06:11:53.189Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-10T06:11:53.228Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-10T06:11:53.269Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-01-10T06:11:53.308Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-10T06:11:53.347Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-10T06:11:53.386Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-10T06:11:53.421Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-01-10T06:11:53.457Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-10T06:11:53.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-10T06:11:53.535Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T06:11:53.574Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T06:11:53.611Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T06:11:53.648Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T06:11:53.686Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-10T06:11:53.726Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-10T06:11:53.764Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-10T06:11:53.800Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-01-10T06:11:53.836Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-10T06:11:53.883Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-10T06:11:53.924Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-10T06:11:53.965Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-10T06:11:54.000Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-10T06:11:54.034Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1276 [Pipeline] echo [2023-01-10T06:11:54.074Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1276 [Pipeline] echo [2023-01-10T06:11:54.114Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1276 [Pipeline] echo [2023-01-10T06:11:54.152Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6a7a60cf858b527f90a237d655849bdfd65bddba [Pipeline] echo [2023-01-10T06:11:54.196Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6a7a60c [Pipeline] echo [2023-01-10T06:11:54.236Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T06:11:54.354Z] provisioning config files... [2023-01-10T06:11:54.370Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp/config12562978246887563871tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T06:11:54.714Z] ---> docker-login.sh [2023-01-10T06:11:54.714Z] nexus3.edgexfoundry.org:10001 [2023-01-10T06:11:54.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T06:11:54.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T06:11:54.974Z] Configure a credential helper to remove this warning. See [2023-01-10T06:11:54.974Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T06:11:54.974Z] [2023-01-10T06:11:54.974Z] Login Succeeded [2023-01-10T06:11:54.974Z] nexus3.edgexfoundry.org:10002 [2023-01-10T06:11:55.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T06:11:55.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T06:11:55.234Z] Configure a credential helper to remove this warning. See [2023-01-10T06:11:55.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T06:11:55.234Z] [2023-01-10T06:11:55.234Z] Login Succeeded [2023-01-10T06:11:55.234Z] nexus3.edgexfoundry.org:10003 [2023-01-10T06:11:55.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T06:11:55.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T06:11:55.234Z] Configure a credential helper to remove this warning. See [2023-01-10T06:11:55.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T06:11:55.234Z] [2023-01-10T06:11:55.234Z] Login Succeeded [2023-01-10T06:11:55.234Z] nexus3.edgexfoundry.org:10004 [2023-01-10T06:11:55.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T06:11:55.495Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T06:11:55.495Z] Configure a credential helper to remove this warning. See [2023-01-10T06:11:55.495Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T06:11:55.495Z] [2023-01-10T06:11:55.495Z] Login Succeeded [2023-01-10T06:11:55.495Z] docker.io [2023-01-10T06:11:55.495Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T06:11:55.754Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T06:11:55.754Z] Configure a credential helper to remove this warning. See [2023-01-10T06:11:55.754Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T06:11:55.754Z] [2023-01-10T06:11:55.754Z] Login Succeeded [2023-01-10T06:11:55.754Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T06:11:55.782Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-10T06:11:56.413Z] + git rev-list -1 --merges 6a7a60cf858b527f90a237d655849bdfd65bddba~1..6a7a60cf858b527f90a237d655849bdfd65bddba [Pipeline] echo [2023-01-10T06:11:56.484Z] -----------> git rev-list -1 --merges 6a7a60cf858b527f90a237d655849bdfd65bddba~1..6a7a60cf858b527f90a237d655849bdfd65bddba 6a7a60cf858b527f90a237d655849bdfd65bddba [false] [Pipeline] sh [2023-01-10T06:11:56.795Z] + git log --format=format:%s -1 6a7a60cf858b527f90a237d655849bdfd65bddba [Pipeline] echo [2023-01-10T06:11:56.831Z] ========================================================= [2023-01-10T06:11:56.831Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-10T06:11:56.831Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T06:11:57.266Z] + git log --format=format:%s -1 6a7a60cf858b527f90a237d655849bdfd65bddba [Pipeline] echo [2023-01-10T06:11:57.298Z] [semverPrep] GIT_COMMIT: 6a7a60cf858b527f90a237d655849bdfd65bddba, Commit Message: feat!: replace REST device callbacks with System Events [Pipeline] echo [2023-01-10T06:11:57.331Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-10T06:11:57.748Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-10T06:11:57.748Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-10T06:11:57.748Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-10T06:11:57.748Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-10T06:11:57.748Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-10T06:11:57.748Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-10T06:11:57.748Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T06:11:58.238Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T06:11:58.238Z] [2023-01-10T06:11:58.238Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T06:11:58.605Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T06:11:58.605Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-10T06:11:58.605Z] b85a868b505f: Pulling fs layer [2023-01-10T06:11:58.605Z] e2be974225ed: Pulling fs layer [2023-01-10T06:11:58.605Z] 339a4e72a1f5: Pulling fs layer [2023-01-10T06:11:58.605Z] 988bab9f4d93: Pulling fs layer [2023-01-10T06:11:58.605Z] 1469e6f7b9e6: Pulling fs layer [2023-01-10T06:11:58.605Z] eaf3925da568: Pulling fs layer [2023-01-10T06:11:58.605Z] bab4dde63d76: Pulling fs layer [2023-01-10T06:11:58.605Z] 1469e6f7b9e6: Waiting [2023-01-10T06:11:58.605Z] bde34c3a00c8: Pulling fs layer [2023-01-10T06:11:58.605Z] bab4dde63d76: Waiting [2023-01-10T06:11:58.605Z] eaf3925da568: Waiting [2023-01-10T06:11:58.605Z] b352a97aabf1: Pulling fs layer [2023-01-10T06:11:58.605Z] 988bab9f4d93: Waiting [2023-01-10T06:11:58.605Z] 4872d77fe225: Pulling fs layer [2023-01-10T06:11:58.605Z] 5851b861e8e6: Pulling fs layer [2023-01-10T06:11:58.605Z] b352a97aabf1: Waiting [2023-01-10T06:11:58.605Z] 4872d77fe225: Waiting [2023-01-10T06:11:58.605Z] 5851b861e8e6: Waiting [2023-01-10T06:11:58.605Z] e2be974225ed: Verifying Checksum [2023-01-10T06:11:58.605Z] e2be974225ed: Download complete [2023-01-10T06:11:58.605Z] 988bab9f4d93: Verifying Checksum [2023-01-10T06:11:58.605Z] 988bab9f4d93: Download complete [2023-01-10T06:11:58.866Z] 1469e6f7b9e6: Verifying Checksum [2023-01-10T06:11:58.866Z] 1469e6f7b9e6: Download complete [2023-01-10T06:11:58.866Z] 339a4e72a1f5: Verifying Checksum [2023-01-10T06:11:58.866Z] 339a4e72a1f5: Download complete [2023-01-10T06:11:58.866Z] eaf3925da568: Verifying Checksum [2023-01-10T06:11:58.866Z] eaf3925da568: Download complete [2023-01-10T06:11:58.866Z] bde34c3a00c8: Verifying Checksum [2023-01-10T06:11:58.866Z] bde34c3a00c8: Download complete [2023-01-10T06:11:58.866Z] b352a97aabf1: Verifying Checksum [2023-01-10T06:11:58.866Z] b352a97aabf1: Download complete [2023-01-10T06:11:58.866Z] 4872d77fe225: Verifying Checksum [2023-01-10T06:11:58.866Z] 4872d77fe225: Download complete [2023-01-10T06:11:58.866Z] 5851b861e8e6: Verifying Checksum [2023-01-10T06:11:58.866Z] 5851b861e8e6: Download complete [2023-01-10T06:11:58.866Z] b85a868b505f: Verifying Checksum [2023-01-10T06:11:58.866Z] b85a868b505f: Download complete [2023-01-10T06:11:59.125Z] bab4dde63d76: Verifying Checksum [2023-01-10T06:11:59.125Z] bab4dde63d76: Download complete [2023-01-10T06:12:00.062Z] b85a868b505f: Pull complete [2023-01-10T06:12:00.062Z] e2be974225ed: Pull complete [2023-01-10T06:12:00.630Z] 339a4e72a1f5: Pull complete [2023-01-10T06:12:00.630Z] 988bab9f4d93: Pull complete [2023-01-10T06:12:00.890Z] 1469e6f7b9e6: Pull complete [2023-01-10T06:12:00.890Z] eaf3925da568: Pull complete [2023-01-10T06:12:02.803Z] bab4dde63d76: Pull complete [2023-01-10T06:12:02.803Z] bde34c3a00c8: Pull complete [2023-01-10T06:12:02.803Z] b352a97aabf1: Pull complete [2023-01-10T06:12:02.803Z] 4872d77fe225: Pull complete [2023-01-10T06:12:02.803Z] 5851b861e8e6: Pull complete [2023-01-10T06:12:02.803Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-10T06:12:02.803Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T06:12:02.803Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T06:12:03.063Z] prd-ubuntu20.04-docker-8c-8g-1544 does not seem to be running inside a container [2023-01-10T06:12:03.094Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1276 -v /w/workspace/gexfoundry_device-sdk-go_PR-1276:/w/workspace/gexfoundry_device-sdk-go_PR-1276:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-10T06:12:05.775Z] $ docker top 4f8297d49562168285d176391ec67da5f9e8003b725fdd2c272d3414a9a4a939 -eo pid,comm [2023-01-10T06:12:05.818Z] 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-01-10T06:12:05.818Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-10T06:12:05.941Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T06:12:05.941Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T06:12:06.049Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T06:12:06.055Z] $ docker exec 4f8297d49562168285d176391ec67da5f9e8003b725fdd2c272d3414a9a4a939 ssh-agent [2023-01-10T06:12:06.158Z] SSH_AUTH_SOCK=/tmp/ssh-AnhB63O0ebbs/agent.33 [2023-01-10T06:12:06.158Z] SSH_AGENT_PID=39 [2023-01-10T06:12:06.164Z] Running ssh-add (command line suppressed) [2023-01-10T06:12:06.267Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp/private_key_2710241114698892409.key (/w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp/private_key_2710241114698892409.key) [2023-01-10T06:12:06.277Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T06:12:06.606Z] + git tag --points-at HEAD [Pipeline] } [2023-01-10T06:12:06.633Z] $ docker exec --env ******** --env ******** 4f8297d49562168285d176391ec67da5f9e8003b725fdd2c272d3414a9a4a939 ssh-agent -k [2023-01-10T06:12:06.735Z] unset SSH_AUTH_SOCK; [2023-01-10T06:12:06.735Z] unset SSH_AGENT_PID; [2023-01-10T06:12:06.735Z] echo Agent pid 39 killed; [2023-01-10T06:12:06.742Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-10T06:12:06.831Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T06:12:06.831Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T06:12:06.935Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T06:12:06.941Z] $ docker exec 4f8297d49562168285d176391ec67da5f9e8003b725fdd2c272d3414a9a4a939 ssh-agent [2023-01-10T06:12:07.037Z] SSH_AUTH_SOCK=/tmp/ssh-ZLJiLFvB6fts/agent.71 [2023-01-10T06:12:07.037Z] SSH_AGENT_PID=77 [2023-01-10T06:12:07.041Z] Running ssh-add (command line suppressed) [2023-01-10T06:12:07.134Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp/private_key_4319320365466803310.key (/w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp/private_key_4319320365466803310.key) [2023-01-10T06:12:07.148Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T06:12:07.474Z] + git semver init [2023-01-10T06:12:07.733Z] 2023-01-10 06:12:07,644 [run_init] DEBUG init version:0.0.0 force:False [2023-01-10T06:12:07.733Z] 2023-01-10 06:12:07,645 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1276/.semver [2023-01-10T06:12:07.733Z] 2023-01-10 06:12:07,645 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1276/.semver [2023-01-10T06:12:07.733Z] 2023-01-10 06:12:07,646 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1276/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1276, universal_newlines=False, shell=None, istream=None) [2023-01-10T06:12:08.675Z] 2023-01-10 06:12:08,603 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1276/.git/info/exclude [2023-01-10T06:12:08.675Z] 2023-01-10 06:12:08,604 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1276/.semver/PR-1276 with force:False [2023-01-10T06:12:08.675Z] 2023-01-10 06:12:08,604 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1276/.semver/PR-1276 [2023-01-10T06:12:08.675Z] 2023-01-10 06:12:08,608 [execute] INFO git cat-file --batch-check [2023-01-10T06:12:08.675Z] 2023-01-10 06:12:08,608 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1276/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T06:12:08.675Z] 2023-01-10 06:12:08,614 [execute] INFO git cat-file --batch [2023-01-10T06:12:08.675Z] 2023-01-10 06:12:08,615 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1276/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T06:12:08.675Z] 2023-01-10 06:12:08,620 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1276/.semver/PR-1276 [2023-01-10T06:12:08.675Z] 0.0.0 [Pipeline] } [2023-01-10T06:12:08.701Z] $ docker exec --env ******** --env ******** 4f8297d49562168285d176391ec67da5f9e8003b725fdd2c272d3414a9a4a939 ssh-agent -k [2023-01-10T06:12:08.806Z] unset SSH_AUTH_SOCK; [2023-01-10T06:12:08.807Z] unset SSH_AGENT_PID; [2023-01-10T06:12:08.807Z] echo Agent pid 77 killed; [2023-01-10T06:12:08.811Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-10T06:12:09.221Z] + git semver [Pipeline] } [2023-01-10T06:12:09.506Z] $ docker stop --time=1 4f8297d49562168285d176391ec67da5f9e8003b725fdd2c272d3414a9a4a939 [2023-01-10T06:12:10.843Z] $ docker rm -f --volumes 4f8297d49562168285d176391ec67da5f9e8003b725fdd2c272d3414a9a4a939 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T06:12:11.250Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-10T06:12:11.505Z] Stashed 1 file(s) [Pipeline] echo [2023-01-10T06:12:11.523Z] [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-01-10T06:12:12.104Z] provisioning config files... [2023-01-10T06:12:12.113Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp/config10823208059760660623tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T06:12:12.459Z] ---> docker-login.sh [2023-01-10T06:12:12.460Z] nexus3.edgexfoundry.org:10001 [2023-01-10T06:12:12.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T06:12:12.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T06:12:12.460Z] Configure a credential helper to remove this warning. See [2023-01-10T06:12:12.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T06:12:12.460Z] [2023-01-10T06:12:12.460Z] Login Succeeded [2023-01-10T06:12:12.460Z] nexus3.edgexfoundry.org:10002 [2023-01-10T06:12:12.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T06:12:12.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T06:12:12.460Z] Configure a credential helper to remove this warning. See [2023-01-10T06:12:12.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T06:12:12.460Z] [2023-01-10T06:12:12.460Z] Login Succeeded [2023-01-10T06:12:12.460Z] nexus3.edgexfoundry.org:10003 [2023-01-10T06:12:12.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T06:12:12.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T06:12:12.719Z] Configure a credential helper to remove this warning. See [2023-01-10T06:12:12.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T06:12:12.719Z] [2023-01-10T06:12:12.719Z] Login Succeeded [2023-01-10T06:12:12.719Z] nexus3.edgexfoundry.org:10004 [2023-01-10T06:12:12.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T06:12:12.719Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T06:12:12.719Z] Configure a credential helper to remove this warning. See [2023-01-10T06:12:12.719Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T06:12:12.719Z] [2023-01-10T06:12:12.719Z] Login Succeeded [2023-01-10T06:12:12.719Z] docker.io [2023-01-10T06:12:12.719Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T06:12:12.977Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T06:12:12.977Z] Configure a credential helper to remove this warning. See [2023-01-10T06:12:12.977Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T06:12:12.977Z] [2023-01-10T06:12:12.977Z] Login Succeeded [2023-01-10T06:12:12.977Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T06:12:13.004Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T06:12:13.206Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T06:12:13.241Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T06:12:13.276Z] ========================================================= [2023-01-10T06:12:13.276Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-10T06:12:13.276Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T06:12:13.741Z] + 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-01-10T06:12:13.741Z] Sending build context to Docker daemon 10.45MB [2023-01-10T06:12:13.741Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T06:12:13.741Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-10T06:12:14.005Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-10T06:12:14.005Z] 213ec9aee27d: Pulling fs layer [2023-01-10T06:12:14.005Z] 4583459ba037: Pulling fs layer [2023-01-10T06:12:14.005Z] 93c1e223e6f2: Pulling fs layer [2023-01-10T06:12:14.005Z] 53926ce57604: Pulling fs layer [2023-01-10T06:12:14.005Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-10T06:12:14.005Z] 22ff95d597cd: Pulling fs layer [2023-01-10T06:12:14.005Z] 12d6caf4c0d1: Pulling fs layer [2023-01-10T06:12:14.005Z] 96b7cbca73a9: Pulling fs layer [2023-01-10T06:12:14.005Z] a7acece74701: Pulling fs layer [2023-01-10T06:12:14.005Z] 53926ce57604: Waiting [2023-01-10T06:12:14.005Z] 21b2b0c7a3f4: Waiting [2023-01-10T06:12:14.005Z] 22ff95d597cd: Waiting [2023-01-10T06:12:14.005Z] 12d6caf4c0d1: Waiting [2023-01-10T06:12:14.005Z] 96b7cbca73a9: Waiting [2023-01-10T06:12:14.005Z] a7acece74701: Waiting [2023-01-10T06:12:14.005Z] 93c1e223e6f2: Verifying Checksum [2023-01-10T06:12:14.005Z] 93c1e223e6f2: Download complete [2023-01-10T06:12:14.005Z] 4583459ba037: Verifying Checksum [2023-01-10T06:12:14.005Z] 4583459ba037: Download complete [2023-01-10T06:12:14.005Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-10T06:12:14.005Z] 21b2b0c7a3f4: Download complete [2023-01-10T06:12:14.005Z] 22ff95d597cd: Verifying Checksum [2023-01-10T06:12:14.005Z] 22ff95d597cd: Download complete [2023-01-10T06:12:14.005Z] 213ec9aee27d: Verifying Checksum [2023-01-10T06:12:14.005Z] 213ec9aee27d: Download complete [2023-01-10T06:12:14.005Z] 12d6caf4c0d1: Verifying Checksum [2023-01-10T06:12:14.005Z] 12d6caf4c0d1: Download complete [2023-01-10T06:12:14.265Z] 213ec9aee27d: Pull complete [2023-01-10T06:12:14.265Z] 4583459ba037: Pull complete [2023-01-10T06:12:14.265Z] 93c1e223e6f2: Pull complete [2023-01-10T06:12:15.198Z] a7acece74701: Download complete [2023-01-10T06:12:15.198Z] 53926ce57604: Verifying Checksum [2023-01-10T06:12:15.198Z] 53926ce57604: Download complete [2023-01-10T06:12:15.198Z] 96b7cbca73a9: Verifying Checksum [2023-01-10T06:12:15.198Z] 96b7cbca73a9: Download complete [2023-01-10T06:12:19.380Z] 53926ce57604: Pull complete [2023-01-10T06:12:19.380Z] 21b2b0c7a3f4: Pull complete [2023-01-10T06:12:19.380Z] 22ff95d597cd: Pull complete [2023-01-10T06:12:19.380Z] 12d6caf4c0d1: Pull complete [2023-01-10T06:12:21.907Z] 96b7cbca73a9: Pull complete [2023-01-10T06:12:22.474Z] a7acece74701: Pull complete [2023-01-10T06:12:22.474Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-10T06:12:22.474Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-10T06:12:22.474Z] ---> db6d94c90886 [2023-01-10T06:12:22.474Z] Step 3/10 : ARG MAKE=make build [2023-01-10T06:12:26.667Z] ---> Running in c8e085b710ae [2023-01-10T06:12:26.667Z] Removing intermediate container c8e085b710ae [2023-01-10T06:12:26.667Z] ---> 02b3b68ff388 [2023-01-10T06:12:26.667Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-10T06:12:26.667Z] ---> Running in 3807f0b2ebf4 [2023-01-10T06:12:26.924Z] Removing intermediate container 3807f0b2ebf4 [2023-01-10T06:12:26.924Z] ---> 65391c9fc41a [2023-01-10T06:12:26.924Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-10T06:12:26.924Z] ---> Running in d67608969356 [2023-01-10T06:12:26.924Z] Removing intermediate container d67608969356 [2023-01-10T06:12:26.924Z] ---> 080ef1e90a75 [2023-01-10T06:12:26.924Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-10T06:12:26.924Z] ---> Running in 68fd74339a6a [2023-01-10T06:12:26.926Z] Still waiting to schedule task [2023-01-10T06:12:26.926Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-10T06:12:27.183Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T06:12:27.442Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T06:12:27.700Z] OK: 211 MiB in 51 packages [2023-01-10T06:12:28.267Z] Removing intermediate container 68fd74339a6a [2023-01-10T06:12:28.267Z] ---> c68d237d2ff2 [2023-01-10T06:12:28.267Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-10T06:12:28.267Z] ---> b92a2d9d0d98 [2023-01-10T06:12:28.267Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T06:12:28.267Z] ---> Running in 3396352c88fc [2023-01-10T06:12:54.817Z] Removing intermediate container 3396352c88fc [2023-01-10T06:12:54.817Z] ---> 3b4bf768e44a [2023-01-10T06:12:54.817Z] Step 9/10 : COPY . . [2023-01-10T06:12:54.817Z] ---> eb9dbfafcaac [2023-01-10T06:12:54.817Z] Step 10/10 : RUN ${MAKE} [2023-01-10T06:12:54.817Z] ---> Running in 07820ac1d429 [2023-01-10T06:12:54.817Z] noop [2023-01-10T06:12:55.077Z] Removing intermediate container 07820ac1d429 [2023-01-10T06:12:55.077Z] ---> 00bec867c1c8 [2023-01-10T06:12:55.077Z] Successfully built 00bec867c1c8 [2023-01-10T06:12:55.077Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T06:12:55.528Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T06:12:55.528Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T06:12:55.675Z] prd-ubuntu20.04-docker-8c-8g-1544 does not seem to be running inside a container [2023-01-10T06:12:55.705Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1276 -v /w/workspace/gexfoundry_device-sdk-go_PR-1276:/w/workspace/gexfoundry_device-sdk-go_PR-1276:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-10T06:12:56.071Z] $ docker top 8aa74acbc772771121b3384d957023d29c19c0430394d6d5d042c1b09c19ec9c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T06:12:56.461Z] + go version [2023-01-10T06:12:56.461Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-10T06:12:56.494Z] $ docker stop --time=1 8aa74acbc772771121b3384d957023d29c19c0430394d6d5d042c1b09c19ec9c [2023-01-10T06:12:57.810Z] $ docker rm -f --volumes 8aa74acbc772771121b3384d957023d29c19c0430394d6d5d042c1b09c19ec9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T06:12:58.505Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T06:12:58.505Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T06:12:58.669Z] prd-ubuntu20.04-docker-8c-8g-1544 does not seem to be running inside a container [2023-01-10T06:12:58.705Z] $ 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-1276 -v /w/workspace/gexfoundry_device-sdk-go_PR-1276:/w/workspace/gexfoundry_device-sdk-go_PR-1276:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-10T06:12:59.091Z] $ docker top ea820d1bb5ea1b1c81fccd860723009d2a77a4c73ec0223fc687ac4e00b0367e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T06:12:59.478Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1276 [Pipeline] fileExists [Pipeline] sh [2023-01-10T06:12:59.845Z] + make test [2023-01-10T06:12:59.845Z] go test -race -coverprofile=coverage.out ./... [2023-01-10T06:13:06.415Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-10T06:13:21.295Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-10T06:13:21.295Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-10T06:13:21.295Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-10T06:13:21.295Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-10T06:13:21.295Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-10T06:13:21.295Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.070s coverage: 27.6% of statements [2023-01-10T06:13:21.295Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.087s coverage: 78.9% of statements [2023-01-10T06:13:21.295Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-10T06:13:21.295Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.096s coverage: 73.1% of statements [2023-01-10T06:13:21.295Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-10T06:13:21.295Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-10T06:13:21.295Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.116s coverage: 60.6% of statements [2023-01-10T06:13:21.295Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-10T06:13:21.295Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-10T06:13:21.295Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-10T06:13:21.295Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-10T06:13:21.295Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.094s coverage: 65.1% of statements [2023-01-10T06:13:21.295Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-10T06:13:21.295Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-10T06:13:21.295Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.757s coverage: 89.2% of statements [2023-01-10T06:13:21.295Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-10T06:13:21.295Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.067s coverage: 4.6% of statements [2023-01-10T06:13:21.295Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-10T06:13:39.387Z] 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-01-10T06:13:39.387Z] GO111MODULE=on go vet ./... [2023-01-10T06:13:41.920Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T06:13:41.920Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T06:13:41.920Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T06:13:41.956Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T06:13:41.993Z] $ docker stop --time=1 ea820d1bb5ea1b1c81fccd860723009d2a77a4c73ec0223fc687ac4e00b0367e [2023-01-10T06:13:46.167Z] $ docker rm -f --volumes ea820d1bb5ea1b1c81fccd860723009d2a77a4c73ec0223fc687ac4e00b0367e [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T06:13:46.737Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T06:13:46.832Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-10T06:13:47.509Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T06:13:47.822Z] + ls -al . [2023-01-10T06:13:47.822Z] total 280 [2023-01-10T06:13:47.822Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 06:12 . [2023-01-10T06:13:47.822Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 06:11 .. [2023-01-10T06:13:47.822Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 10 06:11 .dockerignore [2023-01-10T06:13:47.822Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 06:13 .git [2023-01-10T06:13:47.822Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 06:11 .github [2023-01-10T06:13:47.822Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 10 06:11 .gitignore [2023-01-10T06:13:47.822Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 10 06:11 .golangci.yml [2023-01-10T06:13:47.822Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 06:12 .semver [2023-01-10T06:13:47.822Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 10 06:11 CHANGELOG.md [2023-01-10T06:13:47.822Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 06:11 GOVERNANCE.md [2023-01-10T06:13:47.822Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 10 06:11 Jenkinsfile [2023-01-10T06:13:47.822Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 10 06:11 LICENSE [2023-01-10T06:13:47.822Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 10 06:11 Makefile [2023-01-10T06:13:47.822Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 10 06:11 OWNERS.md [2023-01-10T06:13:47.822Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 10 06:11 README.md [2023-01-10T06:13:47.822Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 06:12 VERSION [2023-01-10T06:13:47.822Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 06:11 bin [2023-01-10T06:13:47.822Z] -rw-r--r-- 1 jenkins jenkins 100830 Jan 10 06:13 coverage.out [2023-01-10T06:13:47.822Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 10 06:11 example [2023-01-10T06:13:47.822Z] -rw-rw-r-- 1 jenkins jenkins 3342 Jan 10 06:11 go.mod [2023-01-10T06:13:47.822Z] -rw-rw-r-- 1 jenkins jenkins 44555 Jan 10 06:11 go.sum [2023-01-10T06:13:47.822Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 10 06:11 internal [2023-01-10T06:13:47.822Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 06:11 openapi [2023-01-10T06:13:47.822Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 10 06:11 pkg [2023-01-10T06:13:47.822Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 06:11 snap [2023-01-10T06:13:47.822Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 10 06:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T06:13:48.201Z] + 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=6a7a60cf858b527f90a237d655849bdfd65bddba --label arch=amd64 --label version=0.0.0 . [2023-01-10T06:13:48.202Z] Sending build context to Docker daemon 10.55MB [2023-01-10T06:13:48.202Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T06:13:48.202Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-10T06:13:48.202Z] ---> 00bec867c1c8 [2023-01-10T06:13:48.202Z] Step 3/23 : ARG MAKE=make build [2023-01-10T06:13:48.461Z] ---> Running in 83282a68c453 [2023-01-10T06:13:48.722Z] Removing intermediate container 83282a68c453 [2023-01-10T06:13:48.722Z] ---> ee53866bf79f [2023-01-10T06:13:48.722Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-10T06:13:48.722Z] ---> Running in 3a37a946a99d [2023-01-10T06:13:48.722Z] Removing intermediate container 3a37a946a99d [2023-01-10T06:13:48.722Z] ---> 482c797aed0a [2023-01-10T06:13:48.722Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-10T06:13:48.722Z] ---> Running in 84bdbd782c54 [2023-01-10T06:13:48.722Z] Removing intermediate container 84bdbd782c54 [2023-01-10T06:13:48.722Z] ---> 006df3903b92 [2023-01-10T06:13:48.722Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-10T06:13:48.980Z] ---> Running in f2b23a468678 [2023-01-10T06:13:49.239Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T06:13:49.239Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T06:13:49.497Z] OK: 211 MiB in 51 packages [2023-01-10T06:13:50.068Z] Removing intermediate container f2b23a468678 [2023-01-10T06:13:50.068Z] ---> bf20d0de57cf [2023-01-10T06:13:50.068Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-10T06:13:50.068Z] ---> 0b144aebb3af [2023-01-10T06:13:50.068Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T06:13:50.068Z] ---> Running in 21153b66d408 [2023-01-10T06:13:50.635Z] Removing intermediate container 21153b66d408 [2023-01-10T06:13:50.635Z] ---> 2ea76f4655a5 [2023-01-10T06:13:50.635Z] Step 9/23 : COPY . . [2023-01-10T06:13:51.572Z] ---> a3daf3e4a085 [2023-01-10T06:13:51.572Z] Step 10/23 : RUN ${MAKE} [2023-01-10T06:13:51.572Z] ---> Running in 3790343419ad [2023-01-10T06:13:51.572Z] 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-01-10T06:14:00.032Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1545 in /w/workspace/gexfoundry_device-sdk-go_PR-1276 [Pipeline] { [Pipeline] ws [2023-01-10T06:14:00.085Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-01-10T06:14:00.160Z] The recommended git tool is: git [2023-01-10T06:14:05.452Z] using credential edgex-jenkins-ssh [2023-01-10T06:14:05.471Z] Cloning the remote Git repository [2023-01-10T06:14:05.526Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-01-10T06:14:05.604Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-01-10T06:14:05.774Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-10T06:14:05.775Z] > git --version # timeout=10 [2023-01-10T06:14:05.802Z] > git --version # 'git version 2.25.1' [2023-01-10T06:14:05.803Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T06:14:05.865Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T06:14:07.393Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-10T06:14:07.419Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T06:14:08.313Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-10T06:14:08.361Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-10T06:14:08.361Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T06:14:08.378Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1276/head:refs/remotes/origin/PR-1276 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-10T06:14:09.024Z] Merging remotes/origin/main commit 8025d415256bff1d08fe37ed408de885b1f3053d into PR head commit 6a7a60cf858b527f90a237d655849bdfd65bddba [2023-01-10T06:14:09.289Z] Merge succeeded, producing 6a7a60cf858b527f90a237d655849bdfd65bddba [2023-01-10T06:14:09.290Z] Checking out Revision 6a7a60cf858b527f90a237d655849bdfd65bddba (PR-1276) [2023-01-10T06:14:09.042Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T06:14:09.070Z] > git checkout -f 6a7a60cf858b527f90a237d655849bdfd65bddba # timeout=10 [2023-01-10T06:14:09.188Z] > git remote # timeout=10 [2023-01-10T06:14:09.208Z] > git config --get remote.origin.url # timeout=10 [2023-01-10T06:14:09.226Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T06:14:09.241Z] > git merge 8025d415256bff1d08fe37ed408de885b1f3053d # timeout=10 [2023-01-10T06:14:09.268Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-10T06:14:09.296Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T06:14:09.312Z] > git checkout -f 6a7a60cf858b527f90a237d655849bdfd65bddba # timeout=10 [2023-01-10T06:14:12.842Z] Commit message: "feat!: replace REST device callbacks with System Events" [2023-01-10T06:14:12.892Z] > git --version # timeout=10 [2023-01-10T06:14:12.904Z] > git --version # 'git version 2.25.1' [2023-01-10T06:14:12.923Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [2023-01-10T06:14:13.508Z] Removing intermediate container 3790343419ad [2023-01-10T06:14:13.508Z] ---> 93984104cc74 [2023-01-10T06:14:13.508Z] Step 11/23 : FROM alpine:3.16 [2023-01-10T06:14:13.508Z] 3.16: Pulling from library/alpine [2023-01-10T06:14:13.508Z] ca7dd9ec2225: Pulling fs layer [2023-01-10T06:14:13.508Z] ca7dd9ec2225: Verifying Checksum [2023-01-10T06:14:13.508Z] ca7dd9ec2225: Download complete [2023-01-10T06:14:13.508Z] ca7dd9ec2225: Pull complete [2023-01-10T06:14:13.508Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-10T06:14:13.508Z] Status: Downloaded newer image for alpine:3.16 [2023-01-10T06:14:13.508Z] ---> bfe296a52501 [2023-01-10T06:14:13.508Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-10T06:14:13.508Z] ---> Running in 32f99590ae9c [2023-01-10T06:14:13.508Z] Removing intermediate container 32f99590ae9c [2023-01-10T06:14:13.508Z] ---> 9e3e2c76b0a5 [2023-01-10T06:14:13.508Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-10T06:14:13.508Z] ---> Running in 335f57ba8404 [2023-01-10T06:14:13.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T06:14:13.509Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [Pipeline] sh [2023-01-10T06:14:13.768Z] OK: 6 MiB in 14 packages [2023-01-10T06:14:14.027Z] Removing intermediate container 335f57ba8404 [2023-01-10T06:14:14.027Z] ---> 8d054f298e93 [2023-01-10T06:14:14.027Z] Step 14/23 : WORKDIR / [2023-01-10T06:14:14.029Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-10T06:14:14.029Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T06:14:14.029Z] Dload Upload Total Spent Left Speed [2023-01-10T06:14:14.029Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 79693 0 --:--:-- --:--:-- --:--:-- 80194 [2023-01-10T06:14:14.285Z] ---> Running in cc609f15b0c2 [2023-01-10T06:14:14.286Z] Removing intermediate container cc609f15b0c2 [2023-01-10T06:14:14.286Z] ---> 8af93c091d54 [2023-01-10T06:14:14.286Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-10T06:14:14.544Z] ---> 21d0dad97da0 [2023-01-10T06:14:14.544Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [Pipeline] sh [2023-01-10T06:14:14.901Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-10T06:14:15.113Z] ---> 32100f8a9054 [2023-01-10T06:14:15.113Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-10T06:14:15.271Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-10T06:14:15.271Z] + sudo tee /etc/docker/daemon.new [2023-01-10T06:14:15.271Z] { [2023-01-10T06:14:15.271Z] "registry-mirrors": [ [2023-01-10T06:14:15.271Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-10T06:14:15.271Z] ], [2023-01-10T06:14:15.271Z] "bip": "10.250.0.254/24", [2023-01-10T06:14:15.271Z] "hosts": [ [2023-01-10T06:14:15.271Z] "tcp://0.0.0.0:5555", [2023-01-10T06:14:15.271Z] "unix:///var/run/docker.sock" [2023-01-10T06:14:15.271Z] ], [2023-01-10T06:14:15.271Z] "mtu": 1458, [2023-01-10T06:14:15.271Z] "selinux-enabled": true, [2023-01-10T06:14:15.271Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-10T06:14:15.271Z] } [Pipeline] sh [2023-01-10T06:14:15.373Z] ---> 4c9d1cda3e54 [2023-01-10T06:14:15.373Z] Step 18/23 : EXPOSE 59999 [2023-01-10T06:14:15.373Z] ---> Running in b837f0df951f [2023-01-10T06:14:15.373Z] Removing intermediate container b837f0df951f [2023-01-10T06:14:15.373Z] ---> e1fe9aca254f [2023-01-10T06:14:15.373Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-10T06:14:15.373Z] ---> Running in 66d1f6e2293f [2023-01-10T06:14:15.632Z] Removing intermediate container 66d1f6e2293f [2023-01-10T06:14:15.632Z] ---> ec5ca3942734 [2023-01-10T06:14:15.632Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-10T06:14:15.632Z] ---> Running in c6a6a0a677e8 [2023-01-10T06:14:15.632Z] Removing intermediate container c6a6a0a677e8 [2023-01-10T06:14:15.632Z] ---> 40afd3f68b0e [2023-01-10T06:14:15.632Z] Step 21/23 : LABEL arch=amd64 [2023-01-10T06:14:15.632Z] ---> Running in a2c37b888eb9 [2023-01-10T06:14:15.632Z] Removing intermediate container a2c37b888eb9 [2023-01-10T06:14:15.632Z] ---> 16968efc657d [2023-01-10T06:14:15.632Z] Step 22/23 : LABEL git_sha=6a7a60cf858b527f90a237d655849bdfd65bddba [2023-01-10T06:14:15.632Z] ---> Running in b3958083ea1a [2023-01-10T06:14:15.644Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-10T06:14:15.891Z] Removing intermediate container b3958083ea1a [2023-01-10T06:14:15.891Z] ---> 8780b715dbed [2023-01-10T06:14:15.891Z] Step 23/23 : LABEL version=0.0.0 [2023-01-10T06:14:15.891Z] ---> Running in b5f0c1718728 [2023-01-10T06:14:15.891Z] Removing intermediate container b5f0c1718728 [2023-01-10T06:14:15.891Z] ---> a8549d2d90cb [2023-01-10T06:14:15.891Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T06:14:15.891Z] Successfully built a8549d2d90cb [2023-01-10T06:14:15.891Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [2023-01-10T06:14:15.997Z] + sudo service docker restart [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-01-10T06:14:16.709Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T06:14:16.709Z] [2023-01-10T06:14:16.709Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T06:14:17.091Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T06:14:17.091Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-10T06:14:17.091Z] 5eb5b503b376: Pulling fs layer [2023-01-10T06:14:17.091Z] 5c69ac0246d0: Pulling fs layer [2023-01-10T06:14:17.091Z] ec43610c2a17: Pulling fs layer [2023-01-10T06:14:17.091Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-10T06:14:17.091Z] 33b1e0a273af: Pulling fs layer [2023-01-10T06:14:17.091Z] 5d3b04190fa2: Pulling fs layer [2023-01-10T06:14:17.091Z] 2f39f015ded8: Pulling fs layer [2023-01-10T06:14:17.091Z] 3a2ae6a8a46f: Waiting [2023-01-10T06:14:17.091Z] 33b1e0a273af: Waiting [2023-01-10T06:14:17.091Z] 5d3b04190fa2: Waiting [2023-01-10T06:14:17.091Z] 5c69ac0246d0: Download complete [2023-01-10T06:14:17.091Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-10T06:14:17.351Z] 33b1e0a273af: Verifying Checksum [2023-01-10T06:14:17.351Z] 33b1e0a273af: Download complete [2023-01-10T06:14:17.351Z] 5d3b04190fa2: Verifying Checksum [2023-01-10T06:14:17.351Z] 5d3b04190fa2: Download complete [2023-01-10T06:14:17.351Z] ec43610c2a17: Verifying Checksum [2023-01-10T06:14:17.351Z] ec43610c2a17: Download complete [2023-01-10T06:14:17.351Z] 5eb5b503b376: Download complete [2023-01-10T06:14:17.920Z] 2f39f015ded8: Download complete [2023-01-10T06:14:18.856Z] 5eb5b503b376: Pull complete [2023-01-10T06:14:18.856Z] 5c69ac0246d0: Pull complete [2023-01-10T06:14:19.422Z] ec43610c2a17: Pull complete [2023-01-10T06:14:19.422Z] 3a2ae6a8a46f: Pull complete [2023-01-10T06:14:19.681Z] 33b1e0a273af: Pull complete [2023-01-10T06:14:19.940Z] 5d3b04190fa2: Pull complete [2023-01-10T06:14:25.207Z] 2f39f015ded8: Pull complete [2023-01-10T06:14:25.207Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-10T06:14:25.207Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T06:14:25.207Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T06:14:25.436Z] prd-ubuntu20.04-docker-8c-8g-1544 does not seem to be running inside a container [2023-01-10T06:14:25.464Z] $ 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-1276 -v /w/workspace/gexfoundry_device-sdk-go_PR-1276:/w/workspace/gexfoundry_device-sdk-go_PR-1276:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-10T06:14:29.293Z] $ docker top 014fd20cb8c28c5c03d8617461df656edb038efcfc76f83ff8d16964cacbf36e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T06:14:29.767Z] ---> job-cost.sh [2023-01-10T06:14:29.768Z] lf-activate-venv: SKIPPING [2023-01-10T06:14:29.768Z] INFO: No Stack... [2023-01-10T06:14:30.336Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T06:14:30.596Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T06:14:30.907Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1276/archives/cost.csv [2023-01-10T06:14:30.907Z] + cut -d, -f6 [Pipeline] lock [2023-01-10T06:14:30.952Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1276-1-stack-cost] [2023-01-10T06:14:30.957Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1276-1-stack-cost] did not exist. Created. [2023-01-10T06:14:30.958Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1276-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T06:14:31.363Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-10T06:14:31.426Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T06:14:31.459Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1276-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T06:14:31.539Z] $ docker stop --time=1 014fd20cb8c28c5c03d8617461df656edb038efcfc76f83ff8d16964cacbf36e [2023-01-10T06:14:32.712Z] $ docker rm -f --volumes 014fd20cb8c28c5c03d8617461df656edb038efcfc76f83ff8d16964cacbf36e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T06:14:34.346Z] provisioning config files... [2023-01-10T06:14:34.377Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config7489218332975927210tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T06:14:34.771Z] ---> docker-login.sh [2023-01-10T06:14:34.771Z] nexus3.edgexfoundry.org:10001 [2023-01-10T06:14:35.045Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T06:14:35.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T06:14:35.317Z] Configure a credential helper to remove this warning. See [2023-01-10T06:14:35.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T06:14:35.317Z] [2023-01-10T06:14:35.317Z] Login Succeeded [2023-01-10T06:14:35.317Z] nexus3.edgexfoundry.org:10002 [2023-01-10T06:14:35.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T06:14:35.856Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T06:14:35.856Z] Configure a credential helper to remove this warning. See [2023-01-10T06:14:35.856Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T06:14:35.856Z] [2023-01-10T06:14:35.856Z] Login Succeeded [2023-01-10T06:14:35.856Z] nexus3.edgexfoundry.org:10003 [2023-01-10T06:14:36.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T06:14:36.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T06:14:36.127Z] Configure a credential helper to remove this warning. See [2023-01-10T06:14:36.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T06:14:36.127Z] [2023-01-10T06:14:36.127Z] Login Succeeded [2023-01-10T06:14:36.127Z] nexus3.edgexfoundry.org:10004 [2023-01-10T06:14:36.400Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T06:14:36.400Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T06:14:36.400Z] Configure a credential helper to remove this warning. See [2023-01-10T06:14:36.400Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T06:14:36.400Z] [2023-01-10T06:14:36.400Z] Login Succeeded [2023-01-10T06:14:36.400Z] docker.io [2023-01-10T06:14:36.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T06:14:36.935Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T06:14:36.935Z] Configure a credential helper to remove this warning. See [2023-01-10T06:14:36.935Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T06:14:36.935Z] [2023-01-10T06:14:36.935Z] Login Succeeded [2023-01-10T06:14:36.935Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T06:14:36.965Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T06:14:37.340Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T06:14:37.377Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T06:14:37.415Z] ========================================================= [2023-01-10T06:14:37.415Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-10T06:14:37.415Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T06:14:37.913Z] + 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-01-10T06:14:38.181Z] Sending build context to Docker daemon 5.632MB [2023-01-10T06:14:38.181Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T06:14:38.181Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-10T06:14:38.459Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-10T06:14:38.459Z] 9b18e9b68314: Pulling fs layer [2023-01-10T06:14:38.459Z] 35d82f9e3411: Pulling fs layer [2023-01-10T06:14:38.459Z] e16973657156: Pulling fs layer [2023-01-10T06:14:38.459Z] fc693d55d65f: Pulling fs layer [2023-01-10T06:14:38.459Z] 7e9fc2657dce: Pulling fs layer [2023-01-10T06:14:38.459Z] dda99020689f: Pulling fs layer [2023-01-10T06:14:38.459Z] fc693d55d65f: Waiting [2023-01-10T06:14:38.459Z] 7e9fc2657dce: Waiting [2023-01-10T06:14:38.459Z] db1c61fa0a46: Pulling fs layer [2023-01-10T06:14:38.459Z] 891c053d2c06: Pulling fs layer [2023-01-10T06:14:38.459Z] db1c61fa0a46: Waiting [2023-01-10T06:14:38.459Z] 891c053d2c06: Waiting [2023-01-10T06:14:38.459Z] dda99020689f: Waiting [2023-01-10T06:14:38.459Z] e16973657156: Verifying Checksum [2023-01-10T06:14:38.459Z] e16973657156: Download complete [2023-01-10T06:14:38.459Z] 35d82f9e3411: Verifying Checksum [2023-01-10T06:14:38.459Z] 35d82f9e3411: Download complete [2023-01-10T06:14:38.459Z] 7e9fc2657dce: Download complete [2023-01-10T06:14:38.459Z] dda99020689f: Download complete [2023-01-10T06:14:38.459Z] 9b18e9b68314: Verifying Checksum [2023-01-10T06:14:38.459Z] 9b18e9b68314: Download complete [2023-01-10T06:14:39.425Z] 9b18e9b68314: Pull complete [2023-01-10T06:14:39.696Z] 891c053d2c06: Verifying Checksum [2023-01-10T06:14:39.696Z] 891c053d2c06: Download complete [2023-01-10T06:14:40.684Z] db1c61fa0a46: Verifying Checksum [2023-01-10T06:14:40.684Z] db1c61fa0a46: Download complete [2023-01-10T06:14:41.274Z] fc693d55d65f: Verifying Checksum [2023-01-10T06:14:41.274Z] fc693d55d65f: Download complete [2023-01-10T06:14:42.691Z] 35d82f9e3411: Pull complete [2023-01-10T06:14:42.691Z] e16973657156: Pull complete [2023-01-10T06:14:57.713Z] fc693d55d65f: Pull complete [2023-01-10T06:14:57.713Z] 7e9fc2657dce: Pull complete [2023-01-10T06:14:57.713Z] dda99020689f: Pull complete [2023-01-10T06:15:01.076Z] db1c61fa0a46: Pull complete [2023-01-10T06:15:03.029Z] 891c053d2c06: Pull complete [2023-01-10T06:15:03.029Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-10T06:15:03.029Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-10T06:15:03.029Z] ---> f96f9c87975a [2023-01-10T06:15:03.029Z] Step 3/10 : ARG MAKE=make build [2023-01-10T06:15:04.973Z] ---> Running in 67a512662ec5 [2023-01-10T06:15:04.973Z] Removing intermediate container 67a512662ec5 [2023-01-10T06:15:04.973Z] ---> cd2c941ab623 [2023-01-10T06:15:04.973Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-10T06:15:04.973Z] ---> Running in b5428774fd50 [2023-01-10T06:15:05.557Z] Removing intermediate container b5428774fd50 [2023-01-10T06:15:05.557Z] ---> 26ce45a6761f [2023-01-10T06:15:05.557Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-10T06:15:05.557Z] ---> Running in b448e1ade5fe [2023-01-10T06:15:05.829Z] Removing intermediate container b448e1ade5fe [2023-01-10T06:15:05.829Z] ---> a75d90468020 [2023-01-10T06:15:05.829Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-10T06:15:05.829Z] ---> Running in baec0a635b43 [2023-01-10T06:15:07.243Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T06:15:07.243Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T06:15:08.655Z] OK: 221 MiB in 51 packages [2023-01-10T06:15:09.240Z] Removing intermediate container baec0a635b43 [2023-01-10T06:15:09.240Z] ---> ea55df7b1dd3 [2023-01-10T06:15:09.240Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-10T06:15:09.826Z] ---> bc002bc12620 [2023-01-10T06:15:09.826Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T06:15:09.826Z] ---> Running in 4d438b3cf573 [2023-01-10T06:16:06.277Z] Removing intermediate container 4d438b3cf573 [2023-01-10T06:16:06.277Z] ---> 614d071223b0 [2023-01-10T06:16:06.277Z] Step 9/10 : COPY . . [2023-01-10T06:16:06.277Z] ---> 9313ab6ade84 [2023-01-10T06:16:06.277Z] Step 10/10 : RUN ${MAKE} [2023-01-10T06:16:06.277Z] ---> Running in 14a232b88dc1 [2023-01-10T06:16:06.277Z] noop [2023-01-10T06:16:06.277Z] Removing intermediate container 14a232b88dc1 [2023-01-10T06:16:06.277Z] ---> 648d74544e60 [2023-01-10T06:16:06.277Z] Successfully built 648d74544e60 [2023-01-10T06:16:06.277Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T06:16:06.768Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T06:16:06.768Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T06:16:07.033Z] prd-ubuntu20.04-docker-arm64-4c-16g-1545 does not seem to be running inside a container [2023-01-10T06:16:07.100Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-10T06:16:08.313Z] $ docker top b2728a79040f57d54ba0cef119c165c4edbe3012a681db0f6d55d739344fb2d0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T06:16:09.207Z] + go version [2023-01-10T06:16:09.207Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-10T06:16:09.238Z] $ docker stop --time=1 b2728a79040f57d54ba0cef119c165c4edbe3012a681db0f6d55d739344fb2d0 [2023-01-10T06:16:10.868Z] $ docker rm -f --volumes b2728a79040f57d54ba0cef119c165c4edbe3012a681db0f6d55d739344fb2d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T06:16:11.700Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T06:16:11.700Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T06:16:11.953Z] prd-ubuntu20.04-docker-arm64-4c-16g-1545 does not seem to be running inside a container [2023-01-10T06:16:12.014Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-10T06:16:13.148Z] $ docker top 3efbf43ace9468dd67e03c083849e89e83001bbee7b915d78df83f0a088bc5c4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T06:16:13.781Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-10T06:16:14.165Z] + make test [2023-01-10T06:16:14.165Z] go test -race -coverprofile=coverage.out ./... [2023-01-10T06:16:46.403Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-10T06:18:23.094Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-10T06:18:23.094Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-10T06:18:23.094Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-10T06:18:23.094Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-10T06:18:23.094Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-10T06:18:29.741Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.349s coverage: 27.6% of statements [2023-01-10T06:18:31.165Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.498s coverage: 78.9% of statements [2023-01-10T06:18:31.165Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-10T06:18:39.404Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.689s coverage: 73.1% of statements [2023-01-10T06:18:39.404Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-10T06:18:39.404Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-10T06:18:42.745Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.648s coverage: 60.6% of statements [2023-01-10T06:18:42.745Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-10T06:18:42.745Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-10T06:18:42.745Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-10T06:18:42.745Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-10T06:18:43.329Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.419s coverage: 65.1% of statements [2023-01-10T06:18:43.329Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-10T06:18:43.329Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-10T06:18:43.329Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 4.702s coverage: 89.2% of statements [2023-01-10T06:18:43.329Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-10T06:18:43.330Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.662s coverage: 4.6% of statements [2023-01-10T06:18:43.330Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-10T06:18:44.293Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-10T06:18:44.293Z] GO111MODULE=on go vet ./... [2023-01-10T06:20:20.964Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T06:20:20.964Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T06:20:20.964Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T06:20:21.006Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T06:20:21.034Z] $ docker stop --time=1 3efbf43ace9468dd67e03c083849e89e83001bbee7b915d78df83f0a088bc5c4 [2023-01-10T06:20:22.885Z] $ docker rm -f --volumes 3efbf43ace9468dd67e03c083849e89e83001bbee7b915d78df83f0a088bc5c4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T06:20:24.263Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T06:20:24.303Z] Warning: overwriting stash ‘coverage-report’ [2023-01-10T06:20:24.846Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T06:20:25.466Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T06:20:25.819Z] + ls -al . [2023-01-10T06:20:25.820Z] total 276 [2023-01-10T06:20:25.820Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 06:16 . [2023-01-10T06:20:25.820Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 06:14 .. [2023-01-10T06:20:25.820Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 10 06:14 .dockerignore [2023-01-10T06:20:25.820Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 06:14 .git [2023-01-10T06:20:25.820Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 06:14 .github [2023-01-10T06:20:25.820Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 10 06:14 .gitignore [2023-01-10T06:20:25.820Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 10 06:14 .golangci.yml [2023-01-10T06:20:25.820Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 10 06:14 CHANGELOG.md [2023-01-10T06:20:25.820Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 06:14 GOVERNANCE.md [2023-01-10T06:20:25.820Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 10 06:14 Jenkinsfile [2023-01-10T06:20:25.820Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 10 06:14 LICENSE [2023-01-10T06:20:25.820Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 10 06:14 Makefile [2023-01-10T06:20:25.820Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 10 06:14 OWNERS.md [2023-01-10T06:20:25.820Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 10 06:14 README.md [2023-01-10T06:20:25.820Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 06:12 VERSION [2023-01-10T06:20:25.820Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 06:14 bin [2023-01-10T06:20:25.820Z] -rw-r--r-- 1 jenkins jenkins 100830 Jan 10 06:18 coverage.out [2023-01-10T06:20:25.820Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 10 06:14 example [2023-01-10T06:20:25.820Z] -rw-rw-r-- 1 jenkins jenkins 3342 Jan 10 06:14 go.mod [2023-01-10T06:20:25.820Z] -rw-rw-r-- 1 jenkins jenkins 44555 Jan 10 06:14 go.sum [2023-01-10T06:20:25.820Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 10 06:14 internal [2023-01-10T06:20:25.820Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 06:14 openapi [2023-01-10T06:20:25.820Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 10 06:14 pkg [2023-01-10T06:20:25.820Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 06:14 snap [2023-01-10T06:20:25.820Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 10 06:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T06:20:26.232Z] + 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=6a7a60cf858b527f90a237d655849bdfd65bddba --label arch=arm64 --label version=0.0.0 . [2023-01-10T06:20:26.499Z] Sending build context to Docker daemon 5.733MB [2023-01-10T06:20:26.767Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T06:20:26.767Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-10T06:20:26.767Z] ---> 648d74544e60 [2023-01-10T06:20:26.767Z] Step 3/23 : ARG MAKE=make build [2023-01-10T06:20:26.767Z] ---> Running in 55899e05df24 [2023-01-10T06:20:27.038Z] Removing intermediate container 55899e05df24 [2023-01-10T06:20:27.038Z] ---> c974b575b044 [2023-01-10T06:20:27.038Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-10T06:20:27.306Z] ---> Running in f616d490ddd9 [2023-01-10T06:20:27.575Z] Removing intermediate container f616d490ddd9 [2023-01-10T06:20:27.575Z] ---> 935397fa999d [2023-01-10T06:20:27.575Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-10T06:20:27.575Z] ---> Running in 09a0dc65af0e [2023-01-10T06:20:27.844Z] Removing intermediate container 09a0dc65af0e [2023-01-10T06:20:27.844Z] ---> 028a013103d2 [2023-01-10T06:20:27.844Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-10T06:20:28.112Z] ---> Running in f14bd6e55396 [2023-01-10T06:20:29.069Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T06:20:29.339Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T06:20:30.306Z] OK: 221 MiB in 51 packages [2023-01-10T06:20:32.951Z] Removing intermediate container f14bd6e55396 [2023-01-10T06:20:32.951Z] ---> 98ff46c80d87 [2023-01-10T06:20:32.951Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-10T06:20:33.540Z] ---> 5c246b7e2b26 [2023-01-10T06:20:33.540Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T06:20:33.540Z] ---> Running in 02dd9f7a100c [2023-01-10T06:20:35.489Z] Removing intermediate container 02dd9f7a100c [2023-01-10T06:20:35.489Z] ---> 449778eeada7 [2023-01-10T06:20:35.489Z] Step 9/23 : COPY . . [2023-01-10T06:20:36.896Z] ---> ec9b0500ba44 [2023-01-10T06:20:36.896Z] Step 10/23 : RUN ${MAKE} [2023-01-10T06:20:36.896Z] ---> Running in 08cc1156f42d [2023-01-10T06:20:37.857Z] 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-01-10T06:22:44.540Z] Removing intermediate container 08cc1156f42d [2023-01-10T06:22:44.540Z] ---> dad6fe8ffef9 [2023-01-10T06:22:44.540Z] Step 11/23 : FROM alpine:3.16 [2023-01-10T06:22:44.540Z] 3.16: Pulling from library/alpine [2023-01-10T06:22:44.540Z] 6875df1f5354: Pulling fs layer [2023-01-10T06:22:44.540Z] 6875df1f5354: Verifying Checksum [2023-01-10T06:22:44.540Z] 6875df1f5354: Download complete [2023-01-10T06:22:44.540Z] 6875df1f5354: Pull complete [2023-01-10T06:22:44.540Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-10T06:22:44.540Z] Status: Downloaded newer image for alpine:3.16 [2023-01-10T06:22:44.540Z] ---> 2b4661558fb8 [2023-01-10T06:22:44.540Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-10T06:22:44.540Z] ---> Running in fccf3808e46c [2023-01-10T06:22:44.540Z] Removing intermediate container fccf3808e46c [2023-01-10T06:22:44.540Z] ---> 2d870666185c [2023-01-10T06:22:44.540Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-10T06:22:44.540Z] ---> Running in 951fcda59e2e [2023-01-10T06:22:44.540Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T06:22:44.540Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T06:22:44.540Z] OK: 5 MiB in 14 packages [2023-01-10T06:22:44.540Z] Removing intermediate container 951fcda59e2e [2023-01-10T06:22:44.540Z] ---> bfe49463d41f [2023-01-10T06:22:44.540Z] Step 14/23 : WORKDIR / [2023-01-10T06:22:44.540Z] ---> Running in df192b8dd6bd [2023-01-10T06:22:44.540Z] Removing intermediate container df192b8dd6bd [2023-01-10T06:22:44.540Z] ---> 956b4ec4e3ac [2023-01-10T06:22:44.540Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-10T06:22:44.540Z] ---> 0dbecc36eaad [2023-01-10T06:22:44.540Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-10T06:22:44.540Z] ---> dbf06fdfa8a0 [2023-01-10T06:22:44.540Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-10T06:22:44.540Z] ---> 7a541d9011f4 [2023-01-10T06:22:44.540Z] Step 18/23 : EXPOSE 59999 [2023-01-10T06:22:44.811Z] ---> Running in 8927d641191b [2023-01-10T06:22:45.080Z] Removing intermediate container 8927d641191b [2023-01-10T06:22:45.080Z] ---> 1cb25a2f84de [2023-01-10T06:22:45.080Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-10T06:22:45.080Z] ---> Running in caeda3b47312 [2023-01-10T06:22:45.348Z] Removing intermediate container caeda3b47312 [2023-01-10T06:22:45.348Z] ---> 6089f387b38a [2023-01-10T06:22:45.348Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-10T06:22:45.348Z] ---> Running in 4f34420557aa [2023-01-10T06:22:45.621Z] Removing intermediate container 4f34420557aa [2023-01-10T06:22:45.621Z] ---> a5d367b48fc2 [2023-01-10T06:22:45.621Z] Step 21/23 : LABEL arch=arm64 [2023-01-10T06:22:45.887Z] ---> Running in 49bb1285046d [2023-01-10T06:22:46.154Z] Removing intermediate container 49bb1285046d [2023-01-10T06:22:46.154Z] ---> a1912de6884c [2023-01-10T06:22:46.154Z] Step 22/23 : LABEL git_sha=6a7a60cf858b527f90a237d655849bdfd65bddba [2023-01-10T06:22:46.154Z] ---> Running in 21c14e06d01a [2023-01-10T06:22:46.421Z] Removing intermediate container 21c14e06d01a [2023-01-10T06:22:46.421Z] ---> 04bc76e8bd68 [2023-01-10T06:22:46.421Z] Step 23/23 : LABEL version=0.0.0 [2023-01-10T06:22:46.421Z] ---> Running in 18f9bbb4a3bc [2023-01-10T06:22:46.688Z] Removing intermediate container 18f9bbb4a3bc [2023-01-10T06:22:46.688Z] ---> a3bf3b37e3dd [2023-01-10T06:22:46.688Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T06:22:46.954Z] Successfully built a3bf3b37e3dd [2023-01-10T06:22:46.954Z] 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-01-10T06:22:47.767Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T06:22:47.767Z] [2023-01-10T06:22:47.767Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T06:22:48.246Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T06:22:48.246Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-10T06:22:48.246Z] 8998bd30e6a1: Pulling fs layer [2023-01-10T06:22:48.246Z] 04944245beec: Pulling fs layer [2023-01-10T06:22:48.246Z] 699f458cf7ca: Pulling fs layer [2023-01-10T06:22:48.246Z] 765212b225bb: Pulling fs layer [2023-01-10T06:22:48.246Z] f23df028b6ca: Pulling fs layer [2023-01-10T06:22:48.246Z] d65c8cfc05b1: Pulling fs layer [2023-01-10T06:22:48.246Z] 2437ff75d9bd: Pulling fs layer [2023-01-10T06:22:48.246Z] 765212b225bb: Waiting [2023-01-10T06:22:48.246Z] f23df028b6ca: Waiting [2023-01-10T06:22:48.246Z] d65c8cfc05b1: Waiting [2023-01-10T06:22:48.246Z] 2437ff75d9bd: Waiting [2023-01-10T06:22:48.535Z] 04944245beec: Verifying Checksum [2023-01-10T06:22:48.535Z] 04944245beec: Download complete [2023-01-10T06:22:48.535Z] 765212b225bb: Download complete [2023-01-10T06:22:48.535Z] f23df028b6ca: Download complete [2023-01-10T06:22:48.535Z] d65c8cfc05b1: Verifying Checksum [2023-01-10T06:22:48.535Z] d65c8cfc05b1: Download complete [2023-01-10T06:22:48.535Z] 699f458cf7ca: Verifying Checksum [2023-01-10T06:22:48.535Z] 699f458cf7ca: Download complete [2023-01-10T06:22:49.142Z] 8998bd30e6a1: Verifying Checksum [2023-01-10T06:22:49.142Z] 8998bd30e6a1: Download complete [2023-01-10T06:22:51.779Z] 2437ff75d9bd: Verifying Checksum [2023-01-10T06:22:51.779Z] 2437ff75d9bd: Download complete [2023-01-10T06:22:53.808Z] 8998bd30e6a1: Pull complete [2023-01-10T06:22:54.391Z] 04944245beec: Pull complete [2023-01-10T06:22:55.800Z] 699f458cf7ca: Pull complete [2023-01-10T06:22:56.067Z] 765212b225bb: Pull complete [2023-01-10T06:22:56.649Z] f23df028b6ca: Pull complete [2023-01-10T06:22:56.917Z] d65c8cfc05b1: Pull complete [2023-01-10T06:23:15.132Z] 2437ff75d9bd: Pull complete [2023-01-10T06:23:15.132Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-10T06:23:15.132Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T06:23:15.132Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T06:23:15.465Z] prd-ubuntu20.04-docker-arm64-4c-16g-1545 does not seem to be running inside a container [2023-01-10T06:23:15.529Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-10T06:23:17.230Z] $ docker top 59ba1392d7d40fe0b3ec1f7b2726a9fadd9fe771e3ba84ef64f9383d7ef103ad -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T06:23:18.137Z] ---> job-cost.sh [2023-01-10T06:23:18.137Z] lf-activate-venv: SKIPPING [2023-01-10T06:23:18.137Z] INFO: No Stack... [2023-01-10T06:23:18.718Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-10T06:23:19.673Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T06:23:20.015Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-01-10T06:23:20.015Z] + cut -d, -f6 [Pipeline] lock [2023-01-10T06:23:20.107Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1276-1-stack-cost] [2023-01-10T06:23:20.112Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1276-1-stack-cost] did not exist. Created. [2023-01-10T06:23:20.112Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1276-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T06:23:20.781Z] /w/workspace/device-sdk-go/1@tmp/durable-48ba4236/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-10T06:23:21.131Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-10T06:23:21.169Z] Warning: overwriting stash ‘stack-cost’ [2023-01-10T06:23:21.229Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T06:23:21.248Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1276-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T06:23:21.323Z] $ docker stop --time=1 59ba1392d7d40fe0b3ec1f7b2726a9fadd9fe771e3ba84ef64f9383d7ef103ad [2023-01-10T06:23:22.833Z] $ docker rm -f --volumes 59ba1392d7d40fe0b3ec1f7b2726a9fadd9fe771e3ba84ef64f9383d7ef103ad [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-01-10T06:23:23.812Z] provisioning config files... [2023-01-10T06:23:23.823Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp/config6701260774538166143tmp [Pipeline] { [Pipeline] sh [2023-01-10T06:23:24.163Z] + set +x [2023-01-10T06:23:24.163Z] + curl -s https://codecov.io/bash [2023-01-10T06:23:24.163Z] + bash -s -- [2023-01-10T06:23:24.163Z] [2023-01-10T06:23:24.163Z] _____ _ [2023-01-10T06:23:24.163Z] / ____| | | [2023-01-10T06:23:24.163Z] | | ___ __| | ___ ___ _____ __ [2023-01-10T06:23:24.163Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-10T06:23:24.163Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-10T06:23:24.163Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-10T06:23:24.163Z] Bash-1.0.6 [2023-01-10T06:23:24.163Z] [2023-01-10T06:23:24.163Z] [2023-01-10T06:23:24.163Z] ==> git version 2.25.1 found [2023-01-10T06:23:24.163Z] ==> 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-01-10T06:23:24.163Z] Release-Date: 2020-01-08 [2023-01-10T06:23:24.163Z] 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-01-10T06:23:24.163Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-10T06:23:24.163Z] ==> Jenkins CI detected. [2023-01-10T06:23:24.163Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1276 [2023-01-10T06:23:24.163Z] project root: . [2023-01-10T06:23:24.163Z] --> token set from env [2023-01-10T06:23:24.163Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-10T06:23:24.163Z] ==> Running gcov in . (disable via -X gcov) [2023-01-10T06:23:24.163Z] ==> Python coveragepy not found [2023-01-10T06:23:24.163Z] ==> Searching for coverage reports in: [2023-01-10T06:23:24.163Z] + . [2023-01-10T06:23:24.163Z] -> Found 1 reports [2023-01-10T06:23:24.163Z] ==> Detecting git/mercurial file structure [2023-01-10T06:23:24.163Z] ==> Reading reports [2023-01-10T06:23:24.424Z] + ./coverage.out bytes=100830 [2023-01-10T06:23:24.424Z] ==> Appending adjustments [2023-01-10T06:23:24.424Z] https://docs.codecov.io/docs/fixing-reports [2023-01-10T06:23:24.684Z] + Found adjustments [2023-01-10T06:23:24.684Z] ==> Gzipping contents [2023-01-10T06:23:24.684Z] 16K /tmp/codecov.aaIQZz.gz [2023-01-10T06:23:24.684Z] ==> Uploading reports [2023-01-10T06:23:24.684Z] url: https://codecov.io [2023-01-10T06:23:24.684Z] query: branch=PR-1276&commit=6a7a60cf858b527f90a237d655849bdfd65bddba&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1276%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1276&job=&cmd_args= [2023-01-10T06:23:24.684Z] -> Pinging Codecov [2023-01-10T06:23:24.684Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1276&commit=6a7a60cf858b527f90a237d655849bdfd65bddba&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1276%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1276&job=&cmd_args= [2023-01-10T06:23:24.944Z] -> Uploading to [2023-01-10T06:23:24.944Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-10/7E55EF52A471D76F132DFD9A03CDDE97/6a7a60cf858b527f90a237d655849bdfd65bddba/e8820b72-0657-4281-a850-9cf0fbf9f3a5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T062324Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4ac6dea59db9523e019af50e7b18f20d332e2cd9a421f0e79d6e5026a7f6e1f8 [2023-01-10T06:23:24.944Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T06:23:24.944Z] Dload Upload Total Spent Left Speed [2023-01-10T06:23:25.205Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14685 0 0 100 14685 0 53791 --:--:-- --:--:-- --:--:-- 53791 [2023-01-10T06:23:25.205Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/6a7a60cf858b527f90a237d655849bdfd65bddba [Pipeline] } [2023-01-10T06:23:25.237Z] 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-01-10T06:23:26.988Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1276/archives ] [2023-01-10T06:23:26.988Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1276/archives [2023-01-10T06:23:26.988Z] total 16 [2023-01-10T06:23:26.988Z] drwxr-xr-x 3 root root 4096 Jan 10 06:14 . [2023-01-10T06:23:26.988Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 10 06:14 .. [2023-01-10T06:23:26.988Z] drwxr-xr-x 2 root root 4096 Jan 10 06:14 cost [2023-01-10T06:23:26.988Z] -rw-r--r-- 1 root root 86 Jan 10 06:14 cost.csv [2023-01-10T06:23:26.988Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1276/archives [2023-01-10T06:23:26.988Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1276/archives [2023-01-10T06:23:26.988Z] total 16 [2023-01-10T06:23:26.988Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 06:14 . [2023-01-10T06:23:26.988Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 10 06:14 .. [2023-01-10T06:23:26.988Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 06:14 cost [2023-01-10T06:23:26.988Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 10 06:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-10T06:23:27.319Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T06:23:28.209Z] ---> package-listing.sh [2023-01-10T06:23:28.209Z] ++ facter osfamily [2023-01-10T06:23:28.209Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-10T06:23:28.469Z] + OS_FAMILY=debian [2023-01-10T06:23:28.469Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1276 [2023-01-10T06:23:28.469Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-10T06:23:28.469Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-10T06:23:28.469Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-10T06:23:28.469Z] + PACKAGES=/tmp/packages_start.txt [2023-01-10T06:23:28.469Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1276 ']' [2023-01-10T06:23:28.469Z] + PACKAGES=/tmp/packages_end.txt [2023-01-10T06:23:28.469Z] + case "${OS_FAMILY}" in [2023-01-10T06:23:28.469Z] + dpkg -l [2023-01-10T06:23:28.469Z] + grep '^ii' [2023-01-10T06:23:28.469Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-10T06:23:28.469Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-10T06:23:28.469Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-10T06:23:28.469Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1276 ']' [2023-01-10T06:23:28.469Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1276/archives/ [2023-01-10T06:23:28.469Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1276/archives/ [Pipeline] echo [2023-01-10T06:23:28.503Z] 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-1276/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-10T06:23:28.793Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T06:23:29.431Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T06:23:29.431Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T06:23:29.582Z] prd-ubuntu20.04-docker-8c-8g-1544 does not seem to be running inside a container [2023-01-10T06:23:29.608Z] $ 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-1276/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-1276 -v /w/workspace/gexfoundry_device-sdk-go_PR-1276:/w/workspace/gexfoundry_device-sdk-go_PR-1276:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-10T06:23:29.805Z] $ docker top d77c56bf309b7076c2223d76ec97f45fee23d7cbe684068a74b80930e4c3b426 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T06:23:30.200Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-10T06:23:30.510Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-10T06:23:30.820Z] + ls /var/log/sa-host [2023-01-10T06:23:30.820Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T06:23:31.037Z] provisioning config files... [2023-01-10T06:23:31.046Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1276@tmp/config10528934239487324639tmp [Pipeline] { [Pipeline] echo [2023-01-10T06:23:31.098Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T06:23:31.410Z] ---> create-netrc.sh [Pipeline] } [2023-01-10T06:23:31.435Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-10T06:23:31.847Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-10T06:23:31.880Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T06:23:32.188Z] ---> sudo-logs.sh [2023-01-10T06:23:32.188Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-10T06:23:32.271Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T06:23:32.583Z] ---> job-cost.sh [2023-01-10T06:23:32.583Z] lf-activate-venv: SKIPPING [2023-01-10T06:23:32.583Z] DEBUG: total: 0.2199999988079071 [2023-01-10T06:23:32.583Z] INFO: Retrieving Stack Cost... [2023-01-10T06:23:32.841Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T06:23:33.409Z] INFO: Archiving Costs [Pipeline] echo [2023-01-10T06:23:33.446Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T06:23:33.757Z] ---> logs-deploy.sh [2023-01-10T06:23:33.757Z] lf-activate-venv: SKIPPING [2023-01-10T06:23:33.757Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1276/1 [2023-01-10T06:23:33.757Z] INFO: archiving workspace using pattern(s): [2023-01-10T06:23:34.694Z] Archives upload complete. [2023-01-10T06:23:34.953Z] INFO: archiving logs to Nexus