Pull request #1387 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of hahattan for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 245f2de2247f6da8fb5fe016f065fa8fa3d7283c+6f965a0b85b542f54aab8de1c6c68203c2ba52ef (fe63fc2b99c63c0d5ada68661c0745685aca92e2) 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-ssh5000843994844564602.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh4152500320827907748.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-1387/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-1387/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14102091030733939555.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-1387/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3539730413712237842.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh13413745819174176938.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-1387/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-1387/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4793742457898144257.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-458’ Running on prd-ubuntu20.04-docker-8c-8g-463 in /w/workspace/gexfoundry_device-sdk-go_PR-1387 [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-1387 # 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/1387/head:refs/remotes/origin/PR-1387 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6f965a0b85b542f54aab8de1c6c68203c2ba52ef into PR head commit 245f2de2247f6da8fb5fe016f065fa8fa3d7283c Merge succeeded, producing 245f2de2247f6da8fb5fe016f065fa8fa3d7283c Checking out Revision 245f2de2247f6da8fb5fe016f065fa8fa3d7283c (PR-1387) > git config core.sparsecheckout # timeout=10 > git checkout -f 245f2de2247f6da8fb5fe016f065fa8fa3d7283c # 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 6f965a0b85b542f54aab8de1c6c68203c2ba52ef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 245f2de2247f6da8fb5fe016f065fa8fa3d7283c # timeout=10 Commit message: "feat: support YAML format for ProvisionWatcher definition file" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-15T14:08:06.429Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-15T14:08:06.600Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-15T14:08:06.698Z] ========================================================= [2023-03-15T14:08:06.698Z] EdgeX Global Pipelines Version Info [2023-03-15T14:08:06.698Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-15T14:08:07.412Z] ------------------- [2023-03-15T14:08:07.412Z] stable info: [2023-03-15T14:08:07.412Z] ------------------- [2023-03-15T14:08:07.412Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-15T14:08:07.413Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-15T14:08:07.413Z] Message: update stable to v1.0.245 [2023-03-15T14:08:07.983Z] ------------------- [2023-03-15T14:08:07.983Z] experimental info: [2023-03-15T14:08:07.983Z] ------------------- [2023-03-15T14:08:07.983Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-15T14:08:07.983Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-15T14:08:07.983Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T14:08:08.264Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-15T14:08:08.307Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-15T14:08:08.346Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-15T14:08:08.387Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-15T14:08:08.479Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-15T14:08:08.517Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-15T14:08:08.555Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-15T14:08:08.597Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-15T14:08:08.647Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-15T14:08:08.764Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-15T14:08:08.806Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-15T14:08:08.843Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-15T14:08:08.882Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-15T14:08:08.922Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-15T14:08:08.959Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T14:08:08.995Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T14:08:09.036Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T14:08:09.073Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T14:08:09.109Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-15T14:08:09.149Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-15T14:08:09.186Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-15T14:08:09.223Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-15T14:08:09.257Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-15T14:08:09.293Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-15T14:08:09.333Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-15T14:08:09.371Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-15T14:08:09.412Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-15T14:08:09.453Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1387 [Pipeline] echo [2023-03-15T14:08:09.613Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1387 [Pipeline] echo [2023-03-15T14:08:09.653Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1387 [Pipeline] echo [2023-03-15T14:08:09.693Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 245f2de2247f6da8fb5fe016f065fa8fa3d7283c [Pipeline] echo [2023-03-15T14:08:09.735Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 245f2de [Pipeline] echo [2023-03-15T14:08:09.775Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T14:08:09.892Z] provisioning config files... [2023-03-15T14:08:09.907Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp/config9058226289725486713tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T14:08:10.257Z] ---> docker-login.sh [2023-03-15T14:08:10.257Z] nexus3.edgexfoundry.org:10001 [2023-03-15T14:08:10.516Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T14:08:10.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T14:08:10.775Z] Configure a credential helper to remove this warning. See [2023-03-15T14:08:10.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T14:08:10.775Z] [2023-03-15T14:08:10.775Z] Login Succeeded [2023-03-15T14:08:10.775Z] nexus3.edgexfoundry.org:10002 [2023-03-15T14:08:10.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T14:08:10.775Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T14:08:10.775Z] Configure a credential helper to remove this warning. See [2023-03-15T14:08:10.775Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T14:08:10.775Z] [2023-03-15T14:08:10.775Z] Login Succeeded [2023-03-15T14:08:10.775Z] nexus3.edgexfoundry.org:10003 [2023-03-15T14:08:10.775Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T14:08:11.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T14:08:11.034Z] Configure a credential helper to remove this warning. See [2023-03-15T14:08:11.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T14:08:11.034Z] [2023-03-15T14:08:11.034Z] Login Succeeded [2023-03-15T14:08:11.034Z] nexus3.edgexfoundry.org:10004 [2023-03-15T14:08:11.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T14:08:11.034Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T14:08:11.034Z] Configure a credential helper to remove this warning. See [2023-03-15T14:08:11.034Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T14:08:11.034Z] [2023-03-15T14:08:11.034Z] Login Succeeded [2023-03-15T14:08:11.034Z] docker.io [2023-03-15T14:08:11.034Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T14:08:11.293Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T14:08:11.293Z] Configure a credential helper to remove this warning. See [2023-03-15T14:08:11.293Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T14:08:11.293Z] [2023-03-15T14:08:11.293Z] Login Succeeded [2023-03-15T14:08:11.293Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T14:08:11.321Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-15T14:08:11.919Z] + git rev-list -1 --merges 245f2de2247f6da8fb5fe016f065fa8fa3d7283c~1..245f2de2247f6da8fb5fe016f065fa8fa3d7283c [Pipeline] echo [2023-03-15T14:08:11.986Z] -----------> git rev-list -1 --merges 245f2de2247f6da8fb5fe016f065fa8fa3d7283c~1..245f2de2247f6da8fb5fe016f065fa8fa3d7283c 245f2de2247f6da8fb5fe016f065fa8fa3d7283c [false] [Pipeline] sh [2023-03-15T14:08:12.297Z] + git log --format=format:%s -1 245f2de2247f6da8fb5fe016f065fa8fa3d7283c [Pipeline] echo [2023-03-15T14:08:12.336Z] ========================================================= [2023-03-15T14:08:12.337Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-15T14:08:12.337Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T14:08:12.736Z] + git log --format=format:%s -1 245f2de2247f6da8fb5fe016f065fa8fa3d7283c [Pipeline] echo [2023-03-15T14:08:12.771Z] [semverPrep] GIT_COMMIT: 245f2de2247f6da8fb5fe016f065fa8fa3d7283c, Commit Message: feat: support YAML format for ProvisionWatcher definition file [Pipeline] echo [2023-03-15T14:08:12.801Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-15T14:08:13.171Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T14:08:13.171Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-15T14:08:13.171Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-15T14:08:13.171Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-15T14:08:13.171Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-15T14:08:13.171Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-15T14:08:13.171Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T14:08:13.588Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T14:08:13.588Z] [2023-03-15T14:08:13.588Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T14:08:14.011Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T14:08:14.011Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-15T14:08:14.011Z] b85a868b505f: Pulling fs layer [2023-03-15T14:08:14.011Z] e2be974225ed: Pulling fs layer [2023-03-15T14:08:14.011Z] 339a4e72a1f5: Pulling fs layer [2023-03-15T14:08:14.011Z] 988bab9f4d93: Pulling fs layer [2023-03-15T14:08:14.011Z] 1469e6f7b9e6: Pulling fs layer [2023-03-15T14:08:14.011Z] eaf3925da568: Pulling fs layer [2023-03-15T14:08:14.011Z] bab4dde63d76: Pulling fs layer [2023-03-15T14:08:14.011Z] bde34c3a00c8: Pulling fs layer [2023-03-15T14:08:14.011Z] b352a97aabf1: Pulling fs layer [2023-03-15T14:08:14.011Z] 4872d77fe225: Pulling fs layer [2023-03-15T14:08:14.011Z] 5851b861e8e6: Pulling fs layer [2023-03-15T14:08:14.011Z] 988bab9f4d93: Waiting [2023-03-15T14:08:14.011Z] 1469e6f7b9e6: Waiting [2023-03-15T14:08:14.011Z] eaf3925da568: Waiting [2023-03-15T14:08:14.011Z] bab4dde63d76: Waiting [2023-03-15T14:08:14.011Z] bde34c3a00c8: Waiting [2023-03-15T14:08:14.011Z] 4872d77fe225: Waiting [2023-03-15T14:08:14.011Z] b352a97aabf1: Waiting [2023-03-15T14:08:14.011Z] 5851b861e8e6: Waiting [2023-03-15T14:08:14.011Z] e2be974225ed: Download complete [2023-03-15T14:08:14.011Z] 988bab9f4d93: Verifying Checksum [2023-03-15T14:08:14.011Z] 988bab9f4d93: Download complete [2023-03-15T14:08:14.272Z] 1469e6f7b9e6: Verifying Checksum [2023-03-15T14:08:14.272Z] 1469e6f7b9e6: Download complete [2023-03-15T14:08:14.272Z] 339a4e72a1f5: Verifying Checksum [2023-03-15T14:08:14.272Z] 339a4e72a1f5: Download complete [2023-03-15T14:08:14.272Z] eaf3925da568: Verifying Checksum [2023-03-15T14:08:14.272Z] eaf3925da568: Download complete [2023-03-15T14:08:14.272Z] bde34c3a00c8: Download complete [2023-03-15T14:08:14.272Z] b352a97aabf1: Download complete [2023-03-15T14:08:14.272Z] 4872d77fe225: Download complete [2023-03-15T14:08:14.272Z] 5851b861e8e6: Verifying Checksum [2023-03-15T14:08:14.272Z] 5851b861e8e6: Download complete [2023-03-15T14:08:14.272Z] b85a868b505f: Verifying Checksum [2023-03-15T14:08:14.272Z] b85a868b505f: Download complete [2023-03-15T14:08:14.538Z] bab4dde63d76: Verifying Checksum [2023-03-15T14:08:14.538Z] bab4dde63d76: Download complete [2023-03-15T14:08:15.921Z] b85a868b505f: Pull complete [2023-03-15T14:08:15.921Z] e2be974225ed: Pull complete [2023-03-15T14:08:16.489Z] 339a4e72a1f5: Pull complete [2023-03-15T14:08:16.489Z] 988bab9f4d93: Pull complete [2023-03-15T14:08:16.748Z] 1469e6f7b9e6: Pull complete [2023-03-15T14:08:16.748Z] eaf3925da568: Pull complete [2023-03-15T14:08:18.656Z] bab4dde63d76: Pull complete [2023-03-15T14:08:18.656Z] bde34c3a00c8: Pull complete [2023-03-15T14:08:18.915Z] b352a97aabf1: Pull complete [2023-03-15T14:08:18.915Z] 4872d77fe225: Pull complete [2023-03-15T14:08:18.915Z] 5851b861e8e6: Pull complete [2023-03-15T14:08:18.915Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-15T14:08:18.915Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T14:08:18.915Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T14:08:19.157Z] prd-ubuntu20.04-docker-8c-8g-463 does not seem to be running inside a container [2023-03-15T14:08:19.191Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1387 -v /w/workspace/gexfoundry_device-sdk-go_PR-1387:/w/workspace/gexfoundry_device-sdk-go_PR-1387:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-15T14:08:21.886Z] $ docker top 505526fe33c7b8bbd66b99b2261822d8704bcbe37d5a1f07e7a691fd920a9ebf -eo pid,comm [2023-03-15T14:08:21.939Z] 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-03-15T14:08:21.939Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T14:08:22.063Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T14:08:22.063Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T14:08:22.173Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T14:08:22.179Z] $ docker exec 505526fe33c7b8bbd66b99b2261822d8704bcbe37d5a1f07e7a691fd920a9ebf ssh-agent [2023-03-15T14:08:22.294Z] SSH_AUTH_SOCK=/tmp/ssh-ZwjgpoVtnEp3/agent.32 [2023-03-15T14:08:22.294Z] SSH_AGENT_PID=38 [2023-03-15T14:08:22.300Z] Running ssh-add (command line suppressed) [2023-03-15T14:08:22.421Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp/private_key_15128622412860976246.key (/w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp/private_key_15128622412860976246.key) [2023-03-15T14:08:22.435Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T14:08:22.767Z] + git tag --points-at HEAD [Pipeline] } [2023-03-15T14:08:22.800Z] $ docker exec --env ******** --env ******** 505526fe33c7b8bbd66b99b2261822d8704bcbe37d5a1f07e7a691fd920a9ebf ssh-agent -k [2023-03-15T14:08:22.914Z] unset SSH_AUTH_SOCK; [2023-03-15T14:08:22.914Z] unset SSH_AGENT_PID; [2023-03-15T14:08:22.914Z] echo Agent pid 38 killed; [2023-03-15T14:08:22.921Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-15T14:08:23.012Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T14:08:23.012Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T14:08:23.137Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T14:08:23.148Z] $ docker exec 505526fe33c7b8bbd66b99b2261822d8704bcbe37d5a1f07e7a691fd920a9ebf ssh-agent [2023-03-15T14:08:23.254Z] SSH_AUTH_SOCK=/tmp/ssh-6yWiXqRmZJK6/agent.70 [2023-03-15T14:08:23.254Z] SSH_AGENT_PID=76 [2023-03-15T14:08:23.258Z] Running ssh-add (command line suppressed) [2023-03-15T14:08:23.371Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp/private_key_10941986403818270446.key (/w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp/private_key_10941986403818270446.key) [2023-03-15T14:08:23.381Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T14:08:23.712Z] + git semver init [2023-03-15T14:08:23.974Z] 2023-03-15 14:08:23,890 [run_init] DEBUG init version:0.0.0 force:False [2023-03-15T14:08:23.975Z] 2023-03-15 14:08:23,891 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1387/.semver [2023-03-15T14:08:23.975Z] 2023-03-15 14:08:23,892 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1387/.semver [2023-03-15T14:08:23.975Z] 2023-03-15 14:08:23,892 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1387/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1387, universal_newlines=False, shell=None, istream=None) [2023-03-15T14:08:24.912Z] 2023-03-15 14:08:24,785 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1387/.git/info/exclude [2023-03-15T14:08:24.912Z] 2023-03-15 14:08:24,786 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1387/.semver/PR-1387 with force:False [2023-03-15T14:08:24.912Z] 2023-03-15 14:08:24,786 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1387/.semver/PR-1387 [2023-03-15T14:08:24.912Z] 2023-03-15 14:08:24,788 [execute] INFO git cat-file --batch-check [2023-03-15T14:08:24.912Z] 2023-03-15 14:08:24,788 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1387/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T14:08:24.912Z] 2023-03-15 14:08:24,793 [execute] INFO git cat-file --batch [2023-03-15T14:08:24.912Z] 2023-03-15 14:08:24,794 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1387/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T14:08:24.912Z] 2023-03-15 14:08:24,797 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1387/.semver/PR-1387 [2023-03-15T14:08:24.912Z] 0.0.0 [Pipeline] } [2023-03-15T14:08:24.945Z] $ docker exec --env ******** --env ******** 505526fe33c7b8bbd66b99b2261822d8704bcbe37d5a1f07e7a691fd920a9ebf ssh-agent -k [2023-03-15T14:08:25.060Z] unset SSH_AUTH_SOCK; [2023-03-15T14:08:25.061Z] unset SSH_AGENT_PID; [2023-03-15T14:08:25.061Z] echo Agent pid 76 killed; [2023-03-15T14:08:25.069Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T14:08:25.522Z] + git semver [Pipeline] } [2023-03-15T14:08:25.818Z] $ docker stop --time=1 505526fe33c7b8bbd66b99b2261822d8704bcbe37d5a1f07e7a691fd920a9ebf [2023-03-15T14:08:27.101Z] $ docker rm -f --volumes 505526fe33c7b8bbd66b99b2261822d8704bcbe37d5a1f07e7a691fd920a9ebf [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T14:08:27.505Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-15T14:08:27.772Z] Stashed 1 file(s) [Pipeline] echo [2023-03-15T14:08:27.792Z] [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-03-15T14:08:28.342Z] provisioning config files... [2023-03-15T14:08:28.353Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp/config12616359921956875467tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T14:08:28.694Z] ---> docker-login.sh [2023-03-15T14:08:28.694Z] nexus3.edgexfoundry.org:10001 [2023-03-15T14:08:28.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T14:08:28.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T14:08:28.694Z] Configure a credential helper to remove this warning. See [2023-03-15T14:08:28.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T14:08:28.694Z] [2023-03-15T14:08:28.694Z] Login Succeeded [2023-03-15T14:08:28.694Z] nexus3.edgexfoundry.org:10002 [2023-03-15T14:08:28.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T14:08:28.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T14:08:28.694Z] Configure a credential helper to remove this warning. See [2023-03-15T14:08:28.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T14:08:28.694Z] [2023-03-15T14:08:28.694Z] Login Succeeded [2023-03-15T14:08:28.694Z] nexus3.edgexfoundry.org:10003 [2023-03-15T14:08:28.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T14:08:28.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T14:08:28.954Z] Configure a credential helper to remove this warning. See [2023-03-15T14:08:28.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T14:08:28.954Z] [2023-03-15T14:08:28.954Z] Login Succeeded [2023-03-15T14:08:28.954Z] nexus3.edgexfoundry.org:10004 [2023-03-15T14:08:28.954Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T14:08:28.954Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T14:08:28.954Z] Configure a credential helper to remove this warning. See [2023-03-15T14:08:28.954Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T14:08:28.954Z] [2023-03-15T14:08:28.954Z] Login Succeeded [2023-03-15T14:08:28.954Z] docker.io [2023-03-15T14:08:29.212Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T14:08:29.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T14:08:29.213Z] Configure a credential helper to remove this warning. See [2023-03-15T14:08:29.213Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T14:08:29.213Z] [2023-03-15T14:08:29.213Z] Login Succeeded [2023-03-15T14:08:29.213Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T14:08:29.242Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T14:08:29.405Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T14:08:29.436Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T14:08:29.465Z] ========================================================= [2023-03-15T14:08:29.465Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-15T14:08:29.465Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T14:08:29.934Z] + 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-03-15T14:08:29.934Z] Sending build context to Docker daemon 10.83MB [2023-03-15T14:08:29.934Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T14:08:29.934Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-15T14:08:29.934Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-15T14:08:29.934Z] 63b65145d645: Pulling fs layer [2023-03-15T14:08:29.934Z] a2d21d5440eb: Pulling fs layer [2023-03-15T14:08:29.934Z] 935e6c44a52c: Pulling fs layer [2023-03-15T14:08:29.934Z] 94cc34f8dd06: Pulling fs layer [2023-03-15T14:08:29.934Z] 30dea6a524f1: Pulling fs layer [2023-03-15T14:08:29.934Z] a2aff8979fd8: Pulling fs layer [2023-03-15T14:08:29.934Z] 94cc34f8dd06: Waiting [2023-03-15T14:08:29.934Z] 6808be2612f2: Pulling fs layer [2023-03-15T14:08:29.934Z] f25807f1079a: Pulling fs layer [2023-03-15T14:08:29.934Z] a2aff8979fd8: Waiting [2023-03-15T14:08:29.934Z] f25807f1079a: Waiting [2023-03-15T14:08:29.934Z] a2d21d5440eb: Verifying Checksum [2023-03-15T14:08:29.934Z] a2d21d5440eb: Download complete [2023-03-15T14:08:30.195Z] 94cc34f8dd06: Verifying Checksum [2023-03-15T14:08:30.195Z] 94cc34f8dd06: Download complete [2023-03-15T14:08:30.195Z] 30dea6a524f1: Verifying Checksum [2023-03-15T14:08:30.195Z] 30dea6a524f1: Download complete [2023-03-15T14:08:30.195Z] 63b65145d645: Verifying Checksum [2023-03-15T14:08:30.195Z] 63b65145d645: Download complete [2023-03-15T14:08:30.195Z] a2aff8979fd8: Verifying Checksum [2023-03-15T14:08:30.195Z] a2aff8979fd8: Download complete [2023-03-15T14:08:30.195Z] 63b65145d645: Pull complete [2023-03-15T14:08:30.459Z] a2d21d5440eb: Pull complete [2023-03-15T14:08:30.721Z] f25807f1079a: Verifying Checksum [2023-03-15T14:08:30.721Z] f25807f1079a: Download complete [2023-03-15T14:08:30.721Z] 935e6c44a52c: Verifying Checksum [2023-03-15T14:08:30.721Z] 935e6c44a52c: Download complete [2023-03-15T14:08:30.979Z] 6808be2612f2: Verifying Checksum [2023-03-15T14:08:30.979Z] 6808be2612f2: Download complete [2023-03-15T14:08:34.261Z] 935e6c44a52c: Pull complete [2023-03-15T14:08:34.261Z] 94cc34f8dd06: Pull complete [2023-03-15T14:08:34.261Z] 30dea6a524f1: Pull complete [2023-03-15T14:08:34.261Z] a2aff8979fd8: Pull complete [2023-03-15T14:08:36.792Z] 6808be2612f2: Pull complete [2023-03-15T14:08:37.061Z] f25807f1079a: Pull complete [2023-03-15T14:08:37.061Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-15T14:08:37.061Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-15T14:08:37.061Z] ---> 3b553350e43f [2023-03-15T14:08:37.061Z] Step 3/10 : ARG MAKE=make build [2023-03-15T14:08:42.389Z] ---> Running in 6baec00da9c8 [2023-03-15T14:08:42.389Z] Removing intermediate container 6baec00da9c8 [2023-03-15T14:08:42.389Z] ---> 29f5c34de08d [2023-03-15T14:08:42.389Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-15T14:08:42.389Z] ---> Running in a9170e345f41 [2023-03-15T14:08:42.389Z] Removing intermediate container a9170e345f41 [2023-03-15T14:08:42.389Z] ---> ca51db998b62 [2023-03-15T14:08:42.389Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-15T14:08:42.389Z] ---> Running in aa8f67d8ab79 [2023-03-15T14:08:42.389Z] Removing intermediate container aa8f67d8ab79 [2023-03-15T14:08:42.389Z] ---> 0fddcb71faec [2023-03-15T14:08:42.389Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-15T14:08:42.389Z] ---> Running in f2488f7fed20 [2023-03-15T14:08:42.389Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T14:08:42.649Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T14:08:42.908Z] OK: 265 MiB in 53 packages [2023-03-15T14:08:43.168Z] Removing intermediate container f2488f7fed20 [2023-03-15T14:08:43.168Z] ---> eea0fc477109 [2023-03-15T14:08:43.168Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-15T14:08:43.168Z] ---> 3b511b456220 [2023-03-15T14:08:43.168Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T14:08:43.168Z] ---> Running in af3702c86554 [2023-03-15T14:08:43.173Z] Still waiting to schedule task [2023-03-15T14:08:43.174Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-461’ [2023-03-15T14:09:22.054Z] Removing intermediate container af3702c86554 [2023-03-15T14:09:22.054Z] ---> ee09347bd589 [2023-03-15T14:09:22.054Z] Step 9/10 : COPY . . [2023-03-15T14:09:22.054Z] ---> 0626ba4e6fb7 [2023-03-15T14:09:22.054Z] Step 10/10 : RUN ${MAKE} [2023-03-15T14:09:22.054Z] ---> Running in 6a5153a19fd9 [2023-03-15T14:09:22.054Z] noop [2023-03-15T14:09:22.054Z] Removing intermediate container 6a5153a19fd9 [2023-03-15T14:09:22.054Z] ---> 01a9b60202ca [2023-03-15T14:09:22.054Z] Successfully built 01a9b60202ca [2023-03-15T14:09:22.054Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T14:09:22.493Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T14:09:22.493Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T14:09:22.636Z] prd-ubuntu20.04-docker-8c-8g-463 does not seem to be running inside a container [2023-03-15T14:09:22.664Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1387 -v /w/workspace/gexfoundry_device-sdk-go_PR-1387:/w/workspace/gexfoundry_device-sdk-go_PR-1387:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-15T14:09:22.987Z] $ docker top bb0b6e679b684f08e9acf1989965542566a141db09671b25d65f520ca4d980e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T14:09:23.370Z] + go version [2023-03-15T14:09:23.370Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-15T14:09:23.401Z] $ docker stop --time=1 bb0b6e679b684f08e9acf1989965542566a141db09671b25d65f520ca4d980e8 [2023-03-15T14:09:24.635Z] $ docker rm -f --volumes bb0b6e679b684f08e9acf1989965542566a141db09671b25d65f520ca4d980e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T14:09:25.301Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T14:09:25.301Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T14:09:25.450Z] prd-ubuntu20.04-docker-8c-8g-463 does not seem to be running inside a container [2023-03-15T14:09:25.484Z] $ 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-1387 -v /w/workspace/gexfoundry_device-sdk-go_PR-1387:/w/workspace/gexfoundry_device-sdk-go_PR-1387:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-15T14:09:25.810Z] $ docker top a9b9546a6092b2963cada75e1ca597c43c211e8f785448957ccc72766e00b2f9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T14:09:26.229Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1387 [Pipeline] fileExists [Pipeline] sh [2023-03-15T14:09:26.586Z] + make test [2023-03-15T14:09:26.586Z] go test -race -coverprofile=coverage.out ./... [2023-03-15T14:09:33.160Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-15T14:09:48.042Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-15T14:09:48.042Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-15T14:09:48.042Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-15T14:09:48.042Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-15T14:09:48.042Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-15T14:09:48.042Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.046s coverage: 27.6% of statements [2023-03-15T14:09:48.042Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-15T14:09:48.042Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-15T14:09:48.042Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.059s coverage: 78.9% of statements [2023-03-15T14:09:48.042Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.086s coverage: 86.0% of statements [2023-03-15T14:09:48.042Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-15T14:09:48.042Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.090s coverage: 75.9% of statements [2023-03-15T14:09:48.042Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-15T14:09:48.042Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-15T14:09:48.042Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-15T14:09:48.608Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-15T14:09:51.146Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.058s coverage: 15.2% of statements [2023-03-15T14:09:51.146Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.067s coverage: 65.7% of statements [2023-03-15T14:09:51.146Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.105s coverage: 89.2% of statements [2023-03-15T14:09:51.146Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.051s coverage: 5.5% of statements [2023-03-15T14:10:09.239Z] GO111MODULE=on go vet ./... [2023-03-15T14:10:13.434Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T14:10:13.434Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T14:10:13.434Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T14:10:13.468Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T14:10:13.498Z] $ docker stop --time=1 a9b9546a6092b2963cada75e1ca597c43c211e8f785448957ccc72766e00b2f9 [2023-03-15T14:10:17.168Z] $ docker rm -f --volumes a9b9546a6092b2963cada75e1ca597c43c211e8f785448957ccc72766e00b2f9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T14:10:17.732Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T14:10:17.823Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-15T14:10:18.393Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T14:10:18.705Z] + ls -al . [2023-03-15T14:10:18.705Z] total 276 [2023-03-15T14:10:18.705Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 14:09 . [2023-03-15T14:10:18.705Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 14:08 .. [2023-03-15T14:10:18.705Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 14:08 .dockerignore [2023-03-15T14:10:18.705Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 14:08 .git [2023-03-15T14:10:18.705Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 14:08 .github [2023-03-15T14:10:18.705Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 15 14:08 .gitignore [2023-03-15T14:10:18.705Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 15 14:08 .golangci.yml [2023-03-15T14:10:18.705Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 14:08 .semver [2023-03-15T14:10:18.705Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 15 14:08 CHANGELOG.md [2023-03-15T14:10:18.705Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 14:08 GOVERNANCE.md [2023-03-15T14:10:18.705Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 15 14:08 Jenkinsfile [2023-03-15T14:10:18.705Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 15 14:08 LICENSE [2023-03-15T14:10:18.705Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 15 14:08 Makefile [2023-03-15T14:10:18.705Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 15 14:08 OWNERS.md [2023-03-15T14:10:18.705Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 15 14:08 README.md [2023-03-15T14:10:18.705Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 14:08 VERSION [2023-03-15T14:10:18.705Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 14:08 bin [2023-03-15T14:10:18.705Z] -rw-r--r-- 1 jenkins jenkins 109536 Mar 15 14:09 coverage.out [2023-03-15T14:10:18.705Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 15 14:08 example [2023-03-15T14:10:18.705Z] -rw-rw-r-- 1 jenkins jenkins 3278 Mar 15 14:08 go.mod [2023-03-15T14:10:18.705Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 15 14:08 go.sum [2023-03-15T14:10:18.705Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 14:08 internal [2023-03-15T14:10:18.705Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 14:08 openapi [2023-03-15T14:10:18.705Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 15 14:08 pkg [2023-03-15T14:10:18.706Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 14:08 snap [2023-03-15T14:10:18.706Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 15 14:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T14:10:19.120Z] + 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=245f2de2247f6da8fb5fe016f065fa8fa3d7283c --label arch=amd64 --label version=0.0.0 . [2023-03-15T14:10:19.120Z] Sending build context to Docker daemon 10.94MB [2023-03-15T14:10:19.120Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T14:10:19.120Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-15T14:10:19.120Z] ---> 01a9b60202ca [2023-03-15T14:10:19.120Z] Step 3/23 : ARG MAKE=make build [2023-03-15T14:10:19.379Z] ---> Running in d1c61b7686c5 [2023-03-15T14:10:19.380Z] Removing intermediate container d1c61b7686c5 [2023-03-15T14:10:19.380Z] ---> e48f04b7bedd [2023-03-15T14:10:19.380Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-15T14:10:19.380Z] ---> Running in b1c81b1b20cb [2023-03-15T14:10:19.380Z] Removing intermediate container b1c81b1b20cb [2023-03-15T14:10:19.380Z] ---> 4e38e890cdaf [2023-03-15T14:10:19.380Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-15T14:10:19.380Z] ---> Running in e957473dee68 [2023-03-15T14:10:19.640Z] Removing intermediate container e957473dee68 [2023-03-15T14:10:19.640Z] ---> f760fd7bb33f [2023-03-15T14:10:19.640Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-15T14:10:19.640Z] ---> Running in 1f55e1dfe444 [2023-03-15T14:10:19.899Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T14:10:20.159Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T14:10:20.419Z] OK: 265 MiB in 53 packages [2023-03-15T14:10:20.678Z] Removing intermediate container 1f55e1dfe444 [2023-03-15T14:10:20.678Z] ---> ec627bd57e8b [2023-03-15T14:10:20.678Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-15T14:10:20.937Z] ---> 6e16267dcbb7 [2023-03-15T14:10:20.937Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T14:10:20.937Z] ---> Running in fa91797c0943 [2023-03-15T14:10:21.875Z] Removing intermediate container fa91797c0943 [2023-03-15T14:10:21.875Z] ---> 94b85bc052ca [2023-03-15T14:10:21.875Z] Step 9/23 : COPY . . [2023-03-15T14:10:22.133Z] ---> fc100b1ec323 [2023-03-15T14:10:22.133Z] Step 10/23 : RUN ${MAKE} [2023-03-15T14:10:22.391Z] ---> Running in b795fce6d843 [2023-03-15T14:10:22.650Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-15T14:10:44.706Z] Removing intermediate container b795fce6d843 [2023-03-15T14:10:44.706Z] ---> 49ccbb37cff2 [2023-03-15T14:10:44.706Z] Step 11/23 : FROM alpine:3.17 [2023-03-15T14:10:44.706Z] 3.17: Pulling from library/alpine [2023-03-15T14:10:44.706Z] 63b65145d645: Already exists [2023-03-15T14:10:44.706Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T14:10:44.706Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T14:10:44.706Z] ---> b2aa39c304c2 [2023-03-15T14:10:44.706Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-15T14:10:44.706Z] ---> Running in 0b388929c918 [2023-03-15T14:10:44.706Z] Removing intermediate container 0b388929c918 [2023-03-15T14:10:44.706Z] ---> e5ead2823c68 [2023-03-15T14:10:44.706Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-15T14:10:44.706Z] ---> Running in 789cd729e466 [2023-03-15T14:10:44.706Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T14:10:44.706Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T14:10:44.706Z] OK: 7 MiB in 15 packages [2023-03-15T14:10:44.706Z] Removing intermediate container 789cd729e466 [2023-03-15T14:10:44.706Z] ---> dcd509af6458 [2023-03-15T14:10:44.706Z] Step 14/23 : WORKDIR / [2023-03-15T14:10:44.706Z] ---> Running in 24191ab07d0c [2023-03-15T14:10:44.706Z] Removing intermediate container 24191ab07d0c [2023-03-15T14:10:44.706Z] ---> bdd7f61a45bc [2023-03-15T14:10:44.706Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-15T14:10:44.706Z] ---> cdfaf63c7cff [2023-03-15T14:10:44.706Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-15T14:10:45.281Z] ---> f8d99df51f6b [2023-03-15T14:10:45.281Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-15T14:10:45.539Z] ---> 735f7915e78f [2023-03-15T14:10:45.539Z] Step 18/23 : EXPOSE 59999 [2023-03-15T14:10:45.798Z] ---> Running in 80d65d91579c [2023-03-15T14:10:46.058Z] Removing intermediate container 80d65d91579c [2023-03-15T14:10:46.058Z] ---> 51a4f1291a47 [2023-03-15T14:10:46.058Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-15T14:10:46.058Z] ---> Running in a5b0226a4e5c [2023-03-15T14:10:46.626Z] Removing intermediate container a5b0226a4e5c [2023-03-15T14:10:46.626Z] ---> 6c4e03c60b42 [2023-03-15T14:10:46.626Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-15T14:10:46.885Z] ---> Running in 7a33ebb9026e [2023-03-15T14:10:46.885Z] Removing intermediate container 7a33ebb9026e [2023-03-15T14:10:46.885Z] ---> 7110bac173d1 [2023-03-15T14:10:46.885Z] Step 21/23 : LABEL arch=amd64 [2023-03-15T14:10:47.144Z] ---> Running in 0925a52ccbf2 [2023-03-15T14:10:47.404Z] Removing intermediate container 0925a52ccbf2 [2023-03-15T14:10:47.404Z] ---> 43dbf370b6de [2023-03-15T14:10:47.404Z] Step 22/23 : LABEL git_sha=245f2de2247f6da8fb5fe016f065fa8fa3d7283c [2023-03-15T14:10:47.663Z] ---> Running in 7622d6e26ecd [2023-03-15T14:10:47.663Z] Removing intermediate container 7622d6e26ecd [2023-03-15T14:10:47.663Z] ---> 8f9601572aa7 [2023-03-15T14:10:47.663Z] Step 23/23 : LABEL version=0.0.0 [2023-03-15T14:10:47.923Z] ---> Running in e44e07dad3aa [2023-03-15T14:10:48.182Z] Removing intermediate container e44e07dad3aa [2023-03-15T14:10:48.182Z] ---> 98327960eef5 [2023-03-15T14:10:48.182Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T14:10:48.182Z] Successfully built 98327960eef5 [2023-03-15T14:10:48.182Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T14:10:48.986Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T14:10:48.986Z] [2023-03-15T14:10:48.986Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T14:10:49.354Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T14:10:49.355Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-15T14:10:49.355Z] 5eb5b503b376: Pulling fs layer [2023-03-15T14:10:49.355Z] 5c69ac0246d0: Pulling fs layer [2023-03-15T14:10:49.355Z] ec43610c2a17: Pulling fs layer [2023-03-15T14:10:49.355Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-15T14:10:49.355Z] 33b1e0a273af: Pulling fs layer [2023-03-15T14:10:49.355Z] 5d3b04190fa2: Pulling fs layer [2023-03-15T14:10:49.355Z] 2f39f015ded8: Pulling fs layer [2023-03-15T14:10:49.355Z] 33b1e0a273af: Waiting [2023-03-15T14:10:49.355Z] 5d3b04190fa2: Waiting [2023-03-15T14:10:49.355Z] 2f39f015ded8: Waiting [2023-03-15T14:10:49.355Z] 3a2ae6a8a46f: Waiting [2023-03-15T14:10:49.355Z] 5c69ac0246d0: Download complete [2023-03-15T14:10:49.355Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-15T14:10:49.355Z] 3a2ae6a8a46f: Download complete [2023-03-15T14:10:49.615Z] 33b1e0a273af: Verifying Checksum [2023-03-15T14:10:49.615Z] 33b1e0a273af: Download complete [2023-03-15T14:10:49.615Z] ec43610c2a17: Verifying Checksum [2023-03-15T14:10:49.615Z] ec43610c2a17: Download complete [2023-03-15T14:10:49.615Z] 5d3b04190fa2: Verifying Checksum [2023-03-15T14:10:49.874Z] 5eb5b503b376: Verifying Checksum [2023-03-15T14:10:49.874Z] 5eb5b503b376: Download complete [2023-03-15T14:10:50.440Z] 2f39f015ded8: Download complete [2023-03-15T14:10:51.005Z] 5eb5b503b376: Pull complete [2023-03-15T14:10:51.005Z] 5c69ac0246d0: Pull complete [2023-03-15T14:10:51.570Z] ec43610c2a17: Pull complete [2023-03-15T14:10:51.570Z] 3a2ae6a8a46f: Pull complete [2023-03-15T14:10:51.831Z] 33b1e0a273af: Pull complete [2023-03-15T14:10:51.831Z] 5d3b04190fa2: Pull complete [2023-03-15T14:10:56.055Z] 2f39f015ded8: Pull complete [2023-03-15T14:10:56.055Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-15T14:10:56.055Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T14:10:56.055Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T14:10:56.276Z] prd-ubuntu20.04-docker-8c-8g-463 does not seem to be running inside a container [2023-03-15T14:10:56.303Z] $ 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-1387 -v /w/workspace/gexfoundry_device-sdk-go_PR-1387:/w/workspace/gexfoundry_device-sdk-go_PR-1387:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1387@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-03-15T14:11:02.385Z] $ docker top 9528cefe7f30705676feff3977fcc52d08e2deb9c6cb343fd38de171378ef703 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T14:11:02.810Z] ---> job-cost.sh [2023-03-15T14:11:02.810Z] lf-activate-venv: SKIPPING [2023-03-15T14:11:02.810Z] INFO: No Stack... [2023-03-15T14:11:03.069Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T14:11:03.327Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T14:11:03.635Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1387/archives/cost.csv [2023-03-15T14:11:03.635Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T14:11:03.674Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1387-1-stack-cost] [2023-03-15T14:11:03.679Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1387-1-stack-cost] did not exist. Created. [2023-03-15T14:11:03.679Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1387-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T14:11:04.058Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-15T14:11:04.112Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T14:11:04.129Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1387-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T14:11:04.207Z] $ docker stop --time=1 9528cefe7f30705676feff3977fcc52d08e2deb9c6cb343fd38de171378ef703 [2023-03-15T14:11:05.371Z] $ docker rm -f --volumes 9528cefe7f30705676feff3977fcc52d08e2deb9c6cb343fd38de171378ef703 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T14:12:24.409Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-464 in /w/workspace/gexfoundry_device-sdk-go_PR-1387 [Pipeline] { [Pipeline] ws [2023-03-15T14:12:24.471Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-03-15T14:12:24.570Z] The recommended git tool is: git [2023-03-15T14:12:32.835Z] using credential edgex-jenkins-ssh [2023-03-15T14:12:32.853Z] Cloning the remote Git repository [2023-03-15T14:12:32.913Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-15T14:12:33.035Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-03-15T14:12:33.336Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-15T14:12:33.337Z] > git --version # timeout=10 [2023-03-15T14:12:33.421Z] > git --version # 'git version 2.25.1' [2023-03-15T14:12:33.429Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T14:12:33.719Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T14:12:35.500Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-15T14:12:35.579Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T14:12:38.113Z] Merging remotes/origin/main commit 6f965a0b85b542f54aab8de1c6c68203c2ba52ef into PR head commit 245f2de2247f6da8fb5fe016f065fa8fa3d7283c [2023-03-15T14:12:37.191Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-15T14:12:37.313Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-15T14:12:37.314Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T14:12:37.338Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1387/head:refs/remotes/origin/PR-1387 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-15T14:12:38.170Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T14:12:38.352Z] > git checkout -f 245f2de2247f6da8fb5fe016f065fa8fa3d7283c # timeout=10 [2023-03-15T14:12:38.456Z] > git remote # timeout=10 [2023-03-15T14:12:40.778Z] Merge succeeded, producing 245f2de2247f6da8fb5fe016f065fa8fa3d7283c [2023-03-15T14:12:40.778Z] Checking out Revision 245f2de2247f6da8fb5fe016f065fa8fa3d7283c (PR-1387) [2023-03-15T14:12:40.635Z] > git config --get remote.origin.url # timeout=10 [2023-03-15T14:12:40.657Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T14:12:40.700Z] > git merge 6f965a0b85b542f54aab8de1c6c68203c2ba52ef # timeout=10 [2023-03-15T14:12:40.738Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-15T14:12:40.790Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T14:12:40.813Z] > git checkout -f 245f2de2247f6da8fb5fe016f065fa8fa3d7283c # timeout=10 [2023-03-15T14:12:44.538Z] Commit message: "feat: support YAML format for ProvisionWatcher definition file" [2023-03-15T14:12:44.627Z] > git --version # timeout=10 [2023-03-15T14:12:44.659Z] > git --version # 'git version 2.25.1' [2023-03-15T14:12:44.679Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T14:12:45.751Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-15T14:12:45.751Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T14:12:45.751Z] Dload Upload Total Spent Left Speed [2023-03-15T14:12:45.751Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 81216 0 --:--:-- --:--:-- --:--:-- 81216 [Pipeline] sh [2023-03-15T14:12:46.737Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-15T14:12:47.106Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-15T14:12:47.106Z] + sudo tee /etc/docker/daemon.new [2023-03-15T14:12:47.106Z] { [2023-03-15T14:12:47.106Z] "registry-mirrors": [ [2023-03-15T14:12:47.106Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-15T14:12:47.106Z] ], [2023-03-15T14:12:47.106Z] "bip": "10.250.0.254/24", [2023-03-15T14:12:47.106Z] "hosts": [ [2023-03-15T14:12:47.106Z] "tcp://0.0.0.0:5555", [2023-03-15T14:12:47.106Z] "unix:///var/run/docker.sock" [2023-03-15T14:12:47.106Z] ], [2023-03-15T14:12:47.106Z] "mtu": 1458, [2023-03-15T14:12:47.106Z] "selinux-enabled": true, [2023-03-15T14:12:47.106Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-15T14:12:47.106Z] } [Pipeline] sh [2023-03-15T14:12:47.755Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-15T14:12:48.158Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T14:13:10.384Z] provisioning config files... [2023-03-15T14:13:10.417Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config18367546769019942226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T14:13:10.829Z] ---> docker-login.sh [2023-03-15T14:13:10.829Z] nexus3.edgexfoundry.org:10001 [2023-03-15T14:13:11.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T14:13:11.702Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T14:13:11.702Z] Configure a credential helper to remove this warning. See [2023-03-15T14:13:11.702Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T14:13:11.702Z] [2023-03-15T14:13:11.702Z] Login Succeeded [2023-03-15T14:13:11.702Z] nexus3.edgexfoundry.org:10002 [2023-03-15T14:13:11.980Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T14:13:11.980Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T14:13:11.980Z] Configure a credential helper to remove this warning. See [2023-03-15T14:13:11.980Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T14:13:11.980Z] [2023-03-15T14:13:11.980Z] Login Succeeded [2023-03-15T14:13:12.252Z] nexus3.edgexfoundry.org:10003 [2023-03-15T14:13:12.525Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T14:13:12.525Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T14:13:12.525Z] Configure a credential helper to remove this warning. See [2023-03-15T14:13:12.525Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T14:13:12.525Z] [2023-03-15T14:13:12.525Z] Login Succeeded [2023-03-15T14:13:12.525Z] nexus3.edgexfoundry.org:10004 [2023-03-15T14:13:12.797Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T14:13:12.797Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T14:13:12.797Z] Configure a credential helper to remove this warning. See [2023-03-15T14:13:12.797Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T14:13:12.797Z] [2023-03-15T14:13:12.797Z] Login Succeeded [2023-03-15T14:13:13.067Z] docker.io [2023-03-15T14:13:13.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T14:13:13.606Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T14:13:13.606Z] Configure a credential helper to remove this warning. See [2023-03-15T14:13:13.606Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T14:13:13.606Z] [2023-03-15T14:13:13.607Z] Login Succeeded [2023-03-15T14:13:13.607Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T14:13:13.637Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T14:13:14.052Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T14:13:14.091Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T14:13:14.125Z] ========================================================= [2023-03-15T14:13:14.125Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-15T14:13:14.125Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T14:13:14.644Z] + 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-03-15T14:13:14.922Z] Sending build context to Docker daemon 5.832MB [2023-03-15T14:13:14.922Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T14:13:14.922Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-15T14:13:15.194Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-15T14:13:15.194Z] af6eaf76a39c: Pulling fs layer [2023-03-15T14:13:15.194Z] 55522c791124: Pulling fs layer [2023-03-15T14:13:15.194Z] ce5c4a1c91eb: Pulling fs layer [2023-03-15T14:13:15.194Z] 169dfbe0d373: Pulling fs layer [2023-03-15T14:13:15.194Z] e1ff8fa3b103: Pulling fs layer [2023-03-15T14:13:15.194Z] 52ebb69f0ebf: Pulling fs layer [2023-03-15T14:13:15.194Z] 5abe8eddf0d5: Pulling fs layer [2023-03-15T14:13:15.194Z] 169dfbe0d373: Waiting [2023-03-15T14:13:15.194Z] e1ff8fa3b103: Waiting [2023-03-15T14:13:15.194Z] 52ebb69f0ebf: Waiting [2023-03-15T14:13:15.194Z] 5abe8eddf0d5: Waiting [2023-03-15T14:13:15.194Z] 55522c791124: Download complete [2023-03-15T14:13:15.194Z] 169dfbe0d373: Download complete [2023-03-15T14:13:15.194Z] e1ff8fa3b103: Verifying Checksum [2023-03-15T14:13:15.194Z] e1ff8fa3b103: Download complete [2023-03-15T14:13:15.468Z] af6eaf76a39c: Verifying Checksum [2023-03-15T14:13:16.441Z] af6eaf76a39c: Pull complete [2023-03-15T14:13:16.441Z] 5abe8eddf0d5: Verifying Checksum [2023-03-15T14:13:16.441Z] 5abe8eddf0d5: Download complete [2023-03-15T14:13:17.032Z] 55522c791124: Pull complete [2023-03-15T14:13:18.000Z] 52ebb69f0ebf: Verifying Checksum [2023-03-15T14:13:18.000Z] 52ebb69f0ebf: Download complete [2023-03-15T14:13:18.000Z] ce5c4a1c91eb: Verifying Checksum [2023-03-15T14:13:18.000Z] ce5c4a1c91eb: Download complete [2023-03-15T14:13:30.353Z] ce5c4a1c91eb: Pull complete [2023-03-15T14:13:30.353Z] 169dfbe0d373: Pull complete [2023-03-15T14:13:30.353Z] e1ff8fa3b103: Pull complete [2023-03-15T14:13:35.749Z] 52ebb69f0ebf: Pull complete [2023-03-15T14:13:38.343Z] 5abe8eddf0d5: Pull complete [2023-03-15T14:13:38.343Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-15T14:13:38.344Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-15T14:13:38.344Z] ---> 6cb57ee374ae [2023-03-15T14:13:38.344Z] Step 3/10 : ARG MAKE=make build [2023-03-15T14:13:39.762Z] ---> Running in d14252940a3b [2023-03-15T14:13:40.033Z] Removing intermediate container d14252940a3b [2023-03-15T14:13:40.033Z] ---> 74d7a56de654 [2023-03-15T14:13:40.033Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-15T14:13:40.033Z] ---> Running in b26bfdd9e900 [2023-03-15T14:13:40.303Z] Removing intermediate container b26bfdd9e900 [2023-03-15T14:13:40.303Z] ---> 1209dfcb3d75 [2023-03-15T14:13:40.303Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-15T14:13:40.571Z] ---> Running in b5c85a0c2fc0 [2023-03-15T14:13:40.842Z] Removing intermediate container b5c85a0c2fc0 [2023-03-15T14:13:40.842Z] ---> 552041715a65 [2023-03-15T14:13:40.842Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-15T14:13:40.842Z] ---> Running in fa52db22f7ed [2023-03-15T14:13:42.261Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T14:13:42.530Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T14:13:43.943Z] OK: 263 MiB in 53 packages [2023-03-15T14:13:46.023Z] Removing intermediate container fa52db22f7ed [2023-03-15T14:13:46.023Z] ---> f74690da9343 [2023-03-15T14:13:46.023Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-15T14:13:46.296Z] ---> 18893af60f8d [2023-03-15T14:13:46.296Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T14:13:46.296Z] ---> Running in 6af227917fcf [2023-03-15T14:15:07.914Z] Removing intermediate container 6af227917fcf [2023-03-15T14:15:07.914Z] ---> 4d03b0a3d364 [2023-03-15T14:15:07.914Z] Step 9/10 : COPY . . [2023-03-15T14:15:07.914Z] ---> d4b4d865d3a0 [2023-03-15T14:15:07.914Z] Step 10/10 : RUN ${MAKE} [2023-03-15T14:15:07.914Z] ---> Running in 232e0ba62cda [2023-03-15T14:15:07.914Z] noop [2023-03-15T14:15:07.914Z] Removing intermediate container 232e0ba62cda [2023-03-15T14:15:07.914Z] ---> e5a476f54290 [2023-03-15T14:15:07.914Z] Successfully built e5a476f54290 [2023-03-15T14:15:07.914Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T14:15:08.383Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T14:15:08.383Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T14:15:08.679Z] prd-ubuntu20.04-docker-arm64-4c-16g-464 does not seem to be running inside a container [2023-03-15T14:15:08.757Z] $ 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-03-15T14:15:10.057Z] $ docker top ccf762da9c0ae4a978bab482b9272fb21a71e2650f15dbf31b1e541b0680c6d9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T14:15:10.948Z] + go version [2023-03-15T14:15:10.949Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-15T14:15:10.991Z] $ docker stop --time=1 ccf762da9c0ae4a978bab482b9272fb21a71e2650f15dbf31b1e541b0680c6d9 [2023-03-15T14:15:12.578Z] $ docker rm -f --volumes ccf762da9c0ae4a978bab482b9272fb21a71e2650f15dbf31b1e541b0680c6d9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T14:15:13.452Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T14:15:13.452Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T14:15:13.723Z] prd-ubuntu20.04-docker-arm64-4c-16g-464 does not seem to be running inside a container [2023-03-15T14:15:13.798Z] $ 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-03-15T14:15:14.997Z] $ docker top cd188fb3561872cc3ae52ac6ee3dd87928eaa43e260ce748bccf652c7bd4a71f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T14:15:15.555Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-15T14:15:15.941Z] + make test [2023-03-15T14:15:15.941Z] go test -race -coverprofile=coverage.out ./... [2023-03-15T14:16:02.781Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-15T14:17:54.428Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-15T14:17:54.428Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-15T14:17:54.428Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-15T14:17:54.428Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-15T14:17:54.428Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-15T14:18:02.647Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.209s coverage: 27.6% of statements [2023-03-15T14:18:04.589Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.271s coverage: 78.9% of statements [2023-03-15T14:18:14.622Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-15T14:18:14.622Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-15T14:18:14.622Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.378s coverage: 86.0% of statements [2023-03-15T14:18:18.891Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-15T14:18:18.891Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-15T14:18:19.481Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.526s coverage: 75.9% of statements [2023-03-15T14:18:22.827Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.301s coverage: 15.2% of statements [2023-03-15T14:18:25.413Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-15T14:18:25.413Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-15T14:18:25.413Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.511s coverage: 65.7% of statements [2023-03-15T14:18:27.375Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.480s coverage: 89.2% of statements [2023-03-15T14:18:30.719Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-15T14:18:30.719Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.239s coverage: 5.5% of statements [2023-03-15T14:18:31.680Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-15T14:18:31.680Z] GO111MODULE=on go vet ./... [2023-03-15T14:21:08.676Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T14:21:08.676Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T14:21:08.676Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T14:21:08.714Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T14:21:08.745Z] $ docker stop --time=1 cd188fb3561872cc3ae52ac6ee3dd87928eaa43e260ce748bccf652c7bd4a71f [2023-03-15T14:21:10.524Z] $ docker rm -f --volumes cd188fb3561872cc3ae52ac6ee3dd87928eaa43e260ce748bccf652c7bd4a71f [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T14:21:12.157Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T14:21:12.195Z] Warning: overwriting stash ‘coverage-report’ [2023-03-15T14:21:12.781Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T14:21:13.365Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T14:21:13.699Z] + ls -al . [2023-03-15T14:21:13.699Z] total 272 [2023-03-15T14:21:13.699Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 14:15 . [2023-03-15T14:21:13.699Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 14:12 .. [2023-03-15T14:21:13.699Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 14:12 .dockerignore [2023-03-15T14:21:13.699Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 14:12 .git [2023-03-15T14:21:13.699Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 14:12 .github [2023-03-15T14:21:13.699Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 15 14:12 .gitignore [2023-03-15T14:21:13.699Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 15 14:12 .golangci.yml [2023-03-15T14:21:13.699Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 15 14:12 CHANGELOG.md [2023-03-15T14:21:13.699Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 14:12 GOVERNANCE.md [2023-03-15T14:21:13.699Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 15 14:12 Jenkinsfile [2023-03-15T14:21:13.699Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 15 14:12 LICENSE [2023-03-15T14:21:13.699Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 15 14:12 Makefile [2023-03-15T14:21:13.699Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 15 14:12 OWNERS.md [2023-03-15T14:21:13.699Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 15 14:12 README.md [2023-03-15T14:21:13.699Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 14:08 VERSION [2023-03-15T14:21:13.699Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 14:12 bin [2023-03-15T14:21:13.699Z] -rw-r--r-- 1 jenkins jenkins 109536 Mar 15 14:18 coverage.out [2023-03-15T14:21:13.699Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 15 14:12 example [2023-03-15T14:21:13.699Z] -rw-rw-r-- 1 jenkins jenkins 3278 Mar 15 14:12 go.mod [2023-03-15T14:21:13.699Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 15 14:12 go.sum [2023-03-15T14:21:13.699Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 14:12 internal [2023-03-15T14:21:13.699Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 14:12 openapi [2023-03-15T14:21:13.699Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 15 14:12 pkg [2023-03-15T14:21:13.699Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 14:12 snap [2023-03-15T14:21:13.699Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 15 14:12 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T14:21:14.116Z] + 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=245f2de2247f6da8fb5fe016f065fa8fa3d7283c --label arch=arm64 --label version=0.0.0 . [2023-03-15T14:21:14.382Z] Sending build context to Docker daemon 5.942MB [2023-03-15T14:21:14.650Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T14:21:14.650Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-15T14:21:14.650Z] ---> e5a476f54290 [2023-03-15T14:21:14.650Z] Step 3/23 : ARG MAKE=make build [2023-03-15T14:21:14.650Z] ---> Running in e80da7fab551 [2023-03-15T14:21:14.917Z] Removing intermediate container e80da7fab551 [2023-03-15T14:21:14.917Z] ---> aa32a744e38f [2023-03-15T14:21:14.917Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-15T14:21:14.917Z] ---> Running in ecb03c0e6e1a [2023-03-15T14:21:15.508Z] Removing intermediate container ecb03c0e6e1a [2023-03-15T14:21:15.508Z] ---> 54c765001091 [2023-03-15T14:21:15.508Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-15T14:21:15.508Z] ---> Running in 904686d8d4a1 [2023-03-15T14:21:15.780Z] Removing intermediate container 904686d8d4a1 [2023-03-15T14:21:15.780Z] ---> 7bc3e036190b [2023-03-15T14:21:15.780Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-15T14:21:15.780Z] ---> Running in 4f0d167f493f [2023-03-15T14:21:16.744Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T14:21:17.330Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T14:21:18.293Z] OK: 263 MiB in 53 packages [2023-03-15T14:21:19.258Z] Removing intermediate container 4f0d167f493f [2023-03-15T14:21:19.258Z] ---> 0dc3b1a93743 [2023-03-15T14:21:19.258Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-15T14:21:19.842Z] ---> d874903630ad [2023-03-15T14:21:19.842Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T14:21:19.842Z] ---> Running in 3a6d71f20a5a [2023-03-15T14:21:22.428Z] Removing intermediate container 3a6d71f20a5a [2023-03-15T14:21:22.428Z] ---> 0a27ea9986e1 [2023-03-15T14:21:22.428Z] Step 9/23 : COPY . . [2023-03-15T14:21:23.837Z] ---> c1b1eaa8f039 [2023-03-15T14:21:23.837Z] Step 10/23 : RUN ${MAKE} [2023-03-15T14:21:23.837Z] ---> Running in 981de41ca476 [2023-03-15T14:21:24.795Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-15T14:23:46.474Z] Removing intermediate container 981de41ca476 [2023-03-15T14:23:46.474Z] ---> 484b399a2ce3 [2023-03-15T14:23:46.474Z] Step 11/23 : FROM alpine:3.17 [2023-03-15T14:23:46.474Z] 3.17: Pulling from library/alpine [2023-03-15T14:23:46.474Z] af6eaf76a39c: Already exists [2023-03-15T14:23:46.474Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T14:23:46.474Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T14:23:46.474Z] ---> d74e625d9115 [2023-03-15T14:23:46.474Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-15T14:23:46.474Z] ---> Running in 3dee07ad8c72 [2023-03-15T14:23:46.474Z] Removing intermediate container 3dee07ad8c72 [2023-03-15T14:23:46.474Z] ---> 03d2f6fabbdc [2023-03-15T14:23:46.474Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-15T14:23:46.474Z] ---> Running in 24b7585e40ac [2023-03-15T14:23:46.474Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T14:23:46.474Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T14:23:46.474Z] OK: 7 MiB in 15 packages [2023-03-15T14:23:46.474Z] Removing intermediate container 24b7585e40ac [2023-03-15T14:23:46.474Z] ---> 0532be91c0ed [2023-03-15T14:23:46.474Z] Step 14/23 : WORKDIR / [2023-03-15T14:23:46.474Z] ---> Running in 498d43e45fb3 [2023-03-15T14:23:46.474Z] Removing intermediate container 498d43e45fb3 [2023-03-15T14:23:46.474Z] ---> 005e1ebaad02 [2023-03-15T14:23:46.474Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-15T14:23:46.474Z] ---> 32f21aac0d9d [2023-03-15T14:23:46.474Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-15T14:23:46.474Z] ---> 53e48cc51f6f [2023-03-15T14:23:46.474Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-15T14:23:46.474Z] ---> 02f019722588 [2023-03-15T14:23:46.474Z] Step 18/23 : EXPOSE 59999 [2023-03-15T14:23:46.474Z] ---> Running in f9c3e2d30e0e [2023-03-15T14:23:46.474Z] Removing intermediate container f9c3e2d30e0e [2023-03-15T14:23:46.474Z] ---> fad958156cbf [2023-03-15T14:23:46.474Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-15T14:23:46.474Z] ---> Running in 621fc975cc72 [2023-03-15T14:23:46.474Z] Removing intermediate container 621fc975cc72 [2023-03-15T14:23:46.474Z] ---> d177dd53215f [2023-03-15T14:23:46.474Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-15T14:23:46.474Z] ---> Running in 95dd1a25adb7 [2023-03-15T14:23:46.474Z] Removing intermediate container 95dd1a25adb7 [2023-03-15T14:23:46.474Z] ---> 2b989726af6a [2023-03-15T14:23:46.474Z] Step 21/23 : LABEL arch=arm64 [2023-03-15T14:23:46.474Z] ---> Running in ab604b0e965e [2023-03-15T14:23:46.474Z] Removing intermediate container ab604b0e965e [2023-03-15T14:23:46.474Z] ---> 0ebf7a5fddd9 [2023-03-15T14:23:46.474Z] Step 22/23 : LABEL git_sha=245f2de2247f6da8fb5fe016f065fa8fa3d7283c [2023-03-15T14:23:46.474Z] ---> Running in 848fce40cc92 [2023-03-15T14:23:46.474Z] Removing intermediate container 848fce40cc92 [2023-03-15T14:23:46.474Z] ---> fa30557eef1a [2023-03-15T14:23:46.474Z] Step 23/23 : LABEL version=0.0.0 [2023-03-15T14:23:46.474Z] ---> Running in e822daae2d0d [2023-03-15T14:23:46.474Z] Removing intermediate container e822daae2d0d [2023-03-15T14:23:46.474Z] ---> 4e0d9d9a9ca1 [2023-03-15T14:23:46.474Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T14:23:46.474Z] Successfully built 4e0d9d9a9ca1 [2023-03-15T14:23:46.474Z] 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-03-15T14:23:47.276Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T14:23:47.276Z] [2023-03-15T14:23:47.276Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T14:23:47.672Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T14:23:47.672Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-15T14:23:47.672Z] 8998bd30e6a1: Pulling fs layer [2023-03-15T14:23:47.672Z] 04944245beec: Pulling fs layer [2023-03-15T14:23:47.672Z] 699f458cf7ca: Pulling fs layer [2023-03-15T14:23:47.672Z] 765212b225bb: Pulling fs layer [2023-03-15T14:23:47.672Z] f23df028b6ca: Pulling fs layer [2023-03-15T14:23:47.672Z] d65c8cfc05b1: Pulling fs layer [2023-03-15T14:23:47.672Z] 2437ff75d9bd: Pulling fs layer [2023-03-15T14:23:47.672Z] f23df028b6ca: Waiting [2023-03-15T14:23:47.672Z] d65c8cfc05b1: Waiting [2023-03-15T14:23:47.672Z] 2437ff75d9bd: Waiting [2023-03-15T14:23:47.672Z] 765212b225bb: Waiting [2023-03-15T14:23:47.940Z] 04944245beec: Verifying Checksum [2023-03-15T14:23:47.940Z] 04944245beec: Download complete [2023-03-15T14:23:47.940Z] 765212b225bb: Download complete [2023-03-15T14:23:47.940Z] f23df028b6ca: Verifying Checksum [2023-03-15T14:23:47.940Z] f23df028b6ca: Download complete [2023-03-15T14:23:47.940Z] d65c8cfc05b1: Verifying Checksum [2023-03-15T14:23:47.940Z] d65c8cfc05b1: Download complete [2023-03-15T14:23:48.208Z] 699f458cf7ca: Verifying Checksum [2023-03-15T14:23:48.208Z] 699f458cf7ca: Download complete [2023-03-15T14:23:48.474Z] 8998bd30e6a1: Verifying Checksum [2023-03-15T14:23:48.474Z] 8998bd30e6a1: Download complete [2023-03-15T14:23:50.413Z] 2437ff75d9bd: Download complete [2023-03-15T14:23:51.820Z] 8998bd30e6a1: Pull complete [2023-03-15T14:23:52.401Z] 04944245beec: Pull complete [2023-03-15T14:23:53.356Z] 699f458cf7ca: Pull complete [2023-03-15T14:23:53.623Z] 765212b225bb: Pull complete [2023-03-15T14:23:54.203Z] f23df028b6ca: Pull complete [2023-03-15T14:23:54.470Z] d65c8cfc05b1: Pull complete [2023-03-15T14:24:06.768Z] 2437ff75d9bd: Pull complete [2023-03-15T14:24:06.768Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-15T14:24:06.768Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T14:24:06.768Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T14:24:07.089Z] prd-ubuntu20.04-docker-arm64-4c-16g-464 does not seem to be running inside a container [2023-03-15T14:24:07.155Z] $ 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-03-15T14:24:09.546Z] $ docker top 1402499b542fe58c4b9118a362a7ee3dbb1a0589898455f927aeec2eb5737eba -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T14:24:10.442Z] ---> job-cost.sh [2023-03-15T14:24:10.442Z] lf-activate-venv: SKIPPING [2023-03-15T14:24:10.442Z] INFO: No Stack... [2023-03-15T14:24:10.711Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-15T14:24:11.674Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T14:24:12.020Z] + + catcut /w/workspace/device-sdk-go/1/archives/cost.csv -d, [2023-03-15T14:24:12.020Z] -f6 [Pipeline] lock [2023-03-15T14:24:12.114Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1387-1-stack-cost] [2023-03-15T14:24:12.118Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1387-1-stack-cost] did not exist. Created. [2023-03-15T14:24:12.119Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1387-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T14:24:12.839Z] /w/workspace/device-sdk-go/1@tmp/durable-fca061e0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-15T14:24:13.192Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-15T14:24:13.226Z] Warning: overwriting stash ‘stack-cost’ [2023-03-15T14:24:13.285Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T14:24:13.299Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1387-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T14:24:13.373Z] $ docker stop --time=1 1402499b542fe58c4b9118a362a7ee3dbb1a0589898455f927aeec2eb5737eba [2023-03-15T14:24:14.808Z] $ docker rm -f --volumes 1402499b542fe58c4b9118a362a7ee3dbb1a0589898455f927aeec2eb5737eba [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-03-15T14:24:15.752Z] provisioning config files... [2023-03-15T14:24:15.760Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp/config3884683521503142420tmp [Pipeline] { [Pipeline] sh [2023-03-15T14:24:16.099Z] + set +x [2023-03-15T14:24:16.099Z] + curl -s https://codecov.io/bash [2023-03-15T14:24:16.099Z] + bash -s -- [2023-03-15T14:24:16.099Z] [2023-03-15T14:24:16.099Z] _____ _ [2023-03-15T14:24:16.099Z] / ____| | | [2023-03-15T14:24:16.099Z] | | ___ __| | ___ ___ _____ __ [2023-03-15T14:24:16.099Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-15T14:24:16.099Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-15T14:24:16.099Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-15T14:24:16.099Z] Bash-1.0.6 [2023-03-15T14:24:16.099Z] [2023-03-15T14:24:16.099Z] [2023-03-15T14:24:16.099Z] ==> git version 2.25.1 found [2023-03-15T14:24:16.099Z] ==> 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-03-15T14:24:16.099Z] Release-Date: 2020-01-08 [2023-03-15T14:24:16.099Z] 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-03-15T14:24:16.099Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-15T14:24:16.099Z] ==> Jenkins CI detected. [2023-03-15T14:24:16.099Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1387 [2023-03-15T14:24:16.099Z] project root: . [2023-03-15T14:24:16.099Z] --> token set from env [2023-03-15T14:24:16.099Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-15T14:24:16.099Z] ==> Running gcov in . (disable via -X gcov) [2023-03-15T14:24:16.099Z] ==> Python coveragepy not found [2023-03-15T14:24:16.099Z] ==> Searching for coverage reports in: [2023-03-15T14:24:16.099Z] + . [2023-03-15T14:24:16.099Z] -> Found 1 reports [2023-03-15T14:24:16.099Z] ==> Detecting git/mercurial file structure [2023-03-15T14:24:16.099Z] ==> Reading reports [2023-03-15T14:24:16.099Z] + ./coverage.out bytes=109536 [2023-03-15T14:24:16.099Z] ==> Appending adjustments [2023-03-15T14:24:16.099Z] https://docs.codecov.io/docs/fixing-reports [2023-03-15T14:24:16.358Z] + Found adjustments [2023-03-15T14:24:16.358Z] ==> Gzipping contents [2023-03-15T14:24:16.622Z] 16K /tmp/codecov.31r9eV.gz [2023-03-15T14:24:16.622Z] ==> Uploading reports [2023-03-15T14:24:16.622Z] url: https://codecov.io [2023-03-15T14:24:16.622Z] query: branch=PR-1387&commit=245f2de2247f6da8fb5fe016f065fa8fa3d7283c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1387%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1387&job=&cmd_args= [2023-03-15T14:24:16.622Z] -> Pinging Codecov [2023-03-15T14:24:16.622Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1387&commit=245f2de2247f6da8fb5fe016f065fa8fa3d7283c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1387%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1387&job=&cmd_args= [2023-03-15T14:24:16.622Z] -> Uploading to [2023-03-15T14:24:16.622Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-15/7E55EF52A471D76F132DFD9A03CDDE97/245f2de2247f6da8fb5fe016f065fa8fa3d7283c/383049c0-080a-42af-aaf4-b549a758a371.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T142416Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=33297edf9fde969ef5c8623c9498e312267fb27db9763909ba4bf147d6fe0a17 [2023-03-15T14:24:16.622Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T14:24:16.622Z] Dload Upload Total Spent Left Speed [2023-03-15T14:24:16.883Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15231 0 0 100 15231 0 50939 --:--:-- --:--:-- --:--:-- 50939 [2023-03-15T14:24:16.883Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/245f2de2247f6da8fb5fe016f065fa8fa3d7283c [Pipeline] } [2023-03-15T14:24:16.910Z] 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-03-15T14:24:18.635Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1387/archives ] [2023-03-15T14:24:18.635Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1387/archives [2023-03-15T14:24:18.635Z] total 16 [2023-03-15T14:24:18.635Z] drwxr-xr-x 3 root root 4096 Mar 15 14:11 . [2023-03-15T14:24:18.635Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 14:11 .. [2023-03-15T14:24:18.635Z] drwxr-xr-x 2 root root 4096 Mar 15 14:11 cost [2023-03-15T14:24:18.635Z] -rw-r--r-- 1 root root 86 Mar 15 14:11 cost.csv [2023-03-15T14:24:18.635Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1387/archives [2023-03-15T14:24:18.635Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1387/archives [2023-03-15T14:24:18.635Z] total 16 [2023-03-15T14:24:18.635Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 14:11 . [2023-03-15T14:24:18.635Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 14:11 .. [2023-03-15T14:24:18.635Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 14:11 cost [2023-03-15T14:24:18.635Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 15 14:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-15T14:24:18.967Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T14:24:19.855Z] ---> package-listing.sh [2023-03-15T14:24:19.856Z] ++ facter osfamily [2023-03-15T14:24:19.856Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-15T14:24:20.119Z] + OS_FAMILY=debian [2023-03-15T14:24:20.120Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1387 [2023-03-15T14:24:20.120Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-15T14:24:20.120Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-15T14:24:20.120Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-15T14:24:20.120Z] + PACKAGES=/tmp/packages_start.txt [2023-03-15T14:24:20.120Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1387 ']' [2023-03-15T14:24:20.120Z] + PACKAGES=/tmp/packages_end.txt [2023-03-15T14:24:20.120Z] + case "${OS_FAMILY}" in [2023-03-15T14:24:20.120Z] + dpkg -l [2023-03-15T14:24:20.120Z] + grep '^ii' [2023-03-15T14:24:20.120Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-15T14:24:20.120Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-15T14:24:20.120Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-15T14:24:20.120Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1387 ']' [2023-03-15T14:24:20.120Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1387/archives/ [2023-03-15T14:24:20.120Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1387/archives/ [Pipeline] echo [2023-03-15T14:24:20.153Z] 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-1387/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-15T14:24:20.443Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T14:24:21.147Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T14:24:21.147Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T14:24:21.287Z] prd-ubuntu20.04-docker-8c-8g-463 does not seem to be running inside a container [2023-03-15T14:24:21.315Z] $ 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-1387/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-1387 -v /w/workspace/gexfoundry_device-sdk-go_PR-1387:/w/workspace/gexfoundry_device-sdk-go_PR-1387:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-15T14:24:21.500Z] $ docker top 21d511857bfa9e3d6a8d13c136f816281b8f0c570b91f0c4dcde8cd06b971e3c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T14:24:21.887Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-15T14:24:22.193Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-15T14:24:22.497Z] + ls /var/log/sa-host [2023-03-15T14:24:22.497Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T14:24:22.620Z] provisioning config files... [2023-03-15T14:24:22.631Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1387@tmp/config12138537057095381786tmp [Pipeline] { [Pipeline] echo [2023-03-15T14:24:22.675Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T14:24:22.987Z] ---> create-netrc.sh [Pipeline] } [2023-03-15T14:24:23.014Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-15T14:24:23.404Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-15T14:24:23.440Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T14:24:23.751Z] ---> sudo-logs.sh [2023-03-15T14:24:23.751Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-15T14:24:23.836Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T14:24:24.148Z] ---> job-cost.sh [2023-03-15T14:24:24.148Z] lf-activate-venv: SKIPPING [2023-03-15T14:24:24.148Z] DEBUG: total: 0.2199999988079071 [2023-03-15T14:24:24.148Z] INFO: Retrieving Stack Cost... [2023-03-15T14:24:24.409Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T14:24:24.978Z] INFO: Archiving Costs [Pipeline] echo [2023-03-15T14:24:25.013Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T14:24:25.330Z] ---> logs-deploy.sh [2023-03-15T14:24:25.330Z] lf-activate-venv: SKIPPING [2023-03-15T14:24:25.330Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1387/1 [2023-03-15T14:24:25.330Z] INFO: archiving workspace using pattern(s): [2023-03-15T14:24:26.267Z] Archives upload complete. [2023-03-15T14:24:26.267Z] INFO: archiving logs to Nexus