Pull request #1346 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c12d5f7edd7d8ef06f38190c091be39c740e0cd4+b7afc2aba7a1c5861c6c21c42b42dc1283ea5949 (1810ecad300afbaf5b86ee4ddd353bcb603a5bd0) 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-ssh17794016760323915460.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-ssh6565090304790901624.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-1346/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-1346/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17015119730523646701.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-1346/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh205288195956429202.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-ssh16539134146960861920.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-1346/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-1346/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6730928877444906249.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7335 in /w/workspace/gexfoundry_device-sdk-go_PR-1346 [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-1346 # 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/1346/head:refs/remotes/origin/PR-1346 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b7afc2aba7a1c5861c6c21c42b42dc1283ea5949 into PR head commit c12d5f7edd7d8ef06f38190c091be39c740e0cd4 Merge succeeded, producing c12d5f7edd7d8ef06f38190c091be39c740e0cd4 Checking out Revision c12d5f7edd7d8ef06f38190c091be39c740e0cd4 (PR-1346) 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] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-24T04:19:24.908Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f c12d5f7edd7d8ef06f38190c091be39c740e0cd4 # 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 b7afc2aba7a1c5861c6c21c42b42dc1283ea5949 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c12d5f7edd7d8ef06f38190c091be39c740e0cd4 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-24T04:19:25.088Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-24T04:19:25.188Z] ========================================================= [2023-02-24T04:19:25.188Z] EdgeX Global Pipelines Version Info [2023-02-24T04:19:25.188Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-24T04:19:25.930Z] ------------------- [2023-02-24T04:19:25.930Z] stable info: [2023-02-24T04:19:25.930Z] ------------------- [2023-02-24T04:19:25.930Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-24T04:19:25.930Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-24T04:19:25.930Z] Message: update stable to v1.0.244 [2023-02-24T04:19:26.515Z] ------------------- [2023-02-24T04:19:26.515Z] experimental info: [2023-02-24T04:19:26.515Z] ------------------- [2023-02-24T04:19:26.515Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-24T04:19:26.515Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-24T04:19:26.515Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-24T04:19:26.807Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-02-24T04:19:26.848Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-02-24T04:19:26.886Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-24T04:19:26.927Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-24T04:19:26.964Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-24T04:19:27.005Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-24T04:19:27.044Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-24T04:19:27.080Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-02-24T04:19:27.115Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-24T04:19:27.153Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-24T04:19:27.192Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-24T04:19:27.236Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-02-24T04:19:27.276Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-24T04:19:27.318Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-24T04:19:27.360Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-24T04:19:27.398Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-02-24T04:19:27.437Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-24T04:19:27.473Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-24T04:19:27.509Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-24T04:19:27.547Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-24T04:19:27.596Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-24T04:19:27.632Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-02-24T04:19:27.669Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-24T04:19:27.705Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-24T04:19:27.742Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-24T04:19:27.779Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-24T04:19:27.815Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-24T04:19:27.852Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1346 [Pipeline] echo [2023-02-24T04:19:27.892Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1346 [Pipeline] echo [2023-02-24T04:19:27.928Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1346 [Pipeline] echo [2023-02-24T04:19:27.965Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c12d5f7edd7d8ef06f38190c091be39c740e0cd4 [Pipeline] echo [2023-02-24T04:19:28.002Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c12d5f7 [Pipeline] echo [2023-02-24T04:19:28.037Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-24T04:19:28.152Z] provisioning config files... [2023-02-24T04:19:28.166Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1346@tmp/config5464445956863813120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T04:19:28.503Z] ---> docker-login.sh [2023-02-24T04:19:28.503Z] nexus3.edgexfoundry.org:10001 [2023-02-24T04:19:28.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T04:19:29.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T04:19:29.025Z] Configure a credential helper to remove this warning. See [2023-02-24T04:19:29.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T04:19:29.025Z] [2023-02-24T04:19:29.025Z] Login Succeeded [2023-02-24T04:19:29.025Z] nexus3.edgexfoundry.org:10002 [2023-02-24T04:19:29.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T04:19:29.025Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T04:19:29.025Z] Configure a credential helper to remove this warning. See [2023-02-24T04:19:29.025Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T04:19:29.025Z] [2023-02-24T04:19:29.025Z] Login Succeeded [2023-02-24T04:19:29.025Z] nexus3.edgexfoundry.org:10003 [2023-02-24T04:19:29.025Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T04:19:29.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T04:19:29.286Z] Configure a credential helper to remove this warning. See [2023-02-24T04:19:29.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T04:19:29.286Z] [2023-02-24T04:19:29.286Z] Login Succeeded [2023-02-24T04:19:29.286Z] nexus3.edgexfoundry.org:10004 [2023-02-24T04:19:29.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T04:19:29.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T04:19:29.286Z] Configure a credential helper to remove this warning. See [2023-02-24T04:19:29.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T04:19:29.286Z] [2023-02-24T04:19:29.286Z] Login Succeeded [2023-02-24T04:19:29.286Z] docker.io [2023-02-24T04:19:29.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T04:19:29.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T04:19:29.547Z] Configure a credential helper to remove this warning. See [2023-02-24T04:19:29.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T04:19:29.547Z] [2023-02-24T04:19:29.547Z] Login Succeeded [2023-02-24T04:19:29.547Z] ---> docker-login.sh ends [Pipeline] } [2023-02-24T04:19:29.571Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-24T04:19:30.159Z] + git rev-list -1 --merges c12d5f7edd7d8ef06f38190c091be39c740e0cd4~1..c12d5f7edd7d8ef06f38190c091be39c740e0cd4 [Pipeline] echo [2023-02-24T04:19:30.219Z] -----------> git rev-list -1 --merges c12d5f7edd7d8ef06f38190c091be39c740e0cd4~1..c12d5f7edd7d8ef06f38190c091be39c740e0cd4 c12d5f7edd7d8ef06f38190c091be39c740e0cd4 [false] [Pipeline] sh [2023-02-24T04:19:30.525Z] + git log --format=format:%s -1 c12d5f7edd7d8ef06f38190c091be39c740e0cd4 [Pipeline] echo [2023-02-24T04:19:30.558Z] ========================================================= [2023-02-24T04:19:30.558Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-24T04:19:30.558Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-24T04:19:30.985Z] + git log --format=format:%s -1 c12d5f7edd7d8ef06f38190c091be39c740e0cd4 [Pipeline] echo [2023-02-24T04:19:31.016Z] [semverPrep] GIT_COMMIT: c12d5f7edd7d8ef06f38190c091be39c740e0cd4, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-02-24T04:19:31.045Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-24T04:19:31.435Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-24T04:19:31.435Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-24T04:19:31.435Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-24T04:19:31.435Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-24T04:19:31.435Z] + + sudoecho tee github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= -a [2023-02-24T04:19:31.435Z] /etc/ssh/ssh_known_hosts [2023-02-24T04:19:31.435Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T04:19:31.923Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-24T04:19:31.923Z] [2023-02-24T04:19:31.923Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T04:19:32.308Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-24T04:19:32.308Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-24T04:19:32.308Z] b85a868b505f: Pulling fs layer [2023-02-24T04:19:32.308Z] e2be974225ed: Pulling fs layer [2023-02-24T04:19:32.308Z] 339a4e72a1f5: Pulling fs layer [2023-02-24T04:19:32.308Z] 988bab9f4d93: Pulling fs layer [2023-02-24T04:19:32.308Z] 1469e6f7b9e6: Pulling fs layer [2023-02-24T04:19:32.308Z] eaf3925da568: Pulling fs layer [2023-02-24T04:19:32.308Z] bab4dde63d76: Pulling fs layer [2023-02-24T04:19:32.308Z] bde34c3a00c8: Pulling fs layer [2023-02-24T04:19:32.308Z] b352a97aabf1: Pulling fs layer [2023-02-24T04:19:32.308Z] 4872d77fe225: Pulling fs layer [2023-02-24T04:19:32.308Z] 5851b861e8e6: Pulling fs layer [2023-02-24T04:19:32.308Z] b352a97aabf1: Waiting [2023-02-24T04:19:32.308Z] 4872d77fe225: Waiting [2023-02-24T04:19:32.308Z] 5851b861e8e6: Waiting [2023-02-24T04:19:32.308Z] bab4dde63d76: Waiting [2023-02-24T04:19:32.308Z] bde34c3a00c8: Waiting [2023-02-24T04:19:32.308Z] 988bab9f4d93: Waiting [2023-02-24T04:19:32.308Z] 1469e6f7b9e6: Waiting [2023-02-24T04:19:32.308Z] eaf3925da568: Waiting [2023-02-24T04:19:32.308Z] e2be974225ed: Verifying Checksum [2023-02-24T04:19:32.308Z] 988bab9f4d93: Download complete [2023-02-24T04:19:32.571Z] 1469e6f7b9e6: Verifying Checksum [2023-02-24T04:19:32.571Z] 1469e6f7b9e6: Download complete [2023-02-24T04:19:32.571Z] 339a4e72a1f5: Verifying Checksum [2023-02-24T04:19:32.571Z] 339a4e72a1f5: Download complete [2023-02-24T04:19:32.571Z] eaf3925da568: Download complete [2023-02-24T04:19:32.571Z] bde34c3a00c8: Verifying Checksum [2023-02-24T04:19:32.571Z] bde34c3a00c8: Download complete [2023-02-24T04:19:32.571Z] b352a97aabf1: Verifying Checksum [2023-02-24T04:19:32.571Z] b352a97aabf1: Download complete [2023-02-24T04:19:32.571Z] 4872d77fe225: Verifying Checksum [2023-02-24T04:19:32.571Z] 4872d77fe225: Download complete [2023-02-24T04:19:32.571Z] 5851b861e8e6: Verifying Checksum [2023-02-24T04:19:32.571Z] 5851b861e8e6: Download complete [2023-02-24T04:19:32.571Z] b85a868b505f: Download complete [2023-02-24T04:19:33.144Z] bab4dde63d76: Verifying Checksum [2023-02-24T04:19:33.144Z] bab4dde63d76: Download complete [2023-02-24T04:19:33.713Z] b85a868b505f: Pull complete [2023-02-24T04:19:33.971Z] e2be974225ed: Pull complete [2023-02-24T04:19:34.234Z] 339a4e72a1f5: Pull complete [2023-02-24T04:19:34.494Z] 988bab9f4d93: Pull complete [2023-02-24T04:19:34.753Z] 1469e6f7b9e6: Pull complete [2023-02-24T04:19:34.753Z] eaf3925da568: Pull complete [2023-02-24T04:19:36.667Z] bab4dde63d76: Pull complete [2023-02-24T04:19:36.667Z] bde34c3a00c8: Pull complete [2023-02-24T04:19:36.667Z] b352a97aabf1: Pull complete [2023-02-24T04:19:36.667Z] 4872d77fe225: Pull complete [2023-02-24T04:19:36.667Z] 5851b861e8e6: Pull complete [2023-02-24T04:19:36.667Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-24T04:19:36.667Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-24T04:19:36.667Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T04:19:36.884Z] prd-ubuntu20.04-docker-8c-8g-7335 does not seem to be running inside a container [2023-02-24T04:19:36.919Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1346 -v /w/workspace/gexfoundry_device-sdk-go_PR-1346:/w/workspace/gexfoundry_device-sdk-go_PR-1346:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1346@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1346@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-02-24T04:19:39.687Z] $ docker top e00b6b3010dc172f5328a8ed6dcb5052effcee0a7423d16d5bbf813108be126a -eo pid,comm [2023-02-24T04:19:39.738Z] 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-02-24T04:19:39.738Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-24T04:19:39.865Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-24T04:19:39.865Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-24T04:19:39.978Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-24T04:19:39.980Z] $ docker exec e00b6b3010dc172f5328a8ed6dcb5052effcee0a7423d16d5bbf813108be126a ssh-agent [2023-02-24T04:19:40.085Z] SSH_AUTH_SOCK=/tmp/ssh-HqUTAHYPui26/agent.32 [2023-02-24T04:19:40.085Z] SSH_AGENT_PID=38 [2023-02-24T04:19:40.090Z] Running ssh-add (command line suppressed) [2023-02-24T04:19:40.185Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1346@tmp/private_key_13768432184246681782.key (/w/workspace/gexfoundry_device-sdk-go_PR-1346@tmp/private_key_13768432184246681782.key) [2023-02-24T04:19:40.199Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-24T04:19:40.524Z] + git tag --points-at HEAD [Pipeline] } [2023-02-24T04:19:40.548Z] $ docker exec --env ******** --env ******** e00b6b3010dc172f5328a8ed6dcb5052effcee0a7423d16d5bbf813108be126a ssh-agent -k [2023-02-24T04:19:40.634Z] unset SSH_AUTH_SOCK; [2023-02-24T04:19:40.637Z] unset SSH_AGENT_PID; [2023-02-24T04:19:40.637Z] echo Agent pid 38 killed; [2023-02-24T04:19:40.644Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-24T04:19:40.724Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-24T04:19:40.724Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-24T04:19:40.832Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-24T04:19:40.834Z] $ docker exec e00b6b3010dc172f5328a8ed6dcb5052effcee0a7423d16d5bbf813108be126a ssh-agent [2023-02-24T04:19:40.950Z] SSH_AUTH_SOCK=/tmp/ssh-dFcDRrAnC1Xb/agent.70 [2023-02-24T04:19:40.950Z] SSH_AGENT_PID=76 [2023-02-24T04:19:40.955Z] Running ssh-add (command line suppressed) [2023-02-24T04:19:41.047Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1346@tmp/private_key_6167587739003489100.key (/w/workspace/gexfoundry_device-sdk-go_PR-1346@tmp/private_key_6167587739003489100.key) [2023-02-24T04:19:41.063Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-24T04:19:41.393Z] + git semver init [2023-02-24T04:19:41.654Z] 2023-02-24 04:19:41,559 [run_init] DEBUG init version:0.0.0 force:False [2023-02-24T04:19:41.654Z] 2023-02-24 04:19:41,560 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1346/.semver [2023-02-24T04:19:41.654Z] 2023-02-24 04:19:41,560 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1346/.semver [2023-02-24T04:19:41.654Z] 2023-02-24 04:19:41,560 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1346/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1346, universal_newlines=False, shell=None, istream=None) [2023-02-24T04:19:42.595Z] 2023-02-24 04:19:42,578 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1346/.git/info/exclude [2023-02-24T04:19:42.595Z] 2023-02-24 04:19:42,579 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1346/.semver/PR-1346 with force:False [2023-02-24T04:19:42.595Z] 2023-02-24 04:19:42,579 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1346/.semver/PR-1346 [2023-02-24T04:19:42.595Z] 2023-02-24 04:19:42,582 [execute] INFO git cat-file --batch-check [2023-02-24T04:19:42.595Z] 2023-02-24 04:19:42,582 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1346/.semver, universal_newlines=False, shell=None, istream=) [2023-02-24T04:19:42.595Z] 2023-02-24 04:19:42,589 [execute] INFO git cat-file --batch [2023-02-24T04:19:42.595Z] 2023-02-24 04:19:42,589 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1346/.semver, universal_newlines=False, shell=None, istream=) [2023-02-24T04:19:42.595Z] 2023-02-24 04:19:42,593 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1346/.semver/PR-1346 [2023-02-24T04:19:42.595Z] 0.0.0 [Pipeline] } [2023-02-24T04:19:42.872Z] $ docker exec --env ******** --env ******** e00b6b3010dc172f5328a8ed6dcb5052effcee0a7423d16d5bbf813108be126a ssh-agent -k [2023-02-24T04:19:42.965Z] unset SSH_AUTH_SOCK; [2023-02-24T04:19:42.965Z] unset SSH_AGENT_PID; [2023-02-24T04:19:42.965Z] echo Agent pid 76 killed; [2023-02-24T04:19:42.973Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-24T04:19:43.385Z] + git semver [Pipeline] } [2023-02-24T04:19:43.666Z] $ docker stop --time=1 e00b6b3010dc172f5328a8ed6dcb5052effcee0a7423d16d5bbf813108be126a [2023-02-24T04:19:44.978Z] $ docker rm -f --volumes e00b6b3010dc172f5328a8ed6dcb5052effcee0a7423d16d5bbf813108be126a [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-24T04:19:45.388Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-24T04:19:45.669Z] Stashed 1 file(s) [Pipeline] echo [2023-02-24T04:19:45.688Z] [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-02-24T04:19:46.299Z] provisioning config files... [2023-02-24T04:19:46.310Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1346@tmp/config7929844485314883309tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T04:19:46.651Z] ---> docker-login.sh [2023-02-24T04:19:46.651Z] nexus3.edgexfoundry.org:10001 [2023-02-24T04:19:46.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T04:19:46.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T04:19:46.651Z] Configure a credential helper to remove this warning. See [2023-02-24T04:19:46.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T04:19:46.651Z] [2023-02-24T04:19:46.651Z] Login Succeeded [2023-02-24T04:19:46.651Z] nexus3.edgexfoundry.org:10002 [2023-02-24T04:19:46.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T04:19:46.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T04:19:46.651Z] Configure a credential helper to remove this warning. See [2023-02-24T04:19:46.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T04:19:46.651Z] [2023-02-24T04:19:46.651Z] Login Succeeded [2023-02-24T04:19:46.651Z] nexus3.edgexfoundry.org:10003 [2023-02-24T04:19:46.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T04:19:46.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T04:19:46.910Z] Configure a credential helper to remove this warning. See [2023-02-24T04:19:46.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T04:19:46.910Z] [2023-02-24T04:19:46.910Z] Login Succeeded [2023-02-24T04:19:46.910Z] nexus3.edgexfoundry.org:10004 [2023-02-24T04:19:46.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T04:19:46.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T04:19:46.910Z] Configure a credential helper to remove this warning. See [2023-02-24T04:19:46.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T04:19:46.910Z] [2023-02-24T04:19:46.910Z] Login Succeeded [2023-02-24T04:19:46.910Z] docker.io [2023-02-24T04:19:46.910Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T04:19:47.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T04:19:47.170Z] Configure a credential helper to remove this warning. See [2023-02-24T04:19:47.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T04:19:47.170Z] [2023-02-24T04:19:47.170Z] Login Succeeded [2023-02-24T04:19:47.170Z] ---> docker-login.sh ends [Pipeline] } [2023-02-24T04:19:47.199Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-24T04:19:47.368Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-24T04:19:47.407Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-24T04:19:47.439Z] ========================================================= [2023-02-24T04:19:47.439Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-24T04:19:47.439Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T04:19:47.918Z] + 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-02-24T04:19:47.918Z] Sending build context to Docker daemon 10.56MB [2023-02-24T04:19:47.918Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-24T04:19:47.918Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-24T04:19:48.179Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-24T04:19:48.179Z] 213ec9aee27d: Pulling fs layer [2023-02-24T04:19:48.179Z] 4583459ba037: Pulling fs layer [2023-02-24T04:19:48.179Z] 93c1e223e6f2: Pulling fs layer [2023-02-24T04:19:48.179Z] 53926ce57604: Pulling fs layer [2023-02-24T04:19:48.179Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-24T04:19:48.179Z] 22ff95d597cd: Pulling fs layer [2023-02-24T04:19:48.179Z] 12d6caf4c0d1: Pulling fs layer [2023-02-24T04:19:48.179Z] 96b7cbca73a9: Pulling fs layer [2023-02-24T04:19:48.179Z] a7acece74701: Pulling fs layer [2023-02-24T04:19:48.179Z] 96b7cbca73a9: Waiting [2023-02-24T04:19:48.179Z] 22ff95d597cd: Waiting [2023-02-24T04:19:48.179Z] 12d6caf4c0d1: Waiting [2023-02-24T04:19:48.179Z] a7acece74701: Waiting [2023-02-24T04:19:48.179Z] 53926ce57604: Waiting [2023-02-24T04:19:48.179Z] 21b2b0c7a3f4: Waiting [2023-02-24T04:19:48.179Z] 93c1e223e6f2: Verifying Checksum [2023-02-24T04:19:48.179Z] 93c1e223e6f2: Download complete [2023-02-24T04:19:48.179Z] 4583459ba037: Download complete [2023-02-24T04:19:48.179Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-24T04:19:48.179Z] 21b2b0c7a3f4: Download complete [2023-02-24T04:19:48.179Z] 22ff95d597cd: Download complete [2023-02-24T04:19:48.179Z] 213ec9aee27d: Verifying Checksum [2023-02-24T04:19:48.179Z] 213ec9aee27d: Download complete [2023-02-24T04:19:48.179Z] 12d6caf4c0d1: Verifying Checksum [2023-02-24T04:19:48.179Z] 12d6caf4c0d1: Download complete [2023-02-24T04:19:48.442Z] 213ec9aee27d: Pull complete [2023-02-24T04:19:48.442Z] 4583459ba037: Pull complete [2023-02-24T04:19:48.702Z] 93c1e223e6f2: Pull complete [2023-02-24T04:19:48.702Z] a7acece74701: Verifying Checksum [2023-02-24T04:19:48.702Z] a7acece74701: Download complete [2023-02-24T04:19:48.963Z] 96b7cbca73a9: Verifying Checksum [2023-02-24T04:19:48.963Z] 96b7cbca73a9: Download complete [2023-02-24T04:19:48.963Z] 53926ce57604: Verifying Checksum [2023-02-24T04:19:48.963Z] 53926ce57604: Download complete [2023-02-24T04:19:53.149Z] 53926ce57604: Pull complete [2023-02-24T04:19:53.149Z] 21b2b0c7a3f4: Pull complete [2023-02-24T04:19:53.149Z] 22ff95d597cd: Pull complete [2023-02-24T04:19:53.149Z] 12d6caf4c0d1: Pull complete [2023-02-24T04:19:55.677Z] 96b7cbca73a9: Pull complete [2023-02-24T04:19:56.243Z] a7acece74701: Pull complete [2023-02-24T04:19:56.243Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-24T04:19:56.243Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-24T04:19:56.243Z] ---> db6d94c90886 [2023-02-24T04:19:56.243Z] Step 3/10 : ARG MAKE=make build [2023-02-24T04:20:01.105Z] Still waiting to schedule task [2023-02-24T04:20:01.105Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-24T04:20:01.526Z] ---> Running in 4f1b445ab94f [2023-02-24T04:20:01.527Z] Removing intermediate container 4f1b445ab94f [2023-02-24T04:20:01.527Z] ---> 31e85135b5b6 [2023-02-24T04:20:01.527Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-24T04:20:01.527Z] ---> Running in a4fb7952cd2c [2023-02-24T04:20:01.527Z] Removing intermediate container a4fb7952cd2c [2023-02-24T04:20:01.527Z] ---> 2fb7aead8d6e [2023-02-24T04:20:01.527Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-24T04:20:01.527Z] ---> Running in 8f7b8215bc5a [2023-02-24T04:20:01.527Z] Removing intermediate container 8f7b8215bc5a [2023-02-24T04:20:01.527Z] ---> ea220ea1d811 [2023-02-24T04:20:01.527Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-24T04:20:01.527Z] ---> Running in 1d00d53cdc07 [2023-02-24T04:20:01.527Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-24T04:20:01.527Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-24T04:20:01.786Z] OK: 211 MiB in 51 packages [2023-02-24T04:20:02.353Z] Removing intermediate container 1d00d53cdc07 [2023-02-24T04:20:02.353Z] ---> 8011cf24e66c [2023-02-24T04:20:02.353Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-24T04:20:02.353Z] ---> cf9ce75bf311 [2023-02-24T04:20:02.353Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-24T04:20:02.353Z] ---> Running in 36c8ec4406bf [2023-02-24T04:20:41.159Z] Removing intermediate container 36c8ec4406bf [2023-02-24T04:20:41.159Z] ---> 41df4273c21e [2023-02-24T04:20:41.159Z] Step 9/10 : COPY . . [2023-02-24T04:20:41.159Z] ---> 330ef508ff97 [2023-02-24T04:20:41.159Z] Step 10/10 : RUN ${MAKE} [2023-02-24T04:20:41.159Z] ---> Running in 27d2e737b612 [2023-02-24T04:20:41.159Z] noop [2023-02-24T04:20:41.159Z] Removing intermediate container 27d2e737b612 [2023-02-24T04:20:41.159Z] ---> 79aaacc5fe72 [2023-02-24T04:20:41.159Z] Successfully built 79aaacc5fe72 [2023-02-24T04:20:41.159Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T04:20:41.601Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-24T04:20:41.601Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T04:20:41.746Z] prd-ubuntu20.04-docker-8c-8g-7335 does not seem to be running inside a container [2023-02-24T04:20:41.775Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1346 -v /w/workspace/gexfoundry_device-sdk-go_PR-1346:/w/workspace/gexfoundry_device-sdk-go_PR-1346:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1346@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1346@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-02-24T04:20:42.120Z] $ docker top 6281e34a7c8ecfe6336d12f7382c52c772fb2932cd0a6864cbccdc994d4541b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T04:20:42.509Z] + go version [2023-02-24T04:20:42.509Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-24T04:20:42.546Z] $ docker stop --time=1 6281e34a7c8ecfe6336d12f7382c52c772fb2932cd0a6864cbccdc994d4541b3 [2023-02-24T04:20:43.821Z] $ docker rm -f --volumes 6281e34a7c8ecfe6336d12f7382c52c772fb2932cd0a6864cbccdc994d4541b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T04:20:44.529Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-24T04:20:44.530Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T04:20:44.677Z] prd-ubuntu20.04-docker-8c-8g-7335 does not seem to be running inside a container [2023-02-24T04:20:44.707Z] $ 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-1346 -v /w/workspace/gexfoundry_device-sdk-go_PR-1346:/w/workspace/gexfoundry_device-sdk-go_PR-1346:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1346@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1346@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-02-24T04:20:45.028Z] $ docker top 8d12dcc32578866516fe2b6f0970783debb96a4ee5dc901617d9a0ff8474c77a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T04:20:45.414Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1346 [Pipeline] fileExists [Pipeline] sh [2023-02-24T04:20:45.758Z] + make test [2023-02-24T04:20:45.758Z] go test -race -coverprofile=coverage.out ./... [2023-02-24T04:20:52.319Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-24T04:21:04.511Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-24T04:21:04.511Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-24T04:21:04.511Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-24T04:21:04.511Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-24T04:21:04.511Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-24T04:21:04.511Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.068s coverage: 27.6% of statements [2023-02-24T04:21:04.511Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.084s coverage: 78.9% of statements [2023-02-24T04:21:04.511Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-24T04:21:04.511Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.102s coverage: 86.0% of statements [2023-02-24T04:21:04.511Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-24T04:21:04.511Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-24T04:21:05.076Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.087s coverage: 74.7% of statements [2023-02-24T04:21:05.076Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-24T04:21:08.359Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.068s coverage: 15.5% of statements [2023-02-24T04:21:08.359Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-24T04:21:08.359Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.095s coverage: 65.2% of statements [2023-02-24T04:21:08.359Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-24T04:21:08.359Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-24T04:21:08.359Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.747s coverage: 89.2% of statements [2023-02-24T04:21:08.359Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-24T04:21:08.359Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.056s coverage: 4.6% of statements [2023-02-24T04:21:08.359Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-24T04:21:23.235Z] 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-02-24T04:21:23.235Z] GO111MODULE=on go vet ./... [2023-02-24T04:21:25.139Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-24T04:21:25.139Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-24T04:21:25.139Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-24T04:21:25.182Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-24T04:21:25.210Z] $ docker stop --time=1 8d12dcc32578866516fe2b6f0970783debb96a4ee5dc901617d9a0ff8474c77a [2023-02-24T04:21:29.783Z] $ docker rm -f --volumes 8d12dcc32578866516fe2b6f0970783debb96a4ee5dc901617d9a0ff8474c77a [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-24T04:21:30.327Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-24T04:21:30.431Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-24T04:21:30.868Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7336 in /w/workspace/gexfoundry_device-sdk-go_PR-1346 [Pipeline] { [Pipeline] ws [2023-02-24T04:21:30.930Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-02-24T04:21:31.080Z] The recommended git tool is: git [2023-02-24T04:21:31.113Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-24T04:21:31.463Z] + ls -al . [2023-02-24T04:21:31.464Z] total 284 [2023-02-24T04:21:31.464Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 24 04:20 . [2023-02-24T04:21:31.464Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 04:19 .. [2023-02-24T04:21:31.464Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 24 04:19 .dockerignore [2023-02-24T04:21:31.464Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 24 04:21 .git [2023-02-24T04:21:31.464Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 04:19 .github [2023-02-24T04:21:31.464Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 24 04:19 .gitignore [2023-02-24T04:21:31.464Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 24 04:19 .golangci.yml [2023-02-24T04:21:31.464Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 24 04:19 .semver [2023-02-24T04:21:31.464Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 24 04:19 CHANGELOG.md [2023-02-24T04:21:31.464Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 24 04:19 GOVERNANCE.md [2023-02-24T04:21:31.464Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 24 04:19 Jenkinsfile [2023-02-24T04:21:31.464Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 24 04:19 LICENSE [2023-02-24T04:21:31.464Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 24 04:19 Makefile [2023-02-24T04:21:31.464Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 24 04:19 OWNERS.md [2023-02-24T04:21:31.464Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 24 04:19 README.md [2023-02-24T04:21:31.464Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 24 04:19 VERSION [2023-02-24T04:21:31.464Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 04:19 bin [2023-02-24T04:21:31.464Z] -rw-r--r-- 1 jenkins jenkins 111045 Feb 24 04:21 coverage.out [2023-02-24T04:21:31.464Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 24 04:19 example [2023-02-24T04:21:31.464Z] -rw-rw-r-- 1 jenkins jenkins 3266 Feb 24 04:19 go.mod [2023-02-24T04:21:31.464Z] -rw-rw-r-- 1 jenkins jenkins 32794 Feb 24 04:19 go.sum [2023-02-24T04:21:31.464Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 24 04:19 internal [2023-02-24T04:21:31.464Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 04:19 openapi [2023-02-24T04:21:31.464Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 24 04:19 pkg [2023-02-24T04:21:31.464Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 04:19 snap [2023-02-24T04:21:31.464Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 24 04:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T04:21:31.957Z] + 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=c12d5f7edd7d8ef06f38190c091be39c740e0cd4 --label arch=amd64 --label version=0.0.0 . [2023-02-24T04:21:31.957Z] Sending build context to Docker daemon 10.67MB [2023-02-24T04:21:31.957Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-24T04:21:31.957Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-24T04:21:31.957Z] ---> 79aaacc5fe72 [2023-02-24T04:21:31.957Z] Step 3/23 : ARG MAKE=make build [2023-02-24T04:21:32.229Z] ---> Running in a2f44cd6c894 [2023-02-24T04:21:32.229Z] Removing intermediate container a2f44cd6c894 [2023-02-24T04:21:32.229Z] ---> 5ef252fa44ff [2023-02-24T04:21:32.229Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-24T04:21:32.229Z] ---> Running in 05121a360de4 [2023-02-24T04:21:32.229Z] Removing intermediate container 05121a360de4 [2023-02-24T04:21:32.229Z] ---> f3825a99a53c [2023-02-24T04:21:32.229Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-24T04:21:32.229Z] ---> Running in 33877cc1d753 [2023-02-24T04:21:32.229Z] Removing intermediate container 33877cc1d753 [2023-02-24T04:21:32.229Z] ---> a99f132ba540 [2023-02-24T04:21:32.229Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-24T04:21:32.503Z] ---> Running in 7905bfb9ebd6 [2023-02-24T04:21:32.503Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-24T04:21:32.767Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-24T04:21:33.331Z] OK: 211 MiB in 51 packages [2023-02-24T04:21:33.589Z] Removing intermediate container 7905bfb9ebd6 [2023-02-24T04:21:33.589Z] ---> 50debfaf0bc5 [2023-02-24T04:21:33.589Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-24T04:21:33.847Z] ---> be14bfe1cf09 [2023-02-24T04:21:33.847Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-24T04:21:33.847Z] ---> Running in e69cf03abc84 [2023-02-24T04:21:34.414Z] Removing intermediate container e69cf03abc84 [2023-02-24T04:21:34.414Z] ---> 343f63faf023 [2023-02-24T04:21:34.414Z] Step 9/23 : COPY . . [2023-02-24T04:21:34.982Z] ---> bcf741c651c3 [2023-02-24T04:21:34.982Z] Step 10/23 : RUN ${MAKE} [2023-02-24T04:21:34.982Z] ---> Running in f2570f6a19f3 [2023-02-24T04:21:35.240Z] 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-02-24T04:21:35.853Z] using credential edgex-jenkins-ssh [2023-02-24T04:21:35.873Z] Cloning the remote Git repository [2023-02-24T04:21:35.917Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-02-24T04:21:35.990Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-02-24T04:21:36.140Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-24T04:21:36.141Z] > git --version # timeout=10 [2023-02-24T04:21:36.166Z] > git --version # 'git version 2.25.1' [2023-02-24T04:21:36.167Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-24T04:21:36.225Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-24T04:21:37.835Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-24T04:21:37.876Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-24T04:21:39.378Z] Merging remotes/origin/main commit b7afc2aba7a1c5861c6c21c42b42dc1283ea5949 into PR head commit c12d5f7edd7d8ef06f38190c091be39c740e0cd4 [2023-02-24T04:21:39.601Z] Merge succeeded, producing c12d5f7edd7d8ef06f38190c091be39c740e0cd4 [2023-02-24T04:21:39.602Z] Checking out Revision c12d5f7edd7d8ef06f38190c091be39c740e0cd4 (PR-1346) [2023-02-24T04:21:38.718Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-02-24T04:21:38.758Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-02-24T04:21:38.759Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-24T04:21:38.781Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1346/head:refs/remotes/origin/PR-1346 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-24T04:21:39.394Z] > git config core.sparsecheckout # timeout=10 [2023-02-24T04:21:39.408Z] > git checkout -f c12d5f7edd7d8ef06f38190c091be39c740e0cd4 # timeout=10 [2023-02-24T04:21:39.507Z] > git remote # timeout=10 [2023-02-24T04:21:39.523Z] > git config --get remote.origin.url # timeout=10 [2023-02-24T04:21:39.546Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-24T04:21:39.563Z] > git merge b7afc2aba7a1c5861c6c21c42b42dc1283ea5949 # timeout=10 [2023-02-24T04:21:39.586Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-24T04:21:39.607Z] > git config core.sparsecheckout # timeout=10 [2023-02-24T04:21:39.619Z] > git checkout -f c12d5f7edd7d8ef06f38190c091be39c740e0cd4 # timeout=10 [2023-02-24T04:21:40.062Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-02-24T04:21:40.108Z] > git --version # timeout=10 [2023-02-24T04:21:40.118Z] > git --version # 'git version 2.25.1' [2023-02-24T04:21:40.132Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-24T04:21:41.261Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-24T04:21:41.261Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-24T04:21:41.261Z] Dload Upload Total Spent Left Speed [2023-02-24T04:21:41.261Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 95872 0 --:--:-- --:--:-- --:--:-- 95872 100 12751 100 12751 0 0 95156 0 --:--:-- --:--:-- --:--:-- 95156 [Pipeline] sh [2023-02-24T04:21:41.835Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-24T04:21:42.182Z] + sudo tee /etc/docker/daemon.new [2023-02-24T04:21:42.182Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-24T04:21:42.182Z] { [2023-02-24T04:21:42.182Z] "registry-mirrors": [ [2023-02-24T04:21:42.182Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-24T04:21:42.182Z] ], [2023-02-24T04:21:42.182Z] "bip": "10.250.0.254/24", [2023-02-24T04:21:42.182Z] "hosts": [ [2023-02-24T04:21:42.182Z] "tcp://0.0.0.0:5555", [2023-02-24T04:21:42.182Z] "unix:///var/run/docker.sock" [2023-02-24T04:21:42.182Z] ], [2023-02-24T04:21:42.182Z] "mtu": 1458, [2023-02-24T04:21:42.182Z] "selinux-enabled": true, [2023-02-24T04:21:42.182Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-24T04:21:42.182Z] } [Pipeline] sh [2023-02-24T04:21:42.527Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-24T04:21:42.872Z] + sudo service docker restart [2023-02-24T04:21:57.160Z] Removing intermediate container f2570f6a19f3 [2023-02-24T04:21:57.160Z] ---> 34162fc58e59 [2023-02-24T04:21:57.160Z] Step 11/23 : FROM alpine:3.16 [2023-02-24T04:21:57.160Z] 3.16: Pulling from library/alpine [2023-02-24T04:21:57.160Z] ef5531b6e74e: Pulling fs layer [2023-02-24T04:21:57.160Z] ef5531b6e74e: Download complete [2023-02-24T04:21:57.160Z] ef5531b6e74e: Pull complete [2023-02-24T04:21:57.160Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-24T04:21:57.160Z] Status: Downloaded newer image for alpine:3.16 [2023-02-24T04:21:57.160Z] ---> dfd21b5a31f5 [2023-02-24T04:21:57.160Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-24T04:21:57.160Z] ---> Running in c715c59f3135 [2023-02-24T04:21:57.160Z] Removing intermediate container c715c59f3135 [2023-02-24T04:21:57.160Z] ---> e955ccb61baf [2023-02-24T04:21:57.160Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-24T04:21:57.160Z] ---> Running in 79b895a2c83c [2023-02-24T04:21:57.160Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-24T04:21:57.160Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-24T04:21:57.160Z] OK: 6 MiB in 14 packages [2023-02-24T04:21:57.160Z] Removing intermediate container 79b895a2c83c [2023-02-24T04:21:57.160Z] ---> 08f8deb8fc8d [2023-02-24T04:21:57.160Z] Step 14/23 : WORKDIR / [2023-02-24T04:21:57.160Z] ---> Running in 87a41134ab87 [2023-02-24T04:21:57.160Z] Removing intermediate container 87a41134ab87 [2023-02-24T04:21:57.160Z] ---> deccaa618615 [2023-02-24T04:21:57.160Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-24T04:21:57.418Z] ---> 142168d22ae2 [2023-02-24T04:21:57.418Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-24T04:21:58.351Z] ---> 991cc30e243c [2023-02-24T04:21:58.351Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-24T04:21:58.611Z] ---> ec4ae693d631 [2023-02-24T04:21:58.611Z] Step 18/23 : EXPOSE 59999 [2023-02-24T04:21:58.611Z] ---> Running in 0df654160f1a [2023-02-24T04:21:58.611Z] Removing intermediate container 0df654160f1a [2023-02-24T04:21:58.611Z] ---> 23356c464a88 [2023-02-24T04:21:58.611Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-24T04:21:58.611Z] ---> Running in 968f99eb5a5a [2023-02-24T04:21:58.611Z] Removing intermediate container 968f99eb5a5a [2023-02-24T04:21:58.611Z] ---> c25a8f370037 [2023-02-24T04:21:58.611Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-24T04:21:58.870Z] ---> Running in fd53e4198e23 [2023-02-24T04:21:58.870Z] Removing intermediate container fd53e4198e23 [2023-02-24T04:21:58.870Z] ---> 89d58dac439d [2023-02-24T04:21:58.870Z] Step 21/23 : LABEL arch=amd64 [2023-02-24T04:21:58.870Z] ---> Running in fedc5cdedcad [2023-02-24T04:21:58.870Z] Removing intermediate container fedc5cdedcad [2023-02-24T04:21:58.870Z] ---> b633747d2fdd [2023-02-24T04:21:58.870Z] Step 22/23 : LABEL git_sha=c12d5f7edd7d8ef06f38190c091be39c740e0cd4 [2023-02-24T04:21:58.870Z] ---> Running in 7a09f54162d8 [2023-02-24T04:21:58.870Z] Removing intermediate container 7a09f54162d8 [2023-02-24T04:21:58.870Z] ---> 03e7766a370a [2023-02-24T04:21:58.870Z] Step 23/23 : LABEL version=0.0.0 [2023-02-24T04:21:59.128Z] ---> Running in d5f62cb6dfd7 [2023-02-24T04:21:59.128Z] Removing intermediate container d5f62cb6dfd7 [2023-02-24T04:21:59.128Z] ---> 16aa9de41c3e [2023-02-24T04:21:59.128Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-24T04:21:59.128Z] Successfully built 16aa9de41c3e [2023-02-24T04:21:59.128Z] 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-02-24T04:21:59.982Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-24T04:21:59.982Z] [2023-02-24T04:21:59.982Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T04:22:00.362Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-24T04:22:00.362Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-24T04:22:00.362Z] 5eb5b503b376: Pulling fs layer [2023-02-24T04:22:00.362Z] 5c69ac0246d0: Pulling fs layer [2023-02-24T04:22:00.362Z] ec43610c2a17: Pulling fs layer [2023-02-24T04:22:00.362Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-24T04:22:00.362Z] 33b1e0a273af: Pulling fs layer [2023-02-24T04:22:00.362Z] 5d3b04190fa2: Pulling fs layer [2023-02-24T04:22:00.362Z] 2f39f015ded8: Pulling fs layer [2023-02-24T04:22:00.362Z] 3a2ae6a8a46f: Waiting [2023-02-24T04:22:00.362Z] 33b1e0a273af: Waiting [2023-02-24T04:22:00.362Z] 5d3b04190fa2: Waiting [2023-02-24T04:22:00.362Z] 2f39f015ded8: Waiting [2023-02-24T04:22:00.362Z] 5c69ac0246d0: Download complete [2023-02-24T04:22:00.362Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-24T04:22:00.362Z] 3a2ae6a8a46f: Download complete [2023-02-24T04:22:00.619Z] 33b1e0a273af: Verifying Checksum [2023-02-24T04:22:00.619Z] 33b1e0a273af: Download complete [2023-02-24T04:22:00.619Z] ec43610c2a17: Verifying Checksum [2023-02-24T04:22:00.619Z] ec43610c2a17: Download complete [2023-02-24T04:22:00.619Z] 5d3b04190fa2: Verifying Checksum [2023-02-24T04:22:00.619Z] 5eb5b503b376: Verifying Checksum [2023-02-24T04:22:00.619Z] 5eb5b503b376: Download complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-24T04:22:01.166Z] provisioning config files... [2023-02-24T04:22:01.185Z] 2f39f015ded8: Verifying Checksum [2023-02-24T04:22:01.185Z] 2f39f015ded8: Download complete [2023-02-24T04:22:01.191Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config14610060635653487737tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T04:22:01.570Z] ---> docker-login.sh [2023-02-24T04:22:01.570Z] nexus3.edgexfoundry.org:10001 [2023-02-24T04:22:01.752Z] 5eb5b503b376: Pull complete [2023-02-24T04:22:01.752Z] 5c69ac0246d0: Pull complete [2023-02-24T04:22:01.837Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T04:22:02.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T04:22:02.106Z] Configure a credential helper to remove this warning. See [2023-02-24T04:22:02.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T04:22:02.106Z] [2023-02-24T04:22:02.106Z] Login Succeeded [2023-02-24T04:22:02.106Z] nexus3.edgexfoundry.org:10002 [2023-02-24T04:22:02.318Z] ec43610c2a17: Pull complete [2023-02-24T04:22:02.318Z] 3a2ae6a8a46f: Pull complete [2023-02-24T04:22:02.378Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T04:22:02.378Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T04:22:02.378Z] Configure a credential helper to remove this warning. See [2023-02-24T04:22:02.378Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T04:22:02.378Z] [2023-02-24T04:22:02.378Z] Login Succeeded [2023-02-24T04:22:02.378Z] nexus3.edgexfoundry.org:10003 [2023-02-24T04:22:02.575Z] 33b1e0a273af: Pull complete [2023-02-24T04:22:02.575Z] 5d3b04190fa2: Pull complete [2023-02-24T04:22:02.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T04:22:02.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T04:22:02.914Z] Configure a credential helper to remove this warning. See [2023-02-24T04:22:02.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T04:22:02.914Z] [2023-02-24T04:22:02.914Z] Login Succeeded [2023-02-24T04:22:02.914Z] nexus3.edgexfoundry.org:10004 [2023-02-24T04:22:02.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T04:22:03.184Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T04:22:03.184Z] Configure a credential helper to remove this warning. See [2023-02-24T04:22:03.184Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T04:22:03.184Z] [2023-02-24T04:22:03.184Z] Login Succeeded [2023-02-24T04:22:03.184Z] docker.io [2023-02-24T04:22:03.453Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-24T04:22:03.721Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-24T04:22:03.721Z] Configure a credential helper to remove this warning. See [2023-02-24T04:22:03.721Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-24T04:22:03.721Z] [2023-02-24T04:22:03.721Z] Login Succeeded [2023-02-24T04:22:03.721Z] ---> docker-login.sh ends [Pipeline] } [2023-02-24T04:22:03.750Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-24T04:22:04.125Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-24T04:22:04.165Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-24T04:22:04.207Z] ========================================================= [2023-02-24T04:22:04.207Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-24T04:22:04.208Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T04:22:04.699Z] + 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-02-24T04:22:04.964Z] Sending build context to Docker daemon 5.669MB [2023-02-24T04:22:04.964Z] Step 1/10 : ARG BASE=golang:1.18-alpine3.16 [2023-02-24T04:22:04.964Z] Step 2/10 : FROM ${BASE} AS builder [2023-02-24T04:22:05.231Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-24T04:22:05.231Z] 9b18e9b68314: Pulling fs layer [2023-02-24T04:22:05.231Z] 35d82f9e3411: Pulling fs layer [2023-02-24T04:22:05.231Z] e16973657156: Pulling fs layer [2023-02-24T04:22:05.231Z] fc693d55d65f: Pulling fs layer [2023-02-24T04:22:05.231Z] 7e9fc2657dce: Pulling fs layer [2023-02-24T04:22:05.231Z] dda99020689f: Pulling fs layer [2023-02-24T04:22:05.231Z] db1c61fa0a46: Pulling fs layer [2023-02-24T04:22:05.231Z] 891c053d2c06: Pulling fs layer [2023-02-24T04:22:05.231Z] fc693d55d65f: Waiting [2023-02-24T04:22:05.231Z] 7e9fc2657dce: Waiting [2023-02-24T04:22:05.231Z] dda99020689f: Waiting [2023-02-24T04:22:05.231Z] db1c61fa0a46: Waiting [2023-02-24T04:22:05.231Z] 891c053d2c06: Waiting [2023-02-24T04:22:05.231Z] e16973657156: Verifying Checksum [2023-02-24T04:22:05.231Z] e16973657156: Download complete [2023-02-24T04:22:05.231Z] 35d82f9e3411: Download complete [2023-02-24T04:22:05.231Z] 7e9fc2657dce: Verifying Checksum [2023-02-24T04:22:05.231Z] 7e9fc2657dce: Download complete [2023-02-24T04:22:05.231Z] dda99020689f: Verifying Checksum [2023-02-24T04:22:05.231Z] dda99020689f: Download complete [2023-02-24T04:22:05.231Z] 9b18e9b68314: Verifying Checksum [2023-02-24T04:22:05.231Z] 9b18e9b68314: Download complete [2023-02-24T04:22:06.209Z] 9b18e9b68314: Pull complete [2023-02-24T04:22:06.209Z] 891c053d2c06: Verifying Checksum [2023-02-24T04:22:06.209Z] 891c053d2c06: Download complete [2023-02-24T04:22:06.756Z] 2f39f015ded8: Pull complete [2023-02-24T04:22:06.756Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-24T04:22:06.756Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-24T04:22:06.756Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [2023-02-24T04:22:06.803Z] 35d82f9e3411: Pull complete [2023-02-24T04:22:06.803Z] e16973657156: Pull complete [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T04:22:07.009Z] prd-ubuntu20.04-docker-8c-8g-7335 does not seem to be running inside a container [2023-02-24T04:22:07.042Z] $ 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-1346 -v /w/workspace/gexfoundry_device-sdk-go_PR-1346:/w/workspace/gexfoundry_device-sdk-go_PR-1346:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1346@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1346@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-02-24T04:22:07.387Z] db1c61fa0a46: Verifying Checksum [2023-02-24T04:22:07.387Z] db1c61fa0a46: Download complete [2023-02-24T04:22:07.654Z] fc693d55d65f: Download complete [2023-02-24T04:22:12.731Z] $ docker top a6c1073d7db9ab42ad8a78795c04849db9d52431a3c8a551201bbaeb4a4a90d0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T04:22:13.218Z] ---> job-cost.sh [2023-02-24T04:22:13.218Z] lf-activate-venv: SKIPPING [2023-02-24T04:22:13.218Z] INFO: No Stack... [2023-02-24T04:22:13.477Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-24T04:22:13.735Z] INFO: Archiving Costs [Pipeline] sh [2023-02-24T04:22:14.052Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1346/archives/cost.csv [2023-02-24T04:22:14.053Z] + cut -d, -f6 [Pipeline] lock [2023-02-24T04:22:14.093Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1346-1-stack-cost] [2023-02-24T04:22:14.098Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1346-1-stack-cost] did not exist. Created. [2023-02-24T04:22:14.098Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1346-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-24T04:22:14.478Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-24T04:22:14.529Z] Stashed 1 file(s) [Pipeline] } [2023-02-24T04:22:14.553Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1346-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-24T04:22:14.632Z] $ docker stop --time=1 a6c1073d7db9ab42ad8a78795c04849db9d52431a3c8a551201bbaeb4a4a90d0 [2023-02-24T04:22:15.780Z] $ docker rm -f --volumes a6c1073d7db9ab42ad8a78795c04849db9d52431a3c8a551201bbaeb4a4a90d0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-24T04:22:19.992Z] fc693d55d65f: Pull complete [2023-02-24T04:22:19.992Z] 7e9fc2657dce: Pull complete [2023-02-24T04:22:19.992Z] dda99020689f: Pull complete [2023-02-24T04:22:25.354Z] db1c61fa0a46: Pull complete [2023-02-24T04:22:26.778Z] 891c053d2c06: Pull complete [2023-02-24T04:22:26.778Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-24T04:22:26.778Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-24T04:22:26.778Z] ---> f96f9c87975a [2023-02-24T04:22:26.778Z] Step 3/10 : ARG MAKE=make build [2023-02-24T04:22:28.727Z] ---> Running in 9aec52096a79 [2023-02-24T04:22:28.727Z] Removing intermediate container 9aec52096a79 [2023-02-24T04:22:28.727Z] ---> 104bd4a97986 [2023-02-24T04:22:28.727Z] Step 4/10 : WORKDIR /device-sdk-go [2023-02-24T04:22:28.727Z] ---> Running in 2045ee39d7ef [2023-02-24T04:22:29.066Z] Removing intermediate container 2045ee39d7ef [2023-02-24T04:22:29.066Z] ---> 47ee350d7215 [2023-02-24T04:22:29.066Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-24T04:22:29.345Z] ---> Running in 9d77721d8f9c [2023-02-24T04:22:29.657Z] Removing intermediate container 9d77721d8f9c [2023-02-24T04:22:29.657Z] ---> 940fc495d3ef [2023-02-24T04:22:29.657Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-02-24T04:22:29.657Z] ---> Running in 63fcb4e5bfb7 [2023-02-24T04:22:31.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-24T04:22:31.107Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-24T04:22:32.066Z] OK: 221 MiB in 51 packages [2023-02-24T04:22:32.646Z] Removing intermediate container 63fcb4e5bfb7 [2023-02-24T04:22:32.646Z] ---> 9517d2aa0d85 [2023-02-24T04:22:32.646Z] Step 7/10 : COPY go.mod vendor* ./ [2023-02-24T04:22:33.233Z] ---> 4aba7474e4c7 [2023-02-24T04:22:33.233Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-24T04:22:33.233Z] ---> Running in bd60e4f37380 [2023-02-24T04:23:41.083Z] Removing intermediate container bd60e4f37380 [2023-02-24T04:23:41.083Z] ---> 066fb0f2efd7 [2023-02-24T04:23:41.083Z] Step 9/10 : COPY . . [2023-02-24T04:23:41.083Z] ---> 01b09f2ca7d7 [2023-02-24T04:23:41.083Z] Step 10/10 : RUN ${MAKE} [2023-02-24T04:23:41.083Z] ---> Running in 62bdc3b92403 [2023-02-24T04:23:41.083Z] noop [2023-02-24T04:23:41.083Z] Removing intermediate container 62bdc3b92403 [2023-02-24T04:23:41.083Z] ---> c66fcf5fa888 [2023-02-24T04:23:41.083Z] Successfully built c66fcf5fa888 [2023-02-24T04:23:41.083Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T04:23:41.565Z] + docker inspect -f . ci-base-image-arm64 [2023-02-24T04:23:41.565Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T04:23:41.837Z] prd-ubuntu20.04-docker-arm64-4c-16g-7336 does not seem to be running inside a container [2023-02-24T04:23:41.906Z] $ 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-02-24T04:23:43.097Z] $ docker top 4f7f9e0e1e217da48dc482a363fbf1c238303a89ab7af06917800e47d8f3cd24 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T04:23:43.976Z] + go version [2023-02-24T04:23:43.976Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-24T04:23:44.013Z] $ docker stop --time=1 4f7f9e0e1e217da48dc482a363fbf1c238303a89ab7af06917800e47d8f3cd24 [2023-02-24T04:23:47.453Z] $ docker rm -f --volumes 4f7f9e0e1e217da48dc482a363fbf1c238303a89ab7af06917800e47d8f3cd24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T04:23:48.306Z] + docker inspect -f . ci-base-image-arm64 [2023-02-24T04:23:48.306Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T04:23:48.549Z] prd-ubuntu20.04-docker-arm64-4c-16g-7336 does not seem to be running inside a container [2023-02-24T04:23:48.612Z] $ 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-02-24T04:23:49.705Z] $ docker top 27ec7b4f29b6494f48cbdcfad2059941f36b14877c8124140081065567bb793d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T04:23:50.293Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-02-24T04:23:50.690Z] + make test [2023-02-24T04:23:50.690Z] go test -race -coverprofile=coverage.out ./... [2023-02-24T04:24:22.916Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-02-24T04:25:59.596Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-02-24T04:25:59.596Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-02-24T04:25:59.596Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-02-24T04:25:59.596Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-02-24T04:25:59.596Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-02-24T04:26:07.832Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.284s coverage: 27.6% of statements [2023-02-24T04:26:09.797Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.485s coverage: 78.9% of statements [2023-02-24T04:26:09.797Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/clients [no test files] [2023-02-24T04:26:18.007Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.900s coverage: 86.0% of statements [2023-02-24T04:26:18.007Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-02-24T04:26:18.007Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-02-24T04:26:21.367Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.443s coverage: 74.7% of statements [2023-02-24T04:26:21.367Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-02-24T04:26:21.367Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.597s coverage: 15.5% of statements [2023-02-24T04:26:21.367Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-02-24T04:26:23.315Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.420s coverage: 65.2% of statements [2023-02-24T04:26:23.315Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-02-24T04:26:23.315Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-02-24T04:26:23.315Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 3.257s coverage: 89.2% of statements [2023-02-24T04:26:23.315Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/models/mocks [no test files] [2023-02-24T04:26:23.316Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.388s coverage: 4.6% of statements [2023-02-24T04:26:23.316Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-02-24T04:26:23.899Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-24T04:26:23.899Z] GO111MODULE=on go vet ./... [2023-02-24T04:28:00.550Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-24T04:28:00.551Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-24T04:28:00.551Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-24T04:28:00.588Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-24T04:28:00.622Z] $ docker stop --time=1 27ec7b4f29b6494f48cbdcfad2059941f36b14877c8124140081065567bb793d [2023-02-24T04:28:03.522Z] $ docker rm -f --volumes 27ec7b4f29b6494f48cbdcfad2059941f36b14877c8124140081065567bb793d [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-24T04:28:04.954Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-24T04:28:04.988Z] Warning: overwriting stash ‘coverage-report’ [2023-02-24T04:28:05.602Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-24T04:28:06.198Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-24T04:28:06.535Z] + ls -al . [2023-02-24T04:28:06.535Z] total 280 [2023-02-24T04:28:06.535Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 24 04:23 . [2023-02-24T04:28:06.535Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 04:21 .. [2023-02-24T04:28:06.535Z] -rw-rw-r-- 1 jenkins jenkins 140 Feb 24 04:21 .dockerignore [2023-02-24T04:28:06.535Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 24 04:21 .git [2023-02-24T04:28:06.535Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 04:21 .github [2023-02-24T04:28:06.535Z] -rw-rw-r-- 1 jenkins jenkins 131 Feb 24 04:21 .gitignore [2023-02-24T04:28:06.535Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 24 04:21 .golangci.yml [2023-02-24T04:28:06.535Z] -rw-rw-r-- 1 jenkins jenkins 31677 Feb 24 04:21 CHANGELOG.md [2023-02-24T04:28:06.535Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 24 04:21 GOVERNANCE.md [2023-02-24T04:28:06.535Z] -rw-rw-r-- 1 jenkins jenkins 885 Feb 24 04:21 Jenkinsfile [2023-02-24T04:28:06.535Z] -rw-rw-r-- 1 jenkins jenkins 11341 Feb 24 04:21 LICENSE [2023-02-24T04:28:06.535Z] -rw-rw-r-- 1 jenkins jenkins 1679 Feb 24 04:21 Makefile [2023-02-24T04:28:06.535Z] -rw-rw-r-- 1 jenkins jenkins 619 Feb 24 04:21 OWNERS.md [2023-02-24T04:28:06.535Z] -rw-rw-r-- 1 jenkins jenkins 4891 Feb 24 04:21 README.md [2023-02-24T04:28:06.535Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 24 04:19 VERSION [2023-02-24T04:28:06.535Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 24 04:21 bin [2023-02-24T04:28:06.535Z] -rw-r--r-- 1 jenkins jenkins 111045 Feb 24 04:26 coverage.out [2023-02-24T04:28:06.535Z] drwxrwxr-x 5 jenkins jenkins 4096 Feb 24 04:21 example [2023-02-24T04:28:06.535Z] -rw-rw-r-- 1 jenkins jenkins 3266 Feb 24 04:21 go.mod [2023-02-24T04:28:06.535Z] -rw-rw-r-- 1 jenkins jenkins 32794 Feb 24 04:21 go.sum [2023-02-24T04:28:06.535Z] drwxrwxr-x 13 jenkins jenkins 4096 Feb 24 04:21 internal [2023-02-24T04:28:06.535Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 24 04:21 openapi [2023-02-24T04:28:06.535Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 24 04:21 pkg [2023-02-24T04:28:06.535Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 24 04:21 snap [2023-02-24T04:28:06.535Z] -rw-rw-r-- 1 jenkins jenkins 222 Feb 24 04:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T04:28:06.955Z] + 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=c12d5f7edd7d8ef06f38190c091be39c740e0cd4 --label arch=arm64 --label version=0.0.0 . [2023-02-24T04:28:07.224Z] Sending build context to Docker daemon 5.78MB [2023-02-24T04:28:07.491Z] Step 1/23 : ARG BASE=golang:1.18-alpine3.16 [2023-02-24T04:28:07.491Z] Step 2/23 : FROM ${BASE} AS builder [2023-02-24T04:28:07.491Z] ---> c66fcf5fa888 [2023-02-24T04:28:07.491Z] Step 3/23 : ARG MAKE=make build [2023-02-24T04:28:07.491Z] ---> Running in 7eb45304aef4 [2023-02-24T04:28:07.835Z] Removing intermediate container 7eb45304aef4 [2023-02-24T04:28:07.835Z] ---> 4afa528ed060 [2023-02-24T04:28:07.835Z] Step 4/23 : WORKDIR /device-sdk-go [2023-02-24T04:28:07.835Z] ---> Running in 1b3a8e479b5b [2023-02-24T04:28:08.126Z] Removing intermediate container 1b3a8e479b5b [2023-02-24T04:28:08.126Z] ---> 0d466c38e3c6 [2023-02-24T04:28:08.126Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-02-24T04:28:08.399Z] ---> Running in 91a8298f630b [2023-02-24T04:28:08.671Z] Removing intermediate container 91a8298f630b [2023-02-24T04:28:08.671Z] ---> 51d99ec1cb9f [2023-02-24T04:28:08.671Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-02-24T04:28:08.671Z] ---> Running in 7ff7d014b7c5 [2023-02-24T04:28:09.655Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-24T04:28:09.925Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-24T04:28:11.330Z] OK: 221 MiB in 51 packages [2023-02-24T04:28:11.919Z] Removing intermediate container 7ff7d014b7c5 [2023-02-24T04:28:11.919Z] ---> 6ab44040bf0f [2023-02-24T04:28:11.919Z] Step 7/23 : COPY go.mod vendor* ./ [2023-02-24T04:28:12.506Z] ---> 4426b1b5a733 [2023-02-24T04:28:12.506Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-24T04:28:12.506Z] ---> Running in b1009b4c2b95 [2023-02-24T04:28:16.762Z] Removing intermediate container b1009b4c2b95 [2023-02-24T04:28:16.762Z] ---> 39c593a4c3e8 [2023-02-24T04:28:16.762Z] Step 9/23 : COPY . . [2023-02-24T04:28:17.717Z] ---> 81dd835a0b2c [2023-02-24T04:28:17.717Z] Step 10/23 : RUN ${MAKE} [2023-02-24T04:28:17.717Z] ---> Running in 66c4488db343 [2023-02-24T04:28:18.678Z] 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-02-24T04:30:25.339Z] Removing intermediate container 66c4488db343 [2023-02-24T04:30:25.339Z] ---> 92c754714098 [2023-02-24T04:30:25.339Z] Step 11/23 : FROM alpine:3.16 [2023-02-24T04:30:25.339Z] 3.16: Pulling from library/alpine [2023-02-24T04:30:25.339Z] 3760b48202b3: Pulling fs layer [2023-02-24T04:30:25.339Z] 3760b48202b3: Verifying Checksum [2023-02-24T04:30:25.339Z] 3760b48202b3: Download complete [2023-02-24T04:30:25.339Z] 3760b48202b3: Pull complete [2023-02-24T04:30:25.339Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-24T04:30:25.339Z] Status: Downloaded newer image for alpine:3.16 [2023-02-24T04:30:25.339Z] ---> 4c81e5bf8899 [2023-02-24T04:30:25.339Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-24T04:30:25.339Z] ---> Running in ac7081ef44ac [2023-02-24T04:30:25.339Z] Removing intermediate container ac7081ef44ac [2023-02-24T04:30:25.339Z] ---> 22df00d79454 [2023-02-24T04:30:25.339Z] Step 13/23 : RUN apk add --update --no-cache [2023-02-24T04:30:25.339Z] ---> Running in 4c5571dedef3 [2023-02-24T04:30:25.339Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-24T04:30:25.339Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-24T04:30:25.339Z] OK: 5 MiB in 14 packages [2023-02-24T04:30:25.339Z] Removing intermediate container 4c5571dedef3 [2023-02-24T04:30:25.339Z] ---> 88a8d61920f4 [2023-02-24T04:30:25.339Z] Step 14/23 : WORKDIR / [2023-02-24T04:30:25.339Z] ---> Running in a31c68e55397 [2023-02-24T04:30:25.339Z] Removing intermediate container a31c68e55397 [2023-02-24T04:30:25.339Z] ---> 7edfb3bc4796 [2023-02-24T04:30:25.339Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-02-24T04:30:25.339Z] ---> d936e707161a [2023-02-24T04:30:25.339Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-02-24T04:30:25.339Z] ---> 68da396519fe [2023-02-24T04:30:25.339Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-02-24T04:30:25.339Z] ---> a20c0dbbd346 [2023-02-24T04:30:25.339Z] Step 18/23 : EXPOSE 59999 [2023-02-24T04:30:25.339Z] ---> Running in bc287ab9bcfb [2023-02-24T04:30:25.339Z] Removing intermediate container bc287ab9bcfb [2023-02-24T04:30:25.339Z] ---> 8b2ebd9033f1 [2023-02-24T04:30:25.339Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-02-24T04:30:25.339Z] ---> Running in db5e43f5826e [2023-02-24T04:30:25.339Z] Removing intermediate container db5e43f5826e [2023-02-24T04:30:25.339Z] ---> 8d33fe1286f1 [2023-02-24T04:30:25.339Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-24T04:30:25.339Z] ---> Running in f0225e01cf57 [2023-02-24T04:30:25.339Z] Removing intermediate container f0225e01cf57 [2023-02-24T04:30:25.339Z] ---> 67efffbe11d8 [2023-02-24T04:30:25.339Z] Step 21/23 : LABEL arch=arm64 [2023-02-24T04:30:25.339Z] ---> Running in f83a48855634 [2023-02-24T04:30:25.339Z] Removing intermediate container f83a48855634 [2023-02-24T04:30:25.339Z] ---> 75d19e7953b6 [2023-02-24T04:30:25.339Z] Step 22/23 : LABEL git_sha=c12d5f7edd7d8ef06f38190c091be39c740e0cd4 [2023-02-24T04:30:25.339Z] ---> Running in 8a96f4e11718 [2023-02-24T04:30:25.339Z] Removing intermediate container 8a96f4e11718 [2023-02-24T04:30:25.339Z] ---> e5da9343e732 [2023-02-24T04:30:25.339Z] Step 23/23 : LABEL version=0.0.0 [2023-02-24T04:30:25.339Z] ---> Running in bca19e14fb8f [2023-02-24T04:30:25.339Z] Removing intermediate container bca19e14fb8f [2023-02-24T04:30:25.339Z] ---> 09919496333e [2023-02-24T04:30:25.339Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-24T04:30:25.339Z] Successfully built 09919496333e [2023-02-24T04:30:25.339Z] 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-02-24T04:30:26.154Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-24T04:30:26.154Z] [2023-02-24T04:30:26.154Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T04:30:26.552Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-24T04:30:26.552Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-24T04:30:26.552Z] 8998bd30e6a1: Pulling fs layer [2023-02-24T04:30:26.552Z] 04944245beec: Pulling fs layer [2023-02-24T04:30:26.552Z] 699f458cf7ca: Pulling fs layer [2023-02-24T04:30:26.552Z] 765212b225bb: Pulling fs layer [2023-02-24T04:30:26.552Z] f23df028b6ca: Pulling fs layer [2023-02-24T04:30:26.552Z] d65c8cfc05b1: Pulling fs layer [2023-02-24T04:30:26.552Z] 2437ff75d9bd: Pulling fs layer [2023-02-24T04:30:26.552Z] 765212b225bb: Waiting [2023-02-24T04:30:26.552Z] 2437ff75d9bd: Waiting [2023-02-24T04:30:26.552Z] d65c8cfc05b1: Waiting [2023-02-24T04:30:26.552Z] f23df028b6ca: Waiting [2023-02-24T04:30:26.820Z] 04944245beec: Verifying Checksum [2023-02-24T04:30:26.820Z] 04944245beec: Download complete [2023-02-24T04:30:26.820Z] 765212b225bb: Verifying Checksum [2023-02-24T04:30:26.820Z] 765212b225bb: Download complete [2023-02-24T04:30:26.820Z] f23df028b6ca: Verifying Checksum [2023-02-24T04:30:26.820Z] f23df028b6ca: Download complete [2023-02-24T04:30:26.820Z] d65c8cfc05b1: Verifying Checksum [2023-02-24T04:30:26.820Z] d65c8cfc05b1: Download complete [2023-02-24T04:30:26.820Z] 699f458cf7ca: Verifying Checksum [2023-02-24T04:30:26.820Z] 699f458cf7ca: Download complete [2023-02-24T04:30:27.401Z] 8998bd30e6a1: Verifying Checksum [2023-02-24T04:30:27.401Z] 8998bd30e6a1: Download complete [2023-02-24T04:30:29.340Z] 2437ff75d9bd: Verifying Checksum [2023-02-24T04:30:29.340Z] 2437ff75d9bd: Download complete [2023-02-24T04:30:30.746Z] 8998bd30e6a1: Pull complete [2023-02-24T04:30:31.332Z] 04944245beec: Pull complete [2023-02-24T04:30:32.288Z] 699f458cf7ca: Pull complete [2023-02-24T04:30:32.555Z] 765212b225bb: Pull complete [2023-02-24T04:30:33.513Z] f23df028b6ca: Pull complete [2023-02-24T04:30:33.513Z] d65c8cfc05b1: Pull complete [2023-02-24T04:30:48.501Z] 2437ff75d9bd: Pull complete [2023-02-24T04:30:48.501Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-24T04:30:48.501Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-24T04:30:48.501Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T04:30:48.823Z] prd-ubuntu20.04-docker-arm64-4c-16g-7336 does not seem to be running inside a container [2023-02-24T04:30:48.885Z] $ 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-02-24T04:30:51.622Z] $ docker top 3dc9406de8b4fa8e991af382a3328f500b5f43830beed7e4f2e35b1a85eb1a35 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-24T04:30:52.182Z] ---> job-cost.sh [2023-02-24T04:30:52.447Z] lf-activate-venv: SKIPPING [2023-02-24T04:30:52.447Z] INFO: No Stack... [2023-02-24T04:30:53.026Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-24T04:30:53.606Z] INFO: Archiving Costs [Pipeline] sh [2023-02-24T04:30:53.946Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-02-24T04:30:53.946Z] + cut -d, -f6 [Pipeline] lock [2023-02-24T04:30:54.001Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1346-1-stack-cost] [2023-02-24T04:30:54.005Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1346-1-stack-cost] did not exist. Created. [2023-02-24T04:30:54.006Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1346-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-24T04:30:54.415Z] /w/workspace/device-sdk-go/1@tmp/durable-c97af497/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-24T04:30:54.757Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-24T04:30:54.788Z] Warning: overwriting stash ‘stack-cost’ [2023-02-24T04:30:54.844Z] Stashed 1 file(s) [Pipeline] } [2023-02-24T04:30:54.858Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1346-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-24T04:30:54.925Z] $ docker stop --time=1 3dc9406de8b4fa8e991af382a3328f500b5f43830beed7e4f2e35b1a85eb1a35 [2023-02-24T04:30:56.356Z] $ docker rm -f --volumes 3dc9406de8b4fa8e991af382a3328f500b5f43830beed7e4f2e35b1a85eb1a35 [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-02-24T04:30:57.260Z] provisioning config files... [2023-02-24T04:30:57.267Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1346@tmp/config10275965973058058983tmp [Pipeline] { [Pipeline] sh [2023-02-24T04:30:57.600Z] + set +x [2023-02-24T04:30:57.600Z] + curl -s https://codecov.io/bash [2023-02-24T04:30:57.600Z] + bash -s -- [2023-02-24T04:30:57.600Z] [2023-02-24T04:30:57.600Z] _____ _ [2023-02-24T04:30:57.600Z] / ____| | | [2023-02-24T04:30:57.600Z] | | ___ __| | ___ ___ _____ __ [2023-02-24T04:30:57.600Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-24T04:30:57.600Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-24T04:30:57.600Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-24T04:30:57.600Z] Bash-1.0.6 [2023-02-24T04:30:57.600Z] [2023-02-24T04:30:57.600Z] [2023-02-24T04:30:57.600Z] ==> git version 2.25.1 found [2023-02-24T04:30:57.600Z] ==> 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-02-24T04:30:57.600Z] Release-Date: 2020-01-08 [2023-02-24T04:30:57.600Z] 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-02-24T04:30:57.600Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-24T04:30:57.601Z] ==> Jenkins CI detected. [2023-02-24T04:30:57.601Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1346 [2023-02-24T04:30:57.601Z] project root: . [2023-02-24T04:30:57.601Z] --> token set from env [2023-02-24T04:30:57.601Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-24T04:30:57.601Z] ==> Running gcov in . (disable via -X gcov) [2023-02-24T04:30:57.601Z] ==> Python coveragepy not found [2023-02-24T04:30:57.601Z] ==> Searching for coverage reports in: [2023-02-24T04:30:57.601Z] + . [2023-02-24T04:30:57.601Z] -> Found 1 reports [2023-02-24T04:30:57.601Z] ==> Detecting git/mercurial file structure [2023-02-24T04:30:57.601Z] ==> Reading reports [2023-02-24T04:30:57.860Z] + ./coverage.out bytes=111045 [2023-02-24T04:30:57.860Z] ==> Appending adjustments [2023-02-24T04:30:57.860Z] https://docs.codecov.io/docs/fixing-reports [2023-02-24T04:30:58.119Z] + Found adjustments [2023-02-24T04:30:58.119Z] ==> Gzipping contents [2023-02-24T04:30:58.119Z] 16K /tmp/codecov.OjJuoy.gz [2023-02-24T04:30:58.119Z] ==> Uploading reports [2023-02-24T04:30:58.119Z] url: https://codecov.io [2023-02-24T04:30:58.119Z] query: branch=PR-1346&commit=c12d5f7edd7d8ef06f38190c091be39c740e0cd4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1346%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1346&job=&cmd_args= [2023-02-24T04:30:58.119Z] -> Pinging Codecov [2023-02-24T04:30:58.119Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1346&commit=c12d5f7edd7d8ef06f38190c091be39c740e0cd4&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1346%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1346&job=&cmd_args= [2023-02-24T04:30:58.119Z] -> Uploading to [2023-02-24T04:30:58.119Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-24/7E55EF52A471D76F132DFD9A03CDDE97/c12d5f7edd7d8ef06f38190c091be39c740e0cd4/f1d142ac-e11b-4145-b2df-b5d551ab4e18.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230224%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230224T043058Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=709ba9992c9dad5faa6a3e9fee367c242067a30b1a36cd6a39c87e8c6a51d02c [2023-02-24T04:30:58.119Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-24T04:30:58.119Z] Dload Upload Total Spent Left Speed [2023-02-24T04:30:58.379Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15362 0 0 100 15362 0 50039 --:--:-- --:--:-- --:--:-- 50039 [2023-02-24T04:30:58.640Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/c12d5f7edd7d8ef06f38190c091be39c740e0cd4 [Pipeline] } [2023-02-24T04:30:58.666Z] 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-02-24T04:31:00.388Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1346/archives ] [2023-02-24T04:31:00.388Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1346/archives [2023-02-24T04:31:00.388Z] total 16 [2023-02-24T04:31:00.388Z] drwxr-xr-x 3 root root 4096 Feb 24 04:22 . [2023-02-24T04:31:00.388Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 24 04:22 .. [2023-02-24T04:31:00.388Z] drwxr-xr-x 2 root root 4096 Feb 24 04:22 cost [2023-02-24T04:31:00.388Z] -rw-r--r-- 1 root root 86 Feb 24 04:22 cost.csv [2023-02-24T04:31:00.388Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1346/archives [2023-02-24T04:31:00.388Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1346/archives [2023-02-24T04:31:00.388Z] total 16 [2023-02-24T04:31:00.388Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 24 04:22 . [2023-02-24T04:31:00.388Z] drwxrwxr-x 12 jenkins jenkins 4096 Feb 24 04:22 .. [2023-02-24T04:31:00.388Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 24 04:22 cost [2023-02-24T04:31:00.388Z] -rw-r--r-- 1 jenkins jenkins 86 Feb 24 04:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-24T04:31:00.724Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T04:31:01.605Z] ---> package-listing.sh [2023-02-24T04:31:01.605Z] ++ facter osfamily [2023-02-24T04:31:01.605Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-24T04:31:01.863Z] + OS_FAMILY=debian [2023-02-24T04:31:01.863Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1346 [2023-02-24T04:31:01.863Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-24T04:31:01.863Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-24T04:31:01.863Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-24T04:31:01.863Z] + PACKAGES=/tmp/packages_start.txt [2023-02-24T04:31:01.863Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1346 ']' [2023-02-24T04:31:01.863Z] + PACKAGES=/tmp/packages_end.txt [2023-02-24T04:31:01.863Z] + case "${OS_FAMILY}" in [2023-02-24T04:31:01.863Z] + dpkg -l [2023-02-24T04:31:01.863Z] + grep '^ii' [2023-02-24T04:31:01.863Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-24T04:31:01.863Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-24T04:31:01.863Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-24T04:31:01.863Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1346 ']' [2023-02-24T04:31:01.863Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1346/archives/ [2023-02-24T04:31:01.863Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1346/archives/ [Pipeline] echo [2023-02-24T04:31:01.896Z] 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-1346/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-24T04:31:02.188Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-24T04:31:02.819Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-24T04:31:02.819Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-24T04:31:02.963Z] prd-ubuntu20.04-docker-8c-8g-7335 does not seem to be running inside a container [2023-02-24T04:31:02.999Z] $ 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-1346/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-1346 -v /w/workspace/gexfoundry_device-sdk-go_PR-1346:/w/workspace/gexfoundry_device-sdk-go_PR-1346:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1346@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1346@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-02-24T04:31:03.195Z] $ docker top e5712d184fcc4a553687af5b89f4680dfbaed8ca38e44521519e0635a4f7e843 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-24T04:31:03.579Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-24T04:31:03.891Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-24T04:31:04.203Z] + ls /var/log/sa-host [2023-02-24T04:31:04.203Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-24T04:31:04.416Z] provisioning config files... [2023-02-24T04:31:04.424Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1346@tmp/config17791363838043950185tmp [Pipeline] { [Pipeline] echo [2023-02-24T04:31:04.464Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T04:31:04.772Z] ---> create-netrc.sh [Pipeline] } [2023-02-24T04:31:04.797Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-24T04:31:05.195Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-24T04:31:05.228Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T04:31:05.539Z] ---> sudo-logs.sh [2023-02-24T04:31:05.539Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-24T04:31:05.617Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T04:31:05.930Z] ---> job-cost.sh [2023-02-24T04:31:05.930Z] lf-activate-venv: SKIPPING [2023-02-24T04:31:05.930Z] DEBUG: total: 0.2199999988079071 [2023-02-24T04:31:05.930Z] INFO: Retrieving Stack Cost... [2023-02-24T04:31:06.189Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-24T04:31:06.755Z] INFO: Archiving Costs [Pipeline] echo [2023-02-24T04:31:06.792Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-24T04:31:07.112Z] ---> logs-deploy.sh [2023-02-24T04:31:07.112Z] lf-activate-venv: SKIPPING [2023-02-24T04:31:07.112Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1346/1 [2023-02-24T04:31:07.112Z] INFO: archiving workspace using pattern(s): [2023-02-24T04:31:09.019Z] Archives upload complete. [2023-02-24T04:31:09.019Z] INFO: archiving logs to Nexus