Pull request #1507 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of ejlee3 for edgexfoundry/device-sdk-go Obtained Jenkinsfile from f6709ffcbf2227ccfd44463b0ff600ff8af94c37+44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c (6eb618dd47356905c8a37dd38826df5d375ba82d) 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-ssh13846608822431726299.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-ssh11458559249316584846.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-1507/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-1507/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1582783125189623431.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-1507/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10127477476779843575.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-ssh7892186097105707351.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-1507/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-1507/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1627409953008922586.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-5563 in /w/workspace/gexfoundry_device-sdk-go_PR-1507 [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-1507 # 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/1507/head:refs/remotes/origin/PR-1507 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c into PR head commit f6709ffcbf2227ccfd44463b0ff600ff8af94c37 Merge succeeded, producing f6709ffcbf2227ccfd44463b0ff600ff8af94c37 Checking out Revision f6709ffcbf2227ccfd44463b0ff600ff8af94c37 (PR-1507) > git config core.sparsecheckout # timeout=10 > git checkout -f f6709ffcbf2227ccfd44463b0ff600ff8af94c37 # 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 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f6709ffcbf2227ccfd44463b0ff600ff8af94c37 # timeout=10 Commit message: "fix: Adjust GetFileType() function for new secret URI format" 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-09-07T23:20:42.729Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-07T23:20:42.907Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-07T23:20:43.005Z] ========================================================= [2023-09-07T23:20:43.005Z] EdgeX Global Pipelines Version Info [2023-09-07T23:20:43.005Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-07T23:20:43.742Z] ------------------- [2023-09-07T23:20:43.742Z] stable info: [2023-09-07T23:20:43.742Z] ------------------- [2023-09-07T23:20:43.742Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-07T23:20:43.742Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-07T23:20:43.742Z] Message: update stable to v1.0.253 [2023-09-07T23:20:44.312Z] ------------------- [2023-09-07T23:20:44.312Z] experimental info: [2023-09-07T23:20:44.312Z] ------------------- [2023-09-07T23:20:44.312Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-07T23:20:44.312Z] Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 [2023-09-07T23:20:44.312Z] Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-07T23:20:44.601Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-09-07T23:20:44.638Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-09-07T23:20:44.674Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-07T23:20:44.713Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-07T23:20:44.754Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-07T23:20:44.794Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-09-07T23:20:44.829Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-07T23:20:44.866Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-09-07T23:20:44.904Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-07T23:20:44.942Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-07T23:20:44.981Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-07T23:20:45.024Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-09-07T23:20:45.062Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-07T23:20:45.102Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-07T23:20:45.146Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-07T23:20:45.184Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-07T23:20:45.226Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-07T23:20:45.265Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-07T23:20:45.301Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-07T23:20:45.337Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-07T23:20:45.375Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-07T23:20:45.415Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-09-07T23:20:45.451Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-07T23:20:45.488Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-07T23:20:45.525Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-07T23:20:45.564Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-07T23:20:45.602Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-07T23:20:45.639Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1507 [Pipeline] echo [2023-09-07T23:20:45.676Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1507 [Pipeline] echo [2023-09-07T23:20:45.722Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1507 [Pipeline] echo [2023-09-07T23:20:45.761Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f6709ffcbf2227ccfd44463b0ff600ff8af94c37 [Pipeline] echo [2023-09-07T23:20:45.808Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f6709ff [Pipeline] echo [2023-09-07T23:20:45.853Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-07T23:20:45.985Z] provisioning config files... [2023-09-07T23:20:45.999Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp/config2651218423874811583tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-07T23:20:46.348Z] ---> docker-login.sh [2023-09-07T23:20:46.348Z] nexus3.edgexfoundry.org:10001 [2023-09-07T23:20:46.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T23:20:46.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T23:20:46.610Z] Configure a credential helper to remove this warning. See [2023-09-07T23:20:46.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T23:20:46.610Z] [2023-09-07T23:20:46.610Z] Login Succeeded [2023-09-07T23:20:46.610Z] nexus3.edgexfoundry.org:10002 [2023-09-07T23:20:46.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T23:20:46.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T23:20:46.871Z] Configure a credential helper to remove this warning. See [2023-09-07T23:20:46.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T23:20:46.871Z] [2023-09-07T23:20:46.871Z] Login Succeeded [2023-09-07T23:20:46.871Z] nexus3.edgexfoundry.org:10003 [2023-09-07T23:20:46.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T23:20:46.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T23:20:46.871Z] Configure a credential helper to remove this warning. See [2023-09-07T23:20:46.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T23:20:46.871Z] [2023-09-07T23:20:46.871Z] Login Succeeded [2023-09-07T23:20:46.871Z] nexus3.edgexfoundry.org:10004 [2023-09-07T23:20:46.871Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T23:20:47.133Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T23:20:47.133Z] Configure a credential helper to remove this warning. See [2023-09-07T23:20:47.133Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T23:20:47.133Z] [2023-09-07T23:20:47.133Z] Login Succeeded [2023-09-07T23:20:47.133Z] docker.io [2023-09-07T23:20:47.133Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T23:20:47.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T23:20:47.395Z] Configure a credential helper to remove this warning. See [2023-09-07T23:20:47.395Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T23:20:47.395Z] [2023-09-07T23:20:47.395Z] Login Succeeded [2023-09-07T23:20:47.395Z] ---> docker-login.sh ends [Pipeline] } [2023-09-07T23:20:47.425Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-07T23:20:48.056Z] + git rev-list -1 --merges f6709ffcbf2227ccfd44463b0ff600ff8af94c37~1..f6709ffcbf2227ccfd44463b0ff600ff8af94c37 [Pipeline] echo [2023-09-07T23:20:48.119Z] -----------> git rev-list -1 --merges f6709ffcbf2227ccfd44463b0ff600ff8af94c37~1..f6709ffcbf2227ccfd44463b0ff600ff8af94c37 f6709ffcbf2227ccfd44463b0ff600ff8af94c37 [false] [Pipeline] sh [2023-09-07T23:20:48.438Z] + git log --format=format:%s -1 f6709ffcbf2227ccfd44463b0ff600ff8af94c37 [Pipeline] echo [2023-09-07T23:20:48.479Z] ========================================================= [2023-09-07T23:20:48.479Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-07T23:20:48.479Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-07T23:20:48.916Z] + git log --format=format:%s -1 f6709ffcbf2227ccfd44463b0ff600ff8af94c37 [Pipeline] echo [2023-09-07T23:20:48.948Z] [semverPrep] GIT_COMMIT: f6709ffcbf2227ccfd44463b0ff600ff8af94c37, Commit Message: fix: Adjust GetFileType() function for new secret URI format [Pipeline] echo [2023-09-07T23:20:48.979Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-07T23:20:49.378Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-07T23:20:49.378Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-07T23:20:49.378Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-07T23:20:49.378Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-07T23:20:49.378Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-09-07T23:20:49.378Z] -a /etc/ssh/ssh_known_hosts [2023-09-07T23:20:49.378Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T23:20:49.930Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-07T23:20:49.930Z] [2023-09-07T23:20:49.930Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T23:20:50.305Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-07T23:20:50.305Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-07T23:20:50.305Z] b85a868b505f: Pulling fs layer [2023-09-07T23:20:50.305Z] e2be974225ed: Pulling fs layer [2023-09-07T23:20:50.305Z] 339a4e72a1f5: Pulling fs layer [2023-09-07T23:20:50.305Z] 988bab9f4d93: Pulling fs layer [2023-09-07T23:20:50.305Z] 1469e6f7b9e6: Pulling fs layer [2023-09-07T23:20:50.305Z] eaf3925da568: Pulling fs layer [2023-09-07T23:20:50.305Z] bab4dde63d76: Pulling fs layer [2023-09-07T23:20:50.305Z] bde34c3a00c8: Pulling fs layer [2023-09-07T23:20:50.305Z] b352a97aabf1: Pulling fs layer [2023-09-07T23:20:50.305Z] 4872d77fe225: Pulling fs layer [2023-09-07T23:20:50.305Z] 5851b861e8e6: Pulling fs layer [2023-09-07T23:20:50.305Z] bab4dde63d76: Waiting [2023-09-07T23:20:50.305Z] b352a97aabf1: Waiting [2023-09-07T23:20:50.305Z] bde34c3a00c8: Waiting [2023-09-07T23:20:50.305Z] 5851b861e8e6: Waiting [2023-09-07T23:20:50.305Z] eaf3925da568: Waiting [2023-09-07T23:20:50.306Z] 1469e6f7b9e6: Waiting [2023-09-07T23:20:50.306Z] 4872d77fe225: Waiting [2023-09-07T23:20:50.306Z] 988bab9f4d93: Waiting [2023-09-07T23:20:50.306Z] e2be974225ed: Verifying Checksum [2023-09-07T23:20:50.306Z] e2be974225ed: Download complete [2023-09-07T23:20:50.306Z] 988bab9f4d93: Verifying Checksum [2023-09-07T23:20:50.306Z] 988bab9f4d93: Download complete [2023-09-07T23:20:50.572Z] 1469e6f7b9e6: Verifying Checksum [2023-09-07T23:20:50.572Z] 1469e6f7b9e6: Download complete [2023-09-07T23:20:50.572Z] eaf3925da568: Download complete [2023-09-07T23:20:50.572Z] 339a4e72a1f5: Verifying Checksum [2023-09-07T23:20:50.572Z] 339a4e72a1f5: Download complete [2023-09-07T23:20:50.572Z] bde34c3a00c8: Download complete [2023-09-07T23:20:50.572Z] b352a97aabf1: Verifying Checksum [2023-09-07T23:20:50.572Z] b352a97aabf1: Download complete [2023-09-07T23:20:50.572Z] 4872d77fe225: Verifying Checksum [2023-09-07T23:20:50.572Z] 4872d77fe225: Download complete [2023-09-07T23:20:50.572Z] 5851b861e8e6: Verifying Checksum [2023-09-07T23:20:50.572Z] 5851b861e8e6: Download complete [2023-09-07T23:20:50.572Z] b85a868b505f: Verifying Checksum [2023-09-07T23:20:50.572Z] b85a868b505f: Download complete [2023-09-07T23:20:50.832Z] bab4dde63d76: Verifying Checksum [2023-09-07T23:20:50.832Z] bab4dde63d76: Download complete [2023-09-07T23:20:51.769Z] b85a868b505f: Pull complete [2023-09-07T23:20:52.028Z] e2be974225ed: Pull complete [2023-09-07T23:20:52.288Z] 339a4e72a1f5: Pull complete [2023-09-07T23:20:52.288Z] 988bab9f4d93: Pull complete [2023-09-07T23:20:52.548Z] 1469e6f7b9e6: Pull complete [2023-09-07T23:20:52.806Z] eaf3925da568: Pull complete [2023-09-07T23:20:54.712Z] bab4dde63d76: Pull complete [2023-09-07T23:20:54.712Z] bde34c3a00c8: Pull complete [2023-09-07T23:20:54.712Z] b352a97aabf1: Pull complete [2023-09-07T23:20:54.712Z] 4872d77fe225: Pull complete [2023-09-07T23:20:54.712Z] 5851b861e8e6: Pull complete [2023-09-07T23:20:54.712Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-07T23:20:54.712Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-07T23:20:54.712Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T23:20:54.958Z] prd-ubuntu20.04-docker-8c-8g-5563 does not seem to be running inside a container [2023-09-07T23:20:54.984Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1507 -v /w/workspace/gexfoundry_device-sdk-go_PR-1507:/w/workspace/gexfoundry_device-sdk-go_PR-1507:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1507@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-devops/py-git-semver:0.1.4 cat [2023-09-07T23:20:57.268Z] $ docker top 27a12a1b0ea62ef766f90cb3b46269f380a6325f870231dadb34285c184409ef -eo pid,comm [2023-09-07T23:20:57.325Z] 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-09-07T23:20:57.325Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-07T23:20:57.455Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-07T23:20:57.455Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-07T23:20:57.569Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-07T23:20:57.567Z] $ docker exec 27a12a1b0ea62ef766f90cb3b46269f380a6325f870231dadb34285c184409ef ssh-agent [2023-09-07T23:20:57.677Z] SSH_AUTH_SOCK=/tmp/ssh-XT0u96drL2J3/agent.32 [2023-09-07T23:20:57.677Z] SSH_AGENT_PID=38 [2023-09-07T23:20:57.683Z] Running ssh-add (command line suppressed) [2023-09-07T23:20:57.789Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp/private_key_11731629500676409788.key (/w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp/private_key_11731629500676409788.key) [2023-09-07T23:20:57.809Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-07T23:20:58.140Z] + git tag --points-at HEAD [Pipeline] } [2023-09-07T23:20:58.161Z] $ docker exec --env ******** --env ******** 27a12a1b0ea62ef766f90cb3b46269f380a6325f870231dadb34285c184409ef ssh-agent -k [2023-09-07T23:20:58.263Z] unset SSH_AUTH_SOCK; [2023-09-07T23:20:58.264Z] unset SSH_AGENT_PID; [2023-09-07T23:20:58.264Z] echo Agent pid 38 killed; [2023-09-07T23:20:58.281Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-07T23:20:58.365Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-07T23:20:58.365Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-07T23:20:58.491Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-07T23:20:58.488Z] $ docker exec 27a12a1b0ea62ef766f90cb3b46269f380a6325f870231dadb34285c184409ef ssh-agent [2023-09-07T23:20:58.607Z] SSH_AUTH_SOCK=/tmp/ssh-zRkQxX1B2IIv/agent.70 [2023-09-07T23:20:58.607Z] SSH_AGENT_PID=76 [2023-09-07T23:20:58.611Z] Running ssh-add (command line suppressed) [2023-09-07T23:20:58.714Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp/private_key_9400653134475710046.key (/w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp/private_key_9400653134475710046.key) [2023-09-07T23:20:58.733Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-07T23:20:59.058Z] + git semver init [2023-09-07T23:20:59.317Z] 2023-09-07 23:20:59,222 [run_init] DEBUG init version:0.0.0 force:False [2023-09-07T23:20:59.317Z] 2023-09-07 23:20:59,223 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1507/.semver [2023-09-07T23:20:59.317Z] 2023-09-07 23:20:59,224 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1507/.semver [2023-09-07T23:20:59.317Z] 2023-09-07 23:20:59,224 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1507/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1507, universal_newlines=False, shell=None, istream=None) [2023-09-07T23:21:00.255Z] 2023-09-07 23:21:00,141 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1507/.git/info/exclude [2023-09-07T23:21:00.255Z] 2023-09-07 23:21:00,141 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1507/.semver/PR-1507 with force:False [2023-09-07T23:21:00.255Z] 2023-09-07 23:21:00,142 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1507/.semver/PR-1507 [2023-09-07T23:21:00.255Z] 2023-09-07 23:21:00,146 [execute] INFO git cat-file --batch-check [2023-09-07T23:21:00.255Z] 2023-09-07 23:21:00,146 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1507/.semver, universal_newlines=False, shell=None, istream=) [2023-09-07T23:21:00.255Z] 2023-09-07 23:21:00,152 [execute] INFO git cat-file --batch [2023-09-07T23:21:00.255Z] 2023-09-07 23:21:00,153 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1507/.semver, universal_newlines=False, shell=None, istream=) [2023-09-07T23:21:00.255Z] 2023-09-07 23:21:00,158 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1507/.semver/PR-1507 [2023-09-07T23:21:00.255Z] 0.0.0 [Pipeline] } [2023-09-07T23:21:00.276Z] $ docker exec --env ******** --env ******** 27a12a1b0ea62ef766f90cb3b46269f380a6325f870231dadb34285c184409ef ssh-agent -k [2023-09-07T23:21:00.370Z] unset SSH_AUTH_SOCK; [2023-09-07T23:21:00.371Z] unset SSH_AGENT_PID; [2023-09-07T23:21:00.371Z] echo Agent pid 76 killed; [2023-09-07T23:21:00.386Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-07T23:21:00.836Z] + git semver [Pipeline] } [2023-09-07T23:21:01.113Z] $ docker stop --time=1 27a12a1b0ea62ef766f90cb3b46269f380a6325f870231dadb34285c184409ef [2023-09-07T23:21:02.436Z] $ docker rm -f --volumes 27a12a1b0ea62ef766f90cb3b46269f380a6325f870231dadb34285c184409ef [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-07T23:21:02.853Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-07T23:21:03.114Z] Stashed 1 file(s) [Pipeline] echo [2023-09-07T23:21:03.130Z] [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-09-07T23:21:03.740Z] provisioning config files... [2023-09-07T23:21:03.750Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp/config17320038480523570694tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-07T23:21:04.102Z] ---> docker-login.sh [2023-09-07T23:21:04.102Z] nexus3.edgexfoundry.org:10001 [2023-09-07T23:21:04.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T23:21:04.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T23:21:04.102Z] Configure a credential helper to remove this warning. See [2023-09-07T23:21:04.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T23:21:04.102Z] [2023-09-07T23:21:04.102Z] Login Succeeded [2023-09-07T23:21:04.102Z] nexus3.edgexfoundry.org:10002 [2023-09-07T23:21:04.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T23:21:04.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T23:21:04.102Z] Configure a credential helper to remove this warning. See [2023-09-07T23:21:04.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T23:21:04.102Z] [2023-09-07T23:21:04.102Z] Login Succeeded [2023-09-07T23:21:04.102Z] nexus3.edgexfoundry.org:10003 [2023-09-07T23:21:04.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T23:21:04.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T23:21:04.362Z] Configure a credential helper to remove this warning. See [2023-09-07T23:21:04.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T23:21:04.362Z] [2023-09-07T23:21:04.362Z] Login Succeeded [2023-09-07T23:21:04.362Z] nexus3.edgexfoundry.org:10004 [2023-09-07T23:21:04.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T23:21:04.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T23:21:04.362Z] Configure a credential helper to remove this warning. See [2023-09-07T23:21:04.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T23:21:04.362Z] [2023-09-07T23:21:04.362Z] Login Succeeded [2023-09-07T23:21:04.362Z] docker.io [2023-09-07T23:21:04.621Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T23:21:04.882Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T23:21:04.882Z] Configure a credential helper to remove this warning. See [2023-09-07T23:21:04.882Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T23:21:04.882Z] [2023-09-07T23:21:04.882Z] Login Succeeded [2023-09-07T23:21:04.882Z] ---> docker-login.sh ends [Pipeline] } [2023-09-07T23:21:04.917Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-07T23:21:05.119Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-07T23:21:05.154Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-07T23:21:05.188Z] ========================================================= [2023-09-07T23:21:05.188Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-09-07T23:21:05.188Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T23:21:05.662Z] + 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-09-07T23:21:05.662Z] Sending build context to Docker daemon 11.11MB [2023-09-07T23:21:05.662Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-09-07T23:21:05.662Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-07T23:21:05.662Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-07T23:21:05.662Z] 4db1b89c0bd1: Pulling fs layer [2023-09-07T23:21:05.662Z] 6911f1a30b25: Pulling fs layer [2023-09-07T23:21:05.662Z] e194b8c5c2a9: Pulling fs layer [2023-09-07T23:21:05.662Z] 6863d3e3a2b1: Pulling fs layer [2023-09-07T23:21:05.662Z] ec0bb842ea78: Pulling fs layer [2023-09-07T23:21:05.662Z] 40a00589a448: Pulling fs layer [2023-09-07T23:21:05.662Z] 6c08303d61cc: Pulling fs layer [2023-09-07T23:21:05.662Z] 798269fcf238: Pulling fs layer [2023-09-07T23:21:05.662Z] 6c08303d61cc: Waiting [2023-09-07T23:21:05.662Z] ec0bb842ea78: Waiting [2023-09-07T23:21:05.662Z] 40a00589a448: Waiting [2023-09-07T23:21:05.662Z] 6863d3e3a2b1: Waiting [2023-09-07T23:21:05.662Z] 798269fcf238: Waiting [2023-09-07T23:21:05.922Z] 6911f1a30b25: Download complete [2023-09-07T23:21:05.922Z] 6863d3e3a2b1: Download complete [2023-09-07T23:21:05.922Z] ec0bb842ea78: Download complete [2023-09-07T23:21:05.922Z] 4db1b89c0bd1: Verifying Checksum [2023-09-07T23:21:05.922Z] 4db1b89c0bd1: Download complete [2023-09-07T23:21:05.922Z] 40a00589a448: Verifying Checksum [2023-09-07T23:21:05.922Z] 40a00589a448: Download complete [2023-09-07T23:21:05.922Z] 4db1b89c0bd1: Pull complete [2023-09-07T23:21:06.182Z] 6911f1a30b25: Pull complete [2023-09-07T23:21:06.441Z] 798269fcf238: Verifying Checksum [2023-09-07T23:21:06.441Z] 798269fcf238: Download complete [2023-09-07T23:21:06.441Z] e194b8c5c2a9: Verifying Checksum [2023-09-07T23:21:06.441Z] e194b8c5c2a9: Download complete [2023-09-07T23:21:06.699Z] 6c08303d61cc: Verifying Checksum [2023-09-07T23:21:06.699Z] 6c08303d61cc: Download complete [2023-09-07T23:21:09.985Z] e194b8c5c2a9: Pull complete [2023-09-07T23:21:09.985Z] 6863d3e3a2b1: Pull complete [2023-09-07T23:21:09.985Z] ec0bb842ea78: Pull complete [2023-09-07T23:21:09.985Z] 40a00589a448: Pull complete [2023-09-07T23:21:11.887Z] 6c08303d61cc: Pull complete [2023-09-07T23:21:12.817Z] 798269fcf238: Pull complete [2023-09-07T23:21:12.817Z] Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 [2023-09-07T23:21:12.817Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-09-07T23:21:12.817Z] ---> ec979cd7f677 [2023-09-07T23:21:12.817Z] Step 3/10 : ARG MAKE=make build [2023-09-07T23:21:17.005Z] ---> Running in 6f5bd453e061 [2023-09-07T23:21:17.005Z] Removing intermediate container 6f5bd453e061 [2023-09-07T23:21:17.005Z] ---> 245ef6057659 [2023-09-07T23:21:17.005Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-07T23:21:17.005Z] ---> Running in 6a28dac217ab [2023-09-07T23:21:17.005Z] Removing intermediate container 6a28dac217ab [2023-09-07T23:21:17.005Z] ---> e8b59d0f78cb [2023-09-07T23:21:17.005Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-07T23:21:17.005Z] ---> Running in 9e99005e6857 [2023-09-07T23:21:17.005Z] Removing intermediate container 9e99005e6857 [2023-09-07T23:21:17.005Z] ---> 3212ed7831a7 [2023-09-07T23:21:17.005Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-07T23:21:17.005Z] ---> Running in bb803288ef5d [2023-09-07T23:21:17.005Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-07T23:21:17.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-07T23:21:17.521Z] OK: 265 MiB in 53 packages [2023-09-07T23:21:17.779Z] Removing intermediate container bb803288ef5d [2023-09-07T23:21:17.779Z] ---> 0ec21c491829 [2023-09-07T23:21:17.779Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-07T23:21:17.779Z] ---> 96176754238d [2023-09-07T23:21:17.779Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-07T23:21:17.779Z] ---> Running in 76c0f379ec74 [2023-09-07T23:21:18.558Z] Still waiting to schedule task [2023-09-07T23:21:18.558Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-09-07T23:22:25.647Z] Removing intermediate container 76c0f379ec74 [2023-09-07T23:22:25.647Z] ---> eacdb3cdc52a [2023-09-07T23:22:25.647Z] Step 9/10 : COPY . . [2023-09-07T23:22:25.647Z] ---> e14c67b261cc [2023-09-07T23:22:25.647Z] Step 10/10 : RUN ${MAKE} [2023-09-07T23:22:25.647Z] ---> Running in b2dab69be43f [2023-09-07T23:22:25.647Z] noop [2023-09-07T23:22:25.647Z] Removing intermediate container b2dab69be43f [2023-09-07T23:22:25.647Z] ---> 99861b8fa190 [2023-09-07T23:22:25.647Z] Successfully built 99861b8fa190 [2023-09-07T23:22:25.647Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T23:22:26.095Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-07T23:22:26.095Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T23:22:26.249Z] prd-ubuntu20.04-docker-8c-8g-5563 does not seem to be running inside a container [2023-09-07T23:22:26.271Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1507 -v /w/workspace/gexfoundry_device-sdk-go_PR-1507:/w/workspace/gexfoundry_device-sdk-go_PR-1507:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-07T23:22:26.610Z] $ docker top 9cd5e591f3b9dd7dafac5d83488762d302490fd4da22f096fe6caa07f6bf3e68 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-07T23:22:27.003Z] + go version [2023-09-07T23:22:27.003Z] go version go1.20.6 linux/amd64 [Pipeline] } [2023-09-07T23:22:27.028Z] $ docker stop --time=1 9cd5e591f3b9dd7dafac5d83488762d302490fd4da22f096fe6caa07f6bf3e68 [2023-09-07T23:22:28.303Z] $ docker rm -f --volumes 9cd5e591f3b9dd7dafac5d83488762d302490fd4da22f096fe6caa07f6bf3e68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T23:22:29.005Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-07T23:22:29.006Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T23:22:29.150Z] prd-ubuntu20.04-docker-8c-8g-5563 does not seem to be running inside a container [2023-09-07T23:22:29.179Z] $ 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-1507 -v /w/workspace/gexfoundry_device-sdk-go_PR-1507:/w/workspace/gexfoundry_device-sdk-go_PR-1507:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-07T23:22:29.482Z] $ docker top 89d9552cdbfa30b0de0c4e33fae2ab9ec1b70ae4f8085393f8cb80f36d955f15 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-07T23:22:29.887Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1507 [Pipeline] fileExists [Pipeline] sh [2023-09-07T23:22:30.245Z] + make test [2023-09-07T23:22:30.245Z] go test -race -coverprofile=coverage.out ./... [2023-09-07T23:22:36.809Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-07T23:22:45.599Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5564 in /w/workspace/gexfoundry_device-sdk-go_PR-1507 [Pipeline] { [Pipeline] ws [2023-09-07T23:22:45.654Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-09-07T23:22:45.732Z] The recommended git tool is: git [2023-09-07T23:22:50.626Z] using credential edgex-jenkins-ssh [2023-09-07T23:22:50.643Z] Cloning the remote Git repository [2023-09-07T23:22:50.679Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-09-07T23:22:51.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-07T23:22:51.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-07T23:22:51.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-07T23:22:51.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-07T23:22:51.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-07T23:22:51.845Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.082s coverage: 27.6% of statements [2023-09-07T23:22:51.845Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.112s coverage: 80.2% of statements [2023-09-07T23:22:51.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-07T23:22:51.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-07T23:22:51.845Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.074s coverage: 86.0% of statements [2023-09-07T23:22:51.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-07T23:22:51.845Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.102s coverage: 71.8% of statements [2023-09-07T23:22:51.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-07T23:22:51.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-07T23:22:51.845Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-07T23:22:50.773Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-09-07T23:22:50.903Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-07T23:22:50.903Z] > git --version # timeout=10 [2023-09-07T23:22:50.926Z] > git --version # 'git version 2.25.1' [2023-09-07T23:22:50.929Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-07T23:22:51.071Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-07T23:22:52.587Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-07T23:22:52.607Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-07T23:22:54.016Z] Merging remotes/origin/main commit 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c into PR head commit f6709ffcbf2227ccfd44463b0ff600ff8af94c37 [2023-09-07T23:22:54.322Z] Merge succeeded, producing f6709ffcbf2227ccfd44463b0ff600ff8af94c37 [2023-09-07T23:22:54.322Z] Checking out Revision f6709ffcbf2227ccfd44463b0ff600ff8af94c37 (PR-1507) [2023-09-07T23:22:54.379Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.086s coverage: 14.1% of statements [2023-09-07T23:22:54.379Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 1.997s coverage: 44.2% of statements [2023-09-07T23:22:54.379Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.090s coverage: 68.5% of statements [2023-09-07T23:22:54.379Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.135s coverage: 89.2% of statements [2023-09-07T23:22:54.379Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.062s coverage: 5.5% of statements [2023-09-07T23:22:53.380Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-07T23:22:53.419Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-07T23:22:53.419Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-07T23:22:53.435Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1507/head:refs/remotes/origin/PR-1507 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-07T23:22:54.031Z] > git config core.sparsecheckout # timeout=10 [2023-09-07T23:22:54.105Z] > git checkout -f f6709ffcbf2227ccfd44463b0ff600ff8af94c37 # timeout=10 [2023-09-07T23:22:54.214Z] > git remote # timeout=10 [2023-09-07T23:22:54.233Z] > git config --get remote.origin.url # timeout=10 [2023-09-07T23:22:54.255Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-07T23:22:54.269Z] > git merge 44a516e7cf5f2f6f2699ec88c4ab7f9291e0681c # timeout=10 [2023-09-07T23:22:54.299Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-07T23:22:54.326Z] > git config core.sparsecheckout # timeout=10 [2023-09-07T23:22:54.339Z] > git checkout -f f6709ffcbf2227ccfd44463b0ff600ff8af94c37 # timeout=10 [2023-09-07T23:22:57.807Z] Commit message: "fix: Adjust GetFileType() function for new secret URI format" [2023-09-07T23:22:57.852Z] > git --version # timeout=10 [2023-09-07T23:22:57.862Z] > git --version # 'git version 2.25.1' [2023-09-07T23:22:57.879Z] fatal: bad object a0327f913308fcf13875ae7a2d6e6099471c5ff1 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-07T23:22:59.105Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-07T23:22:59.105Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-07T23:22:59.105Z] Dload Upload Total Spent Left Speed [2023-09-07T23:22:59.105Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh [2023-09-07T23:22:59.811Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-07T23:23:00.154Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-07T23:23:00.154Z] + sudo tee /etc/docker/daemon.new [2023-09-07T23:23:00.154Z] { [2023-09-07T23:23:00.154Z] "registry-mirrors": [ [2023-09-07T23:23:00.154Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-07T23:23:00.154Z] ], [2023-09-07T23:23:00.154Z] "bip": "10.250.0.254/24", [2023-09-07T23:23:00.154Z] "hosts": [ [2023-09-07T23:23:00.154Z] "tcp://0.0.0.0:5555", [2023-09-07T23:23:00.154Z] "unix:///var/run/docker.sock" [2023-09-07T23:23:00.154Z] ], [2023-09-07T23:23:00.154Z] "mtu": 1458, [2023-09-07T23:23:00.154Z] "selinux-enabled": true, [2023-09-07T23:23:00.154Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-07T23:23:00.154Z] } [Pipeline] sh [2023-09-07T23:23:00.491Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-07T23:23:00.838Z] + sudo service docker restart [2023-09-07T23:23:16.444Z] GO111MODULE=on go vet ./... [2023-09-07T23:23:18.343Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-07T23:23:18.343Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-07T23:23:18.343Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-07T23:23:18.629Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-07T23:23:18.651Z] $ docker stop --time=1 89d9552cdbfa30b0de0c4e33fae2ab9ec1b70ae4f8085393f8cb80f36d955f15 [2023-09-07T23:23:22.261Z] $ docker rm -f --volumes 89d9552cdbfa30b0de0c4e33fae2ab9ec1b70ae4f8085393f8cb80f36d955f15 [Pipeline] // withDockerContainer [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-07T23:23:22.672Z] provisioning config files... [2023-09-07T23:23:22.702Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config9591149733993431179tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-07T23:23:22.849Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-07T23:23:22.933Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [2023-09-07T23:23:23.086Z] ---> docker-login.sh [2023-09-07T23:23:23.086Z] nexus3.edgexfoundry.org:10001 [Pipeline] stage [Pipeline] { (Build) [2023-09-07T23:23:23.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [Pipeline] sh [2023-09-07T23:23:23.622Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T23:23:23.622Z] Configure a credential helper to remove this warning. See [2023-09-07T23:23:23.622Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T23:23:23.622Z] [2023-09-07T23:23:23.622Z] Login Succeeded [2023-09-07T23:23:23.622Z] nexus3.edgexfoundry.org:10002 [2023-09-07T23:23:23.727Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-07T23:23:23.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T23:23:24.045Z] + ls -al . [2023-09-07T23:23:24.045Z] total 304 [2023-09-07T23:23:24.045Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 7 23:22 . [2023-09-07T23:23:24.045Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 23:20 .. [2023-09-07T23:23:24.045Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 7 23:20 .dockerignore [2023-09-07T23:23:24.045Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 7 23:21 .git [2023-09-07T23:23:24.045Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 23:20 .github [2023-09-07T23:23:24.045Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 7 23:20 .gitignore [2023-09-07T23:23:24.045Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 7 23:20 .golangci.yml [2023-09-07T23:23:24.045Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 7 23:21 .semver [2023-09-07T23:23:24.045Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 7 23:20 CHANGELOG.md [2023-09-07T23:23:24.045Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 7 23:20 GOVERNANCE.md [2023-09-07T23:23:24.045Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 7 23:20 Jenkinsfile [2023-09-07T23:23:24.045Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 7 23:20 LICENSE [2023-09-07T23:23:24.045Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 7 23:20 Makefile [2023-09-07T23:23:24.045Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 7 23:20 OWNERS.md [2023-09-07T23:23:24.045Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 7 23:20 README.md [2023-09-07T23:23:24.045Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 7 23:21 VERSION [2023-09-07T23:23:24.045Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 23:20 bin [2023-09-07T23:23:24.045Z] -rw-r--r-- 1 jenkins jenkins 120468 Sep 7 23:22 coverage.out [2023-09-07T23:23:24.045Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 7 23:20 example [2023-09-07T23:23:24.045Z] -rw-rw-r-- 1 jenkins jenkins 3721 Sep 7 23:20 go.mod [2023-09-07T23:23:24.045Z] -rw-rw-r-- 1 jenkins jenkins 33545 Sep 7 23:20 go.sum [2023-09-07T23:23:24.045Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 7 23:20 internal [2023-09-07T23:23:24.045Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 23:20 openapi [2023-09-07T23:23:24.045Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 7 23:20 pkg [2023-09-07T23:23:24.045Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 23:20 snap [2023-09-07T23:23:24.045Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 7 23:20 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [2023-09-07T23:23:24.157Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T23:23:24.157Z] Configure a credential helper to remove this warning. See [2023-09-07T23:23:24.157Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T23:23:24.157Z] [2023-09-07T23:23:24.157Z] Login Succeeded [2023-09-07T23:23:24.157Z] nexus3.edgexfoundry.org:10003 [Pipeline] sh [2023-09-07T23:23:24.428Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T23:23:24.428Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T23:23:24.428Z] Configure a credential helper to remove this warning. See [2023-09-07T23:23:24.428Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T23:23:24.428Z] [2023-09-07T23:23:24.428Z] Login Succeeded [2023-09-07T23:23:24.428Z] nexus3.edgexfoundry.org:10004 [2023-09-07T23:23:24.450Z] + 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=f6709ffcbf2227ccfd44463b0ff600ff8af94c37 --label arch=amd64 --label version=0.0.0 . [2023-09-07T23:23:24.450Z] Sending build context to Docker daemon 11.23MB [2023-09-07T23:23:24.450Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-09-07T23:23:24.450Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-07T23:23:24.450Z] ---> 99861b8fa190 [2023-09-07T23:23:24.450Z] Step 3/23 : ARG MAKE=make build [2023-09-07T23:23:24.700Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T23:23:24.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T23:23:24.700Z] Configure a credential helper to remove this warning. See [2023-09-07T23:23:24.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T23:23:24.700Z] [2023-09-07T23:23:24.700Z] Login Succeeded [2023-09-07T23:23:24.700Z] docker.io [2023-09-07T23:23:24.711Z] ---> Running in d403cf9557d9 [2023-09-07T23:23:24.711Z] Removing intermediate container d403cf9557d9 [2023-09-07T23:23:24.711Z] ---> ba0b0c85ae27 [2023-09-07T23:23:24.711Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-07T23:23:24.711Z] ---> Running in f43c6ce3a0a0 [2023-09-07T23:23:24.711Z] Removing intermediate container f43c6ce3a0a0 [2023-09-07T23:23:24.711Z] ---> 834b82b9ad59 [2023-09-07T23:23:24.711Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-07T23:23:24.968Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-07T23:23:24.969Z] ---> Running in 32db05a2ce42 [2023-09-07T23:23:24.969Z] Removing intermediate container 32db05a2ce42 [2023-09-07T23:23:24.969Z] ---> d11fd86548ab [2023-09-07T23:23:24.969Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-07T23:23:24.969Z] ---> Running in 124714f6dbf4 [2023-09-07T23:23:25.227Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-07T23:23:25.235Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-07T23:23:25.235Z] Configure a credential helper to remove this warning. See [2023-09-07T23:23:25.235Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-07T23:23:25.235Z] [2023-09-07T23:23:25.235Z] Login Succeeded [2023-09-07T23:23:25.235Z] ---> docker-login.sh ends [Pipeline] } [2023-09-07T23:23:25.282Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [2023-09-07T23:23:25.486Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [Pipeline] echo [2023-09-07T23:23:25.672Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-07T23:23:25.715Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-07T23:23:25.752Z] OK: 265 MiB in 53 packages [2023-09-07T23:23:25.754Z] ========================================================= [2023-09-07T23:23:25.754Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-09-07T23:23:25.754Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T23:23:26.010Z] Removing intermediate container 124714f6dbf4 [2023-09-07T23:23:26.010Z] ---> fad2fa33362b [2023-09-07T23:23:26.010Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-07T23:23:26.268Z] ---> f400cdfe65e1 [2023-09-07T23:23:26.268Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-07T23:23:26.268Z] ---> Running in 65df8ba6efd0 [2023-09-07T23:23:26.275Z] + 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-09-07T23:23:26.542Z] Sending build context to Docker daemon 5.941MB [2023-09-07T23:23:26.542Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-09-07T23:23:26.542Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-07T23:23:26.811Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-07T23:23:26.811Z] edb6bdbacee9: Pulling fs layer [2023-09-07T23:23:26.811Z] 5f9638ab2659: Pulling fs layer [2023-09-07T23:23:26.811Z] 8d51d6327a98: Pulling fs layer [2023-09-07T23:23:26.811Z] 8b374f2dd631: Pulling fs layer [2023-09-07T23:23:26.811Z] ec14aa9079de: Pulling fs layer [2023-09-07T23:23:26.811Z] 2f466654f4bb: Pulling fs layer [2023-09-07T23:23:26.811Z] 554e91adad29: Pulling fs layer [2023-09-07T23:23:26.811Z] 8b374f2dd631: Waiting [2023-09-07T23:23:26.811Z] ec14aa9079de: Waiting [2023-09-07T23:23:26.811Z] 2f466654f4bb: Waiting [2023-09-07T23:23:26.811Z] 5f9638ab2659: Verifying Checksum [2023-09-07T23:23:26.811Z] 5f9638ab2659: Download complete [2023-09-07T23:23:26.811Z] 8b374f2dd631: Download complete [2023-09-07T23:23:26.811Z] ec14aa9079de: Verifying Checksum [2023-09-07T23:23:26.811Z] ec14aa9079de: Download complete [2023-09-07T23:23:26.811Z] edb6bdbacee9: Verifying Checksum [2023-09-07T23:23:26.835Z] Removing intermediate container 65df8ba6efd0 [2023-09-07T23:23:26.835Z] ---> 885c471100f4 [2023-09-07T23:23:26.835Z] Step 9/23 : COPY . . [2023-09-07T23:23:27.093Z] ---> 71e363b7712d [2023-09-07T23:23:27.093Z] Step 10/23 : RUN ${MAKE} [2023-09-07T23:23:27.093Z] ---> Running in 9086b3435c9a [2023-09-07T23:23:27.351Z] 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-09-07T23:23:27.825Z] edb6bdbacee9: Pull complete [2023-09-07T23:23:28.095Z] 554e91adad29: Verifying Checksum [2023-09-07T23:23:28.095Z] 554e91adad29: Download complete [2023-09-07T23:23:28.680Z] 5f9638ab2659: Pull complete [2023-09-07T23:23:29.266Z] 8d51d6327a98: Verifying Checksum [2023-09-07T23:23:29.266Z] 8d51d6327a98: Download complete [2023-09-07T23:23:29.532Z] 2f466654f4bb: Verifying Checksum [2023-09-07T23:23:29.532Z] 2f466654f4bb: Download complete [2023-09-07T23:23:41.845Z] 8d51d6327a98: Pull complete [2023-09-07T23:23:41.845Z] 8b374f2dd631: Pull complete [2023-09-07T23:23:41.845Z] ec14aa9079de: Pull complete [2023-09-07T23:23:47.203Z] 2f466654f4bb: Pull complete [2023-09-07T23:23:49.306Z] Removing intermediate container 9086b3435c9a [2023-09-07T23:23:49.306Z] ---> ba59f0a0630a [2023-09-07T23:23:49.306Z] Step 11/23 : FROM alpine:3.17 [2023-09-07T23:23:49.306Z] 3.17: Pulling from library/alpine [2023-09-07T23:23:49.306Z] 9398808236ff: Pulling fs layer [2023-09-07T23:23:49.306Z] 9398808236ff: Verifying Checksum [2023-09-07T23:23:49.306Z] 9398808236ff: Download complete [2023-09-07T23:23:49.306Z] 9398808236ff: Pull complete [2023-09-07T23:23:49.306Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-07T23:23:49.306Z] Status: Downloaded newer image for alpine:3.17 [2023-09-07T23:23:49.306Z] ---> 1e0b8b5322fc [2023-09-07T23:23:49.306Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-07T23:23:49.306Z] ---> Running in d466ebdb6676 [2023-09-07T23:23:49.306Z] Removing intermediate container d466ebdb6676 [2023-09-07T23:23:49.306Z] ---> 7619206c6b44 [2023-09-07T23:23:49.306Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-07T23:23:49.306Z] ---> Running in b3a232dd3a2c [2023-09-07T23:23:49.306Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-09-07T23:23:49.306Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-09-07T23:23:49.306Z] OK: 7 MiB in 15 packages [2023-09-07T23:23:49.565Z] Removing intermediate container b3a232dd3a2c [2023-09-07T23:23:49.565Z] ---> 935e5c0e7aec [2023-09-07T23:23:49.565Z] Step 14/23 : WORKDIR / [2023-09-07T23:23:49.565Z] ---> Running in d698b4e43100 [2023-09-07T23:23:49.565Z] Removing intermediate container d698b4e43100 [2023-09-07T23:23:49.565Z] ---> 9102315e4f25 [2023-09-07T23:23:49.565Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-07T23:23:49.794Z] 554e91adad29: Pull complete [2023-09-07T23:23:49.794Z] Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 [2023-09-07T23:23:49.794Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-09-07T23:23:49.794Z] ---> 1e15ea492957 [2023-09-07T23:23:49.794Z] Step 3/10 : ARG MAKE=make build [2023-09-07T23:23:49.823Z] ---> 219bf5c8e1a8 [2023-09-07T23:23:49.823Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-07T23:23:50.390Z] ---> bce01279b31d [2023-09-07T23:23:50.390Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-07T23:23:50.649Z] ---> eea11a437840 [2023-09-07T23:23:50.649Z] Step 18/23 : EXPOSE 59999 [2023-09-07T23:23:50.649Z] ---> Running in 97842bf0392e [2023-09-07T23:23:50.649Z] Removing intermediate container 97842bf0392e [2023-09-07T23:23:50.649Z] ---> 16e16ee09cd2 [2023-09-07T23:23:50.649Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-07T23:23:50.649Z] ---> Running in 8c77fcde5991 [2023-09-07T23:23:50.906Z] Removing intermediate container 8c77fcde5991 [2023-09-07T23:23:50.906Z] ---> 826d0630e951 [2023-09-07T23:23:50.906Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-07T23:23:50.906Z] ---> Running in 3f88f1b95a4a [2023-09-07T23:23:50.906Z] Removing intermediate container 3f88f1b95a4a [2023-09-07T23:23:50.906Z] ---> 47a083d4f988 [2023-09-07T23:23:50.906Z] Step 21/23 : LABEL arch=amd64 [2023-09-07T23:23:50.906Z] ---> Running in cf2c98957101 [2023-09-07T23:23:50.906Z] Removing intermediate container cf2c98957101 [2023-09-07T23:23:50.906Z] ---> e30476d4cac6 [2023-09-07T23:23:50.906Z] Step 22/23 : LABEL git_sha=f6709ffcbf2227ccfd44463b0ff600ff8af94c37 [2023-09-07T23:23:50.906Z] ---> Running in eb5e1175a885 [2023-09-07T23:23:51.165Z] Removing intermediate container eb5e1175a885 [2023-09-07T23:23:51.165Z] ---> 505b6eda885b [2023-09-07T23:23:51.165Z] Step 23/23 : LABEL version=0.0.0 [2023-09-07T23:23:51.165Z] ---> Running in 6f0d85c493fb [2023-09-07T23:23:51.165Z] Removing intermediate container 6f0d85c493fb [2023-09-07T23:23:51.165Z] ---> 1380f0e45c51 [2023-09-07T23:23:51.165Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-07T23:23:51.165Z] Successfully built 1380f0e45c51 [2023-09-07T23:23:51.165Z] 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] { [2023-09-07T23:23:51.745Z] ---> Running in 7a42fc1abfc1 [2023-09-07T23:23:51.745Z] Removing intermediate container 7a42fc1abfc1 [2023-09-07T23:23:51.745Z] ---> 169c74c5946f [2023-09-07T23:23:51.745Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-07T23:23:51.745Z] ---> Running in e2e035afc3a4 [Pipeline] sh [2023-09-07T23:23:52.014Z] Removing intermediate container e2e035afc3a4 [2023-09-07T23:23:52.014Z] ---> 089edb0a8252 [2023-09-07T23:23:52.014Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-07T23:23:52.014Z] ---> Running in b0c81db28fcf [2023-09-07T23:23:52.065Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-07T23:23:52.065Z] [2023-09-07T23:23:52.065Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T23:23:52.281Z] Removing intermediate container b0c81db28fcf [2023-09-07T23:23:52.281Z] ---> e665ad1227c4 [2023-09-07T23:23:52.281Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-07T23:23:52.465Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-07T23:23:52.465Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-07T23:23:52.465Z] 5eb5b503b376: Pulling fs layer [2023-09-07T23:23:52.465Z] 5c69ac0246d0: Pulling fs layer [2023-09-07T23:23:52.465Z] ec43610c2a17: Pulling fs layer [2023-09-07T23:23:52.465Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-07T23:23:52.465Z] 33b1e0a273af: Pulling fs layer [2023-09-07T23:23:52.465Z] 5d3b04190fa2: Pulling fs layer [2023-09-07T23:23:52.465Z] 2f39f015ded8: Pulling fs layer [2023-09-07T23:23:52.465Z] 33b1e0a273af: Waiting [2023-09-07T23:23:52.465Z] 2f39f015ded8: Waiting [2023-09-07T23:23:52.465Z] 5c69ac0246d0: Verifying Checksum [2023-09-07T23:23:52.465Z] 5c69ac0246d0: Download complete [2023-09-07T23:23:52.465Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-07T23:23:52.465Z] 3a2ae6a8a46f: Download complete [2023-09-07T23:23:52.465Z] 33b1e0a273af: Verifying Checksum [2023-09-07T23:23:52.465Z] 33b1e0a273af: Download complete [2023-09-07T23:23:52.465Z] ec43610c2a17: Verifying Checksum [2023-09-07T23:23:52.465Z] ec43610c2a17: Download complete [2023-09-07T23:23:52.465Z] 5d3b04190fa2: Download complete [2023-09-07T23:23:52.548Z] ---> Running in ad26056b24dc [2023-09-07T23:23:52.723Z] 5eb5b503b376: Download complete [2023-09-07T23:23:53.289Z] 2f39f015ded8: Verifying Checksum [2023-09-07T23:23:53.289Z] 2f39f015ded8: Download complete [2023-09-07T23:23:53.508Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-07T23:23:53.855Z] 5eb5b503b376: Pull complete [2023-09-07T23:23:53.855Z] 5c69ac0246d0: Pull complete [2023-09-07T23:23:54.090Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-07T23:23:54.422Z] ec43610c2a17: Pull complete [2023-09-07T23:23:54.422Z] 3a2ae6a8a46f: Pull complete [2023-09-07T23:23:54.680Z] 33b1e0a273af: Pull complete [2023-09-07T23:23:54.680Z] 5d3b04190fa2: Pull complete [2023-09-07T23:23:55.046Z] OK: 263 MiB in 53 packages [2023-09-07T23:23:55.628Z] Removing intermediate container ad26056b24dc [2023-09-07T23:23:55.628Z] ---> 2c5468768b19 [2023-09-07T23:23:55.628Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-07T23:23:56.232Z] ---> 903c69440fa0 [2023-09-07T23:23:56.232Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-07T23:23:56.232Z] ---> Running in ce08062a348e [2023-09-07T23:23:58.864Z] 2f39f015ded8: Pull complete [2023-09-07T23:23:58.864Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-07T23:23:58.864Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-07T23:23:58.864Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T23:23:59.094Z] prd-ubuntu20.04-docker-8c-8g-5563 does not seem to be running inside a container [2023-09-07T23:23:59.115Z] $ 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-1507 -v /w/workspace/gexfoundry_device-sdk-go_PR-1507:/w/workspace/gexfoundry_device-sdk-go_PR-1507:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-07T23:24:02.631Z] $ docker top 940dac19387736bc3ea3058dbcadb123cfe903011bbfe5796ab7503d0bbb9085 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-07T23:24:03.102Z] ---> job-cost.sh [2023-09-07T23:24:03.102Z] lf-activate-venv: SKIPPING [2023-09-07T23:24:03.102Z] INFO: No Stack... [2023-09-07T23:24:03.362Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-07T23:24:03.931Z] INFO: Archiving Costs [Pipeline] sh [2023-09-07T23:24:04.248Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1507/archives/cost.csv [2023-09-07T23:24:04.248Z] + cut -d, -f6 [Pipeline] lock [2023-09-07T23:24:04.287Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1507-1-stack-cost] [2023-09-07T23:24:04.295Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1507-1-stack-cost] did not exist. Created. [2023-09-07T23:24:04.295Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1507-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-07T23:24:04.692Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-07T23:24:04.744Z] Stashed 1 file(s) [Pipeline] } [2023-09-07T23:24:04.773Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1507-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-07T23:24:04.847Z] $ docker stop --time=1 940dac19387736bc3ea3058dbcadb123cfe903011bbfe5796ab7503d0bbb9085 [2023-09-07T23:24:05.998Z] $ docker rm -f --volumes 940dac19387736bc3ea3058dbcadb123cfe903011bbfe5796ab7503d0bbb9085 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-07T23:25:04.104Z] Removing intermediate container ce08062a348e [2023-09-07T23:25:04.105Z] ---> 889433d01644 [2023-09-07T23:25:04.105Z] Step 9/10 : COPY . . [2023-09-07T23:25:04.105Z] ---> 829549c9604f [2023-09-07T23:25:04.105Z] Step 10/10 : RUN ${MAKE} [2023-09-07T23:25:04.105Z] ---> Running in 39048431143c [2023-09-07T23:25:04.105Z] noop [2023-09-07T23:25:04.105Z] Removing intermediate container 39048431143c [2023-09-07T23:25:04.105Z] ---> b616c059908b [2023-09-07T23:25:04.105Z] Successfully built b616c059908b [2023-09-07T23:25:04.105Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T23:25:04.592Z] + docker inspect -f . ci-base-image-arm64 [2023-09-07T23:25:04.592Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T23:25:04.892Z] prd-ubuntu20.04-docker-arm64-4c-16g-5564 does not seem to be running inside a container [2023-09-07T23:25:04.948Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-07T23:25:06.087Z] $ docker top bcf92ba6fc13d12db0e6d2b82511ef41bd6fe1c2c7cc82dd41940bf70dfc36f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-07T23:25:06.951Z] + go version [2023-09-07T23:25:06.951Z] go version go1.20.6 linux/arm64 [Pipeline] } [2023-09-07T23:25:06.988Z] $ docker stop --time=1 bcf92ba6fc13d12db0e6d2b82511ef41bd6fe1c2c7cc82dd41940bf70dfc36f9 [2023-09-07T23:25:08.575Z] $ docker rm -f --volumes bcf92ba6fc13d12db0e6d2b82511ef41bd6fe1c2c7cc82dd41940bf70dfc36f9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T23:25:09.424Z] + docker inspect -f . ci-base-image-arm64 [2023-09-07T23:25:09.424Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T23:25:09.672Z] prd-ubuntu20.04-docker-arm64-4c-16g-5564 does not seem to be running inside a container [2023-09-07T23:25:09.728Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-07T23:25:10.819Z] $ docker top 046a1b4f90ee0ac99ed1c24b9b5800396a189181488dd1741445b352bd1cf980 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-07T23:25:11.377Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-09-07T23:25:11.772Z] + make test [2023-09-07T23:25:11.772Z] go test -race -coverprofile=coverage.out ./... [2023-09-07T23:25:50.631Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-07T23:27:57.346Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-07T23:27:57.346Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-07T23:27:57.346Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-07T23:27:57.346Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-07T23:27:57.346Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-07T23:28:02.673Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.216s coverage: 27.6% of statements [2023-09-07T23:28:06.918Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.253s coverage: 80.2% of statements [2023-09-07T23:28:19.210Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-07T23:28:19.210Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-07T23:28:19.210Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.336s coverage: 86.0% of statements [2023-09-07T23:28:24.553Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-07T23:28:24.553Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.415s coverage: 71.8% of statements [2023-09-07T23:28:28.801Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.274s coverage: 14.1% of statements [2023-09-07T23:28:30.206Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-07T23:28:30.206Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-07T23:28:30.473Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.889s coverage: 44.2% of statements [2023-09-07T23:28:30.473Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.452s coverage: 68.5% of statements [2023-09-07T23:28:33.831Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.431s coverage: 89.2% of statements [2023-09-07T23:28:35.233Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-07T23:28:35.500Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.238s coverage: 5.5% of statements [2023-09-07T23:28:36.456Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-07T23:28:36.457Z] GO111MODULE=on go vet ./... [2023-09-07T23:30:58.353Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-07T23:30:58.353Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-07T23:30:58.353Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-07T23:30:58.389Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-07T23:30:58.411Z] $ docker stop --time=1 046a1b4f90ee0ac99ed1c24b9b5800396a189181488dd1741445b352bd1cf980 [2023-09-07T23:31:00.292Z] $ docker rm -f --volumes 046a1b4f90ee0ac99ed1c24b9b5800396a189181488dd1741445b352bd1cf980 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-07T23:31:01.926Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-07T23:31:01.960Z] Warning: overwriting stash ‘coverage-report’ [2023-09-07T23:31:02.468Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-07T23:31:03.072Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-07T23:31:03.406Z] + ls -al . [2023-09-07T23:31:03.406Z] total 300 [2023-09-07T23:31:03.406Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 7 23:25 . [2023-09-07T23:31:03.406Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 23:22 .. [2023-09-07T23:31:03.406Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 7 23:22 .dockerignore [2023-09-07T23:31:03.406Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 7 23:22 .git [2023-09-07T23:31:03.406Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 23:22 .github [2023-09-07T23:31:03.406Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 7 23:22 .gitignore [2023-09-07T23:31:03.406Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 7 23:22 .golangci.yml [2023-09-07T23:31:03.406Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 7 23:22 CHANGELOG.md [2023-09-07T23:31:03.406Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 7 23:22 GOVERNANCE.md [2023-09-07T23:31:03.406Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 7 23:22 Jenkinsfile [2023-09-07T23:31:03.406Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 7 23:22 LICENSE [2023-09-07T23:31:03.406Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 7 23:22 Makefile [2023-09-07T23:31:03.406Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 7 23:22 OWNERS.md [2023-09-07T23:31:03.406Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 7 23:22 README.md [2023-09-07T23:31:03.406Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 7 23:21 VERSION [2023-09-07T23:31:03.406Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 23:22 bin [2023-09-07T23:31:03.406Z] -rw-r--r-- 1 jenkins jenkins 120469 Sep 7 23:28 coverage.out [2023-09-07T23:31:03.406Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 7 23:22 example [2023-09-07T23:31:03.406Z] -rw-rw-r-- 1 jenkins jenkins 3721 Sep 7 23:22 go.mod [2023-09-07T23:31:03.406Z] -rw-rw-r-- 1 jenkins jenkins 33545 Sep 7 23:22 go.sum [2023-09-07T23:31:03.406Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 7 23:22 internal [2023-09-07T23:31:03.406Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 23:22 openapi [2023-09-07T23:31:03.406Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 7 23:22 pkg [2023-09-07T23:31:03.406Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 23:22 snap [2023-09-07T23:31:03.406Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 7 23:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T23:31:03.821Z] + 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=f6709ffcbf2227ccfd44463b0ff600ff8af94c37 --label arch=arm64 --label version=0.0.0 . [2023-09-07T23:31:04.089Z] Sending build context to Docker daemon 6.063MB [2023-09-07T23:31:04.089Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-09-07T23:31:04.089Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-07T23:31:04.089Z] ---> b616c059908b [2023-09-07T23:31:04.089Z] Step 3/23 : ARG MAKE=make build [2023-09-07T23:31:04.355Z] ---> Running in 8a948ce9e996 [2023-09-07T23:31:04.622Z] Removing intermediate container 8a948ce9e996 [2023-09-07T23:31:04.622Z] ---> 0ec38c2fe4d3 [2023-09-07T23:31:04.622Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-07T23:31:04.622Z] ---> Running in a3b449333736 [2023-09-07T23:31:04.889Z] Removing intermediate container a3b449333736 [2023-09-07T23:31:04.889Z] ---> e6c0023035f2 [2023-09-07T23:31:04.889Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-07T23:31:04.889Z] ---> Running in fad54515308f [2023-09-07T23:31:05.156Z] Removing intermediate container fad54515308f [2023-09-07T23:31:05.156Z] ---> 2aa77b77b6ac [2023-09-07T23:31:05.156Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-07T23:31:05.424Z] ---> Running in eefc766a97ed [2023-09-07T23:31:06.387Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-07T23:31:06.967Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-07T23:31:07.977Z] OK: 263 MiB in 53 packages [2023-09-07T23:31:08.562Z] Removing intermediate container eefc766a97ed [2023-09-07T23:31:08.562Z] ---> ea3f5d01304e [2023-09-07T23:31:08.562Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-07T23:31:08.831Z] ---> a2553b3b8dbc [2023-09-07T23:31:08.831Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-07T23:31:09.103Z] ---> Running in ee9bbe2f08e6 [2023-09-07T23:31:11.042Z] Removing intermediate container ee9bbe2f08e6 [2023-09-07T23:31:11.042Z] ---> aa7a1b8b0eda [2023-09-07T23:31:11.042Z] Step 9/23 : COPY . . [2023-09-07T23:31:12.003Z] ---> 718d06a7b9ac [2023-09-07T23:31:12.003Z] Step 10/23 : RUN ${MAKE} [2023-09-07T23:31:12.003Z] ---> Running in 1b4427215eca [2023-09-07T23:31:12.963Z] 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-09-07T23:33:34.621Z] Removing intermediate container 1b4427215eca [2023-09-07T23:33:34.621Z] ---> 5cbe24553c67 [2023-09-07T23:33:34.621Z] Step 11/23 : FROM alpine:3.17 [2023-09-07T23:33:34.621Z] 3.17: Pulling from library/alpine [2023-09-07T23:33:34.621Z] 4060ece20d7a: Pulling fs layer [2023-09-07T23:33:34.621Z] 4060ece20d7a: Verifying Checksum [2023-09-07T23:33:34.621Z] 4060ece20d7a: Download complete [2023-09-07T23:33:34.621Z] 4060ece20d7a: Pull complete [2023-09-07T23:33:34.621Z] Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc [2023-09-07T23:33:34.621Z] Status: Downloaded newer image for alpine:3.17 [2023-09-07T23:33:34.621Z] ---> 8650cd65339b [2023-09-07T23:33:34.621Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-07T23:33:34.621Z] ---> Running in 3ce4ccb1f768 [2023-09-07T23:33:34.621Z] Removing intermediate container 3ce4ccb1f768 [2023-09-07T23:33:34.621Z] ---> 341f98fe72a4 [2023-09-07T23:33:34.621Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-07T23:33:34.621Z] ---> Running in 5f3fb54a1c53 [2023-09-07T23:33:34.621Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-09-07T23:33:34.621Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-09-07T23:33:34.621Z] OK: 7 MiB in 15 packages [2023-09-07T23:33:34.621Z] Removing intermediate container 5f3fb54a1c53 [2023-09-07T23:33:34.621Z] ---> 6350c06c7466 [2023-09-07T23:33:34.621Z] Step 14/23 : WORKDIR / [2023-09-07T23:33:34.621Z] ---> Running in 726e37330ff3 [2023-09-07T23:33:34.621Z] Removing intermediate container 726e37330ff3 [2023-09-07T23:33:34.621Z] ---> 89170f55a6dc [2023-09-07T23:33:34.621Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-07T23:33:34.621Z] ---> ad4d577cb4bb [2023-09-07T23:33:34.621Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-07T23:33:34.621Z] ---> 357ddaab94cb [2023-09-07T23:33:34.621Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-07T23:33:34.621Z] ---> 06d18d265e3f [2023-09-07T23:33:34.621Z] Step 18/23 : EXPOSE 59999 [2023-09-07T23:33:34.621Z] ---> Running in 812303a71815 [2023-09-07T23:33:34.621Z] Removing intermediate container 812303a71815 [2023-09-07T23:33:34.621Z] ---> 361311f0b30a [2023-09-07T23:33:34.621Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-07T23:33:34.621Z] ---> Running in a46a4bf97fe6 [2023-09-07T23:33:34.621Z] Removing intermediate container a46a4bf97fe6 [2023-09-07T23:33:34.621Z] ---> 326f8a3cfb94 [2023-09-07T23:33:34.621Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-07T23:33:34.621Z] ---> Running in 4a3e2527b13d [2023-09-07T23:33:34.621Z] Removing intermediate container 4a3e2527b13d [2023-09-07T23:33:34.621Z] ---> 01bab64ac213 [2023-09-07T23:33:34.621Z] Step 21/23 : LABEL arch=arm64 [2023-09-07T23:33:34.621Z] ---> Running in ff7e40b45b7e [2023-09-07T23:33:34.621Z] Removing intermediate container ff7e40b45b7e [2023-09-07T23:33:34.621Z] ---> f9da347591fd [2023-09-07T23:33:34.621Z] Step 22/23 : LABEL git_sha=f6709ffcbf2227ccfd44463b0ff600ff8af94c37 [2023-09-07T23:33:34.621Z] ---> Running in e3e553184a70 [2023-09-07T23:33:34.621Z] Removing intermediate container e3e553184a70 [2023-09-07T23:33:34.621Z] ---> e8ab2dba9f19 [2023-09-07T23:33:34.621Z] Step 23/23 : LABEL version=0.0.0 [2023-09-07T23:33:34.621Z] ---> Running in a32609c276c2 [2023-09-07T23:33:34.621Z] Removing intermediate container a32609c276c2 [2023-09-07T23:33:34.621Z] ---> 1416879d34d4 [2023-09-07T23:33:34.621Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-07T23:33:34.621Z] Successfully built 1416879d34d4 [2023-09-07T23:33:34.621Z] 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-09-07T23:33:35.424Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-07T23:33:35.424Z] [2023-09-07T23:33:35.424Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T23:33:35.866Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-07T23:33:35.866Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-07T23:33:35.866Z] 8998bd30e6a1: Pulling fs layer [2023-09-07T23:33:35.866Z] 04944245beec: Pulling fs layer [2023-09-07T23:33:35.866Z] 699f458cf7ca: Pulling fs layer [2023-09-07T23:33:35.866Z] 765212b225bb: Pulling fs layer [2023-09-07T23:33:35.866Z] f23df028b6ca: Pulling fs layer [2023-09-07T23:33:35.866Z] d65c8cfc05b1: Pulling fs layer [2023-09-07T23:33:35.866Z] 2437ff75d9bd: Pulling fs layer [2023-09-07T23:33:35.866Z] 765212b225bb: Waiting [2023-09-07T23:33:35.866Z] f23df028b6ca: Waiting [2023-09-07T23:33:35.866Z] d65c8cfc05b1: Waiting [2023-09-07T23:33:35.866Z] 2437ff75d9bd: Waiting [2023-09-07T23:33:36.138Z] 04944245beec: Verifying Checksum [2023-09-07T23:33:36.138Z] 04944245beec: Download complete [2023-09-07T23:33:36.138Z] 765212b225bb: Verifying Checksum [2023-09-07T23:33:36.138Z] 765212b225bb: Download complete [2023-09-07T23:33:36.138Z] f23df028b6ca: Verifying Checksum [2023-09-07T23:33:36.138Z] f23df028b6ca: Download complete [2023-09-07T23:33:36.138Z] d65c8cfc05b1: Download complete [2023-09-07T23:33:36.138Z] 699f458cf7ca: Verifying Checksum [2023-09-07T23:33:36.138Z] 699f458cf7ca: Download complete [2023-09-07T23:33:36.721Z] 8998bd30e6a1: Verifying Checksum [2023-09-07T23:33:36.721Z] 8998bd30e6a1: Download complete [2023-09-07T23:33:38.662Z] 2437ff75d9bd: Verifying Checksum [2023-09-07T23:33:38.662Z] 2437ff75d9bd: Download complete [2023-09-07T23:33:40.603Z] 8998bd30e6a1: Pull complete [2023-09-07T23:33:40.870Z] 04944245beec: Pull complete [2023-09-07T23:33:42.275Z] 699f458cf7ca: Pull complete [2023-09-07T23:33:42.542Z] 765212b225bb: Pull complete [2023-09-07T23:33:45.113Z] f23df028b6ca: Pull complete [2023-09-07T23:33:45.114Z] d65c8cfc05b1: Pull complete [2023-09-07T23:34:00.092Z] 2437ff75d9bd: Pull complete [2023-09-07T23:34:00.092Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-07T23:34:00.092Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-07T23:34:00.092Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T23:34:00.425Z] prd-ubuntu20.04-docker-arm64-4c-16g-5564 does not seem to be running inside a container [2023-09-07T23:34:00.483Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-07T23:34:02.769Z] $ docker top 8d99aaddb1b0f0a580ca99df9a471f5df4f1fc745c5bc587f4ed00a79d142244 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-07T23:34:03.653Z] ---> job-cost.sh [2023-09-07T23:34:03.653Z] lf-activate-venv: SKIPPING [2023-09-07T23:34:03.653Z] INFO: No Stack... [2023-09-07T23:34:03.918Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-07T23:34:04.869Z] INFO: Archiving Costs [Pipeline] sh [2023-09-07T23:34:05.207Z] + cut -d, -f6 [2023-09-07T23:34:05.208Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2023-09-07T23:34:05.554Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1507-1-stack-cost] [2023-09-07T23:34:05.558Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1507-1-stack-cost] did not exist. Created. [2023-09-07T23:34:05.559Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1507-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-07T23:34:05.966Z] /w/workspace/device-sdk-go/1@tmp/durable-419200aa/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-07T23:34:06.322Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-07T23:34:06.355Z] Warning: overwriting stash ‘stack-cost’ [2023-09-07T23:34:06.431Z] Stashed 1 file(s) [Pipeline] } [2023-09-07T23:34:06.446Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1507-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-07T23:34:06.519Z] $ docker stop --time=1 8d99aaddb1b0f0a580ca99df9a471f5df4f1fc745c5bc587f4ed00a79d142244 [2023-09-07T23:34:07.999Z] $ docker rm -f --volumes 8d99aaddb1b0f0a580ca99df9a471f5df4f1fc745c5bc587f4ed00a79d142244 [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-09-07T23:34:12.483Z] provisioning config files... [2023-09-07T23:34:12.490Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp/config3957229941959364136tmp [Pipeline] { [Pipeline] sh [2023-09-07T23:34:12.832Z] + set +x [2023-09-07T23:34:12.832Z] + curl -s https://codecov.io/bash [2023-09-07T23:34:12.832Z] + bash -s -- [2023-09-07T23:34:12.832Z] [2023-09-07T23:34:12.832Z] _____ _ [2023-09-07T23:34:12.832Z] / ____| | | [2023-09-07T23:34:12.832Z] | | ___ __| | ___ ___ _____ __ [2023-09-07T23:34:12.832Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-07T23:34:12.832Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-07T23:34:12.832Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-07T23:34:12.832Z] Bash-1.0.6 [2023-09-07T23:34:12.832Z] [2023-09-07T23:34:12.832Z] [2023-09-07T23:34:12.832Z] ==> git version 2.25.1 found [2023-09-07T23:34:12.832Z] ==> 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-09-07T23:34:12.832Z] Release-Date: 2020-01-08 [2023-09-07T23:34:12.832Z] 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-09-07T23:34:12.832Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-07T23:34:12.832Z] ==> Jenkins CI detected. [2023-09-07T23:34:12.832Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1507 [2023-09-07T23:34:12.832Z] project root: . [2023-09-07T23:34:12.832Z] --> token set from env [2023-09-07T23:34:12.832Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-07T23:34:13.091Z] ==> Running gcov in . (disable via -X gcov) [2023-09-07T23:34:13.091Z] ==> Python coveragepy not found [2023-09-07T23:34:13.091Z] ==> Searching for coverage reports in: [2023-09-07T23:34:13.091Z] + . [2023-09-07T23:34:13.091Z] -> Found 1 reports [2023-09-07T23:34:13.091Z] ==> Detecting git/mercurial file structure [2023-09-07T23:34:13.091Z] ==> Reading reports [2023-09-07T23:34:13.091Z] + ./coverage.out bytes=120469 [2023-09-07T23:34:13.091Z] ==> Appending adjustments [2023-09-07T23:34:13.091Z] https://docs.codecov.io/docs/fixing-reports [2023-09-07T23:34:13.353Z] + Found adjustments [2023-09-07T23:34:13.353Z] ==> Gzipping contents [2023-09-07T23:34:13.353Z] 20K /tmp/codecov.s58LFf.gz [2023-09-07T23:34:13.353Z] ==> Uploading reports [2023-09-07T23:34:13.353Z] url: https://codecov.io [2023-09-07T23:34:13.353Z] query: branch=PR-1507&commit=f6709ffcbf2227ccfd44463b0ff600ff8af94c37&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1507%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1507&job=&cmd_args= [2023-09-07T23:34:13.353Z] -> Pinging Codecov [2023-09-07T23:34:13.353Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1507&commit=f6709ffcbf2227ccfd44463b0ff600ff8af94c37&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1507%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1507&job=&cmd_args= [2023-09-07T23:34:13.353Z] -> Uploading to [2023-09-07T23:34:13.353Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-07/7E55EF52A471D76F132DFD9A03CDDE97/f6709ffcbf2227ccfd44463b0ff600ff8af94c37/07471edb-a732-40b9-96d6-f75ad23279ea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230907%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230907T233413Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d8594f1bf135646079f265d31841dc55e34abfc948794e67a21c38010beb5799 [2023-09-07T23:34:13.353Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-07T23:34:13.353Z] Dload Upload Total Spent Left Speed [2023-09-07T23:34:13.612Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16421 0 0 100 16421 0 76023 --:--:-- --:--:-- --:--:-- 76023 [2023-09-07T23:34:13.612Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/f6709ffcbf2227ccfd44463b0ff600ff8af94c37 [Pipeline] } [2023-09-07T23:34:13.643Z] 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-09-07T23:34:15.401Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1507/archives ] [2023-09-07T23:34:15.401Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1507/archives [2023-09-07T23:34:15.401Z] total 16 [2023-09-07T23:34:15.401Z] drwxr-xr-x 3 root root 4096 Sep 7 23:24 . [2023-09-07T23:34:15.401Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 7 23:24 .. [2023-09-07T23:34:15.401Z] drwxr-xr-x 2 root root 4096 Sep 7 23:24 cost [2023-09-07T23:34:15.401Z] -rw-r--r-- 1 root root 86 Sep 7 23:24 cost.csv [2023-09-07T23:34:15.401Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1507/archives [2023-09-07T23:34:15.401Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1507/archives [2023-09-07T23:34:15.401Z] total 16 [2023-09-07T23:34:15.401Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 7 23:24 . [2023-09-07T23:34:15.401Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 7 23:24 .. [2023-09-07T23:34:15.401Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 7 23:24 cost [2023-09-07T23:34:15.401Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 7 23:24 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-07T23:34:15.736Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-07T23:34:16.624Z] ---> package-listing.sh [2023-09-07T23:34:16.624Z] ++ facter osfamily [2023-09-07T23:34:16.624Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-07T23:34:16.882Z] + OS_FAMILY=debian [2023-09-07T23:34:16.882Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1507 [2023-09-07T23:34:16.882Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-07T23:34:16.882Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-07T23:34:16.882Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-07T23:34:16.882Z] + PACKAGES=/tmp/packages_start.txt [2023-09-07T23:34:16.882Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1507 ']' [2023-09-07T23:34:16.882Z] + PACKAGES=/tmp/packages_end.txt [2023-09-07T23:34:16.882Z] + case "${OS_FAMILY}" in [2023-09-07T23:34:16.882Z] + dpkg -l [2023-09-07T23:34:16.882Z] + grep '^ii' [2023-09-07T23:34:16.882Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-07T23:34:16.882Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-07T23:34:16.882Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-07T23:34:16.882Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1507 ']' [2023-09-07T23:34:16.882Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1507/archives/ [2023-09-07T23:34:16.882Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1507/archives/ [Pipeline] echo [2023-09-07T23:34:16.922Z] 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-1507/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-07T23:34:17.214Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-07T23:34:17.841Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-07T23:34:17.841Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-07T23:34:17.993Z] prd-ubuntu20.04-docker-8c-8g-5563 does not seem to be running inside a container [2023-09-07T23:34:18.017Z] $ 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-1507/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-1507 -v /w/workspace/gexfoundry_device-sdk-go_PR-1507:/w/workspace/gexfoundry_device-sdk-go_PR-1507:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-07T23:34:18.194Z] $ docker top 0d733a4288b1629430d9ae6678b5798644959fb11ac000f85532ecc0db0de5b8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-07T23:34:18.589Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-07T23:34:18.902Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-07T23:34:19.211Z] + ls /var/log/sa-host [2023-09-07T23:34:19.211Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-07T23:34:19.414Z] provisioning config files... [2023-09-07T23:34:19.422Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1507@tmp/config16859731130378895083tmp [Pipeline] { [Pipeline] echo [2023-09-07T23:34:19.473Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-07T23:34:19.788Z] ---> create-netrc.sh [Pipeline] } [2023-09-07T23:34:19.817Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-07T23:34:20.222Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-07T23:34:20.256Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-07T23:34:20.565Z] ---> sudo-logs.sh [2023-09-07T23:34:20.565Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-07T23:34:20.657Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-07T23:34:20.969Z] ---> job-cost.sh [2023-09-07T23:34:20.969Z] lf-activate-venv: SKIPPING [2023-09-07T23:34:20.969Z] DEBUG: total: 0.2199999988079071 [2023-09-07T23:34:20.969Z] INFO: Retrieving Stack Cost... [2023-09-07T23:34:21.535Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-07T23:34:21.793Z] INFO: Archiving Costs [Pipeline] echo [2023-09-07T23:34:21.828Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-07T23:34:22.429Z] ---> logs-deploy.sh [2023-09-07T23:34:22.429Z] lf-activate-venv: SKIPPING [2023-09-07T23:34:22.429Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1507/1 [2023-09-07T23:34:22.429Z] INFO: archiving workspace using pattern(s): [2023-09-07T23:34:22.995Z] Archives upload complete. [2023-09-07T23:34:23.254Z] INFO: archiving logs to Nexus