Pull request #1494 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4634dd5bc71e055960d2ebf4bdf91a30a9fedf20+b56f98b359607ae8777d3b496d3ffaedfbff1a58 (ee72570113d71439a3120e0d4bde4eb1f668ce1c) 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-ssh9166040880577823872.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh11039884982105319137.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-1494/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-1494/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7822832971701837686.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-1494/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10546675130250279736.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh1033140246285476727.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-1494/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-1494/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12101500584583475253.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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.20 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-3763 in /w/workspace/gexfoundry_device-sdk-go_PR-1494 [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-1494 # 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/1494/head:refs/remotes/origin/PR-1494 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit b56f98b359607ae8777d3b496d3ffaedfbff1a58 into PR head commit 4634dd5bc71e055960d2ebf4bdf91a30a9fedf20 Merge succeeded, producing 4634dd5bc71e055960d2ebf4bdf91a30a9fedf20 Checking out Revision 4634dd5bc71e055960d2ebf4bdf91a30a9fedf20 (PR-1494) 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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-08-16T04:50:20.659Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 4634dd5bc71e055960d2ebf4bdf91a30a9fedf20 # 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 b56f98b359607ae8777d3b496d3ffaedfbff1a58 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4634dd5bc71e055960d2ebf4bdf91a30a9fedf20 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-08-16T04:50:20.827Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-08-16T04:50:20.921Z] ========================================================= [2023-08-16T04:50:20.921Z] EdgeX Global Pipelines Version Info [2023-08-16T04:50:20.921Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-08-16T04:50:21.665Z] ------------------- [2023-08-16T04:50:21.665Z] stable info: [2023-08-16T04:50:21.665Z] ------------------- [2023-08-16T04:50:21.665Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-08-16T04:50:21.665Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-16T04:50:21.665Z] Message: update stable to v1.0.253 [2023-08-16T04:50:22.236Z] ------------------- [2023-08-16T04:50:22.236Z] experimental info: [2023-08-16T04:50:22.236Z] ------------------- [2023-08-16T04:50:22.236Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-08-16T04:50:22.236Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-08-16T04:50:22.236Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-08-16T04:50:22.523Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-08-16T04:50:22.560Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-08-16T04:50:22.603Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-08-16T04:50:22.646Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-08-16T04:50:22.682Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-08-16T04:50:22.718Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-08-16T04:50:22.756Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-08-16T04:50:22.797Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-08-16T04:50:22.843Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-08-16T04:50:22.882Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-08-16T04:50:22.923Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-08-16T04:50:22.964Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-08-16T04:50:23.006Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-08-16T04:50:23.045Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-08-16T04:50:23.084Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-08-16T04:50:23.123Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-08-16T04:50:23.163Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-08-16T04:50:23.205Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-08-16T04:50:23.251Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-08-16T04:50:23.288Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-08-16T04:50:23.332Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-08-16T04:50:23.374Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-08-16T04:50:23.413Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-08-16T04:50:23.460Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-08-16T04:50:23.501Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-08-16T04:50:23.542Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-08-16T04:50:23.586Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-08-16T04:50:23.623Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1494 [Pipeline] echo [2023-08-16T04:50:23.662Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1494 [Pipeline] echo [2023-08-16T04:50:23.707Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1494 [Pipeline] echo [2023-08-16T04:50:23.752Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4634dd5bc71e055960d2ebf4bdf91a30a9fedf20 [Pipeline] echo [2023-08-16T04:50:23.795Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4634dd5 [Pipeline] echo [2023-08-16T04:50:23.839Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-16T04:50:23.963Z] provisioning config files... [2023-08-16T04:50:23.976Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1494@tmp/config5278948030977918787tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-16T04:50:24.344Z] ---> docker-login.sh [2023-08-16T04:50:24.344Z] nexus3.edgexfoundry.org:10001 [2023-08-16T04:50:24.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T04:50:24.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T04:50:24.605Z] Configure a credential helper to remove this warning. See [2023-08-16T04:50:24.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T04:50:24.605Z] [2023-08-16T04:50:24.605Z] Login Succeeded [2023-08-16T04:50:24.605Z] nexus3.edgexfoundry.org:10002 [2023-08-16T04:50:24.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T04:50:24.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T04:50:24.867Z] Configure a credential helper to remove this warning. See [2023-08-16T04:50:24.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T04:50:24.867Z] [2023-08-16T04:50:24.867Z] Login Succeeded [2023-08-16T04:50:24.867Z] nexus3.edgexfoundry.org:10003 [2023-08-16T04:50:24.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T04:50:24.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T04:50:24.867Z] Configure a credential helper to remove this warning. See [2023-08-16T04:50:24.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T04:50:24.867Z] [2023-08-16T04:50:24.867Z] Login Succeeded [2023-08-16T04:50:24.867Z] nexus3.edgexfoundry.org:10004 [2023-08-16T04:50:24.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T04:50:25.127Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T04:50:25.127Z] Configure a credential helper to remove this warning. See [2023-08-16T04:50:25.127Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T04:50:25.127Z] [2023-08-16T04:50:25.127Z] Login Succeeded [2023-08-16T04:50:25.127Z] docker.io [2023-08-16T04:50:25.127Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T04:50:25.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T04:50:25.389Z] Configure a credential helper to remove this warning. See [2023-08-16T04:50:25.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T04:50:25.389Z] [2023-08-16T04:50:25.389Z] Login Succeeded [2023-08-16T04:50:25.389Z] ---> docker-login.sh ends [Pipeline] } [2023-08-16T04:50:25.417Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-08-16T04:50:26.037Z] + git rev-list -1 --merges 4634dd5bc71e055960d2ebf4bdf91a30a9fedf20~1..4634dd5bc71e055960d2ebf4bdf91a30a9fedf20 [Pipeline] echo [2023-08-16T04:50:26.110Z] -----------> git rev-list -1 --merges 4634dd5bc71e055960d2ebf4bdf91a30a9fedf20~1..4634dd5bc71e055960d2ebf4bdf91a30a9fedf20 4634dd5bc71e055960d2ebf4bdf91a30a9fedf20 [false] [Pipeline] sh [2023-08-16T04:50:26.418Z] + git log --format=format:%s -1 4634dd5bc71e055960d2ebf4bdf91a30a9fedf20 [Pipeline] echo [2023-08-16T04:50:26.456Z] ========================================================= [2023-08-16T04:50:26.456Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-08-16T04:50:26.456Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-16T04:50:26.888Z] + git log --format=format:%s -1 4634dd5bc71e055960d2ebf4bdf91a30a9fedf20 [Pipeline] echo [2023-08-16T04:50:26.922Z] [semverPrep] GIT_COMMIT: 4634dd5bc71e055960d2ebf4bdf91a30a9fedf20, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-08-16T04:50:26.956Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-08-16T04:50:27.430Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-08-16T04:50:27.430Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-08-16T04:50:27.430Z] + [ -e /tmp/ssh_known_hosts ] [2023-08-16T04:50:27.430Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-08-16T04:50:27.430Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-08-16T04:50:27.430Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-08-16T04:50:27.430Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T04:50:27.936Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-16T04:50:27.936Z] [2023-08-16T04:50:27.936Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T04:50:28.320Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-16T04:50:28.320Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-08-16T04:50:28.320Z] b85a868b505f: Pulling fs layer [2023-08-16T04:50:28.320Z] e2be974225ed: Pulling fs layer [2023-08-16T04:50:28.320Z] 339a4e72a1f5: Pulling fs layer [2023-08-16T04:50:28.320Z] 988bab9f4d93: Pulling fs layer [2023-08-16T04:50:28.320Z] 1469e6f7b9e6: Pulling fs layer [2023-08-16T04:50:28.320Z] eaf3925da568: Pulling fs layer [2023-08-16T04:50:28.320Z] 988bab9f4d93: Waiting [2023-08-16T04:50:28.320Z] 1469e6f7b9e6: Waiting [2023-08-16T04:50:28.320Z] bab4dde63d76: Pulling fs layer [2023-08-16T04:50:28.320Z] bde34c3a00c8: Pulling fs layer [2023-08-16T04:50:28.320Z] bab4dde63d76: Waiting [2023-08-16T04:50:28.320Z] b352a97aabf1: Pulling fs layer [2023-08-16T04:50:28.320Z] 4872d77fe225: Pulling fs layer [2023-08-16T04:50:28.320Z] 5851b861e8e6: Pulling fs layer [2023-08-16T04:50:28.320Z] bde34c3a00c8: Waiting [2023-08-16T04:50:28.320Z] b352a97aabf1: Waiting [2023-08-16T04:50:28.320Z] 4872d77fe225: Waiting [2023-08-16T04:50:28.320Z] 5851b861e8e6: Waiting [2023-08-16T04:50:28.320Z] e2be974225ed: Verifying Checksum [2023-08-16T04:50:28.320Z] e2be974225ed: Download complete [2023-08-16T04:50:28.320Z] 988bab9f4d93: Verifying Checksum [2023-08-16T04:50:28.320Z] 988bab9f4d93: Download complete [2023-08-16T04:50:28.320Z] 1469e6f7b9e6: Verifying Checksum [2023-08-16T04:50:28.320Z] 1469e6f7b9e6: Download complete [2023-08-16T04:50:28.320Z] eaf3925da568: Verifying Checksum [2023-08-16T04:50:28.320Z] eaf3925da568: Download complete [2023-08-16T04:50:28.320Z] 339a4e72a1f5: Verifying Checksum [2023-08-16T04:50:28.320Z] 339a4e72a1f5: Download complete [2023-08-16T04:50:28.579Z] bde34c3a00c8: Verifying Checksum [2023-08-16T04:50:28.579Z] b352a97aabf1: Verifying Checksum [2023-08-16T04:50:28.579Z] b352a97aabf1: Download complete [2023-08-16T04:50:28.579Z] 4872d77fe225: Download complete [2023-08-16T04:50:28.579Z] 5851b861e8e6: Download complete [2023-08-16T04:50:28.579Z] b85a868b505f: Verifying Checksum [2023-08-16T04:50:28.579Z] b85a868b505f: Download complete [2023-08-16T04:50:28.838Z] bab4dde63d76: Verifying Checksum [2023-08-16T04:50:28.838Z] bab4dde63d76: Download complete [2023-08-16T04:50:29.774Z] b85a868b505f: Pull complete [2023-08-16T04:50:29.774Z] e2be974225ed: Pull complete [2023-08-16T04:50:30.344Z] 339a4e72a1f5: Pull complete [2023-08-16T04:50:30.344Z] 988bab9f4d93: Pull complete [2023-08-16T04:50:30.604Z] 1469e6f7b9e6: Pull complete [2023-08-16T04:50:30.604Z] eaf3925da568: Pull complete [2023-08-16T04:50:32.508Z] bab4dde63d76: Pull complete [2023-08-16T04:50:33.089Z] bde34c3a00c8: Pull complete [2023-08-16T04:50:33.352Z] b352a97aabf1: Pull complete [2023-08-16T04:50:34.319Z] 4872d77fe225: Pull complete [2023-08-16T04:50:34.579Z] 5851b861e8e6: Pull complete [2023-08-16T04:50:34.579Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-08-16T04:50:34.579Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-08-16T04:50:34.579Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-16T04:50:34.817Z] prd-ubuntu20.04-docker-8c-8g-3763 does not seem to be running inside a container [2023-08-16T04:50:34.857Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1494 -v /w/workspace/gexfoundry_device-sdk-go_PR-1494:/w/workspace/gexfoundry_device-sdk-go_PR-1494:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1494@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1494@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-08-16T04:50:38.152Z] $ docker top dad88c063d52a8251fe3cfb01a4234d700ed1f22a9fff4d10c55d6289111e1a3 -eo pid,comm [2023-08-16T04:50:38.211Z] 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-08-16T04:50:38.211Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-08-16T04:50:38.346Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-16T04:50:38.346Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-16T04:50:38.464Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-16T04:50:38.472Z] $ docker exec dad88c063d52a8251fe3cfb01a4234d700ed1f22a9fff4d10c55d6289111e1a3 ssh-agent [2023-08-16T04:50:38.569Z] SSH_AUTH_SOCK=/tmp/ssh-CXIfHfUlDlot/agent.33 [2023-08-16T04:50:38.569Z] SSH_AGENT_PID=39 [2023-08-16T04:50:38.577Z] Running ssh-add (command line suppressed) [2023-08-16T04:50:38.682Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1494@tmp/private_key_12843684368981331561.key (/w/workspace/gexfoundry_device-sdk-go_PR-1494@tmp/private_key_12843684368981331561.key) [2023-08-16T04:50:38.693Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-16T04:50:39.032Z] + git tag --points-at HEAD [Pipeline] } [2023-08-16T04:50:39.062Z] $ docker exec --env ******** --env ******** dad88c063d52a8251fe3cfb01a4234d700ed1f22a9fff4d10c55d6289111e1a3 ssh-agent -k [2023-08-16T04:50:39.150Z] unset SSH_AUTH_SOCK; [2023-08-16T04:50:39.151Z] unset SSH_AGENT_PID; [2023-08-16T04:50:39.151Z] echo Agent pid 39 killed; [2023-08-16T04:50:39.156Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-08-16T04:50:39.250Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-08-16T04:50:39.250Z] [ssh-agent] Looking for ssh-agent implementation... [2023-08-16T04:50:39.373Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-08-16T04:50:39.380Z] $ docker exec dad88c063d52a8251fe3cfb01a4234d700ed1f22a9fff4d10c55d6289111e1a3 ssh-agent [2023-08-16T04:50:39.479Z] SSH_AUTH_SOCK=/tmp/ssh-k8THs0PzWu2S/agent.71 [2023-08-16T04:50:39.479Z] SSH_AGENT_PID=76 [2023-08-16T04:50:39.485Z] Running ssh-add (command line suppressed) [2023-08-16T04:50:39.602Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1494@tmp/private_key_12142523614233784522.key (/w/workspace/gexfoundry_device-sdk-go_PR-1494@tmp/private_key_12142523614233784522.key) [2023-08-16T04:50:39.617Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-08-16T04:50:39.954Z] + git semver init [2023-08-16T04:50:40.237Z] 2023-08-16 04:50:40,159 [run_init] DEBUG init version:0.0.0 force:False [2023-08-16T04:50:40.237Z] 2023-08-16 04:50:40,160 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1494/.semver [2023-08-16T04:50:40.237Z] 2023-08-16 04:50:40,160 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1494/.semver [2023-08-16T04:50:40.237Z] 2023-08-16 04:50:40,160 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1494/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1494, universal_newlines=False, shell=None, istream=None) [2023-08-16T04:50:41.236Z] 2023-08-16 04:50:41,118 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1494/.git/info/exclude [2023-08-16T04:50:41.236Z] 2023-08-16 04:50:41,119 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1494/.semver/PR-1494 with force:False [2023-08-16T04:50:41.236Z] 2023-08-16 04:50:41,119 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1494/.semver/PR-1494 [2023-08-16T04:50:41.236Z] 2023-08-16 04:50:41,122 [execute] INFO git cat-file --batch-check [2023-08-16T04:50:41.236Z] 2023-08-16 04:50:41,122 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1494/.semver, universal_newlines=False, shell=None, istream=) [2023-08-16T04:50:41.236Z] 2023-08-16 04:50:41,126 [execute] INFO git cat-file --batch [2023-08-16T04:50:41.236Z] 2023-08-16 04:50:41,127 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1494/.semver, universal_newlines=False, shell=None, istream=) [2023-08-16T04:50:41.236Z] 2023-08-16 04:50:41,131 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1494/.semver/PR-1494 [2023-08-16T04:50:41.236Z] 0.0.0 [Pipeline] } [2023-08-16T04:50:41.266Z] $ docker exec --env ******** --env ******** dad88c063d52a8251fe3cfb01a4234d700ed1f22a9fff4d10c55d6289111e1a3 ssh-agent -k [2023-08-16T04:50:41.354Z] unset SSH_AUTH_SOCK; [2023-08-16T04:50:41.355Z] unset SSH_AGENT_PID; [2023-08-16T04:50:41.355Z] echo Agent pid 76 killed; [2023-08-16T04:50:41.362Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-08-16T04:50:41.790Z] + git semver [Pipeline] } [2023-08-16T04:50:42.076Z] $ docker stop --time=1 dad88c063d52a8251fe3cfb01a4234d700ed1f22a9fff4d10c55d6289111e1a3 [2023-08-16T04:50:43.353Z] $ docker rm -f --volumes dad88c063d52a8251fe3cfb01a4234d700ed1f22a9fff4d10c55d6289111e1a3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-16T04:50:43.732Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-08-16T04:50:43.991Z] Stashed 1 file(s) [Pipeline] echo [2023-08-16T04:50:44.006Z] [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-08-16T04:50:44.588Z] provisioning config files... [2023-08-16T04:50:44.598Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1494@tmp/config9691567326201902570tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-16T04:50:44.963Z] ---> docker-login.sh [2023-08-16T04:50:44.963Z] nexus3.edgexfoundry.org:10001 [2023-08-16T04:50:44.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T04:50:44.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T04:50:44.964Z] Configure a credential helper to remove this warning. See [2023-08-16T04:50:44.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T04:50:44.964Z] [2023-08-16T04:50:44.964Z] Login Succeeded [2023-08-16T04:50:44.964Z] nexus3.edgexfoundry.org:10002 [2023-08-16T04:50:44.964Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T04:50:44.964Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T04:50:44.964Z] Configure a credential helper to remove this warning. See [2023-08-16T04:50:44.964Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T04:50:44.964Z] [2023-08-16T04:50:44.964Z] Login Succeeded [2023-08-16T04:50:44.964Z] nexus3.edgexfoundry.org:10003 [2023-08-16T04:50:45.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T04:50:45.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T04:50:45.268Z] Configure a credential helper to remove this warning. See [2023-08-16T04:50:45.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T04:50:45.268Z] [2023-08-16T04:50:45.268Z] Login Succeeded [2023-08-16T04:50:45.268Z] nexus3.edgexfoundry.org:10004 [2023-08-16T04:50:45.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T04:50:45.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T04:50:45.268Z] Configure a credential helper to remove this warning. See [2023-08-16T04:50:45.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T04:50:45.268Z] [2023-08-16T04:50:45.268Z] Login Succeeded [2023-08-16T04:50:45.268Z] docker.io [2023-08-16T04:50:45.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T04:50:45.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T04:50:45.536Z] Configure a credential helper to remove this warning. See [2023-08-16T04:50:45.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T04:50:45.536Z] [2023-08-16T04:50:45.536Z] Login Succeeded [2023-08-16T04:50:45.536Z] ---> docker-login.sh ends [Pipeline] } [2023-08-16T04:50:45.566Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-16T04:50:45.767Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-16T04:50:45.803Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-16T04:50:45.837Z] ========================================================= [2023-08-16T04:50:45.837Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-08-16T04:50:45.837Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T04:50:46.391Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-16T04:50:46.391Z] Sending build context to Docker daemon 11.05MB [2023-08-16T04:50:46.391Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-16T04:50:46.391Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-16T04:50:47.331Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-08-16T04:50:47.331Z] 4db1b89c0bd1: Pulling fs layer [2023-08-16T04:50:47.331Z] 6911f1a30b25: Pulling fs layer [2023-08-16T04:50:47.331Z] e194b8c5c2a9: Pulling fs layer [2023-08-16T04:50:47.331Z] 6863d3e3a2b1: Pulling fs layer [2023-08-16T04:50:47.331Z] ec0bb842ea78: Pulling fs layer [2023-08-16T04:50:47.331Z] 40a00589a448: Pulling fs layer [2023-08-16T04:50:47.331Z] 6c08303d61cc: Pulling fs layer [2023-08-16T04:50:47.331Z] 798269fcf238: Pulling fs layer [2023-08-16T04:50:47.331Z] ec0bb842ea78: Waiting [2023-08-16T04:50:47.331Z] 798269fcf238: Waiting [2023-08-16T04:50:47.331Z] 6c08303d61cc: Waiting [2023-08-16T04:50:47.331Z] 6863d3e3a2b1: Waiting [2023-08-16T04:50:47.331Z] 6911f1a30b25: Verifying Checksum [2023-08-16T04:50:47.331Z] 6911f1a30b25: Download complete [2023-08-16T04:50:47.331Z] 6863d3e3a2b1: Verifying Checksum [2023-08-16T04:50:47.331Z] 6863d3e3a2b1: Download complete [2023-08-16T04:50:47.331Z] ec0bb842ea78: Verifying Checksum [2023-08-16T04:50:47.331Z] ec0bb842ea78: Download complete [2023-08-16T04:50:47.331Z] 4db1b89c0bd1: Verifying Checksum [2023-08-16T04:50:47.331Z] 4db1b89c0bd1: Download complete [2023-08-16T04:50:47.590Z] 40a00589a448: Verifying Checksum [2023-08-16T04:50:47.590Z] 40a00589a448: Download complete [2023-08-16T04:50:47.590Z] 4db1b89c0bd1: Pull complete [2023-08-16T04:50:47.850Z] 6911f1a30b25: Pull complete [2023-08-16T04:50:47.850Z] 798269fcf238: Verifying Checksum [2023-08-16T04:50:47.850Z] 798269fcf238: Download complete [2023-08-16T04:50:48.108Z] e194b8c5c2a9: Verifying Checksum [2023-08-16T04:50:48.108Z] e194b8c5c2a9: Download complete [2023-08-16T04:50:48.367Z] 6c08303d61cc: Verifying Checksum [2023-08-16T04:50:48.367Z] 6c08303d61cc: Download complete [2023-08-16T04:50:51.652Z] e194b8c5c2a9: Pull complete [2023-08-16T04:50:52.222Z] 6863d3e3a2b1: Pull complete [2023-08-16T04:50:52.791Z] ec0bb842ea78: Pull complete [2023-08-16T04:50:53.359Z] 40a00589a448: Pull complete [2023-08-16T04:50:56.640Z] 6c08303d61cc: Pull complete [2023-08-16T04:50:58.014Z] 798269fcf238: Pull complete [2023-08-16T04:50:58.273Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-08-16T04:50:58.273Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-08-16T04:50:58.273Z] ---> ec979cd7f677 [2023-08-16T04:50:58.273Z] Step 3/10 : ARG MAKE=make build [2023-08-16T04:50:59.407Z] Still waiting to schedule task [2023-08-16T04:50:59.407Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-08-16T04:51:10.589Z] ---> Running in 3170004cd199 [2023-08-16T04:51:10.589Z] Removing intermediate container 3170004cd199 [2023-08-16T04:51:10.589Z] ---> 00f84662e09e [2023-08-16T04:51:10.589Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-16T04:51:10.589Z] ---> Running in db1b7c926840 [2023-08-16T04:51:10.589Z] Removing intermediate container db1b7c926840 [2023-08-16T04:51:10.589Z] ---> 157a12cfd6ac [2023-08-16T04:51:10.589Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-16T04:51:10.589Z] ---> Running in 1facd28076a0 [2023-08-16T04:51:10.589Z] Removing intermediate container 1facd28076a0 [2023-08-16T04:51:10.589Z] ---> 546a345c9667 [2023-08-16T04:51:10.589Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-16T04:51:10.589Z] ---> Running in 5300513f339f [2023-08-16T04:51:10.589Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-16T04:51:10.589Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-16T04:51:10.589Z] OK: 265 MiB in 53 packages [2023-08-16T04:51:10.589Z] Removing intermediate container 5300513f339f [2023-08-16T04:51:10.589Z] ---> 40ecb6c1de23 [2023-08-16T04:51:10.589Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-16T04:51:10.589Z] ---> b20dc763bb22 [2023-08-16T04:51:10.589Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-16T04:51:10.589Z] ---> Running in e883087efec7 [2023-08-16T04:52:06.877Z] Removing intermediate container e883087efec7 [2023-08-16T04:52:06.877Z] ---> eb1b012633d4 [2023-08-16T04:52:06.877Z] Step 9/10 : COPY . . [2023-08-16T04:52:06.877Z] ---> 609975c0a276 [2023-08-16T04:52:06.877Z] Step 10/10 : RUN ${MAKE} [2023-08-16T04:52:06.877Z] ---> Running in 8be3b506a5b8 [2023-08-16T04:52:06.877Z] noop [2023-08-16T04:52:06.877Z] Removing intermediate container 8be3b506a5b8 [2023-08-16T04:52:06.877Z] ---> d0f0a0a2db34 [2023-08-16T04:52:06.877Z] Successfully built d0f0a0a2db34 [2023-08-16T04:52:06.877Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T04:52:07.338Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-16T04:52:07.338Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-16T04:52:07.487Z] prd-ubuntu20.04-docker-8c-8g-3763 does not seem to be running inside a container [2023-08-16T04:52:07.518Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1494 -v /w/workspace/gexfoundry_device-sdk-go_PR-1494:/w/workspace/gexfoundry_device-sdk-go_PR-1494:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1494@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1494@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-08-16T04:52:07.826Z] $ docker top 679d092a7fc388d80df61c40ab6d76e04b6ae6f05a22b30d17fa5dbbdae467d4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-16T04:52:08.216Z] + go version [2023-08-16T04:52:08.216Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-08-16T04:52:08.249Z] $ docker stop --time=1 679d092a7fc388d80df61c40ab6d76e04b6ae6f05a22b30d17fa5dbbdae467d4 [2023-08-16T04:52:09.522Z] $ docker rm -f --volumes 679d092a7fc388d80df61c40ab6d76e04b6ae6f05a22b30d17fa5dbbdae467d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T04:52:10.221Z] + docker inspect -f . ci-base-image-x86_64 [2023-08-16T04:52:10.222Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-16T04:52:10.371Z] prd-ubuntu20.04-docker-8c-8g-3763 does not seem to be running inside a container [2023-08-16T04:52:10.407Z] $ 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-1494 -v /w/workspace/gexfoundry_device-sdk-go_PR-1494:/w/workspace/gexfoundry_device-sdk-go_PR-1494:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1494@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1494@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-08-16T04:52:10.712Z] $ docker top a3dfd0418542730c42754c5df0203d7034f2ab18e9e49917e9b70abdad6b1f7c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-16T04:52:11.096Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1494 [Pipeline] fileExists [Pipeline] sh [2023-08-16T04:52:11.456Z] + make test [2023-08-16T04:52:11.456Z] go test -race -coverprofile=coverage.out ./... [2023-08-16T04:52:18.156Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-16T04:52:30.483Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-16T04:52:30.484Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-16T04:52:30.484Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-16T04:52:30.484Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-16T04:52:30.484Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-16T04:52:31.052Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.061s coverage: 27.6% of statements [2023-08-16T04:52:31.052Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.056s coverage: 80.2% of statements [2023-08-16T04:52:31.984Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-16T04:52:31.984Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-16T04:52:31.984Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.094s coverage: 86.0% of statements [2023-08-16T04:52:31.984Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-16T04:52:32.243Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.108s coverage: 71.8% of statements [2023-08-16T04:52:32.812Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-16T04:52:32.812Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-16T04:52:33.380Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-16T04:52:35.284Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.093s coverage: 14.3% of statements [2023-08-16T04:52:35.284Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.585s coverage: 43.8% of statements [2023-08-16T04:52:35.284Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.093s coverage: 68.5% of statements [2023-08-16T04:52:35.284Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.128s coverage: 89.2% of statements [2023-08-16T04:52:35.284Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.081s coverage: 5.5% of statements [2023-08-16T04:52:37.810Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-3764 in /w/workspace/gexfoundry_device-sdk-go_PR-1494 [Pipeline] { [Pipeline] ws [2023-08-16T04:52:37.872Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-08-16T04:52:37.956Z] The recommended git tool is: git [2023-08-16T04:52:42.938Z] using credential edgex-jenkins-ssh [2023-08-16T04:52:42.956Z] Cloning the remote Git repository [2023-08-16T04:52:43.000Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-08-16T04:52:43.088Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-08-16T04:52:43.226Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-08-16T04:52:43.227Z] > git --version # timeout=10 [2023-08-16T04:52:43.253Z] > git --version # 'git version 2.25.1' [2023-08-16T04:52:43.255Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-16T04:52:43.408Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-16T04:52:44.902Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-08-16T04:52:44.920Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-08-16T04:52:46.288Z] Merging remotes/origin/main commit b56f98b359607ae8777d3b496d3ffaedfbff1a58 into PR head commit 4634dd5bc71e055960d2ebf4bdf91a30a9fedf20 [2023-08-16T04:52:46.580Z] Merge succeeded, producing 4634dd5bc71e055960d2ebf4bdf91a30a9fedf20 [2023-08-16T04:52:46.580Z] Checking out Revision 4634dd5bc71e055960d2ebf4bdf91a30a9fedf20 (PR-1494) [2023-08-16T04:52:45.708Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-08-16T04:52:45.745Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-08-16T04:52:45.746Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-16T04:52:45.760Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1494/head:refs/remotes/origin/PR-1494 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-08-16T04:52:46.305Z] > git config core.sparsecheckout # timeout=10 [2023-08-16T04:52:46.372Z] > git checkout -f 4634dd5bc71e055960d2ebf4bdf91a30a9fedf20 # timeout=10 [2023-08-16T04:52:46.475Z] > git remote # timeout=10 [2023-08-16T04:52:46.497Z] > git config --get remote.origin.url # timeout=10 [2023-08-16T04:52:46.528Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-08-16T04:52:46.540Z] > git merge b56f98b359607ae8777d3b496d3ffaedfbff1a58 # timeout=10 [2023-08-16T04:52:46.566Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-08-16T04:52:46.587Z] > git config core.sparsecheckout # timeout=10 [2023-08-16T04:52:46.601Z] > git checkout -f 4634dd5bc71e055960d2ebf4bdf91a30a9fedf20 # timeout=10 [2023-08-16T04:52:47.060Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-08-16T04:52:47.109Z] > git --version # timeout=10 [2023-08-16T04:52:47.120Z] > git --version # 'git version 2.25.1' [2023-08-16T04:52:47.141Z] fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-16T04:52:48.233Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-08-16T04:52:48.233Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-16T04:52:48.233Z] Dload Upload Total Spent Left Speed [2023-08-16T04:52:48.233Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 115k 0 --:--:-- --:--:-- --:--:-- 115k [Pipeline] sh [2023-08-16T04:52:48.930Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-08-16T04:52:49.270Z] + sudo tee /etc/docker/daemon.new [2023-08-16T04:52:49.271Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-08-16T04:52:49.271Z] { [2023-08-16T04:52:49.271Z] "registry-mirrors": [ [2023-08-16T04:52:49.271Z] "https://nexus3.edgexfoundry.org:10001" [2023-08-16T04:52:49.271Z] ], [2023-08-16T04:52:49.271Z] "bip": "10.250.0.254/24", [2023-08-16T04:52:49.271Z] "hosts": [ [2023-08-16T04:52:49.271Z] "tcp://0.0.0.0:5555", [2023-08-16T04:52:49.271Z] "unix:///var/run/docker.sock" [2023-08-16T04:52:49.271Z] ], [2023-08-16T04:52:49.271Z] "mtu": 1458, [2023-08-16T04:52:49.271Z] "selinux-enabled": true, [2023-08-16T04:52:49.271Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-08-16T04:52:49.271Z] } [Pipeline] sh [2023-08-16T04:52:49.610Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-08-16T04:52:49.961Z] + sudo service docker restart [2023-08-16T04:52:57.192Z] GO111MODULE=on go vet ./... [2023-08-16T04:52:58.126Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-16T04:52:58.126Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-16T04:52:58.384Z] ./bin/test-attribution-txt.sh [2023-08-16T04:52:58.384Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-16T04:52:58.384Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-16T04:52:58.384Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-16T04:52:58.384Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-16T04:52:58.384Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-16T04:52:58.427Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-16T04:52:58.460Z] $ docker stop --time=1 a3dfd0418542730c42754c5df0203d7034f2ab18e9e49917e9b70abdad6b1f7c [2023-08-16T04:53:02.404Z] $ docker rm -f --volumes a3dfd0418542730c42754c5df0203d7034f2ab18e9e49917e9b70abdad6b1f7c [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-16T04:53:02.979Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-16T04:53:03.064Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-08-16T04:53:03.755Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-16T04:53:04.064Z] + ls -al . [2023-08-16T04:53:04.064Z] total 304 [2023-08-16T04:53:04.064Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 16 04:52 . [2023-08-16T04:53:04.065Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 04:50 .. [2023-08-16T04:53:04.065Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 16 04:50 .dockerignore [2023-08-16T04:53:04.065Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 16 04:50 .git [2023-08-16T04:53:04.065Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 04:50 .github [2023-08-16T04:53:04.065Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 16 04:50 .gitignore [2023-08-16T04:53:04.065Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 16 04:50 .golangci.yml [2023-08-16T04:53:04.065Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 16 04:50 .semver [2023-08-16T04:53:04.065Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 16 04:50 CHANGELOG.md [2023-08-16T04:53:04.065Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 16 04:50 GOVERNANCE.md [2023-08-16T04:53:04.065Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 16 04:50 Jenkinsfile [2023-08-16T04:53:04.065Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 16 04:50 LICENSE [2023-08-16T04:53:04.065Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 16 04:50 Makefile [2023-08-16T04:53:04.065Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 16 04:50 OWNERS.md [2023-08-16T04:53:04.065Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 16 04:50 README.md [2023-08-16T04:53:04.065Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 16 04:50 VERSION [2023-08-16T04:53:04.065Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 04:50 bin [2023-08-16T04:53:04.065Z] -rw-r--r-- 1 jenkins jenkins 120273 Aug 16 04:52 coverage.out [2023-08-16T04:53:04.065Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 16 04:50 example [2023-08-16T04:53:04.065Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 16 04:50 go.mod [2023-08-16T04:53:04.065Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 16 04:50 go.sum [2023-08-16T04:53:04.065Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 16 04:50 internal [2023-08-16T04:53:04.065Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 16 04:50 openapi [2023-08-16T04:53:04.065Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 16 04:50 pkg [2023-08-16T04:53:04.065Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 04:50 snap [2023-08-16T04:53:04.065Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 16 04:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T04:53:04.466Z] + 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=4634dd5bc71e055960d2ebf4bdf91a30a9fedf20 --label arch=amd64 --label version=0.0.0 . [2023-08-16T04:53:04.466Z] Sending build context to Docker daemon 11.17MB [2023-08-16T04:53:04.466Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-16T04:53:04.466Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-16T04:53:04.466Z] ---> d0f0a0a2db34 [2023-08-16T04:53:04.466Z] Step 3/23 : ARG MAKE=make build [2023-08-16T04:53:04.725Z] ---> Running in b0499d223ebd [2023-08-16T04:53:04.725Z] Removing intermediate container b0499d223ebd [2023-08-16T04:53:04.725Z] ---> d3d23b6a3478 [2023-08-16T04:53:04.725Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-16T04:53:04.983Z] ---> Running in c00f93bfee3f [2023-08-16T04:53:04.984Z] Removing intermediate container c00f93bfee3f [2023-08-16T04:53:04.984Z] ---> da63e6838708 [2023-08-16T04:53:04.984Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-16T04:53:04.984Z] ---> Running in d371df47ef64 [2023-08-16T04:53:04.984Z] Removing intermediate container d371df47ef64 [2023-08-16T04:53:04.984Z] ---> 86592dac53ef [2023-08-16T04:53:04.984Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-16T04:53:04.984Z] ---> Running in ea5250efccab [2023-08-16T04:53:05.248Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-16T04:53:05.506Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-16T04:53:05.764Z] OK: 265 MiB in 53 packages [2023-08-16T04:53:06.023Z] Removing intermediate container ea5250efccab [2023-08-16T04:53:06.023Z] ---> 3d2d36f59095 [2023-08-16T04:53:06.023Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-16T04:53:06.283Z] ---> ae63a43df9af [2023-08-16T04:53:06.283Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-16T04:53:06.283Z] ---> Running in 97a24e7e0447 [2023-08-16T04:53:06.850Z] Removing intermediate container 97a24e7e0447 [2023-08-16T04:53:06.850Z] ---> 925d3415bab1 [2023-08-16T04:53:06.850Z] Step 9/23 : COPY . . [2023-08-16T04:53:07.416Z] ---> bcb6ff674ca4 [2023-08-16T04:53:07.416Z] Step 10/23 : RUN ${MAKE} [2023-08-16T04:53:07.416Z] ---> Running in 62b1f5bca947 [2023-08-16T04:53:07.416Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-16T04:53:08.265Z] provisioning config files... [2023-08-16T04:53:08.288Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config15763246101729624454tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-16T04:53:08.674Z] ---> docker-login.sh [2023-08-16T04:53:08.674Z] nexus3.edgexfoundry.org:10001 [2023-08-16T04:53:08.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T04:53:09.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T04:53:09.214Z] Configure a credential helper to remove this warning. See [2023-08-16T04:53:09.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T04:53:09.214Z] [2023-08-16T04:53:09.214Z] Login Succeeded [2023-08-16T04:53:09.214Z] nexus3.edgexfoundry.org:10002 [2023-08-16T04:53:09.482Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T04:53:09.482Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T04:53:09.482Z] Configure a credential helper to remove this warning. See [2023-08-16T04:53:09.482Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T04:53:09.482Z] [2023-08-16T04:53:09.482Z] Login Succeeded [2023-08-16T04:53:09.482Z] nexus3.edgexfoundry.org:10003 [2023-08-16T04:53:09.750Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T04:53:10.020Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T04:53:10.020Z] Configure a credential helper to remove this warning. See [2023-08-16T04:53:10.020Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T04:53:10.020Z] [2023-08-16T04:53:10.020Z] Login Succeeded [2023-08-16T04:53:10.020Z] nexus3.edgexfoundry.org:10004 [2023-08-16T04:53:10.020Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T04:53:10.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T04:53:10.290Z] Configure a credential helper to remove this warning. See [2023-08-16T04:53:10.290Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T04:53:10.290Z] [2023-08-16T04:53:10.290Z] Login Succeeded [2023-08-16T04:53:10.290Z] docker.io [2023-08-16T04:53:10.558Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-08-16T04:53:10.887Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-08-16T04:53:10.887Z] Configure a credential helper to remove this warning. See [2023-08-16T04:53:10.887Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-08-16T04:53:10.887Z] [2023-08-16T04:53:10.887Z] Login Succeeded [2023-08-16T04:53:10.887Z] ---> docker-login.sh ends [Pipeline] } [2023-08-16T04:53:10.916Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-08-16T04:53:11.298Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-16T04:53:11.335Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-08-16T04:53:11.366Z] ========================================================= [2023-08-16T04:53:11.366Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-08-16T04:53:11.366Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T04:53:11.950Z] + 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.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-08-16T04:53:12.222Z] Sending build context to Docker daemon 5.902MB [2023-08-16T04:53:12.493Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-08-16T04:53:12.493Z] Step 2/10 : FROM ${BASE} AS builder [2023-08-16T04:53:12.493Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-08-16T04:53:12.493Z] edb6bdbacee9: Pulling fs layer [2023-08-16T04:53:12.493Z] 5f9638ab2659: Pulling fs layer [2023-08-16T04:53:12.493Z] 8d51d6327a98: Pulling fs layer [2023-08-16T04:53:12.493Z] 8b374f2dd631: Pulling fs layer [2023-08-16T04:53:12.493Z] ec14aa9079de: Pulling fs layer [2023-08-16T04:53:12.493Z] 2f466654f4bb: Pulling fs layer [2023-08-16T04:53:12.493Z] 554e91adad29: Pulling fs layer [2023-08-16T04:53:12.493Z] 8b374f2dd631: Waiting [2023-08-16T04:53:12.493Z] ec14aa9079de: Waiting [2023-08-16T04:53:12.493Z] 2f466654f4bb: Waiting [2023-08-16T04:53:12.493Z] 554e91adad29: Waiting [2023-08-16T04:53:12.493Z] 5f9638ab2659: Verifying Checksum [2023-08-16T04:53:12.493Z] 5f9638ab2659: Download complete [2023-08-16T04:53:12.493Z] 8b374f2dd631: Verifying Checksum [2023-08-16T04:53:12.493Z] 8b374f2dd631: Download complete [2023-08-16T04:53:12.493Z] ec14aa9079de: Verifying Checksum [2023-08-16T04:53:12.493Z] ec14aa9079de: Download complete [2023-08-16T04:53:12.770Z] edb6bdbacee9: Download complete [2023-08-16T04:53:13.739Z] edb6bdbacee9: Pull complete [2023-08-16T04:53:14.326Z] 554e91adad29: Verifying Checksum [2023-08-16T04:53:14.326Z] 554e91adad29: Download complete [2023-08-16T04:53:14.327Z] 5f9638ab2659: Pull complete [2023-08-16T04:53:15.293Z] 8d51d6327a98: Download complete [2023-08-16T04:53:15.293Z] 2f466654f4bb: Verifying Checksum [2023-08-16T04:53:15.293Z] 2f466654f4bb: Download complete [2023-08-16T04:53:25.416Z] 8d51d6327a98: Pull complete [2023-08-16T04:53:25.684Z] 8b374f2dd631: Pull complete [2023-08-16T04:53:25.954Z] ec14aa9079de: Pull complete [2023-08-16T04:53:29.402Z] Removing intermediate container 62b1f5bca947 [2023-08-16T04:53:29.402Z] ---> 6fb1b61f8ec5 [2023-08-16T04:53:29.402Z] Step 11/23 : FROM alpine:3.17 [2023-08-16T04:53:29.402Z] 3.17: Pulling from library/alpine [2023-08-16T04:53:29.402Z] 9398808236ff: Pulling fs layer [2023-08-16T04:53:29.402Z] 9398808236ff: Verifying Checksum [2023-08-16T04:53:29.402Z] 9398808236ff: Download complete [2023-08-16T04:53:29.402Z] 9398808236ff: Pull complete [2023-08-16T04:53:29.402Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-16T04:53:29.402Z] Status: Downloaded newer image for alpine:3.17 [2023-08-16T04:53:29.402Z] ---> 1e0b8b5322fc [2023-08-16T04:53:29.402Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-16T04:53:29.402Z] ---> Running in 2c698c44b598 [2023-08-16T04:53:29.402Z] Removing intermediate container 2c698c44b598 [2023-08-16T04:53:29.402Z] ---> eb50d3af0a1c [2023-08-16T04:53:29.402Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-16T04:53:29.402Z] ---> Running in 5ce379f034e0 [2023-08-16T04:53:29.402Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-08-16T04:53:29.402Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-08-16T04:53:29.402Z] OK: 7 MiB in 15 packages [2023-08-16T04:53:29.402Z] Removing intermediate container 5ce379f034e0 [2023-08-16T04:53:29.402Z] ---> 6a351badff80 [2023-08-16T04:53:29.402Z] Step 14/23 : WORKDIR / [2023-08-16T04:53:29.402Z] ---> Running in be543815d819 [2023-08-16T04:53:29.402Z] Removing intermediate container be543815d819 [2023-08-16T04:53:29.402Z] ---> a484a2d8e0f9 [2023-08-16T04:53:29.402Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-16T04:53:29.402Z] ---> feab8cfadc48 [2023-08-16T04:53:29.402Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-16T04:53:29.660Z] ---> 87863ec5cd1f [2023-08-16T04:53:29.660Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-16T04:53:29.660Z] ---> 0f37cbdec90e [2023-08-16T04:53:29.660Z] Step 18/23 : EXPOSE 59999 [2023-08-16T04:53:29.660Z] ---> Running in 5711b62a08e6 [2023-08-16T04:53:29.660Z] Removing intermediate container 5711b62a08e6 [2023-08-16T04:53:29.660Z] ---> 79963503be2a [2023-08-16T04:53:29.660Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-16T04:53:29.660Z] ---> Running in c20326dac419 [2023-08-16T04:53:29.918Z] Removing intermediate container c20326dac419 [2023-08-16T04:53:29.918Z] ---> 3664a0dd1428 [2023-08-16T04:53:29.918Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-16T04:53:29.918Z] ---> Running in df3ef8d5a289 [2023-08-16T04:53:29.918Z] Removing intermediate container df3ef8d5a289 [2023-08-16T04:53:29.918Z] ---> 07703fd7ed8c [2023-08-16T04:53:29.918Z] Step 21/23 : LABEL arch=amd64 [2023-08-16T04:53:29.918Z] ---> Running in b10ae8020382 [2023-08-16T04:53:29.918Z] Removing intermediate container b10ae8020382 [2023-08-16T04:53:29.918Z] ---> 4d0d9770162b [2023-08-16T04:53:29.918Z] Step 22/23 : LABEL git_sha=4634dd5bc71e055960d2ebf4bdf91a30a9fedf20 [2023-08-16T04:53:29.918Z] ---> Running in 562a96b762bf [2023-08-16T04:53:30.176Z] Removing intermediate container 562a96b762bf [2023-08-16T04:53:30.176Z] ---> a1a84eca3c61 [2023-08-16T04:53:30.176Z] Step 23/23 : LABEL version=0.0.0 [2023-08-16T04:53:30.176Z] ---> Running in cbf71acf5c5e [2023-08-16T04:53:30.176Z] Removing intermediate container cbf71acf5c5e [2023-08-16T04:53:30.176Z] ---> 8e40109aedad [2023-08-16T04:53:30.176Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-16T04:53:30.176Z] Successfully built 8e40109aedad [2023-08-16T04:53:30.176Z] 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-08-16T04:53:31.016Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-16T04:53:31.016Z] [2023-08-16T04:53:31.016Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T04:53:31.402Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-16T04:53:31.402Z] latest: Pulling from edgex-lftools-log-publisher [2023-08-16T04:53:31.402Z] 5eb5b503b376: Pulling fs layer [2023-08-16T04:53:31.402Z] 5c69ac0246d0: Pulling fs layer [2023-08-16T04:53:31.402Z] ec43610c2a17: Pulling fs layer [2023-08-16T04:53:31.402Z] 3a2ae6a8a46f: Pulling fs layer [2023-08-16T04:53:31.402Z] 33b1e0a273af: Pulling fs layer [2023-08-16T04:53:31.402Z] 5d3b04190fa2: Pulling fs layer [2023-08-16T04:53:31.402Z] 2f39f015ded8: Pulling fs layer [2023-08-16T04:53:31.402Z] 3a2ae6a8a46f: Waiting [2023-08-16T04:53:31.402Z] 33b1e0a273af: Waiting [2023-08-16T04:53:31.402Z] 5d3b04190fa2: Waiting [2023-08-16T04:53:31.402Z] 2f39f015ded8: Waiting [2023-08-16T04:53:31.402Z] 5c69ac0246d0: Verifying Checksum [2023-08-16T04:53:31.403Z] 5c69ac0246d0: Download complete [2023-08-16T04:53:31.403Z] 3a2ae6a8a46f: Verifying Checksum [2023-08-16T04:53:31.403Z] 3a2ae6a8a46f: Download complete [2023-08-16T04:53:31.403Z] 33b1e0a273af: Verifying Checksum [2023-08-16T04:53:31.403Z] 33b1e0a273af: Download complete [2023-08-16T04:53:31.403Z] 5d3b04190fa2: Verifying Checksum [2023-08-16T04:53:31.403Z] 5d3b04190fa2: Download complete [2023-08-16T04:53:31.403Z] ec43610c2a17: Verifying Checksum [2023-08-16T04:53:31.403Z] ec43610c2a17: Download complete [2023-08-16T04:53:31.662Z] 5eb5b503b376: Verifying Checksum [2023-08-16T04:53:31.662Z] 5eb5b503b376: Download complete [2023-08-16T04:53:32.227Z] 2f39f015ded8: Verifying Checksum [2023-08-16T04:53:32.227Z] 2f39f015ded8: Download complete [2023-08-16T04:53:32.631Z] 2f466654f4bb: Pull complete [2023-08-16T04:53:32.793Z] 5eb5b503b376: Pull complete [2023-08-16T04:53:32.793Z] 5c69ac0246d0: Pull complete [2023-08-16T04:53:33.056Z] ec43610c2a17: Pull complete [2023-08-16T04:53:33.314Z] 3a2ae6a8a46f: Pull complete [2023-08-16T04:53:33.314Z] 33b1e0a273af: Pull complete [2023-08-16T04:53:33.575Z] 5d3b04190fa2: Pull complete [2023-08-16T04:53:35.226Z] 554e91adad29: Pull complete [2023-08-16T04:53:35.226Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-08-16T04:53:35.226Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-08-16T04:53:35.226Z] ---> 1e15ea492957 [2023-08-16T04:53:35.226Z] Step 3/10 : ARG MAKE=make build [2023-08-16T04:53:37.174Z] ---> Running in e7d9c466ef37 [2023-08-16T04:53:37.174Z] Removing intermediate container e7d9c466ef37 [2023-08-16T04:53:37.174Z] ---> ed245a8dc7ae [2023-08-16T04:53:37.174Z] Step 4/10 : WORKDIR /device-sdk-go [2023-08-16T04:53:37.174Z] ---> Running in ea6d622c7f8b [2023-08-16T04:53:37.444Z] Removing intermediate container ea6d622c7f8b [2023-08-16T04:53:37.444Z] ---> 2ca174814083 [2023-08-16T04:53:37.444Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-16T04:53:37.713Z] ---> Running in 130e5a2c637e [2023-08-16T04:53:37.757Z] 2f39f015ded8: Pull complete [2023-08-16T04:53:37.757Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-08-16T04:53:37.757Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-16T04:53:37.757Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-16T04:53:37.983Z] Removing intermediate container 130e5a2c637e [2023-08-16T04:53:37.983Z] ---> cfbc12c3dccc [2023-08-16T04:53:37.983Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-08-16T04:53:37.983Z] ---> Running in e563d1f2c6ef [2023-08-16T04:53:37.985Z] prd-ubuntu20.04-docker-8c-8g-3763 does not seem to be running inside a container [2023-08-16T04:53:38.015Z] $ 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-1494 -v /w/workspace/gexfoundry_device-sdk-go_PR-1494:/w/workspace/gexfoundry_device-sdk-go_PR-1494:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1494@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1494@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-08-16T04:53:38.947Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-16T04:53:39.528Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-16T04:53:40.486Z] OK: 263 MiB in 53 packages [2023-08-16T04:53:41.448Z] Removing intermediate container e563d1f2c6ef [2023-08-16T04:53:41.448Z] ---> 01dbb173e15a [2023-08-16T04:53:41.448Z] Step 7/10 : COPY go.mod vendor* ./ [2023-08-16T04:53:41.720Z] ---> dc55ffc994be [2023-08-16T04:53:41.720Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-16T04:53:41.802Z] $ docker top 895c23982c62e0695f62fc7d9bee9caeb2eed192aa720e91b2a00796e65f5cc7 -eo pid,comm [Pipeline] { [2023-08-16T04:53:42.000Z] ---> Running in 8581352ff0ff [Pipeline] libraryResource [Pipeline] sh [2023-08-16T04:53:42.591Z] ---> job-cost.sh [2023-08-16T04:53:42.591Z] lf-activate-venv: SKIPPING [2023-08-16T04:53:42.591Z] INFO: No Stack... [2023-08-16T04:53:42.851Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-16T04:53:43.420Z] INFO: Archiving Costs [Pipeline] sh [2023-08-16T04:53:43.734Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1494/archives/cost.csv [2023-08-16T04:53:43.734Z] + cut -d, -f6 [Pipeline] lock [2023-08-16T04:53:43.775Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1494-1-stack-cost] [2023-08-16T04:53:43.779Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1494-1-stack-cost] did not exist. Created. [2023-08-16T04:53:43.780Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1494-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-16T04:53:44.180Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-08-16T04:53:44.233Z] Stashed 1 file(s) [Pipeline] } [2023-08-16T04:53:44.264Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1494-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-16T04:53:44.356Z] $ docker stop --time=1 895c23982c62e0695f62fc7d9bee9caeb2eed192aa720e91b2a00796e65f5cc7 [2023-08-16T04:53:45.494Z] $ docker rm -f --volumes 895c23982c62e0695f62fc7d9bee9caeb2eed192aa720e91b2a00796e65f5cc7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-08-16T04:54:50.348Z] Removing intermediate container 8581352ff0ff [2023-08-16T04:54:50.348Z] ---> 8bfff8651ddb [2023-08-16T04:54:50.348Z] Step 9/10 : COPY . . [2023-08-16T04:54:50.348Z] ---> 5508d036d455 [2023-08-16T04:54:50.348Z] Step 10/10 : RUN ${MAKE} [2023-08-16T04:54:50.348Z] ---> Running in 3974824ae5cd [2023-08-16T04:54:50.348Z] noop [2023-08-16T04:54:50.614Z] Removing intermediate container 3974824ae5cd [2023-08-16T04:54:50.614Z] ---> d3f6982a31bc [2023-08-16T04:54:50.614Z] Successfully built d3f6982a31bc [2023-08-16T04:54:50.614Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T04:54:51.079Z] + docker inspect -f . ci-base-image-arm64 [2023-08-16T04:54:51.080Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-16T04:54:51.356Z] prd-ubuntu20.04-docker-arm64-4c-16g-3764 does not seem to be running inside a container [2023-08-16T04:54:51.422Z] $ 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-08-16T04:54:52.573Z] $ docker top 6ca4f4fa5d98e3945b19b3d2f8323a435e4fa340992de3e0ab678eebd96a49ae -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-16T04:54:53.443Z] + go version [2023-08-16T04:54:53.443Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-08-16T04:54:53.479Z] $ docker stop --time=1 6ca4f4fa5d98e3945b19b3d2f8323a435e4fa340992de3e0ab678eebd96a49ae [2023-08-16T04:54:55.066Z] $ docker rm -f --volumes 6ca4f4fa5d98e3945b19b3d2f8323a435e4fa340992de3e0ab678eebd96a49ae [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T04:54:55.918Z] + docker inspect -f . ci-base-image-arm64 [2023-08-16T04:54:55.918Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-16T04:54:56.154Z] prd-ubuntu20.04-docker-arm64-4c-16g-3764 does not seem to be running inside a container [2023-08-16T04:54:56.218Z] $ 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-08-16T04:54:57.383Z] $ docker top 91a07beaa138f7b5bf5582d0936bc7e1081d1ceabdb6b2035b3333036c303e03 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-16T04:54:58.260Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-08-16T04:54:58.763Z] + make test [2023-08-16T04:54:58.763Z] go test -race -coverprofile=coverage.out ./... [2023-08-16T04:55:37.613Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-08-16T04:57:44.304Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-08-16T04:57:44.304Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-08-16T04:57:44.304Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-08-16T04:57:44.304Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-08-16T04:57:44.304Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-08-16T04:57:52.524Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.220s coverage: 27.6% of statements [2023-08-16T04:57:56.784Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.268s coverage: 80.2% of statements [2023-08-16T04:58:11.806Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-08-16T04:58:11.806Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-08-16T04:58:11.806Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.367s coverage: 86.0% of statements [2023-08-16T04:58:16.074Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-08-16T04:58:16.657Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.561s coverage: 71.8% of statements [2023-08-16T04:58:20.002Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.301s coverage: 14.3% of statements [2023-08-16T04:58:22.581Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-08-16T04:58:22.581Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-08-16T04:58:23.164Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.372s coverage: 43.8% of statements [2023-08-16T04:58:23.164Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.455s coverage: 68.5% of statements [2023-08-16T04:58:26.523Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.442s coverage: 89.2% of statements [2023-08-16T04:58:27.928Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-08-16T04:58:27.928Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.249s coverage: 5.5% of statements [2023-08-16T04:58:28.889Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-08-16T04:58:28.889Z] GO111MODULE=on go vet ./... [2023-08-16T05:00:50.905Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-08-16T05:00:50.905Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-08-16T05:00:50.905Z] ./bin/test-attribution-txt.sh [2023-08-16T05:00:50.905Z] An attribution for github.com/golang-jwt/jwt is missing from Attribution.txt, please add [2023-08-16T05:00:50.905Z] An attribution for github.com/labstack/gommon is missing from Attribution.txt, please add [2023-08-16T05:00:50.905Z] An attribution for github.com/valyala/bytebufferpool is missing from Attribution.txt, please add [2023-08-16T05:00:50.905Z] An attribution for github.com/valyala/fasttemplate is missing from Attribution.txt, please add [2023-08-16T05:00:50.905Z] An attribution for golang.org/x/time is missing from Attribution.txt, please add [Pipeline] echo [2023-08-16T05:00:50.948Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-08-16T05:00:50.981Z] $ docker stop --time=1 91a07beaa138f7b5bf5582d0936bc7e1081d1ceabdb6b2035b3333036c303e03 [2023-08-16T05:00:52.782Z] $ docker rm -f --volumes 91a07beaa138f7b5bf5582d0936bc7e1081d1ceabdb6b2035b3333036c303e03 [Pipeline] // withDockerContainer [Pipeline] sh [2023-08-16T05:00:54.416Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-08-16T05:00:54.449Z] Warning: overwriting stash ‘coverage-report’ [2023-08-16T05:00:54.966Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-08-16T05:00:55.541Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-08-16T05:00:55.872Z] + ls -al . [2023-08-16T05:00:55.872Z] total 300 [2023-08-16T05:00:55.872Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 16 04:55 . [2023-08-16T05:00:55.872Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 04:52 .. [2023-08-16T05:00:55.872Z] -rw-rw-r-- 1 jenkins jenkins 140 Aug 16 04:52 .dockerignore [2023-08-16T05:00:55.872Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 16 04:52 .git [2023-08-16T05:00:55.872Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 04:52 .github [2023-08-16T05:00:55.872Z] -rw-rw-r-- 1 jenkins jenkins 137 Aug 16 04:52 .gitignore [2023-08-16T05:00:55.872Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 16 04:52 .golangci.yml [2023-08-16T05:00:55.872Z] -rw-rw-r-- 1 jenkins jenkins 44878 Aug 16 04:52 CHANGELOG.md [2023-08-16T05:00:55.872Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 16 04:52 GOVERNANCE.md [2023-08-16T05:00:55.872Z] -rw-rw-r-- 1 jenkins jenkins 885 Aug 16 04:52 Jenkinsfile [2023-08-16T05:00:55.872Z] -rw-rw-r-- 1 jenkins jenkins 11341 Aug 16 04:52 LICENSE [2023-08-16T05:00:55.872Z] -rw-rw-r-- 1 jenkins jenkins 1842 Aug 16 04:52 Makefile [2023-08-16T05:00:55.872Z] -rw-rw-r-- 1 jenkins jenkins 619 Aug 16 04:52 OWNERS.md [2023-08-16T05:00:55.872Z] -rw-rw-r-- 1 jenkins jenkins 4933 Aug 16 04:52 README.md [2023-08-16T05:00:55.872Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 16 04:50 VERSION [2023-08-16T05:00:55.872Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 16 04:52 bin [2023-08-16T05:00:55.872Z] -rw-r--r-- 1 jenkins jenkins 120271 Aug 16 04:58 coverage.out [2023-08-16T05:00:55.872Z] drwxrwxr-x 5 jenkins jenkins 4096 Aug 16 04:52 example [2023-08-16T05:00:55.872Z] -rw-rw-r-- 1 jenkins jenkins 3721 Aug 16 04:52 go.mod [2023-08-16T05:00:55.872Z] -rw-rw-r-- 1 jenkins jenkins 33545 Aug 16 04:52 go.sum [2023-08-16T05:00:55.872Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 16 04:52 internal [2023-08-16T05:00:55.872Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 16 04:52 openapi [2023-08-16T05:00:55.872Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 16 04:52 pkg [2023-08-16T05:00:55.872Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 16 04:52 snap [2023-08-16T05:00:55.872Z] -rw-rw-r-- 1 jenkins jenkins 222 Aug 16 04:52 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T05:00:56.284Z] + 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=4634dd5bc71e055960d2ebf4bdf91a30a9fedf20 --label arch=arm64 --label version=0.0.0 . [2023-08-16T05:00:56.549Z] Sending build context to Docker daemon 6.023MB [2023-08-16T05:00:56.549Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-08-16T05:00:56.549Z] Step 2/23 : FROM ${BASE} AS builder [2023-08-16T05:00:56.549Z] ---> d3f6982a31bc [2023-08-16T05:00:56.549Z] Step 3/23 : ARG MAKE=make build [2023-08-16T05:00:56.814Z] ---> Running in 365690b7418e [2023-08-16T05:00:57.080Z] Removing intermediate container 365690b7418e [2023-08-16T05:00:57.080Z] ---> d3f3c4a56a73 [2023-08-16T05:00:57.080Z] Step 4/23 : WORKDIR /device-sdk-go [2023-08-16T05:00:57.080Z] ---> Running in b61e062a16e1 [2023-08-16T05:00:57.347Z] Removing intermediate container b61e062a16e1 [2023-08-16T05:00:57.347Z] ---> 3499e0689f9f [2023-08-16T05:00:57.347Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-08-16T05:00:57.347Z] ---> Running in 3b39af354c6d [2023-08-16T05:00:57.614Z] Removing intermediate container 3b39af354c6d [2023-08-16T05:00:57.614Z] ---> a9da19e7e31c [2023-08-16T05:00:57.614Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-08-16T05:00:57.614Z] ---> Running in 3061a1843095 [2023-08-16T05:00:58.587Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-16T05:00:59.165Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-16T05:01:00.121Z] OK: 263 MiB in 53 packages [2023-08-16T05:01:01.078Z] Removing intermediate container 3061a1843095 [2023-08-16T05:01:01.079Z] ---> b30676ce52f7 [2023-08-16T05:01:01.079Z] Step 7/23 : COPY go.mod vendor* ./ [2023-08-16T05:01:01.345Z] ---> 47bb43e7ab5e [2023-08-16T05:01:01.345Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-08-16T05:01:01.345Z] ---> Running in d34427f2e6d9 [2023-08-16T05:01:03.284Z] Removing intermediate container d34427f2e6d9 [2023-08-16T05:01:03.284Z] ---> eaf7bc35054e [2023-08-16T05:01:03.284Z] Step 9/23 : COPY . . [2023-08-16T05:01:04.245Z] ---> 14536b5b49c4 [2023-08-16T05:01:04.245Z] Step 10/23 : RUN ${MAKE} [2023-08-16T05:01:04.512Z] ---> Running in 7ec325f6c1ee [2023-08-16T05:01:05.468Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-08-16T05:03:12.372Z] Removing intermediate container 7ec325f6c1ee [2023-08-16T05:03:12.372Z] ---> 6e5fd333d83b [2023-08-16T05:03:12.372Z] Step 11/23 : FROM alpine:3.17 [2023-08-16T05:03:12.952Z] 3.17: Pulling from library/alpine [2023-08-16T05:03:12.952Z] 4060ece20d7a: Pulling fs layer [2023-08-16T05:03:13.218Z] 4060ece20d7a: Verifying Checksum [2023-08-16T05:03:13.218Z] 4060ece20d7a: Download complete [2023-08-16T05:03:13.802Z] 4060ece20d7a: Pull complete [2023-08-16T05:03:13.802Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-08-16T05:03:13.802Z] Status: Downloaded newer image for alpine:3.17 [2023-08-16T05:03:13.802Z] ---> 8650cd65339b [2023-08-16T05:03:13.802Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-08-16T05:03:13.802Z] ---> Running in 1a7329fc5fc2 [2023-08-16T05:03:14.073Z] Removing intermediate container 1a7329fc5fc2 [2023-08-16T05:03:14.073Z] ---> b4ef2fd88b77 [2023-08-16T05:03:14.073Z] Step 13/23 : RUN apk add --update --no-cache [2023-08-16T05:03:14.073Z] ---> Running in 764cf88746d2 [2023-08-16T05:03:15.038Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-08-16T05:03:15.616Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-08-16T05:03:16.572Z] OK: 7 MiB in 15 packages [2023-08-16T05:03:17.535Z] Removing intermediate container 764cf88746d2 [2023-08-16T05:03:17.535Z] ---> d732927391f4 [2023-08-16T05:03:17.535Z] Step 14/23 : WORKDIR / [2023-08-16T05:03:17.535Z] ---> Running in c025ea1d9749 [2023-08-16T05:03:17.804Z] Removing intermediate container c025ea1d9749 [2023-08-16T05:03:17.804Z] ---> 03000a911e2d [2023-08-16T05:03:17.804Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-08-16T05:03:18.388Z] ---> 03c53e5c2c54 [2023-08-16T05:03:18.388Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-08-16T05:03:19.794Z] ---> c6d43952c4f0 [2023-08-16T05:03:19.794Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-08-16T05:03:20.377Z] ---> 9eb8bf39b348 [2023-08-16T05:03:20.377Z] Step 18/23 : EXPOSE 59999 [2023-08-16T05:03:20.377Z] ---> Running in f1614af05ae3 [2023-08-16T05:03:21.779Z] Removing intermediate container f1614af05ae3 [2023-08-16T05:03:21.779Z] ---> 6dba8522bb66 [2023-08-16T05:03:21.779Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-08-16T05:03:22.224Z] ---> Running in 9224353336ac [2023-08-16T05:03:22.224Z] Removing intermediate container 9224353336ac [2023-08-16T05:03:22.224Z] ---> d87e24c84dae [2023-08-16T05:03:22.224Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-08-16T05:03:22.224Z] ---> Running in 9ac6872597fa [2023-08-16T05:03:22.492Z] Removing intermediate container 9ac6872597fa [2023-08-16T05:03:22.492Z] ---> 4a3e9031ee2a [2023-08-16T05:03:22.492Z] Step 21/23 : LABEL arch=arm64 [2023-08-16T05:03:22.492Z] ---> Running in d1af797e26cf [2023-08-16T05:03:22.763Z] Removing intermediate container d1af797e26cf [2023-08-16T05:03:22.763Z] ---> c8424d3b57fc [2023-08-16T05:03:22.763Z] Step 22/23 : LABEL git_sha=4634dd5bc71e055960d2ebf4bdf91a30a9fedf20 [2023-08-16T05:03:23.030Z] ---> Running in 4b8e51fe9e1e [2023-08-16T05:03:23.299Z] Removing intermediate container 4b8e51fe9e1e [2023-08-16T05:03:23.299Z] ---> cac643925759 [2023-08-16T05:03:23.299Z] Step 23/23 : LABEL version=0.0.0 [2023-08-16T05:03:23.299Z] ---> Running in c74f1f3c8436 [2023-08-16T05:03:23.565Z] Removing intermediate container c74f1f3c8436 [2023-08-16T05:03:23.565Z] ---> e57ac8f01e9e [2023-08-16T05:03:23.565Z] [Warning] One or more build-args [ARCH] were not consumed [2023-08-16T05:03:23.565Z] Successfully built e57ac8f01e9e [2023-08-16T05:03:23.565Z] 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-08-16T05:03:24.329Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-16T05:03:24.329Z] [2023-08-16T05:03:24.329Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T05:03:24.723Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-16T05:03:24.723Z] arm64: Pulling from edgex-lftools-log-publisher [2023-08-16T05:03:24.723Z] 8998bd30e6a1: Pulling fs layer [2023-08-16T05:03:24.723Z] 04944245beec: Pulling fs layer [2023-08-16T05:03:24.723Z] 699f458cf7ca: Pulling fs layer [2023-08-16T05:03:24.723Z] 765212b225bb: Pulling fs layer [2023-08-16T05:03:24.723Z] f23df028b6ca: Pulling fs layer [2023-08-16T05:03:24.723Z] d65c8cfc05b1: Pulling fs layer [2023-08-16T05:03:24.723Z] 2437ff75d9bd: Pulling fs layer [2023-08-16T05:03:24.724Z] 765212b225bb: Waiting [2023-08-16T05:03:24.724Z] f23df028b6ca: Waiting [2023-08-16T05:03:24.724Z] d65c8cfc05b1: Waiting [2023-08-16T05:03:24.724Z] 2437ff75d9bd: Waiting [2023-08-16T05:03:24.994Z] 04944245beec: Verifying Checksum [2023-08-16T05:03:24.994Z] 04944245beec: Download complete [2023-08-16T05:03:24.994Z] 765212b225bb: Verifying Checksum [2023-08-16T05:03:24.994Z] 765212b225bb: Download complete [2023-08-16T05:03:24.994Z] f23df028b6ca: Verifying Checksum [2023-08-16T05:03:24.994Z] f23df028b6ca: Download complete [2023-08-16T05:03:24.994Z] d65c8cfc05b1: Verifying Checksum [2023-08-16T05:03:24.994Z] d65c8cfc05b1: Download complete [2023-08-16T05:03:24.994Z] 699f458cf7ca: Verifying Checksum [2023-08-16T05:03:24.994Z] 699f458cf7ca: Download complete [2023-08-16T05:03:25.579Z] 8998bd30e6a1: Download complete [2023-08-16T05:03:27.515Z] 2437ff75d9bd: Verifying Checksum [2023-08-16T05:03:27.515Z] 2437ff75d9bd: Download complete [2023-08-16T05:03:29.463Z] 8998bd30e6a1: Pull complete [2023-08-16T05:03:30.045Z] 04944245beec: Pull complete [2023-08-16T05:03:31.461Z] 699f458cf7ca: Pull complete [2023-08-16T05:03:31.461Z] 765212b225bb: Pull complete [2023-08-16T05:03:32.043Z] f23df028b6ca: Pull complete [2023-08-16T05:03:32.309Z] d65c8cfc05b1: Pull complete [2023-08-16T05:03:47.283Z] 2437ff75d9bd: Pull complete [2023-08-16T05:03:47.283Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-08-16T05:03:47.283Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-08-16T05:03:47.283Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-16T05:03:47.603Z] prd-ubuntu20.04-docker-arm64-4c-16g-3764 does not seem to be running inside a container [2023-08-16T05:03:47.670Z] $ 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-08-16T05:03:50.034Z] $ docker top 235c88d89466e253ac64c30a1831de0398f706770246235afe4be98d206aa535 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-08-16T05:03:50.594Z] ---> job-cost.sh [2023-08-16T05:03:50.860Z] lf-activate-venv: SKIPPING [2023-08-16T05:03:50.860Z] INFO: No Stack... [2023-08-16T05:03:51.124Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-08-16T05:03:52.078Z] INFO: Archiving Costs [Pipeline] sh [2023-08-16T05:03:52.410Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-08-16T05:03:52.410Z] + cut -d, -f6 [Pipeline] lock [2023-08-16T05:03:52.484Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1494-1-stack-cost] [2023-08-16T05:03:52.492Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1494-1-stack-cost] did not exist. Created. [2023-08-16T05:03:52.492Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1494-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-08-16T05:03:52.896Z] /w/workspace/device-sdk-go/1@tmp/durable-2142759a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-08-16T05:03:53.237Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-08-16T05:03:53.271Z] Warning: overwriting stash ‘stack-cost’ [2023-08-16T05:03:53.348Z] Stashed 1 file(s) [Pipeline] } [2023-08-16T05:03:53.363Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1494-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-08-16T05:03:53.438Z] $ docker stop --time=1 235c88d89466e253ac64c30a1831de0398f706770246235afe4be98d206aa535 [2023-08-16T05:03:54.917Z] $ docker rm -f --volumes 235c88d89466e253ac64c30a1831de0398f706770246235afe4be98d206aa535 [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-08-16T05:03:55.845Z] provisioning config files... [2023-08-16T05:03:55.853Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1494@tmp/config6377986461382419614tmp [Pipeline] { [Pipeline] sh [2023-08-16T05:03:56.198Z] + set +x [2023-08-16T05:03:56.198Z] + curl -s https://codecov.io/bash [2023-08-16T05:03:56.198Z] + bash -s -- [2023-08-16T05:03:56.198Z] [2023-08-16T05:03:56.198Z] _____ _ [2023-08-16T05:03:56.198Z] / ____| | | [2023-08-16T05:03:56.198Z] | | ___ __| | ___ ___ _____ __ [2023-08-16T05:03:56.198Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-08-16T05:03:56.198Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-08-16T05:03:56.198Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-08-16T05:03:56.198Z] Bash-1.0.6 [2023-08-16T05:03:56.198Z] [2023-08-16T05:03:56.198Z] [2023-08-16T05:03:56.198Z] ==> git version 2.25.1 found [2023-08-16T05:03:56.198Z] ==> 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-08-16T05:03:56.198Z] Release-Date: 2020-01-08 [2023-08-16T05:03:56.198Z] 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-08-16T05:03:56.198Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-08-16T05:03:56.198Z] ==> Jenkins CI detected. [2023-08-16T05:03:56.198Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1494 [2023-08-16T05:03:56.198Z] project root: . [2023-08-16T05:03:56.198Z] --> token set from env [2023-08-16T05:03:56.198Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-08-16T05:03:56.198Z] ==> Running gcov in . (disable via -X gcov) [2023-08-16T05:03:56.198Z] ==> Python coveragepy not found [2023-08-16T05:03:56.198Z] ==> Searching for coverage reports in: [2023-08-16T05:03:56.198Z] + . [2023-08-16T05:03:56.198Z] -> Found 1 reports [2023-08-16T05:03:56.198Z] ==> Detecting git/mercurial file structure [2023-08-16T05:03:56.457Z] ==> Reading reports [2023-08-16T05:03:56.457Z] + ./coverage.out bytes=120271 [2023-08-16T05:03:56.457Z] ==> Appending adjustments [2023-08-16T05:03:56.457Z] https://docs.codecov.io/docs/fixing-reports [2023-08-16T05:03:56.716Z] + Found adjustments [2023-08-16T05:03:56.716Z] ==> Gzipping contents [2023-08-16T05:03:56.716Z] 20K /tmp/codecov.rvxRSo.gz [2023-08-16T05:03:56.716Z] ==> Uploading reports [2023-08-16T05:03:56.716Z] url: https://codecov.io [2023-08-16T05:03:56.716Z] query: branch=PR-1494&commit=4634dd5bc71e055960d2ebf4bdf91a30a9fedf20&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1494%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1494&job=&cmd_args= [2023-08-16T05:03:56.716Z] -> Pinging Codecov [2023-08-16T05:03:56.716Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1494&commit=4634dd5bc71e055960d2ebf4bdf91a30a9fedf20&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1494%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1494&job=&cmd_args= [2023-08-16T05:03:56.716Z] -> Uploading to [2023-08-16T05:03:56.716Z] https://storage.googleapis.com/codecov/v4/raw/2023-08-16/7E55EF52A471D76F132DFD9A03CDDE97/4634dd5bc71e055960d2ebf4bdf91a30a9fedf20/0fd47e93-f3a1-4618-9e21-e9ffdddb40c7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230816%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230816T050356Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a311c7a1b329018864a32929523912a3a7a61e62ab9b3c672d09d86a72f7c971 [2023-08-16T05:03:56.716Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-08-16T05:03:56.716Z] Dload Upload Total Spent Left Speed [2023-08-16T05:03:56.976Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16432 0 0 100 16432 0 82989 --:--:-- --:--:-- --:--:-- 82989 [2023-08-16T05:03:56.976Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/4634dd5bc71e055960d2ebf4bdf91a30a9fedf20 [Pipeline] } [2023-08-16T05:03:57.002Z] 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-08-16T05:03:58.729Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1494/archives ] [2023-08-16T05:03:58.729Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1494/archives [2023-08-16T05:03:58.729Z] total 16 [2023-08-16T05:03:58.729Z] drwxr-xr-x 3 root root 4096 Aug 16 04:53 . [2023-08-16T05:03:58.729Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 16 04:53 .. [2023-08-16T05:03:58.729Z] drwxr-xr-x 2 root root 4096 Aug 16 04:53 cost [2023-08-16T05:03:58.729Z] -rw-r--r-- 1 root root 86 Aug 16 04:53 cost.csv [2023-08-16T05:03:58.729Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1494/archives [2023-08-16T05:03:58.729Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1494/archives [2023-08-16T05:03:58.729Z] total 16 [2023-08-16T05:03:58.729Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 16 04:53 . [2023-08-16T05:03:58.729Z] drwxrwxr-x 12 jenkins jenkins 4096 Aug 16 04:53 .. [2023-08-16T05:03:58.729Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 16 04:53 cost [2023-08-16T05:03:58.729Z] -rw-r--r-- 1 jenkins jenkins 86 Aug 16 04:53 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-08-16T05:03:59.062Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-16T05:03:59.954Z] ---> package-listing.sh [2023-08-16T05:03:59.954Z] ++ facter osfamily [2023-08-16T05:03:59.954Z] ++ tr '[:upper:]' '[:lower:]' [2023-08-16T05:04:00.214Z] + OS_FAMILY=debian [2023-08-16T05:04:00.214Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1494 [2023-08-16T05:04:00.214Z] + START_PACKAGES=/tmp/packages_start.txt [2023-08-16T05:04:00.214Z] + END_PACKAGES=/tmp/packages_end.txt [2023-08-16T05:04:00.214Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-08-16T05:04:00.214Z] + PACKAGES=/tmp/packages_start.txt [2023-08-16T05:04:00.214Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1494 ']' [2023-08-16T05:04:00.214Z] + PACKAGES=/tmp/packages_end.txt [2023-08-16T05:04:00.214Z] + case "${OS_FAMILY}" in [2023-08-16T05:04:00.214Z] + dpkg -l [2023-08-16T05:04:00.214Z] + grep '^ii' [2023-08-16T05:04:00.214Z] + '[' -f /tmp/packages_start.txt ']' [2023-08-16T05:04:00.214Z] + '[' -f /tmp/packages_end.txt ']' [2023-08-16T05:04:00.214Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-08-16T05:04:00.214Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1494 ']' [2023-08-16T05:04:00.214Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1494/archives/ [2023-08-16T05:04:00.214Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1494/archives/ [Pipeline] echo [2023-08-16T05:04:00.249Z] 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-1494/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-08-16T05:04:00.543Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-08-16T05:04:01.163Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-08-16T05:04:01.163Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-08-16T05:04:01.302Z] prd-ubuntu20.04-docker-8c-8g-3763 does not seem to be running inside a container [2023-08-16T05:04:01.334Z] $ 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-1494/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-1494 -v /w/workspace/gexfoundry_device-sdk-go_PR-1494:/w/workspace/gexfoundry_device-sdk-go_PR-1494:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1494@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1494@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-08-16T05:04:01.535Z] $ docker top 7744a425b3c436a54b7862a0bfe93dc3d556cc60f0c134ec07f077e3fecbbf11 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-08-16T05:04:01.916Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-08-16T05:04:02.226Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-08-16T05:04:02.538Z] + ls /var/log/sa-host [2023-08-16T05:04:02.538Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-08-16T05:04:02.756Z] provisioning config files... [2023-08-16T05:04:02.764Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1494@tmp/config11811911632920723063tmp [Pipeline] { [Pipeline] echo [2023-08-16T05:04:02.815Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-16T05:04:03.129Z] ---> create-netrc.sh [Pipeline] } [2023-08-16T05:04:03.157Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-08-16T05:04:03.567Z] ---> python-tools-install.sh [Pipeline] echo [2023-08-16T05:04:03.599Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-16T05:04:03.907Z] ---> sudo-logs.sh [2023-08-16T05:04:03.908Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-08-16T05:04:03.990Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-16T05:04:04.300Z] ---> job-cost.sh [2023-08-16T05:04:04.300Z] lf-activate-venv: SKIPPING [2023-08-16T05:04:04.300Z] DEBUG: total: 0.2199999988079071 [2023-08-16T05:04:04.300Z] INFO: Retrieving Stack Cost... [2023-08-16T05:04:04.560Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-08-16T05:04:05.129Z] INFO: Archiving Costs [Pipeline] echo [2023-08-16T05:04:05.162Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-08-16T05:04:05.466Z] ---> logs-deploy.sh [2023-08-16T05:04:05.466Z] lf-activate-venv: SKIPPING [2023-08-16T05:04:05.466Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1494/1 [2023-08-16T05:04:05.466Z] INFO: archiving workspace using pattern(s): [2023-08-16T05:04:06.403Z] Archives upload complete. [2023-08-16T05:04:06.663Z] INFO: archiving logs to Nexus