Pull request #1290 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 15e83892f451e2fa3bbee6901e4c3548de020a12+75769cbb60d148b1a5e0cc7835b599c46228d755 (a9e007914879a0f8a5692b3eede871537cf64be0) 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-ssh9345022099725415755.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-ssh8845011015166763122.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-1290/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-1290/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10897945951542846046.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-1290/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12122326137185512300.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-ssh10201423358236401929.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-1290/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-1290/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12329339795702973930.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-3646 in /w/workspace/gexfoundry_device-sdk-go_PR-1290 [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-1290 # 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/1290/head:refs/remotes/origin/PR-1290 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 75769cbb60d148b1a5e0cc7835b599c46228d755 into PR head commit 15e83892f451e2fa3bbee6901e4c3548de020a12 Merge succeeded, producing 15e83892f451e2fa3bbee6901e4c3548de020a12 Checking out Revision 15e83892f451e2fa3bbee6901e4c3548de020a12 (PR-1290) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 15e83892f451e2fa3bbee6901e4c3548de020a12 # 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 75769cbb60d148b1a5e0cc7835b599c46228d755 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 15e83892f451e2fa3bbee6901e4c3548de020a12 # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-25T04:10:20.284Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-25T04:10:20.713Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-25T04:10:20.826Z] ========================================================= [2023-01-25T04:10:20.826Z] EdgeX Global Pipelines Version Info [2023-01-25T04:10:20.826Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-25T04:10:22.032Z] ------------------- [2023-01-25T04:10:22.032Z] stable info: [2023-01-25T04:10:22.032Z] ------------------- [2023-01-25T04:10:22.032Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-25T04:10:22.032Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-25T04:10:22.032Z] Message: update stable to v1.0.244 [2023-01-25T04:10:22.602Z] ------------------- [2023-01-25T04:10:22.602Z] experimental info: [2023-01-25T04:10:22.602Z] ------------------- [2023-01-25T04:10:22.602Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-25T04:10:22.602Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-25T04:10:22.602Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-25T04:10:22.939Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-01-25T04:10:22.977Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-01-25T04:10:23.014Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-25T04:10:23.056Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-25T04:10:23.098Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-25T04:10:23.139Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-25T04:10:23.180Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-25T04:10:23.219Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-01-25T04:10:23.257Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-25T04:10:23.302Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-25T04:10:23.345Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-25T04:10:23.388Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-01-25T04:10:23.437Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-25T04:10:23.482Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-25T04:10:23.527Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-25T04:10:23.575Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-01-25T04:10:23.614Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-25T04:10:23.656Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-25T04:10:23.697Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-25T04:10:23.742Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-25T04:10:23.789Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-25T04:10:23.833Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v2 [Pipeline] echo [2023-01-25T04:10:23.879Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-25T04:10:23.926Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-25T04:10:23.975Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-25T04:10:24.018Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-25T04:10:24.058Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-25T04:10:24.104Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1290 [Pipeline] echo [2023-01-25T04:10:24.148Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1290 [Pipeline] echo [2023-01-25T04:10:24.191Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1290 [Pipeline] echo [2023-01-25T04:10:24.234Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 15e83892f451e2fa3bbee6901e4c3548de020a12 [Pipeline] echo [2023-01-25T04:10:24.276Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 15e8389 [Pipeline] echo [2023-01-25T04:10:24.319Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-25T04:10:24.429Z] provisioning config files... [2023-01-25T04:10:24.443Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/config12712785874086080842tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-25T04:10:24.785Z] ---> docker-login.sh [2023-01-25T04:10:24.785Z] nexus3.edgexfoundry.org:10001 [2023-01-25T04:10:25.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-25T04:10:25.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-25T04:10:25.375Z] Configure a credential helper to remove this warning. See [2023-01-25T04:10:25.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-25T04:10:25.375Z] [2023-01-25T04:10:25.375Z] Login Succeeded [2023-01-25T04:10:25.375Z] nexus3.edgexfoundry.org:10002 [2023-01-25T04:10:25.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-25T04:10:25.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-25T04:10:25.636Z] Configure a credential helper to remove this warning. See [2023-01-25T04:10:25.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-25T04:10:25.636Z] [2023-01-25T04:10:25.636Z] Login Succeeded [2023-01-25T04:10:25.636Z] nexus3.edgexfoundry.org:10003 [2023-01-25T04:10:25.636Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-25T04:10:25.636Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-25T04:10:25.636Z] Configure a credential helper to remove this warning. See [2023-01-25T04:10:25.636Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-25T04:10:25.636Z] [2023-01-25T04:10:25.636Z] Login Succeeded [2023-01-25T04:10:25.636Z] nexus3.edgexfoundry.org:10004 [2023-01-25T04:10:25.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-25T04:10:25.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-25T04:10:25.895Z] Configure a credential helper to remove this warning. See [2023-01-25T04:10:25.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-25T04:10:25.895Z] [2023-01-25T04:10:25.895Z] Login Succeeded [2023-01-25T04:10:25.895Z] docker.io [2023-01-25T04:10:25.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-25T04:10:26.160Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-25T04:10:26.160Z] Configure a credential helper to remove this warning. See [2023-01-25T04:10:26.160Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-25T04:10:26.160Z] [2023-01-25T04:10:26.160Z] Login Succeeded [2023-01-25T04:10:26.160Z] ---> docker-login.sh ends [Pipeline] } [2023-01-25T04:10:26.190Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-25T04:10:26.820Z] + git rev-list -1 --merges 15e83892f451e2fa3bbee6901e4c3548de020a12~1..15e83892f451e2fa3bbee6901e4c3548de020a12 [Pipeline] echo [2023-01-25T04:10:26.885Z] -----------> git rev-list -1 --merges 15e83892f451e2fa3bbee6901e4c3548de020a12~1..15e83892f451e2fa3bbee6901e4c3548de020a12 15e83892f451e2fa3bbee6901e4c3548de020a12 [false] [Pipeline] sh [2023-01-25T04:10:27.196Z] + git log --format=format:%s -1 15e83892f451e2fa3bbee6901e4c3548de020a12 [Pipeline] echo [2023-01-25T04:10:27.230Z] ========================================================= [2023-01-25T04:10:27.230Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-25T04:10:27.230Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-25T04:10:27.689Z] + git log --format=format:%s -1 15e83892f451e2fa3bbee6901e4c3548de020a12 [Pipeline] echo [2023-01-25T04:10:27.724Z] [semverPrep] GIT_COMMIT: 15e83892f451e2fa3bbee6901e4c3548de020a12, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-01-25T04:10:27.755Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-25T04:10:28.153Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-25T04:10:28.153Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-25T04:10:28.153Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-25T04:10:28.153Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-25T04:10:28.153Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-25T04:10:28.153Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-25T04:10:28.153Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-25T04:10:28.575Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-25T04:10:28.576Z] [2023-01-25T04:10:28.576Z] 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-25T04:10:28.943Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-25T04:10:29.203Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-25T04:10:29.203Z] b85a868b505f: Pulling fs layer [2023-01-25T04:10:29.203Z] e2be974225ed: Pulling fs layer [2023-01-25T04:10:29.203Z] 339a4e72a1f5: Pulling fs layer [2023-01-25T04:10:29.203Z] 988bab9f4d93: Pulling fs layer [2023-01-25T04:10:29.203Z] 1469e6f7b9e6: Pulling fs layer [2023-01-25T04:10:29.203Z] eaf3925da568: Pulling fs layer [2023-01-25T04:10:29.203Z] bab4dde63d76: Pulling fs layer [2023-01-25T04:10:29.203Z] bde34c3a00c8: Pulling fs layer [2023-01-25T04:10:29.203Z] b352a97aabf1: Pulling fs layer [2023-01-25T04:10:29.203Z] 4872d77fe225: Pulling fs layer [2023-01-25T04:10:29.203Z] 5851b861e8e6: Pulling fs layer [2023-01-25T04:10:29.203Z] eaf3925da568: Waiting [2023-01-25T04:10:29.203Z] bab4dde63d76: Waiting [2023-01-25T04:10:29.203Z] bde34c3a00c8: Waiting [2023-01-25T04:10:29.203Z] b352a97aabf1: Waiting [2023-01-25T04:10:29.203Z] 4872d77fe225: Waiting [2023-01-25T04:10:29.203Z] 5851b861e8e6: Waiting [2023-01-25T04:10:29.203Z] 988bab9f4d93: Waiting [2023-01-25T04:10:29.203Z] 1469e6f7b9e6: Waiting [2023-01-25T04:10:29.203Z] e2be974225ed: Verifying Checksum [2023-01-25T04:10:29.203Z] e2be974225ed: Download complete [2023-01-25T04:10:29.203Z] 988bab9f4d93: Verifying Checksum [2023-01-25T04:10:29.203Z] 988bab9f4d93: Download complete [2023-01-25T04:10:29.471Z] 339a4e72a1f5: Verifying Checksum [2023-01-25T04:10:29.471Z] 339a4e72a1f5: Download complete [2023-01-25T04:10:29.471Z] eaf3925da568: Download complete [2023-01-25T04:10:29.471Z] 1469e6f7b9e6: Download complete [2023-01-25T04:10:29.471Z] bde34c3a00c8: Verifying Checksum [2023-01-25T04:10:29.471Z] bde34c3a00c8: Download complete [2023-01-25T04:10:29.734Z] b352a97aabf1: Verifying Checksum [2023-01-25T04:10:29.734Z] b352a97aabf1: Download complete [2023-01-25T04:10:29.734Z] 4872d77fe225: Download complete [2023-01-25T04:10:29.734Z] 5851b861e8e6: Verifying Checksum [2023-01-25T04:10:29.734Z] 5851b861e8e6: Download complete [2023-01-25T04:10:29.734Z] b85a868b505f: Download complete [2023-01-25T04:10:29.992Z] bab4dde63d76: Verifying Checksum [2023-01-25T04:10:29.992Z] bab4dde63d76: Download complete [2023-01-25T04:10:31.381Z] b85a868b505f: Pull complete [2023-01-25T04:10:31.640Z] e2be974225ed: Pull complete [2023-01-25T04:10:32.597Z] 339a4e72a1f5: Pull complete [2023-01-25T04:10:32.865Z] 988bab9f4d93: Pull complete [2023-01-25T04:10:33.441Z] 1469e6f7b9e6: Pull complete [2023-01-25T04:10:33.706Z] eaf3925da568: Pull complete [2023-01-25T04:10:36.257Z] bab4dde63d76: Pull complete [2023-01-25T04:10:36.257Z] bde34c3a00c8: Pull complete [2023-01-25T04:10:36.257Z] b352a97aabf1: Pull complete [2023-01-25T04:10:36.257Z] 4872d77fe225: Pull complete [2023-01-25T04:10:36.257Z] 5851b861e8e6: Pull complete [2023-01-25T04:10:36.257Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-25T04:10:36.257Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-25T04:10:36.257Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-25T04:10:36.548Z] prd-ubuntu20.04-docker-8c-8g-3646 does not seem to be running inside a container [2023-01-25T04:10:36.680Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1290 -v /w/workspace/gexfoundry_device-sdk-go_PR-1290:/w/workspace/gexfoundry_device-sdk-go_PR-1290:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-25T04:10:40.240Z] $ docker top f572ba406277bcf34609d2c96cd3078bfe1acecb07be93e1aeba68d9fe6a57bf -eo pid,comm [2023-01-25T04:10:40.238Z] 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-25T04:10:40.238Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-25T04:10:40.366Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-25T04:10:40.366Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-25T04:10:40.491Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-25T04:10:40.549Z] $ docker exec f572ba406277bcf34609d2c96cd3078bfe1acecb07be93e1aeba68d9fe6a57bf ssh-agent [2023-01-25T04:10:40.607Z] SSH_AUTH_SOCK=/tmp/ssh-yheiV4yQG71e/agent.32 [2023-01-25T04:10:40.607Z] SSH_AGENT_PID=38 [2023-01-25T04:10:40.613Z] Running ssh-add (command line suppressed) [2023-01-25T04:10:40.772Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/private_key_16991489539929491116.key (/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/private_key_16991489539929491116.key) [2023-01-25T04:10:40.730Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-25T04:10:41.061Z] + git tag --points-at HEAD [Pipeline] } [2023-01-25T04:10:41.144Z] $ docker exec --env ******** --env ******** f572ba406277bcf34609d2c96cd3078bfe1acecb07be93e1aeba68d9fe6a57bf ssh-agent -k [2023-01-25T04:10:41.248Z] unset SSH_AUTH_SOCK; [2023-01-25T04:10:41.248Z] unset SSH_AGENT_PID; [2023-01-25T04:10:41.248Z] echo Agent pid 38 killed; [2023-01-25T04:10:41.204Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-25T04:10:41.280Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-25T04:10:41.280Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-25T04:10:41.396Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-25T04:10:41.454Z] $ docker exec f572ba406277bcf34609d2c96cd3078bfe1acecb07be93e1aeba68d9fe6a57bf ssh-agent [2023-01-25T04:10:41.509Z] SSH_AUTH_SOCK=/tmp/ssh-NBmV14ylu1JM/agent.70 [2023-01-25T04:10:41.509Z] SSH_AGENT_PID=76 [2023-01-25T04:10:41.514Z] Running ssh-add (command line suppressed) [2023-01-25T04:10:41.690Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/private_key_15550981767176632957.key (/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/private_key_15550981767176632957.key) [2023-01-25T04:10:41.647Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-25T04:10:41.978Z] + git semver init [2023-01-25T04:10:42.238Z] 2023-01-25 04:10:42,201 [run_init] DEBUG init version:0.0.0 force:False [2023-01-25T04:10:42.238Z] 2023-01-25 04:10:42,202 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver [2023-01-25T04:10:42.238Z] 2023-01-25 04:10:42,203 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver [2023-01-25T04:10:42.238Z] 2023-01-25 04:10:42,203 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1290, universal_newlines=False, shell=None, istream=None) [2023-01-25T04:10:43.626Z] 2023-01-25 04:10:43,371 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1290/.git/info/exclude [2023-01-25T04:10:43.626Z] 2023-01-25 04:10:43,372 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver/PR-1290 with force:False [2023-01-25T04:10:43.626Z] 2023-01-25 04:10:43,372 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver/PR-1290 [2023-01-25T04:10:43.626Z] 2023-01-25 04:10:43,376 [execute] INFO git cat-file --batch-check [2023-01-25T04:10:43.626Z] 2023-01-25 04:10:43,377 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver, universal_newlines=False, shell=None, istream=) [2023-01-25T04:10:43.626Z] 2023-01-25 04:10:43,383 [execute] INFO git cat-file --batch [2023-01-25T04:10:43.626Z] 2023-01-25 04:10:43,383 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver, universal_newlines=False, shell=None, istream=) [2023-01-25T04:10:43.626Z] 2023-01-25 04:10:43,388 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1290/.semver/PR-1290 [2023-01-25T04:10:43.626Z] 0.0.0 [Pipeline] } [2023-01-25T04:10:43.705Z] $ docker exec --env ******** --env ******** f572ba406277bcf34609d2c96cd3078bfe1acecb07be93e1aeba68d9fe6a57bf ssh-agent -k [2023-01-25T04:10:43.797Z] unset SSH_AUTH_SOCK; [2023-01-25T04:10:43.798Z] unset SSH_AGENT_PID; [2023-01-25T04:10:43.798Z] echo Agent pid 76 killed; [2023-01-25T04:10:43.753Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-25T04:10:44.166Z] + git semver [Pipeline] } [2023-01-25T04:10:44.501Z] $ docker stop --time=1 f572ba406277bcf34609d2c96cd3078bfe1acecb07be93e1aeba68d9fe6a57bf [2023-01-25T04:10:45.928Z] $ docker rm -f --volumes f572ba406277bcf34609d2c96cd3078bfe1acecb07be93e1aeba68d9fe6a57bf [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-25T04:10:46.282Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-25T04:10:46.600Z] Stashed 1 file(s) [Pipeline] echo [2023-01-25T04:10:46.618Z] [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-25T04:10:47.235Z] provisioning config files... [2023-01-25T04:10:47.248Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/config11226527503188408102tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-25T04:10:47.598Z] ---> docker-login.sh [2023-01-25T04:10:47.598Z] nexus3.edgexfoundry.org:10001 [2023-01-25T04:10:47.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-25T04:10:47.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-25T04:10:47.598Z] Configure a credential helper to remove this warning. See [2023-01-25T04:10:47.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-25T04:10:47.598Z] [2023-01-25T04:10:47.598Z] Login Succeeded [2023-01-25T04:10:47.598Z] nexus3.edgexfoundry.org:10002 [2023-01-25T04:10:47.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-25T04:10:47.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-25T04:10:47.859Z] Configure a credential helper to remove this warning. See [2023-01-25T04:10:47.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-25T04:10:47.859Z] [2023-01-25T04:10:47.859Z] Login Succeeded [2023-01-25T04:10:47.859Z] nexus3.edgexfoundry.org:10003 [2023-01-25T04:10:47.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-25T04:10:47.859Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-25T04:10:47.859Z] Configure a credential helper to remove this warning. See [2023-01-25T04:10:47.859Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-25T04:10:47.859Z] [2023-01-25T04:10:47.859Z] Login Succeeded [2023-01-25T04:10:47.859Z] nexus3.edgexfoundry.org:10004 [2023-01-25T04:10:47.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-25T04:10:48.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-25T04:10:48.123Z] Configure a credential helper to remove this warning. See [2023-01-25T04:10:48.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-25T04:10:48.123Z] [2023-01-25T04:10:48.123Z] Login Succeeded [2023-01-25T04:10:48.123Z] docker.io [2023-01-25T04:10:48.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-25T04:10:48.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-25T04:10:48.386Z] Configure a credential helper to remove this warning. See [2023-01-25T04:10:48.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-25T04:10:48.386Z] [2023-01-25T04:10:48.386Z] Login Succeeded [2023-01-25T04:10:48.386Z] ---> docker-login.sh ends [Pipeline] } [2023-01-25T04:10:48.424Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-25T04:10:48.604Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-25T04:10:48.642Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-25T04:10:48.673Z] ========================================================= [2023-01-25T04:10:48.673Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-25T04:10:48.673Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-25T04:10:49.175Z] + 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-25T04:10:49.175Z] Sending build context to Docker daemon 10.53MB [2023-01-25T04:10:49.175Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-25T04:10:49.175Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-25T04:10:49.175Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-25T04:10:49.175Z] 213ec9aee27d: Pulling fs layer [2023-01-25T04:10:49.175Z] 4583459ba037: Pulling fs layer [2023-01-25T04:10:49.175Z] 93c1e223e6f2: Pulling fs layer [2023-01-25T04:10:49.175Z] 53926ce57604: Pulling fs layer [2023-01-25T04:10:49.175Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-25T04:10:49.175Z] 22ff95d597cd: Pulling fs layer [2023-01-25T04:10:49.175Z] 12d6caf4c0d1: Pulling fs layer [2023-01-25T04:10:49.175Z] 96b7cbca73a9: Pulling fs layer [2023-01-25T04:10:49.175Z] a7acece74701: Pulling fs layer [2023-01-25T04:10:49.175Z] 53926ce57604: Waiting [2023-01-25T04:10:49.175Z] 21b2b0c7a3f4: Waiting [2023-01-25T04:10:49.175Z] a7acece74701: Waiting [2023-01-25T04:10:49.175Z] 22ff95d597cd: Waiting [2023-01-25T04:10:49.175Z] 12d6caf4c0d1: Waiting [2023-01-25T04:10:49.175Z] 96b7cbca73a9: Waiting [2023-01-25T04:10:49.175Z] 93c1e223e6f2: Download complete [2023-01-25T04:10:49.175Z] 4583459ba037: Download complete [2023-01-25T04:10:49.441Z] 21b2b0c7a3f4: Download complete [2023-01-25T04:10:49.441Z] 22ff95d597cd: Download complete [2023-01-25T04:10:49.441Z] 213ec9aee27d: Verifying Checksum [2023-01-25T04:10:49.441Z] 12d6caf4c0d1: Verifying Checksum [2023-01-25T04:10:49.441Z] 12d6caf4c0d1: Download complete [2023-01-25T04:10:49.441Z] 213ec9aee27d: Pull complete [2023-01-25T04:10:49.703Z] 4583459ba037: Pull complete [2023-01-25T04:10:49.704Z] 93c1e223e6f2: Pull complete [2023-01-25T04:10:50.647Z] 53926ce57604: Verifying Checksum [2023-01-25T04:10:50.647Z] 53926ce57604: Download complete [2023-01-25T04:10:50.647Z] a7acece74701: Verifying Checksum [2023-01-25T04:10:50.647Z] a7acece74701: Download complete [2023-01-25T04:10:50.905Z] 96b7cbca73a9: Verifying Checksum [2023-01-25T04:10:50.905Z] 96b7cbca73a9: Download complete [2023-01-25T04:10:54.194Z] 53926ce57604: Pull complete [2023-01-25T04:10:54.453Z] 21b2b0c7a3f4: Pull complete [2023-01-25T04:10:54.453Z] 22ff95d597cd: Pull complete [2023-01-25T04:10:54.453Z] 12d6caf4c0d1: Pull complete [2023-01-25T04:10:56.455Z] 96b7cbca73a9: Pull complete [2023-01-25T04:10:57.443Z] a7acece74701: Pull complete [2023-01-25T04:10:57.443Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-25T04:10:57.443Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-25T04:10:57.443Z] ---> db6d94c90886 [2023-01-25T04:10:57.443Z] Step 3/10 : ARG MAKE=make build [2023-01-25T04:11:01.662Z] ---> Running in e709011202c1 [2023-01-25T04:11:01.662Z] Removing intermediate container e709011202c1 [2023-01-25T04:11:01.662Z] ---> 5751037ba3c2 [2023-01-25T04:11:01.662Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-25T04:11:01.662Z] ---> Running in b0d988b423c3 [2023-01-25T04:11:01.662Z] Removing intermediate container b0d988b423c3 [2023-01-25T04:11:01.662Z] ---> 51a7f0c2babc [2023-01-25T04:11:01.662Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-25T04:11:01.662Z] ---> Running in 116375ed2e98 [2023-01-25T04:11:01.662Z] Removing intermediate container 116375ed2e98 [2023-01-25T04:11:01.662Z] ---> 749c75c21865 [2023-01-25T04:11:01.662Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-25T04:11:01.922Z] ---> Running in 539efd1b02a0 [2023-01-25T04:11:01.922Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-25T04:11:02.049Z] Still waiting to schedule task [2023-01-25T04:11:02.049Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-3640’ [2023-01-25T04:11:03.874Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-25T04:11:04.815Z] OK: 211 MiB in 51 packages [2023-01-25T04:11:05.384Z] Removing intermediate container 539efd1b02a0 [2023-01-25T04:11:05.384Z] ---> aa21bc8644bd [2023-01-25T04:11:05.384Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-25T04:11:05.384Z] ---> fbb577ba617a [2023-01-25T04:11:05.384Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-25T04:11:05.384Z] ---> Running in af6bb440f5cc [2023-01-25T04:12:56.917Z] Removing intermediate container af6bb440f5cc [2023-01-25T04:12:56.917Z] ---> b02480afbce9 [2023-01-25T04:12:56.917Z] Step 9/10 : COPY . . [2023-01-25T04:12:56.917Z] ---> b74fa395b475 [2023-01-25T04:12:56.917Z] Step 10/10 : RUN ${MAKE} [2023-01-25T04:12:56.917Z] ---> Running in 3017bd27cedf [2023-01-25T04:12:56.917Z] noop [2023-01-25T04:12:56.917Z] Removing intermediate container 3017bd27cedf [2023-01-25T04:12:56.917Z] ---> 7c27bdc70efa [2023-01-25T04:12:56.917Z] Successfully built 7c27bdc70efa [2023-01-25T04:12:56.917Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-25T04:12:57.368Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-25T04:12:57.368Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-25T04:12:57.536Z] prd-ubuntu20.04-docker-8c-8g-3646 does not seem to be running inside a container [2023-01-25T04:12:57.615Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1290 -v /w/workspace/gexfoundry_device-sdk-go_PR-1290:/w/workspace/gexfoundry_device-sdk-go_PR-1290:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-25T04:12:57.968Z] $ docker top 108923ca4ef143a0c2ca10c815e7243570aa3079e8694aff93cda45f191add55 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-25T04:12:58.402Z] + go version [2023-01-25T04:12:58.402Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-25T04:12:58.483Z] $ docker stop --time=1 108923ca4ef143a0c2ca10c815e7243570aa3079e8694aff93cda45f191add55 [2023-01-25T04:12:59.785Z] $ docker rm -f --volumes 108923ca4ef143a0c2ca10c815e7243570aa3079e8694aff93cda45f191add55 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-25T04:13:00.450Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-25T04:13:00.451Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-25T04:13:00.622Z] prd-ubuntu20.04-docker-8c-8g-3646 does not seem to be running inside a container [2023-01-25T04:13:00.717Z] $ 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-1290 -v /w/workspace/gexfoundry_device-sdk-go_PR-1290:/w/workspace/gexfoundry_device-sdk-go_PR-1290:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-25T04:13:01.032Z] $ docker top e7c13f4102650d8c30ccb800503c43f3fd9506e6f19a128af8b9b36bcb601a50 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-25T04:13:01.389Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1290 [Pipeline] fileExists [Pipeline] sh [2023-01-25T04:13:01.742Z] + make test [2023-01-25T04:13:01.742Z] go test -race -coverprofile=coverage.out ./... [2023-01-25T04:13:08.683Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-25T04:13:23.598Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-25T04:13:23.598Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-25T04:13:23.598Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-25T04:13:23.598Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-25T04:13:23.598Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-25T04:13:23.598Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.059s coverage: 27.6% of statements [2023-01-25T04:13:23.598Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.079s coverage: 78.9% of statements [2023-01-25T04:13:23.598Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-25T04:13:23.598Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.097s coverage: 73.6% of statements [2023-01-25T04:13:23.598Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-25T04:13:23.598Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-25T04:13:23.598Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.109s coverage: 60.6% of statements [2023-01-25T04:13:23.598Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-25T04:13:23.598Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-25T04:13:23.598Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-25T04:13:23.598Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-25T04:13:23.598Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.098s coverage: 65.1% of statements [2023-01-25T04:13:23.598Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-25T04:13:23.598Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-25T04:13:23.598Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.781s coverage: 89.2% of statements [2023-01-25T04:13:23.598Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-25T04:13:23.598Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.068s coverage: 4.6% of statements [2023-01-25T04:13:23.598Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-25T04:13:41.690Z] 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-25T04:13:41.690Z] GO111MODULE=on go vet ./... [2023-01-25T04:13:42.258Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-25T04:13:42.516Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-25T04:13:42.516Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-25T04:13:42.552Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-25T04:13:42.627Z] $ docker stop --time=1 e7c13f4102650d8c30ccb800503c43f3fd9506e6f19a128af8b9b36bcb601a50 [2023-01-25T04:13:46.191Z] $ docker rm -f --volumes e7c13f4102650d8c30ccb800503c43f3fd9506e6f19a128af8b9b36bcb601a50 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-25T04:13:46.738Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-25T04:13:46.825Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-25T04:13:47.461Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-25T04:13:47.771Z] + ls -al . [2023-01-25T04:13:47.771Z] total 272 [2023-01-25T04:13:47.771Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 25 04:13 . [2023-01-25T04:13:47.771Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 04:10 .. [2023-01-25T04:13:47.771Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 25 04:10 .dockerignore [2023-01-25T04:13:47.771Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 04:13 .git [2023-01-25T04:13:47.771Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 04:10 .github [2023-01-25T04:13:47.771Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 25 04:10 .gitignore [2023-01-25T04:13:47.771Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 25 04:10 .golangci.yml [2023-01-25T04:13:47.771Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 25 04:10 .semver [2023-01-25T04:13:47.771Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 25 04:10 CHANGELOG.md [2023-01-25T04:13:47.771Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 25 04:10 GOVERNANCE.md [2023-01-25T04:13:47.771Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 25 04:10 Jenkinsfile [2023-01-25T04:13:47.771Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 25 04:10 LICENSE [2023-01-25T04:13:47.771Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 25 04:10 Makefile [2023-01-25T04:13:47.771Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 25 04:10 OWNERS.md [2023-01-25T04:13:47.771Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 25 04:10 README.md [2023-01-25T04:13:47.771Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 25 04:10 VERSION [2023-01-25T04:13:47.771Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 04:10 bin [2023-01-25T04:13:47.771Z] -rw-r--r-- 1 jenkins jenkins 100832 Jan 25 04:13 coverage.out [2023-01-25T04:13:47.771Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 25 04:10 example [2023-01-25T04:13:47.771Z] -rw-rw-r-- 1 jenkins jenkins 3307 Jan 25 04:10 go.mod [2023-01-25T04:13:47.771Z] -rw-rw-r-- 1 jenkins jenkins 34396 Jan 25 04:10 go.sum [2023-01-25T04:13:47.771Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 25 04:10 internal [2023-01-25T04:13:47.771Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 04:10 openapi [2023-01-25T04:13:47.771Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 25 04:10 pkg [2023-01-25T04:13:47.771Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 04:10 snap [2023-01-25T04:13:47.771Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 25 04:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-25T04:13:48.237Z] + 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=15e83892f451e2fa3bbee6901e4c3548de020a12 --label arch=amd64 --label version=0.0.0 . [2023-01-25T04:13:48.237Z] Sending build context to Docker daemon 10.63MB [2023-01-25T04:13:48.237Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-25T04:13:48.237Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-25T04:13:48.237Z] ---> 7c27bdc70efa [2023-01-25T04:13:48.237Z] Step 3/23 : ARG MAKE=make build [2023-01-25T04:13:48.496Z] ---> Running in 24884926d247 [2023-01-25T04:13:48.496Z] Removing intermediate container 24884926d247 [2023-01-25T04:13:48.496Z] ---> dd1afec9027d [2023-01-25T04:13:48.496Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-25T04:13:48.496Z] ---> Running in 89a5b18786ca [2023-01-25T04:13:48.755Z] Removing intermediate container 89a5b18786ca [2023-01-25T04:13:48.755Z] ---> 052b973790d5 [2023-01-25T04:13:48.755Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-25T04:13:48.755Z] ---> Running in fe50d86c8112 [2023-01-25T04:13:49.017Z] Removing intermediate container fe50d86c8112 [2023-01-25T04:13:49.017Z] ---> 2127aa5bf921 [2023-01-25T04:13:49.017Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-25T04:13:49.017Z] ---> Running in cad198814eca [2023-01-25T04:13:49.280Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-25T04:13:49.538Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-25T04:13:49.798Z] OK: 211 MiB in 51 packages [2023-01-25T04:13:50.057Z] Removing intermediate container cad198814eca [2023-01-25T04:13:50.057Z] ---> 3dbc11f58243 [2023-01-25T04:13:50.057Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-25T04:13:50.316Z] ---> 750deb8ef9f1 [2023-01-25T04:13:50.316Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-25T04:13:50.316Z] ---> Running in 3b6a72f82c2f [2023-01-25T04:13:51.254Z] Removing intermediate container 3b6a72f82c2f [2023-01-25T04:13:51.254Z] ---> fd8b73cb3f56 [2023-01-25T04:13:51.254Z] Step 9/23 : COPY . . [2023-01-25T04:13:51.832Z] ---> 6ca303464e09 [2023-01-25T04:13:51.832Z] Step 10/23 : RUN ${MAKE} [2023-01-25T04:13:51.832Z] ---> Running in a96ea8aade90 [2023-01-25T04:13:52.093Z] 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-25T04:13:56.274Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3647 in /w/workspace/gexfoundry_device-sdk-go_PR-1290 [Pipeline] { [Pipeline] ws [2023-01-25T04:13:56.333Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-01-25T04:13:56.427Z] The recommended git tool is: git [2023-01-25T04:14:02.086Z] using credential edgex-jenkins-ssh [2023-01-25T04:14:02.103Z] Cloning the remote Git repository [2023-01-25T04:14:02.198Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-01-25T04:14:02.285Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-01-25T04:14:02.463Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-25T04:14:02.464Z] > git --version # timeout=10 [2023-01-25T04:14:02.486Z] > git --version # 'git version 2.25.1' [2023-01-25T04:14:02.488Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-25T04:14:02.545Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-25T04:14:04.142Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-25T04:14:04.187Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-25T04:14:05.100Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-01-25T04:14:05.146Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-01-25T04:14:05.147Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-25T04:14:05.164Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1290/head:refs/remotes/origin/PR-1290 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-25T04:14:05.796Z] Merging remotes/origin/main commit 75769cbb60d148b1a5e0cc7835b599c46228d755 into PR head commit 15e83892f451e2fa3bbee6901e4c3548de020a12 [2023-01-25T04:14:06.061Z] Merge succeeded, producing 15e83892f451e2fa3bbee6901e4c3548de020a12 [2023-01-25T04:14:06.061Z] Checking out Revision 15e83892f451e2fa3bbee6901e4c3548de020a12 (PR-1290) [2023-01-25T04:14:05.856Z] > git config core.sparsecheckout # timeout=10 [2023-01-25T04:14:05.877Z] > git checkout -f 15e83892f451e2fa3bbee6901e4c3548de020a12 # timeout=10 [2023-01-25T04:14:05.982Z] > git remote # timeout=10 [2023-01-25T04:14:05.998Z] > git config --get remote.origin.url # timeout=10 [2023-01-25T04:14:06.035Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-25T04:14:06.052Z] > git merge 75769cbb60d148b1a5e0cc7835b599c46228d755 # timeout=10 [2023-01-25T04:14:06.082Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-25T04:14:06.114Z] > git config core.sparsecheckout # timeout=10 [2023-01-25T04:14:06.141Z] > git checkout -f 15e83892f451e2fa3bbee6901e4c3548de020a12 # timeout=10 [2023-01-25T04:14:06.654Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-01-25T04:14:06.755Z] > git --version # timeout=10 [2023-01-25T04:14:06.770Z] > git --version # 'git version 2.25.1' [2023-01-25T04:14:06.801Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-25T04:14:08.300Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-25T04:14:08.300Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-25T04:14:08.300Z] Dload Upload Total Spent Left Speed [2023-01-25T04:14:08.300Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 175k 0 --:--:-- --:--:-- --:--:-- 177k [Pipeline] sh [2023-01-25T04:14:08.905Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-25T04:14:09.255Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-25T04:14:09.255Z] + sudo tee /etc/docker/daemon.new [2023-01-25T04:14:09.255Z] { [2023-01-25T04:14:09.255Z] "registry-mirrors": [ [2023-01-25T04:14:09.255Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-25T04:14:09.255Z] ], [2023-01-25T04:14:09.255Z] "bip": "10.250.0.254/24", [2023-01-25T04:14:09.255Z] "hosts": [ [2023-01-25T04:14:09.255Z] "tcp://0.0.0.0:5555", [2023-01-25T04:14:09.255Z] "unix:///var/run/docker.sock" [2023-01-25T04:14:09.255Z] ], [2023-01-25T04:14:09.255Z] "mtu": 1458, [2023-01-25T04:14:09.255Z] "selinux-enabled": true, [2023-01-25T04:14:09.255Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-25T04:14:09.255Z] } [Pipeline] sh [2023-01-25T04:14:09.606Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-25T04:14:09.956Z] + sudo service docker restart [2023-01-25T04:14:18.707Z] Removing intermediate container a96ea8aade90 [2023-01-25T04:14:18.707Z] ---> 5d16efe58bf9 [2023-01-25T04:14:18.707Z] Step 11/23 : FROM alpine:3.16 [2023-01-25T04:14:18.707Z] 3.16: Pulling from library/alpine [2023-01-25T04:14:18.707Z] ca7dd9ec2225: Pulling fs layer [2023-01-25T04:14:18.707Z] ca7dd9ec2225: Verifying Checksum [2023-01-25T04:14:18.707Z] ca7dd9ec2225: Pull complete [2023-01-25T04:14:18.707Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-25T04:14:18.707Z] Status: Downloaded newer image for alpine:3.16 [2023-01-25T04:14:18.707Z] ---> bfe296a52501 [2023-01-25T04:14:18.707Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-25T04:14:18.707Z] ---> Running in 39a3b1d7cdae [2023-01-25T04:14:18.707Z] Removing intermediate container 39a3b1d7cdae [2023-01-25T04:14:18.707Z] ---> 68be44c42662 [2023-01-25T04:14:18.707Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-25T04:14:18.707Z] ---> Running in 477a59f39649 [2023-01-25T04:14:18.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-25T04:14:19.278Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-25T04:14:19.862Z] OK: 6 MiB in 14 packages [2023-01-25T04:14:20.142Z] Removing intermediate container 477a59f39649 [2023-01-25T04:14:20.142Z] ---> 152c7a28a862 [2023-01-25T04:14:20.142Z] Step 14/23 : WORKDIR / [2023-01-25T04:14:20.142Z] ---> Running in 1b9379ade424 [2023-01-25T04:14:20.142Z] Removing intermediate container 1b9379ade424 [2023-01-25T04:14:20.142Z] ---> deeb11f52222 [2023-01-25T04:14:20.142Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-25T04:14:20.402Z] ---> d82bd1e9ef23 [2023-01-25T04:14:20.403Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-25T04:14:21.339Z] ---> fce2bd6317d9 [2023-01-25T04:14:21.340Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-25T04:14:21.340Z] ---> 38aad68f766c [2023-01-25T04:14:21.340Z] Step 18/23 : EXPOSE 59999 [2023-01-25T04:14:21.340Z] ---> Running in 78f8704ba970 [2023-01-25T04:14:21.340Z] Removing intermediate container 78f8704ba970 [2023-01-25T04:14:21.340Z] ---> 7f01a70de1e8 [2023-01-25T04:14:21.340Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-25T04:14:21.340Z] ---> Running in ac3ae6f7da10 [2023-01-25T04:14:21.598Z] Removing intermediate container ac3ae6f7da10 [2023-01-25T04:14:21.598Z] ---> 372de7885493 [2023-01-25T04:14:21.598Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-25T04:14:21.598Z] ---> Running in 165b22d7a341 [2023-01-25T04:14:21.598Z] Removing intermediate container 165b22d7a341 [2023-01-25T04:14:21.598Z] ---> f0c08e4ca3ef [2023-01-25T04:14:21.598Z] Step 21/23 : LABEL arch=amd64 [2023-01-25T04:14:21.598Z] ---> Running in 688c9d664860 [2023-01-25T04:14:21.598Z] Removing intermediate container 688c9d664860 [2023-01-25T04:14:21.598Z] ---> a0277a11dda7 [2023-01-25T04:14:21.598Z] Step 22/23 : LABEL git_sha=15e83892f451e2fa3bbee6901e4c3548de020a12 [2023-01-25T04:14:21.598Z] ---> Running in 1edd832cdb82 [2023-01-25T04:14:21.857Z] Removing intermediate container 1edd832cdb82 [2023-01-25T04:14:21.857Z] ---> d35f364e6fa3 [2023-01-25T04:14:21.857Z] Step 23/23 : LABEL version=0.0.0 [2023-01-25T04:14:21.857Z] ---> Running in 473e710f4e9d [2023-01-25T04:14:21.857Z] Removing intermediate container 473e710f4e9d [2023-01-25T04:14:21.857Z] ---> d980a9e351c5 [2023-01-25T04:14:21.857Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-25T04:14:21.857Z] Successfully built d980a9e351c5 [2023-01-25T04:14:21.857Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-25T04:14:22.732Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-25T04:14:22.732Z] [2023-01-25T04:14:22.732Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-25T04:14:23.111Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-25T04:14:23.112Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-25T04:14:23.112Z] 5eb5b503b376: Pulling fs layer [2023-01-25T04:14:23.112Z] 5c69ac0246d0: Pulling fs layer [2023-01-25T04:14:23.112Z] ec43610c2a17: Pulling fs layer [2023-01-25T04:14:23.112Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-25T04:14:23.112Z] 33b1e0a273af: Pulling fs layer [2023-01-25T04:14:23.112Z] 5d3b04190fa2: Pulling fs layer [2023-01-25T04:14:23.112Z] 3a2ae6a8a46f: Waiting [2023-01-25T04:14:23.112Z] 33b1e0a273af: Waiting [2023-01-25T04:14:23.112Z] 2f39f015ded8: Pulling fs layer [2023-01-25T04:14:23.112Z] 2f39f015ded8: Waiting [2023-01-25T04:14:23.112Z] 5d3b04190fa2: Waiting [2023-01-25T04:14:23.112Z] 5c69ac0246d0: Download complete [2023-01-25T04:14:23.112Z] 3a2ae6a8a46f: Download complete [2023-01-25T04:14:23.377Z] 33b1e0a273af: Verifying Checksum [2023-01-25T04:14:23.377Z] 33b1e0a273af: Download complete [2023-01-25T04:14:23.377Z] 5d3b04190fa2: Download complete [2023-01-25T04:14:23.377Z] ec43610c2a17: Verifying Checksum [2023-01-25T04:14:23.377Z] ec43610c2a17: Download complete [2023-01-25T04:14:23.640Z] 5eb5b503b376: Verifying Checksum [2023-01-25T04:14:23.640Z] 5eb5b503b376: Download complete [2023-01-25T04:14:24.209Z] 2f39f015ded8: Download complete [2023-01-25T04:14:25.146Z] 5eb5b503b376: Pull complete [2023-01-25T04:14:25.146Z] 5c69ac0246d0: Pull complete [2023-01-25T04:14:25.714Z] ec43610c2a17: Pull complete [2023-01-25T04:14:25.714Z] 3a2ae6a8a46f: Pull complete [2023-01-25T04:14:25.974Z] 33b1e0a273af: Pull complete [2023-01-25T04:14:25.974Z] 5d3b04190fa2: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-25T04:14:28.286Z] provisioning config files... [2023-01-25T04:14:28.315Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config11077320041421667758tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-25T04:14:28.705Z] ---> docker-login.sh [2023-01-25T04:14:28.706Z] nexus3.edgexfoundry.org:10001 [2023-01-25T04:14:28.974Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-25T04:14:29.245Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-25T04:14:29.245Z] Configure a credential helper to remove this warning. See [2023-01-25T04:14:29.245Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-25T04:14:29.245Z] [2023-01-25T04:14:29.245Z] Login Succeeded [2023-01-25T04:14:29.245Z] nexus3.edgexfoundry.org:10002 [2023-01-25T04:14:29.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-25T04:14:29.514Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-25T04:14:29.514Z] Configure a credential helper to remove this warning. See [2023-01-25T04:14:29.514Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-25T04:14:29.514Z] [2023-01-25T04:14:29.514Z] Login Succeeded [2023-01-25T04:14:29.514Z] nexus3.edgexfoundry.org:10003 [2023-01-25T04:14:29.782Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-25T04:14:30.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-25T04:14:30.055Z] Configure a credential helper to remove this warning. See [2023-01-25T04:14:30.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-25T04:14:30.055Z] [2023-01-25T04:14:30.055Z] Login Succeeded [2023-01-25T04:14:30.055Z] nexus3.edgexfoundry.org:10004 [2023-01-25T04:14:30.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-25T04:14:30.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-25T04:14:30.328Z] Configure a credential helper to remove this warning. See [2023-01-25T04:14:30.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-25T04:14:30.328Z] [2023-01-25T04:14:30.328Z] Login Succeeded [2023-01-25T04:14:30.328Z] docker.io [2023-01-25T04:14:30.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-25T04:14:30.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-25T04:14:30.864Z] Configure a credential helper to remove this warning. See [2023-01-25T04:14:30.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-25T04:14:30.864Z] [2023-01-25T04:14:30.864Z] Login Succeeded [2023-01-25T04:14:30.864Z] ---> docker-login.sh ends [Pipeline] } [2023-01-25T04:14:30.898Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-01-25T04:14:31.276Z] 2f39f015ded8: Pull complete [2023-01-25T04:14:31.276Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-25T04:14:31.276Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-25T04:14:31.276Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] echo [2023-01-25T04:14:31.293Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] echo [2023-01-25T04:14:31.413Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-25T04:14:31.527Z] prd-ubuntu20.04-docker-8c-8g-3646 does not seem to be running inside a container [2023-01-25T04:14:31.605Z] $ 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-1290 -v /w/workspace/gexfoundry_device-sdk-go_PR-1290:/w/workspace/gexfoundry_device-sdk-go_PR-1290:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-25T04:14:36.116Z] $ docker top 008ba5bbb30037405ff229fce78eb79e83cba218382e68ba4e420d0c4384d5b7 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-01-25T04:14:36.178Z] ========================================================= [2023-01-25T04:14:36.178Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-25T04:14:36.178Z] ========================================================= [Pipeline] fileExists [Pipeline] libraryResource [Pipeline] sh [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-25T04:14:36.559Z] ---> job-cost.sh [2023-01-25T04:14:36.559Z] lf-activate-venv: SKIPPING [2023-01-25T04:14:36.559Z] INFO: No Stack... [2023-01-25T04:14:36.784Z] + 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-25T04:14:37.053Z] Sending build context to Docker daemon 5.688MB [2023-01-25T04:14:37.053Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-01-25T04:14:37.053Z] Step 2/10 : FROM ${BASE} AS builder [2023-01-25T04:14:37.125Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-25T04:14:37.325Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-25T04:14:37.325Z] 9b18e9b68314: Pulling fs layer [2023-01-25T04:14:37.325Z] 35d82f9e3411: Pulling fs layer [2023-01-25T04:14:37.325Z] e16973657156: Pulling fs layer [2023-01-25T04:14:37.325Z] fc693d55d65f: Pulling fs layer [2023-01-25T04:14:37.325Z] 7e9fc2657dce: Pulling fs layer [2023-01-25T04:14:37.325Z] dda99020689f: Pulling fs layer [2023-01-25T04:14:37.325Z] db1c61fa0a46: Pulling fs layer [2023-01-25T04:14:37.325Z] 891c053d2c06: Pulling fs layer [2023-01-25T04:14:37.325Z] fc693d55d65f: Waiting [2023-01-25T04:14:37.325Z] 7e9fc2657dce: Waiting [2023-01-25T04:14:37.325Z] dda99020689f: Waiting [2023-01-25T04:14:37.325Z] db1c61fa0a46: Waiting [2023-01-25T04:14:37.325Z] 891c053d2c06: Waiting [2023-01-25T04:14:37.325Z] e16973657156: Verifying Checksum [2023-01-25T04:14:37.325Z] e16973657156: Download complete [2023-01-25T04:14:37.325Z] 35d82f9e3411: Download complete [2023-01-25T04:14:37.325Z] 7e9fc2657dce: Download complete [2023-01-25T04:14:37.325Z] dda99020689f: Verifying Checksum [2023-01-25T04:14:37.325Z] dda99020689f: Download complete [2023-01-25T04:14:37.325Z] 9b18e9b68314: Verifying Checksum [2023-01-25T04:14:37.325Z] 9b18e9b68314: Download complete [2023-01-25T04:14:37.385Z] INFO: Archiving Costs [Pipeline] sh [2023-01-25T04:14:37.703Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives/cost.csv [2023-01-25T04:14:37.704Z] + cut -d, -f6 [Pipeline] lock [2023-01-25T04:14:37.742Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1290-1-stack-cost] [2023-01-25T04:14:37.747Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1290-1-stack-cost] did not exist. Created. [2023-01-25T04:14:37.747Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1290-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-25T04:14:38.139Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-25T04:14:38.194Z] Stashed 1 file(s) [Pipeline] } [2023-01-25T04:14:38.220Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1290-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-25T04:14:38.354Z] $ docker stop --time=1 008ba5bbb30037405ff229fce78eb79e83cba218382e68ba4e420d0c4384d5b7 [2023-01-25T04:14:38.320Z] 9b18e9b68314: Pull complete [2023-01-25T04:14:38.588Z] 891c053d2c06: Verifying Checksum [2023-01-25T04:14:38.588Z] 891c053d2c06: Download complete [2023-01-25T04:14:38.855Z] 35d82f9e3411: Pull complete [2023-01-25T04:14:39.124Z] e16973657156: Pull complete [2023-01-25T04:14:39.601Z] $ docker rm -f --volumes 008ba5bbb30037405ff229fce78eb79e83cba218382e68ba4e420d0c4384d5b7 [2023-01-25T04:14:39.709Z] db1c61fa0a46: Verifying Checksum [2023-01-25T04:14:39.710Z] db1c61fa0a46: Download complete [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-25T04:14:39.979Z] fc693d55d65f: Download complete [2023-01-25T04:14:52.369Z] fc693d55d65f: Pull complete [2023-01-25T04:14:52.369Z] 7e9fc2657dce: Pull complete [2023-01-25T04:14:52.369Z] dda99020689f: Pull complete [2023-01-25T04:14:59.044Z] db1c61fa0a46: Pull complete [2023-01-25T04:15:00.477Z] 891c053d2c06: Pull complete [2023-01-25T04:15:00.477Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-25T04:15:00.477Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-25T04:15:00.477Z] ---> f96f9c87975a [2023-01-25T04:15:00.477Z] Step 3/10 : ARG MAKE=make build [2023-01-25T04:15:01.947Z] ---> Running in c371b4273b1e [2023-01-25T04:15:01.947Z] Removing intermediate container c371b4273b1e [2023-01-25T04:15:01.947Z] ---> 91bf216be4ba [2023-01-25T04:15:01.947Z] Step 4/10 : WORKDIR /device-sdk-go [2023-01-25T04:15:01.947Z] ---> Running in 46b993169ef8 [2023-01-25T04:15:02.558Z] Removing intermediate container 46b993169ef8 [2023-01-25T04:15:02.558Z] ---> 5a595e24e430 [2023-01-25T04:15:02.558Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-25T04:15:02.558Z] ---> Running in 0d136ed95653 [2023-01-25T04:15:02.835Z] Removing intermediate container 0d136ed95653 [2023-01-25T04:15:02.835Z] ---> 7682265e1234 [2023-01-25T04:15:02.835Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-01-25T04:15:02.835Z] ---> Running in 523589eee681 [2023-01-25T04:15:03.805Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-25T04:15:04.413Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-25T04:15:05.378Z] OK: 221 MiB in 51 packages [2023-01-25T04:15:06.342Z] Removing intermediate container 523589eee681 [2023-01-25T04:15:06.342Z] ---> b0c83713aa77 [2023-01-25T04:15:06.342Z] Step 7/10 : COPY go.mod vendor* ./ [2023-01-25T04:15:06.629Z] ---> 48037d2b9dd0 [2023-01-25T04:15:06.629Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-25T04:15:06.629Z] ---> Running in 949668a4dfa3 [2023-01-25T04:17:28.356Z] Removing intermediate container 949668a4dfa3 [2023-01-25T04:17:28.356Z] ---> 5b78ef819561 [2023-01-25T04:17:28.356Z] Step 9/10 : COPY . . [2023-01-25T04:17:28.356Z] ---> 4774c78b9e31 [2023-01-25T04:17:28.356Z] Step 10/10 : RUN ${MAKE} [2023-01-25T04:17:28.356Z] ---> Running in 91703f7d1f5c [2023-01-25T04:17:28.356Z] noop [2023-01-25T04:17:28.356Z] Removing intermediate container 91703f7d1f5c [2023-01-25T04:17:28.356Z] ---> acce59ae7f5f [2023-01-25T04:17:28.356Z] Successfully built acce59ae7f5f [2023-01-25T04:17:28.356Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-25T04:17:28.832Z] + docker inspect -f . ci-base-image-arm64 [2023-01-25T04:17:28.832Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-25T04:17:29.113Z] prd-ubuntu20.04-docker-arm64-4c-16g-3647 does not seem to be running inside a container [2023-01-25T04:17:29.235Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-25T04:17:30.568Z] $ docker top bae04a2756f703863b6fd19fdd93ea720338671c57ac828004f5efdaa9adfcf1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-25T04:17:31.426Z] + go version [2023-01-25T04:17:31.426Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-25T04:17:31.514Z] $ docker stop --time=1 bae04a2756f703863b6fd19fdd93ea720338671c57ac828004f5efdaa9adfcf1 [2023-01-25T04:17:33.165Z] $ docker rm -f --volumes bae04a2756f703863b6fd19fdd93ea720338671c57ac828004f5efdaa9adfcf1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-25T04:17:33.945Z] + docker inspect -f . ci-base-image-arm64 [2023-01-25T04:17:33.945Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-25T04:17:34.203Z] prd-ubuntu20.04-docker-arm64-4c-16g-3647 does not seem to be running inside a container [2023-01-25T04:17:34.320Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-25T04:17:35.566Z] $ docker top c1e1280982b7626b4ccc753b292cd1919f80ed6b19b10d404389f24c03e9ea67 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-25T04:17:36.413Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-01-25T04:17:37.134Z] + make test [2023-01-25T04:17:37.134Z] go test -race -coverprofile=coverage.out ./... [2023-01-25T04:18:16.014Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-01-25T04:20:22.705Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-01-25T04:20:22.705Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-01-25T04:20:22.705Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-01-25T04:20:22.705Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-01-25T04:20:22.705Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-01-25T04:20:26.955Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.248s coverage: 27.6% of statements [2023-01-25T04:20:27.918Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.286s coverage: 78.9% of statements [2023-01-25T04:20:27.918Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-01-25T04:20:34.554Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.309s coverage: 73.6% of statements [2023-01-25T04:20:34.554Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-01-25T04:20:34.555Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-01-25T04:20:37.136Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.443s coverage: 60.6% of statements [2023-01-25T04:20:37.136Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-01-25T04:20:37.136Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging [no test files] [2023-01-25T04:20:37.136Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-01-25T04:20:37.136Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/telemetry [no test files] [2023-01-25T04:20:37.136Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.404s coverage: 65.1% of statements [2023-01-25T04:20:37.136Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-01-25T04:20:37.136Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-01-25T04:20:37.136Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.252s coverage: 89.2% of statements [2023-01-25T04:20:37.136Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-01-25T04:20:37.136Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.248s coverage: 4.6% of statements [2023-01-25T04:20:37.136Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-01-25T04:20:37.402Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-25T04:20:37.402Z] GO111MODULE=on go vet ./... [2023-01-25T04:21:59.054Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-25T04:21:59.054Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-25T04:21:59.054Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-25T04:21:59.092Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-25T04:21:59.159Z] $ docker stop --time=1 c1e1280982b7626b4ccc753b292cd1919f80ed6b19b10d404389f24c03e9ea67 [2023-01-25T04:22:00.973Z] $ docker rm -f --volumes c1e1280982b7626b4ccc753b292cd1919f80ed6b19b10d404389f24c03e9ea67 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-25T04:22:02.306Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-25T04:22:02.340Z] Warning: overwriting stash ‘coverage-report’ [2023-01-25T04:22:02.868Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-25T04:22:03.464Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-25T04:22:03.794Z] + ls -al . [2023-01-25T04:22:03.794Z] total 268 [2023-01-25T04:22:03.795Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 25 04:17 . [2023-01-25T04:22:03.795Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 04:14 .. [2023-01-25T04:22:03.795Z] -rw-rw-r-- 1 jenkins jenkins 140 Jan 25 04:14 .dockerignore [2023-01-25T04:22:03.795Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 25 04:14 .git [2023-01-25T04:22:03.795Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 04:14 .github [2023-01-25T04:22:03.795Z] -rw-rw-r-- 1 jenkins jenkins 131 Jan 25 04:14 .gitignore [2023-01-25T04:22:03.795Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 25 04:14 .golangci.yml [2023-01-25T04:22:03.795Z] -rw-rw-r-- 1 jenkins jenkins 31677 Jan 25 04:14 CHANGELOG.md [2023-01-25T04:22:03.795Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 25 04:14 GOVERNANCE.md [2023-01-25T04:22:03.795Z] -rw-rw-r-- 1 jenkins jenkins 880 Jan 25 04:14 Jenkinsfile [2023-01-25T04:22:03.795Z] -rw-rw-r-- 1 jenkins jenkins 11341 Jan 25 04:14 LICENSE [2023-01-25T04:22:03.795Z] -rw-rw-r-- 1 jenkins jenkins 1679 Jan 25 04:14 Makefile [2023-01-25T04:22:03.795Z] -rw-rw-r-- 1 jenkins jenkins 619 Jan 25 04:14 OWNERS.md [2023-01-25T04:22:03.795Z] -rw-rw-r-- 1 jenkins jenkins 4891 Jan 25 04:14 README.md [2023-01-25T04:22:03.795Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 25 04:10 VERSION [2023-01-25T04:22:03.795Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 25 04:14 bin [2023-01-25T04:22:03.795Z] -rw-r--r-- 1 jenkins jenkins 100832 Jan 25 04:20 coverage.out [2023-01-25T04:22:03.795Z] drwxrwxr-x 5 jenkins jenkins 4096 Jan 25 04:14 example [2023-01-25T04:22:03.795Z] -rw-rw-r-- 1 jenkins jenkins 3307 Jan 25 04:14 go.mod [2023-01-25T04:22:03.795Z] -rw-rw-r-- 1 jenkins jenkins 34396 Jan 25 04:14 go.sum [2023-01-25T04:22:03.795Z] drwxrwxr-x 14 jenkins jenkins 4096 Jan 25 04:14 internal [2023-01-25T04:22:03.795Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 04:14 openapi [2023-01-25T04:22:03.795Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 25 04:14 pkg [2023-01-25T04:22:03.795Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 25 04:14 snap [2023-01-25T04:22:03.795Z] -rw-rw-r-- 1 jenkins jenkins 222 Jan 25 04:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-25T04:22:04.199Z] + 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=15e83892f451e2fa3bbee6901e4c3548de020a12 --label arch=arm64 --label version=0.0.0 . [2023-01-25T04:22:04.465Z] Sending build context to Docker daemon 5.79MB [2023-01-25T04:22:04.734Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-01-25T04:22:04.734Z] Step 2/23 : FROM ${BASE} AS builder [2023-01-25T04:22:04.734Z] ---> acce59ae7f5f [2023-01-25T04:22:04.734Z] Step 3/23 : ARG MAKE=make build [2023-01-25T04:22:04.734Z] ---> Running in 2f708836de88 [2023-01-25T04:22:05.002Z] Removing intermediate container 2f708836de88 [2023-01-25T04:22:05.002Z] ---> 80b0cef6a357 [2023-01-25T04:22:05.002Z] Step 4/23 : WORKDIR /device-sdk-go [2023-01-25T04:22:05.271Z] ---> Running in 01cadec3bc79 [2023-01-25T04:22:05.537Z] Removing intermediate container 01cadec3bc79 [2023-01-25T04:22:05.537Z] ---> 97e6b04f489a [2023-01-25T04:22:05.537Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-01-25T04:22:05.537Z] ---> Running in 066fd90288f7 [2023-01-25T04:22:05.805Z] Removing intermediate container 066fd90288f7 [2023-01-25T04:22:05.805Z] ---> 1153a273d2de [2023-01-25T04:22:05.805Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-01-25T04:22:05.805Z] ---> Running in c1b4c2a68ace [2023-01-25T04:22:06.773Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-25T04:22:08.707Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-25T04:22:12.039Z] OK: 221 MiB in 51 packages [2023-01-25T04:22:12.308Z] Removing intermediate container c1b4c2a68ace [2023-01-25T04:22:12.308Z] ---> 58aa1494d3ca [2023-01-25T04:22:12.308Z] Step 7/23 : COPY go.mod vendor* ./ [2023-01-25T04:22:12.899Z] ---> 6778fe62fe3d [2023-01-25T04:22:12.899Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-25T04:22:12.899Z] ---> Running in 5c55b1c5e28c [2023-01-25T04:22:15.482Z] Removing intermediate container 5c55b1c5e28c [2023-01-25T04:22:15.482Z] ---> 2114da1e36d8 [2023-01-25T04:22:15.482Z] Step 9/23 : COPY . . [2023-01-25T04:22:16.441Z] ---> a9f432271f5f [2023-01-25T04:22:16.441Z] Step 10/23 : RUN ${MAKE} [2023-01-25T04:22:16.709Z] ---> Running in e269d60051d3 [2023-01-25T04:22:17.671Z] 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-25T04:24:24.328Z] Removing intermediate container e269d60051d3 [2023-01-25T04:24:24.328Z] ---> ecafe3fd0242 [2023-01-25T04:24:24.328Z] Step 11/23 : FROM alpine:3.16 [2023-01-25T04:24:24.328Z] 3.16: Pulling from library/alpine [2023-01-25T04:24:24.328Z] 6875df1f5354: Pulling fs layer [2023-01-25T04:24:24.328Z] 6875df1f5354: Verifying Checksum [2023-01-25T04:24:24.328Z] 6875df1f5354: Download complete [2023-01-25T04:24:24.328Z] 6875df1f5354: Pull complete [2023-01-25T04:24:24.328Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-25T04:24:24.328Z] Status: Downloaded newer image for alpine:3.16 [2023-01-25T04:24:24.328Z] ---> 2b4661558fb8 [2023-01-25T04:24:24.328Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-25T04:24:24.328Z] ---> Running in a0e0ec539aae [2023-01-25T04:24:24.328Z] Removing intermediate container a0e0ec539aae [2023-01-25T04:24:24.328Z] ---> 130cb4b73046 [2023-01-25T04:24:24.328Z] Step 13/23 : RUN apk add --update --no-cache [2023-01-25T04:24:24.328Z] ---> Running in e8ae90ceafc2 [2023-01-25T04:24:24.328Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-25T04:24:24.328Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-25T04:24:34.394Z] OK: 5 MiB in 14 packages [2023-01-25T04:24:34.394Z] Removing intermediate container e8ae90ceafc2 [2023-01-25T04:24:34.394Z] ---> 69309fee384c [2023-01-25T04:24:34.394Z] Step 14/23 : WORKDIR / [2023-01-25T04:24:34.394Z] ---> Running in 4c12b6552e0b [2023-01-25T04:24:34.394Z] Removing intermediate container 4c12b6552e0b [2023-01-25T04:24:34.394Z] ---> 57167de2774b [2023-01-25T04:24:34.394Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-01-25T04:24:34.662Z] ---> 64cea477df1f [2023-01-25T04:24:34.662Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-01-25T04:24:36.068Z] ---> 5255b7fa9098 [2023-01-25T04:24:36.068Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-01-25T04:24:38.642Z] ---> 767e6f97f548 [2023-01-25T04:24:38.642Z] Step 18/23 : EXPOSE 59999 [2023-01-25T04:24:38.642Z] ---> Running in 78118e937808 [2023-01-25T04:24:38.910Z] Removing intermediate container 78118e937808 [2023-01-25T04:24:38.910Z] ---> 389526d61e3b [2023-01-25T04:24:38.910Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-01-25T04:24:38.910Z] ---> Running in b722aa3005fb [2023-01-25T04:24:39.177Z] Removing intermediate container b722aa3005fb [2023-01-25T04:24:39.177Z] ---> 2e8aff7c2580 [2023-01-25T04:24:39.177Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-25T04:24:39.177Z] ---> Running in 919366e625da [2023-01-25T04:24:39.449Z] Removing intermediate container 919366e625da [2023-01-25T04:24:39.449Z] ---> 87c112948491 [2023-01-25T04:24:39.449Z] Step 21/23 : LABEL arch=arm64 [2023-01-25T04:24:39.715Z] ---> Running in 786604ea2ff9 [2023-01-25T04:24:39.984Z] Removing intermediate container 786604ea2ff9 [2023-01-25T04:24:39.984Z] ---> 1667b9236847 [2023-01-25T04:24:39.984Z] Step 22/23 : LABEL git_sha=15e83892f451e2fa3bbee6901e4c3548de020a12 [2023-01-25T04:24:39.984Z] ---> Running in f702df9b632a [2023-01-25T04:24:40.255Z] Removing intermediate container f702df9b632a [2023-01-25T04:24:40.255Z] ---> 19c13664ca85 [2023-01-25T04:24:40.255Z] Step 23/23 : LABEL version=0.0.0 [2023-01-25T04:24:40.255Z] ---> Running in dee20650f692 [2023-01-25T04:24:40.523Z] Removing intermediate container dee20650f692 [2023-01-25T04:24:40.523Z] ---> 44758e4e93a1 [2023-01-25T04:24:40.523Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-25T04:24:40.789Z] Successfully built 44758e4e93a1 [2023-01-25T04:24:40.789Z] 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-25T04:24:41.781Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-25T04:24:41.781Z] [2023-01-25T04:24:41.781Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-25T04:24:42.204Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-25T04:24:42.204Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-25T04:24:42.204Z] 8998bd30e6a1: Pulling fs layer [2023-01-25T04:24:42.204Z] 04944245beec: Pulling fs layer [2023-01-25T04:24:42.204Z] 699f458cf7ca: Pulling fs layer [2023-01-25T04:24:42.204Z] 765212b225bb: Pulling fs layer [2023-01-25T04:24:42.204Z] f23df028b6ca: Pulling fs layer [2023-01-25T04:24:42.204Z] d65c8cfc05b1: Pulling fs layer [2023-01-25T04:24:42.204Z] 2437ff75d9bd: Pulling fs layer [2023-01-25T04:24:42.204Z] f23df028b6ca: Waiting [2023-01-25T04:24:42.204Z] d65c8cfc05b1: Waiting [2023-01-25T04:24:42.204Z] 2437ff75d9bd: Waiting [2023-01-25T04:24:42.204Z] 765212b225bb: Waiting [2023-01-25T04:24:42.485Z] 04944245beec: Verifying Checksum [2023-01-25T04:24:42.485Z] 04944245beec: Download complete [2023-01-25T04:24:42.485Z] 765212b225bb: Verifying Checksum [2023-01-25T04:24:42.485Z] 765212b225bb: Download complete [2023-01-25T04:24:42.485Z] f23df028b6ca: Download complete [2023-01-25T04:24:42.485Z] d65c8cfc05b1: Verifying Checksum [2023-01-25T04:24:42.485Z] d65c8cfc05b1: Download complete [2023-01-25T04:24:42.778Z] 699f458cf7ca: Verifying Checksum [2023-01-25T04:24:42.778Z] 699f458cf7ca: Download complete [2023-01-25T04:24:43.391Z] 8998bd30e6a1: Verifying Checksum [2023-01-25T04:24:43.391Z] 8998bd30e6a1: Download complete [2023-01-25T04:24:45.385Z] 2437ff75d9bd: Verifying Checksum [2023-01-25T04:24:45.385Z] 2437ff75d9bd: Download complete [2023-01-25T04:24:47.335Z] 8998bd30e6a1: Pull complete [2023-01-25T04:24:47.603Z] 04944245beec: Pull complete [2023-01-25T04:24:49.019Z] 699f458cf7ca: Pull complete [2023-01-25T04:24:49.287Z] 765212b225bb: Pull complete [2023-01-25T04:24:50.697Z] f23df028b6ca: Pull complete [2023-01-25T04:24:50.967Z] d65c8cfc05b1: Pull complete [2023-01-25T04:25:05.973Z] 2437ff75d9bd: Pull complete [2023-01-25T04:25:05.973Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-25T04:25:05.973Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-25T04:25:05.973Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-25T04:25:06.280Z] prd-ubuntu20.04-docker-arm64-4c-16g-3647 does not seem to be running inside a container [2023-01-25T04:25:06.352Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-25T04:25:08.885Z] $ docker top 8a94d8b627d290b6eefedb63cc1c80def188081c746d3ccbcb05288b050772ff -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-25T04:25:09.764Z] ---> job-cost.sh [2023-01-25T04:25:09.764Z] lf-activate-venv: SKIPPING [2023-01-25T04:25:09.764Z] INFO: No Stack... [2023-01-25T04:25:15.099Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-25T04:25:15.099Z] INFO: Archiving Costs [Pipeline] sh [2023-01-25T04:25:15.439Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-01-25T04:25:15.706Z] + cut -d, -f6 [Pipeline] lock [2023-01-25T04:25:15.800Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1290-1-stack-cost] [2023-01-25T04:25:15.805Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1290-1-stack-cost] did not exist. Created. [2023-01-25T04:25:15.805Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1290-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-25T04:25:16.537Z] /w/workspace/device-sdk-go/1@tmp/durable-c63670d6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-25T04:25:17.200Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-25T04:25:17.239Z] Warning: overwriting stash ‘stack-cost’ [2023-01-25T04:25:17.305Z] Stashed 1 file(s) [Pipeline] } [2023-01-25T04:25:17.319Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1290-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-25T04:25:17.414Z] $ docker stop --time=1 8a94d8b627d290b6eefedb63cc1c80def188081c746d3ccbcb05288b050772ff [2023-01-25T04:25:18.941Z] $ docker rm -f --volumes 8a94d8b627d290b6eefedb63cc1c80def188081c746d3ccbcb05288b050772ff [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-25T04:25:19.938Z] provisioning config files... [2023-01-25T04:25:19.946Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/config16427144736120846221tmp [Pipeline] { [Pipeline] sh [2023-01-25T04:25:20.287Z] + set +x [2023-01-25T04:25:20.287Z] + bash -s --+ [2023-01-25T04:25:20.287Z] curl -s https://codecov.io/bash [2023-01-25T04:25:20.553Z] [2023-01-25T04:25:20.553Z] _____ _ [2023-01-25T04:25:20.553Z] / ____| | | [2023-01-25T04:25:20.553Z] | | ___ __| | ___ ___ _____ __ [2023-01-25T04:25:20.553Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-25T04:25:20.553Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-25T04:25:20.553Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-25T04:25:20.553Z] Bash-1.0.6 [2023-01-25T04:25:20.553Z] [2023-01-25T04:25:20.553Z] [2023-01-25T04:25:20.553Z] ==> git version 2.25.1 found [2023-01-25T04:25:20.553Z] ==> 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-25T04:25:20.553Z] Release-Date: 2020-01-08 [2023-01-25T04:25:20.553Z] 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-25T04:25:20.553Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-25T04:25:20.814Z] ==> Jenkins CI detected. [2023-01-25T04:25:20.814Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1290 [2023-01-25T04:25:20.814Z] project root: . [2023-01-25T04:25:20.814Z] --> token set from env [2023-01-25T04:25:20.814Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-25T04:25:20.814Z] ==> Running gcov in . (disable via -X gcov) [2023-01-25T04:25:20.814Z] ==> Python coveragepy not found [2023-01-25T04:25:20.814Z] ==> Searching for coverage reports in: [2023-01-25T04:25:20.814Z] + . [2023-01-25T04:25:20.814Z] -> Found 1 reports [2023-01-25T04:25:20.814Z] ==> Detecting git/mercurial file structure [2023-01-25T04:25:20.814Z] ==> Reading reports [2023-01-25T04:25:20.814Z] + ./coverage.out bytes=100832 [2023-01-25T04:25:20.814Z] ==> Appending adjustments [2023-01-25T04:25:20.814Z] https://docs.codecov.io/docs/fixing-reports [2023-01-25T04:25:21.073Z] + Found adjustments [2023-01-25T04:25:21.073Z] ==> Gzipping contents [2023-01-25T04:25:21.073Z] 16K /tmp/codecov.9v60yI.gz [2023-01-25T04:25:21.073Z] ==> Uploading reports [2023-01-25T04:25:21.073Z] url: https://codecov.io [2023-01-25T04:25:21.073Z] query: branch=PR-1290&commit=15e83892f451e2fa3bbee6901e4c3548de020a12&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1290%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1290&job=&cmd_args= [2023-01-25T04:25:21.073Z] -> Pinging Codecov [2023-01-25T04:25:21.073Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1290&commit=15e83892f451e2fa3bbee6901e4c3548de020a12&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1290%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1290&job=&cmd_args= [2023-01-25T04:25:22.011Z] -> Uploading to [2023-01-25T04:25:22.011Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-25/7E55EF52A471D76F132DFD9A03CDDE97/15e83892f451e2fa3bbee6901e4c3548de020a12/7b4b7493-be00-41e5-9552-d36a5e04a78f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230125%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230125T042521Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=36bf0135943710550f4ce466d1aeecfd2ab3a154a915761a3a804b50ad68cc79 [2023-01-25T04:25:22.011Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-25T04:25:22.011Z] Dload Upload Total Spent Left Speed [2023-01-25T04:25:22.585Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14683 0 0 100 14683 0 25447 --:--:-- --:--:-- --:--:-- 25403 100 14683 0 0 100 14683 0 25447 --:--:-- --:--:-- --:--:-- 25403 [2023-01-25T04:25:22.585Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/15e83892f451e2fa3bbee6901e4c3548de020a12 [Pipeline] } [2023-01-25T04:25:22.611Z] 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-25T04:25:24.333Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives ] [2023-01-25T04:25:24.333Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives [2023-01-25T04:25:24.333Z] total 16 [2023-01-25T04:25:24.333Z] drwxr-xr-x 3 root root 4096 Jan 25 04:14 . [2023-01-25T04:25:24.333Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 25 04:14 .. [2023-01-25T04:25:24.333Z] drwxr-xr-x 2 root root 4096 Jan 25 04:14 cost [2023-01-25T04:25:24.333Z] -rw-r--r-- 1 root root 86 Jan 25 04:14 cost.csv [2023-01-25T04:25:24.333Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives [2023-01-25T04:25:24.333Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives [2023-01-25T04:25:24.333Z] total 16 [2023-01-25T04:25:24.333Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 25 04:14 . [2023-01-25T04:25:24.333Z] drwxrwxr-x 12 jenkins jenkins 4096 Jan 25 04:14 .. [2023-01-25T04:25:24.333Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 25 04:14 cost [2023-01-25T04:25:24.333Z] -rw-r--r-- 1 jenkins jenkins 86 Jan 25 04:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-25T04:25:24.665Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-25T04:25:25.578Z] ---> package-listing.sh [2023-01-25T04:25:25.579Z] ++ facter osfamily [2023-01-25T04:25:25.579Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-25T04:25:25.847Z] + OS_FAMILY=debian [2023-01-25T04:25:25.847Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1290 [2023-01-25T04:25:25.847Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-25T04:25:25.847Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-25T04:25:25.847Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-25T04:25:25.847Z] + PACKAGES=/tmp/packages_start.txt [2023-01-25T04:25:25.847Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1290 ']' [2023-01-25T04:25:25.847Z] + PACKAGES=/tmp/packages_end.txt [2023-01-25T04:25:25.847Z] + case "${OS_FAMILY}" in [2023-01-25T04:25:25.847Z] + dpkg -l [2023-01-25T04:25:25.847Z] + grep '^ii' [2023-01-25T04:25:25.847Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-25T04:25:25.847Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-25T04:25:25.847Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-25T04:25:25.847Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1290 ']' [2023-01-25T04:25:25.847Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives/ [2023-01-25T04:25:25.847Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1290/archives/ [Pipeline] echo [2023-01-25T04:25:25.878Z] 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-1290/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-25T04:25:26.180Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-25T04:25:26.879Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-25T04:25:26.879Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-25T04:25:27.086Z] prd-ubuntu20.04-docker-8c-8g-3646 does not seem to be running inside a container [2023-01-25T04:25:27.151Z] $ 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-1290/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-1290 -v /w/workspace/gexfoundry_device-sdk-go_PR-1290:/w/workspace/gexfoundry_device-sdk-go_PR-1290:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-25T04:25:27.342Z] $ docker top 4d0e9039ab18cd1180e8d468d1e8658d62ccae6a75999349f0225563f790e17b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-25T04:25:27.754Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-25T04:25:28.064Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-25T04:25:28.398Z] + ls /var/log/sa-host [2023-01-25T04:25:28.398Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-25T04:25:28.530Z] provisioning config files... [2023-01-25T04:25:28.540Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1290@tmp/config16049613831968080025tmp [Pipeline] { [Pipeline] echo [2023-01-25T04:25:28.591Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-25T04:25:28.927Z] ---> create-netrc.sh [Pipeline] } [2023-01-25T04:25:28.954Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-25T04:25:29.349Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-25T04:25:29.381Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-25T04:25:29.721Z] ---> sudo-logs.sh [2023-01-25T04:25:29.722Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-25T04:25:29.806Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-25T04:25:30.126Z] ---> job-cost.sh [2023-01-25T04:25:30.127Z] lf-activate-venv: SKIPPING [2023-01-25T04:25:30.127Z] DEBUG: total: 0.2199999988079071 [2023-01-25T04:25:30.127Z] INFO: Retrieving Stack Cost... [2023-01-25T04:25:30.698Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-25T04:25:31.301Z] INFO: Archiving Costs [Pipeline] echo [2023-01-25T04:25:31.342Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-25T04:25:31.657Z] ---> logs-deploy.sh [2023-01-25T04:25:31.657Z] lf-activate-venv: SKIPPING [2023-01-25T04:25:31.657Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1290/1 [2023-01-25T04:25:31.657Z] INFO: archiving workspace using pattern(s): [2023-01-25T04:25:32.659Z] Archives upload complete. [2023-01-25T04:25:32.929Z] INFO: archiving logs to Nexus