Pull request #1386 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 9bade9fb8ad7b1ba90f4944641889e9ddeadd73b+6f965a0b85b542f54aab8de1c6c68203c2ba52ef (8d0539e1ee606300ab252384a79e434eb87c1caa) 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-ssh16297132128063134394.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-ssh13150576527463035509.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-1386/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-1386/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4010074203373791785.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-1386/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3244951122510825514.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-ssh4547439912088909610.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-1386/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-1386/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9042877114989428187.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 Running on prd-ubuntu20.04-docker-8c-8g-458 in /w/workspace/gexfoundry_device-sdk-go_PR-1386 [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-1386 # 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/1386/head:refs/remotes/origin/PR-1386 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 6f965a0b85b542f54aab8de1c6c68203c2ba52ef into PR head commit 9bade9fb8ad7b1ba90f4944641889e9ddeadd73b Merge succeeded, producing 9bade9fb8ad7b1ba90f4944641889e9ddeadd73b Checking out Revision 9bade9fb8ad7b1ba90f4944641889e9ddeadd73b (PR-1386) > git config core.sparsecheckout # timeout=10 > git checkout -f 9bade9fb8ad7b1ba90f4944641889e9ddeadd73b # 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 9bade9fb8ad7b1ba90f4944641889e9ddeadd73b # timeout=10 Commit message: "feat!: change device definition file to YAML format" 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:02:00.529Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-15T14:02:00.702Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-15T14:02:00.806Z] ========================================================= [2023-03-15T14:02:00.806Z] EdgeX Global Pipelines Version Info [2023-03-15T14:02:00.806Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-15T14:02:01.549Z] ------------------- [2023-03-15T14:02:01.549Z] stable info: [2023-03-15T14:02:01.549Z] ------------------- [2023-03-15T14:02:01.549Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-15T14:02:01.549Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-15T14:02:01.549Z] Message: update stable to v1.0.245 [2023-03-15T14:02:02.121Z] ------------------- [2023-03-15T14:02:02.121Z] experimental info: [2023-03-15T14:02:02.121Z] ------------------- [2023-03-15T14:02:02.121Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-15T14:02:02.121Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-15T14:02:02.121Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-15T14:02:02.397Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-15T14:02:02.433Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-15T14:02:02.474Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-15T14:02:02.509Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-15T14:02:02.552Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-15T14:02:02.593Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-15T14:02:02.635Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-15T14:02:02.681Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-15T14:02:02.717Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-15T14:02:02.756Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-15T14:02:02.795Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-15T14:02:02.840Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-15T14:02:02.875Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-15T14:02:02.913Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-15T14:02:02.952Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-15T14:02:02.993Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T14:02:03.031Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T14:02:03.071Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-15T14:02:03.109Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-15T14:02:03.148Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-15T14:02:03.191Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-15T14:02:03.228Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-15T14:02:03.271Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-15T14:02:03.311Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-15T14:02:03.349Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-15T14:02:03.393Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-15T14:02:03.437Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-15T14:02:03.480Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1386 [Pipeline] echo [2023-03-15T14:02:03.519Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1386 [Pipeline] echo [2023-03-15T14:02:03.565Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1386 [Pipeline] echo [2023-03-15T14:02:03.611Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9bade9fb8ad7b1ba90f4944641889e9ddeadd73b [Pipeline] echo [2023-03-15T14:02:03.653Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9bade9f [Pipeline] echo [2023-03-15T14:02:03.698Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T14:02:03.804Z] provisioning config files... [2023-03-15T14:02:03.817Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1386@tmp/config902165429768875568tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T14:02:04.153Z] ---> docker-login.sh [2023-03-15T14:02:04.153Z] nexus3.edgexfoundry.org:10001 [2023-03-15T14:02:04.414Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T14:02:04.414Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T14:02:04.414Z] Configure a credential helper to remove this warning. See [2023-03-15T14:02:04.414Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T14:02:04.414Z] [2023-03-15T14:02:04.414Z] Login Succeeded [2023-03-15T14:02:04.414Z] nexus3.edgexfoundry.org:10002 [2023-03-15T14:02:04.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T14:02:04.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T14:02:04.673Z] Configure a credential helper to remove this warning. See [2023-03-15T14:02:04.673Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T14:02:04.673Z] [2023-03-15T14:02:04.673Z] Login Succeeded [2023-03-15T14:02:04.673Z] nexus3.edgexfoundry.org:10003 [2023-03-15T14:02:04.673Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T14:02:04.673Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T14:02:04.673Z] Configure a credential helper to remove this warning. See [2023-03-15T14:02:04.674Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T14:02:04.674Z] [2023-03-15T14:02:04.674Z] Login Succeeded [2023-03-15T14:02:04.674Z] nexus3.edgexfoundry.org:10004 [2023-03-15T14:02:04.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T14:02:04.933Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T14:02:04.933Z] Configure a credential helper to remove this warning. See [2023-03-15T14:02:04.933Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T14:02:04.933Z] [2023-03-15T14:02:04.933Z] Login Succeeded [2023-03-15T14:02:04.933Z] docker.io [2023-03-15T14:02:04.933Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T14:02:05.193Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T14:02:05.193Z] Configure a credential helper to remove this warning. See [2023-03-15T14:02:05.193Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T14:02:05.193Z] [2023-03-15T14:02:05.193Z] Login Succeeded [2023-03-15T14:02:05.193Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T14:02:05.221Z] 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:02:05.847Z] + git rev-list -1 --merges 9bade9fb8ad7b1ba90f4944641889e9ddeadd73b~1..9bade9fb8ad7b1ba90f4944641889e9ddeadd73b [Pipeline] echo [2023-03-15T14:02:05.882Z] -----------> git rev-list -1 --merges 9bade9fb8ad7b1ba90f4944641889e9ddeadd73b~1..9bade9fb8ad7b1ba90f4944641889e9ddeadd73b 9bade9fb8ad7b1ba90f4944641889e9ddeadd73b [false] [Pipeline] sh [2023-03-15T14:02:06.200Z] + git log --format=format:%s -1 9bade9fb8ad7b1ba90f4944641889e9ddeadd73b [Pipeline] echo [2023-03-15T14:02:06.236Z] ========================================================= [2023-03-15T14:02:06.236Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-15T14:02:06.236Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T14:02:06.684Z] + git log --format=format:%s -1 9bade9fb8ad7b1ba90f4944641889e9ddeadd73b [Pipeline] echo [2023-03-15T14:02:06.717Z] [semverPrep] GIT_COMMIT: 9bade9fb8ad7b1ba90f4944641889e9ddeadd73b, Commit Message: feat!: change device definition file to YAML format [Pipeline] echo [2023-03-15T14:02:06.749Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-15T14:02:07.172Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-15T14:02:07.172Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-15T14:02:07.172Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-15T14:02:07.172Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-15T14:02:07.172Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-15T14:02:07.172Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-15T14:02:07.172Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T14:02:07.663Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T14:02:07.663Z] [2023-03-15T14:02:07.663Z] 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:02:08.048Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T14:02:08.048Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-15T14:02:08.048Z] b85a868b505f: Pulling fs layer [2023-03-15T14:02:08.048Z] e2be974225ed: Pulling fs layer [2023-03-15T14:02:08.048Z] 339a4e72a1f5: Pulling fs layer [2023-03-15T14:02:08.048Z] 988bab9f4d93: Pulling fs layer [2023-03-15T14:02:08.048Z] 1469e6f7b9e6: Pulling fs layer [2023-03-15T14:02:08.048Z] eaf3925da568: Pulling fs layer [2023-03-15T14:02:08.048Z] bab4dde63d76: Pulling fs layer [2023-03-15T14:02:08.048Z] bde34c3a00c8: Pulling fs layer [2023-03-15T14:02:08.048Z] b352a97aabf1: Pulling fs layer [2023-03-15T14:02:08.048Z] 4872d77fe225: Pulling fs layer [2023-03-15T14:02:08.048Z] 5851b861e8e6: Pulling fs layer [2023-03-15T14:02:08.048Z] eaf3925da568: Waiting [2023-03-15T14:02:08.048Z] bab4dde63d76: Waiting [2023-03-15T14:02:08.048Z] bde34c3a00c8: Waiting [2023-03-15T14:02:08.048Z] 988bab9f4d93: Waiting [2023-03-15T14:02:08.048Z] b352a97aabf1: Waiting [2023-03-15T14:02:08.048Z] 4872d77fe225: Waiting [2023-03-15T14:02:08.048Z] 1469e6f7b9e6: Waiting [2023-03-15T14:02:08.048Z] 5851b861e8e6: Waiting [2023-03-15T14:02:08.048Z] e2be974225ed: Verifying Checksum [2023-03-15T14:02:08.048Z] e2be974225ed: Download complete [2023-03-15T14:02:08.048Z] 988bab9f4d93: Download complete [2023-03-15T14:02:08.311Z] 339a4e72a1f5: Verifying Checksum [2023-03-15T14:02:08.311Z] 339a4e72a1f5: Download complete [2023-03-15T14:02:08.311Z] eaf3925da568: Download complete [2023-03-15T14:02:08.311Z] 1469e6f7b9e6: Verifying Checksum [2023-03-15T14:02:08.311Z] b352a97aabf1: Download complete [2023-03-15T14:02:08.311Z] 4872d77fe225: Verifying Checksum [2023-03-15T14:02:08.311Z] 4872d77fe225: Download complete [2023-03-15T14:02:08.311Z] 5851b861e8e6: Verifying Checksum [2023-03-15T14:02:08.311Z] b85a868b505f: Verifying Checksum [2023-03-15T14:02:08.311Z] b85a868b505f: Download complete [2023-03-15T14:02:08.878Z] bab4dde63d76: Verifying Checksum [2023-03-15T14:02:08.878Z] bab4dde63d76: Download complete [2023-03-15T14:02:09.819Z] b85a868b505f: Pull complete [2023-03-15T14:02:09.819Z] e2be974225ed: Pull complete [2023-03-15T14:02:10.388Z] 339a4e72a1f5: Pull complete [2023-03-15T14:02:10.388Z] 988bab9f4d93: Pull complete [2023-03-15T14:02:10.388Z] 1469e6f7b9e6: Pull complete [2023-03-15T14:02:10.646Z] eaf3925da568: Pull complete [2023-03-15T14:02:12.022Z] bab4dde63d76: Pull complete [2023-03-15T14:02:12.282Z] bde34c3a00c8: Pull complete [2023-03-15T14:02:12.282Z] b352a97aabf1: Pull complete [2023-03-15T14:02:12.282Z] 4872d77fe225: Pull complete [2023-03-15T14:02:12.542Z] 5851b861e8e6: Pull complete [2023-03-15T14:02:12.542Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-15T14:02:12.542Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-15T14:02:12.542Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T14:02:12.766Z] prd-ubuntu20.04-docker-8c-8g-458 does not seem to be running inside a container [2023-03-15T14:02:12.804Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1386 -v /w/workspace/gexfoundry_device-sdk-go_PR-1386:/w/workspace/gexfoundry_device-sdk-go_PR-1386:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1386@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1386@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:02:13.924Z] $ docker top 712dbbb490cb2c4b97931e3eca786e5ec0257c1f2144a03a9238fc70b64a043c -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-15T14:02:14.104Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T14:02:14.104Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T14:02:14.217Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T14:02:14.225Z] $ docker exec 712dbbb490cb2c4b97931e3eca786e5ec0257c1f2144a03a9238fc70b64a043c ssh-agent [2023-03-15T14:02:14.322Z] SSH_AUTH_SOCK=/tmp/ssh-rl1D5saKU1zQ/agent.32 [2023-03-15T14:02:14.322Z] SSH_AGENT_PID=38 [2023-03-15T14:02:14.328Z] Running ssh-add (command line suppressed) [2023-03-15T14:02:14.436Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1386@tmp/private_key_13309471071218175910.key (/w/workspace/gexfoundry_device-sdk-go_PR-1386@tmp/private_key_13309471071218175910.key) [2023-03-15T14:02:14.446Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T14:02:14.781Z] + git tag --points-at HEAD [Pipeline] } [2023-03-15T14:02:14.813Z] $ docker exec --env ******** --env ******** 712dbbb490cb2c4b97931e3eca786e5ec0257c1f2144a03a9238fc70b64a043c ssh-agent -k [2023-03-15T14:02:14.921Z] unset SSH_AUTH_SOCK; [2023-03-15T14:02:14.921Z] unset SSH_AGENT_PID; [2023-03-15T14:02:14.921Z] echo Agent pid 38 killed; [2023-03-15T14:02:14.925Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-15T14:02:15.020Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-15T14:02:15.020Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-15T14:02:15.143Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-15T14:02:15.155Z] $ docker exec 712dbbb490cb2c4b97931e3eca786e5ec0257c1f2144a03a9238fc70b64a043c ssh-agent [2023-03-15T14:02:15.278Z] SSH_AUTH_SOCK=/tmp/ssh-k7A08tLlCxL1/agent.70 [2023-03-15T14:02:15.278Z] SSH_AGENT_PID=76 [2023-03-15T14:02:15.284Z] Running ssh-add (command line suppressed) [2023-03-15T14:02:15.392Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1386@tmp/private_key_9784568653917771332.key (/w/workspace/gexfoundry_device-sdk-go_PR-1386@tmp/private_key_9784568653917771332.key) [2023-03-15T14:02:15.403Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-15T14:02:15.762Z] + git semver init [2023-03-15T14:02:16.025Z] 2023-03-15 14:02:15,988 [run_init] DEBUG init version:0.0.0 force:False [2023-03-15T14:02:16.025Z] 2023-03-15 14:02:15,989 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1386/.semver [2023-03-15T14:02:16.025Z] 2023-03-15 14:02:15,989 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1386/.semver [2023-03-15T14:02:16.025Z] 2023-03-15 14:02:15,990 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1386/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1386, universal_newlines=False, shell=None, istream=None) [2023-03-15T14:02:16.965Z] 2023-03-15 14:02:16,889 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1386/.git/info/exclude [2023-03-15T14:02:16.965Z] 2023-03-15 14:02:16,890 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1386/.semver/PR-1386 with force:False [2023-03-15T14:02:16.965Z] 2023-03-15 14:02:16,890 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1386/.semver/PR-1386 [2023-03-15T14:02:16.965Z] 2023-03-15 14:02:16,894 [execute] INFO git cat-file --batch-check [2023-03-15T14:02:16.965Z] 2023-03-15 14:02:16,894 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1386/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T14:02:16.965Z] 2023-03-15 14:02:16,901 [execute] INFO git cat-file --batch [2023-03-15T14:02:16.965Z] 2023-03-15 14:02:16,901 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1386/.semver, universal_newlines=False, shell=None, istream=) [2023-03-15T14:02:16.965Z] 2023-03-15 14:02:16,906 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1386/.semver/PR-1386 [2023-03-15T14:02:16.965Z] 0.0.0 [Pipeline] } [2023-03-15T14:02:16.998Z] $ docker exec --env ******** --env ******** 712dbbb490cb2c4b97931e3eca786e5ec0257c1f2144a03a9238fc70b64a043c ssh-agent -k [2023-03-15T14:02:17.096Z] unset SSH_AUTH_SOCK; [2023-03-15T14:02:17.096Z] unset SSH_AGENT_PID; [2023-03-15T14:02:17.097Z] echo Agent pid 76 killed; [2023-03-15T14:02:17.100Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-15T14:02:17.533Z] + git semver [Pipeline] } [2023-03-15T14:02:17.826Z] $ docker stop --time=1 712dbbb490cb2c4b97931e3eca786e5ec0257c1f2144a03a9238fc70b64a043c [2023-03-15T14:02:19.112Z] $ docker rm -f --volumes 712dbbb490cb2c4b97931e3eca786e5ec0257c1f2144a03a9238fc70b64a043c [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T14:02:19.505Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-15T14:02:19.797Z] Stashed 1 file(s) [Pipeline] echo [2023-03-15T14:02:19.849Z] [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:02:20.399Z] provisioning config files... [2023-03-15T14:02:20.410Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1386@tmp/config6101024107997733213tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T14:02:20.753Z] ---> docker-login.sh [2023-03-15T14:02:20.753Z] nexus3.edgexfoundry.org:10001 [2023-03-15T14:02:20.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T14:02:20.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T14:02:20.753Z] Configure a credential helper to remove this warning. See [2023-03-15T14:02:20.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T14:02:20.753Z] [2023-03-15T14:02:20.753Z] Login Succeeded [2023-03-15T14:02:20.753Z] nexus3.edgexfoundry.org:10002 [2023-03-15T14:02:20.753Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T14:02:20.753Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T14:02:20.753Z] Configure a credential helper to remove this warning. See [2023-03-15T14:02:20.753Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T14:02:20.753Z] [2023-03-15T14:02:20.753Z] Login Succeeded [2023-03-15T14:02:20.753Z] nexus3.edgexfoundry.org:10003 [2023-03-15T14:02:21.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T14:02:21.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T14:02:21.015Z] Configure a credential helper to remove this warning. See [2023-03-15T14:02:21.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T14:02:21.015Z] [2023-03-15T14:02:21.015Z] Login Succeeded [2023-03-15T14:02:21.015Z] nexus3.edgexfoundry.org:10004 [2023-03-15T14:02:21.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T14:02:21.015Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T14:02:21.015Z] Configure a credential helper to remove this warning. See [2023-03-15T14:02:21.015Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T14:02:21.015Z] [2023-03-15T14:02:21.015Z] Login Succeeded [2023-03-15T14:02:21.015Z] docker.io [2023-03-15T14:02:21.015Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T14:02:21.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T14:02:21.275Z] Configure a credential helper to remove this warning. See [2023-03-15T14:02:21.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T14:02:21.275Z] [2023-03-15T14:02:21.275Z] Login Succeeded [2023-03-15T14:02:21.275Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T14:02:21.311Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T14:02:21.495Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T14:02:21.530Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T14:02:21.560Z] ========================================================= [2023-03-15T14:02:21.560Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-15T14:02:21.560Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T14:02:22.022Z] + 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:02:22.023Z] Sending build context to Docker daemon 10.83MB [2023-03-15T14:02:22.023Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T14:02:22.023Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-15T14:02:22.023Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-15T14:02:22.023Z] 63b65145d645: Pulling fs layer [2023-03-15T14:02:22.023Z] a2d21d5440eb: Pulling fs layer [2023-03-15T14:02:22.023Z] 935e6c44a52c: Pulling fs layer [2023-03-15T14:02:22.023Z] 94cc34f8dd06: Pulling fs layer [2023-03-15T14:02:22.023Z] 30dea6a524f1: Pulling fs layer [2023-03-15T14:02:22.023Z] a2aff8979fd8: Pulling fs layer [2023-03-15T14:02:22.023Z] 6808be2612f2: Pulling fs layer [2023-03-15T14:02:22.023Z] f25807f1079a: Pulling fs layer [2023-03-15T14:02:22.023Z] 30dea6a524f1: Waiting [2023-03-15T14:02:22.023Z] a2aff8979fd8: Waiting [2023-03-15T14:02:22.023Z] 6808be2612f2: Waiting [2023-03-15T14:02:22.023Z] 94cc34f8dd06: Waiting [2023-03-15T14:02:22.023Z] f25807f1079a: Waiting [2023-03-15T14:02:22.023Z] a2d21d5440eb: Verifying Checksum [2023-03-15T14:02:22.023Z] a2d21d5440eb: Download complete [2023-03-15T14:02:22.284Z] 94cc34f8dd06: Download complete [2023-03-15T14:02:22.284Z] 30dea6a524f1: Verifying Checksum [2023-03-15T14:02:22.284Z] 30dea6a524f1: Download complete [2023-03-15T14:02:22.284Z] 63b65145d645: Download complete [2023-03-15T14:02:22.284Z] a2aff8979fd8: Verifying Checksum [2023-03-15T14:02:22.284Z] a2aff8979fd8: Download complete [2023-03-15T14:02:22.284Z] 63b65145d645: Pull complete [2023-03-15T14:02:22.548Z] a2d21d5440eb: Pull complete [2023-03-15T14:02:23.016Z] f25807f1079a: Verifying Checksum [2023-03-15T14:02:23.016Z] f25807f1079a: Download complete [2023-03-15T14:02:23.957Z] 935e6c44a52c: Verifying Checksum [2023-03-15T14:02:23.957Z] 935e6c44a52c: Download complete [2023-03-15T14:02:24.238Z] 6808be2612f2: Verifying Checksum [2023-03-15T14:02:24.499Z] 6808be2612f2: Download complete [2023-03-15T14:02:27.041Z] 935e6c44a52c: Pull complete [2023-03-15T14:02:27.041Z] 94cc34f8dd06: Pull complete [2023-03-15T14:02:27.041Z] 30dea6a524f1: Pull complete [2023-03-15T14:02:27.041Z] a2aff8979fd8: Pull complete [2023-03-15T14:02:29.571Z] 6808be2612f2: Pull complete [2023-03-15T14:02:30.138Z] f25807f1079a: Pull complete [2023-03-15T14:02:30.138Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-15T14:02:30.138Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-15T14:02:30.138Z] ---> 3b553350e43f [2023-03-15T14:02:30.138Z] Step 3/10 : ARG MAKE=make build [2023-03-15T14:02:31.516Z] ---> Running in 009779697af6 [2023-03-15T14:02:31.516Z] Removing intermediate container 009779697af6 [2023-03-15T14:02:31.516Z] ---> dbd8290dd0ec [2023-03-15T14:02:31.516Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-15T14:02:31.516Z] ---> Running in ceb22704e05b [2023-03-15T14:02:31.516Z] Removing intermediate container ceb22704e05b [2023-03-15T14:02:31.516Z] ---> d0918ed1edd8 [2023-03-15T14:02:31.516Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-15T14:02:31.516Z] ---> Running in 3c18141181d3 [2023-03-15T14:02:31.775Z] Removing intermediate container 3c18141181d3 [2023-03-15T14:02:31.775Z] ---> 306bb23b5d18 [2023-03-15T14:02:31.775Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-15T14:02:31.775Z] ---> Running in 5544c8e5852c [2023-03-15T14:02:32.033Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T14:02:32.292Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T14:02:32.552Z] OK: 265 MiB in 53 packages [2023-03-15T14:02:33.121Z] Removing intermediate container 5544c8e5852c [2023-03-15T14:02:33.121Z] ---> 505f8da1a151 [2023-03-15T14:02:33.121Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-15T14:02:33.121Z] ---> fc31d15071f7 [2023-03-15T14:02:33.121Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T14:02:33.121Z] ---> Running in 764650fe31b2 [2023-03-15T14:02:35.235Z] Still waiting to schedule task [2023-03-15T14:02:35.236Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-15T14:03:11.843Z] Removing intermediate container 764650fe31b2 [2023-03-15T14:03:11.843Z] ---> f761b3ede7f3 [2023-03-15T14:03:11.843Z] Step 9/10 : COPY . . [2023-03-15T14:03:11.843Z] ---> 15865815f24e [2023-03-15T14:03:11.843Z] Step 10/10 : RUN ${MAKE} [2023-03-15T14:03:11.843Z] ---> Running in 2421376449fe [2023-03-15T14:03:11.843Z] noop [2023-03-15T14:03:11.843Z] Removing intermediate container 2421376449fe [2023-03-15T14:03:11.843Z] ---> 876a03df46e7 [2023-03-15T14:03:11.843Z] Successfully built 876a03df46e7 [2023-03-15T14:03:11.843Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T14:03:12.300Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T14:03:12.300Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T14:03:12.445Z] prd-ubuntu20.04-docker-8c-8g-458 does not seem to be running inside a container [2023-03-15T14:03:12.485Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1386 -v /w/workspace/gexfoundry_device-sdk-go_PR-1386:/w/workspace/gexfoundry_device-sdk-go_PR-1386:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1386@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1386@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:03:12.823Z] $ docker top 2efdd6ecafe300ea710a78417ff170fcae0cf925d36480492235c9fcd411c60c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T14:03:13.214Z] + go version [2023-03-15T14:03:13.215Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-15T14:03:13.248Z] $ docker stop --time=1 2efdd6ecafe300ea710a78417ff170fcae0cf925d36480492235c9fcd411c60c [2023-03-15T14:03:14.571Z] $ docker rm -f --volumes 2efdd6ecafe300ea710a78417ff170fcae0cf925d36480492235c9fcd411c60c [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:03:15.263Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-15T14:03:15.264Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T14:03:15.409Z] prd-ubuntu20.04-docker-8c-8g-458 does not seem to be running inside a container [2023-03-15T14:03:15.450Z] $ 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-1386 -v /w/workspace/gexfoundry_device-sdk-go_PR-1386:/w/workspace/gexfoundry_device-sdk-go_PR-1386:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1386@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1386@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:03:15.812Z] $ docker top 9b6a7f6ee0807f7adde476a80c10c74e4cafd68f379f2140c33a292bc8694e61 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T14:03:16.202Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1386 [Pipeline] fileExists [Pipeline] sh [2023-03-15T14:03:16.568Z] + make test [2023-03-15T14:03:16.569Z] go test -race -coverprofile=coverage.out ./... [2023-03-15T14:03:23.137Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-15T14:03:38.017Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-15T14:03:38.017Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-15T14:03:38.017Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-15T14:03:38.017Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-15T14:03:38.017Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-15T14:03:38.276Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.051s coverage: 27.6% of statements [2023-03-15T14:03:38.534Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-15T14:03:38.534Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-15T14:03:38.534Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.058s coverage: 78.9% of statements [2023-03-15T14:03:38.534Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.072s coverage: 86.0% of statements [2023-03-15T14:03:39.468Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-15T14:03:39.468Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-15T14:03:39.726Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-15T14:03:39.726Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-15T14:03:39.726Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.140s coverage: 75.9% of statements [2023-03-15T14:03:40.663Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-15T14:03:42.568Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.075s coverage: 15.2% of statements [2023-03-15T14:03:42.568Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.076s coverage: 65.7% of statements [2023-03-15T14:03:42.568Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.121s coverage: 89.2% of statements [2023-03-15T14:03:42.568Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.061s coverage: 5.5% of statements [2023-03-15T14:04:04.509Z] GO111MODULE=on go vet ./... [2023-03-15T14:04:05.446Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T14:04:05.447Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T14:04:05.447Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T14:04:05.480Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T14:04:05.513Z] $ docker stop --time=1 9b6a7f6ee0807f7adde476a80c10c74e4cafd68f379f2140c33a292bc8694e61 [2023-03-15T14:04:07.385Z] $ docker rm -f --volumes 9b6a7f6ee0807f7adde476a80c10c74e4cafd68f379f2140c33a292bc8694e61 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T14:04:07.988Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T14:04:08.072Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-15T14:04:08.755Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T14:04:09.063Z] + ls -al . [2023-03-15T14:04:09.063Z] total 276 [2023-03-15T14:04:09.063Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 15 14:03 . [2023-03-15T14:04:09.063Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 14:01 .. [2023-03-15T14:04:09.063Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 14:01 .dockerignore [2023-03-15T14:04:09.063Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 14:02 .git [2023-03-15T14:04:09.063Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 14:01 .github [2023-03-15T14:04:09.063Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 15 14:01 .gitignore [2023-03-15T14:04:09.063Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 15 14:01 .golangci.yml [2023-03-15T14:04:09.063Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 14:02 .semver [2023-03-15T14:04:09.063Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 15 14:01 CHANGELOG.md [2023-03-15T14:04:09.063Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 14:01 GOVERNANCE.md [2023-03-15T14:04:09.063Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 15 14:01 Jenkinsfile [2023-03-15T14:04:09.063Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 15 14:01 LICENSE [2023-03-15T14:04:09.063Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 15 14:01 Makefile [2023-03-15T14:04:09.063Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 15 14:01 OWNERS.md [2023-03-15T14:04:09.063Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 15 14:01 README.md [2023-03-15T14:04:09.063Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 14:02 VERSION [2023-03-15T14:04:09.063Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 14:01 bin [2023-03-15T14:04:09.063Z] -rw-r--r-- 1 jenkins jenkins 109536 Mar 15 14:03 coverage.out [2023-03-15T14:04:09.063Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 15 14:01 example [2023-03-15T14:04:09.063Z] -rw-rw-r-- 1 jenkins jenkins 3290 Mar 15 14:01 go.mod [2023-03-15T14:04:09.063Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 15 14:01 go.sum [2023-03-15T14:04:09.063Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 14:01 internal [2023-03-15T14:04:09.063Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 14:01 openapi [2023-03-15T14:04:09.063Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 15 14:01 pkg [2023-03-15T14:04:09.063Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 14:01 snap [2023-03-15T14:04:09.063Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 15 14:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T14:04:09.454Z] + 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=9bade9fb8ad7b1ba90f4944641889e9ddeadd73b --label arch=amd64 --label version=0.0.0 . [2023-03-15T14:04:09.454Z] Sending build context to Docker daemon 10.94MB [2023-03-15T14:04:09.454Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T14:04:09.454Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-15T14:04:09.454Z] ---> 876a03df46e7 [2023-03-15T14:04:09.454Z] Step 3/23 : ARG MAKE=make build [2023-03-15T14:04:09.454Z] ---> Running in 46af68200b73 [2023-03-15T14:04:09.714Z] Removing intermediate container 46af68200b73 [2023-03-15T14:04:09.714Z] ---> 9b1edc3e597f [2023-03-15T14:04:09.714Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-15T14:04:09.714Z] ---> Running in 092495ded804 [2023-03-15T14:04:09.714Z] Removing intermediate container 092495ded804 [2023-03-15T14:04:09.714Z] ---> 595b341c8caa [2023-03-15T14:04:09.714Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-15T14:04:09.714Z] ---> Running in 0e3ac9c22658 [2023-03-15T14:04:09.973Z] Removing intermediate container 0e3ac9c22658 [2023-03-15T14:04:09.974Z] ---> 6704da083d60 [2023-03-15T14:04:09.974Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-15T14:04:09.974Z] ---> Running in 7e32114a4e82 [2023-03-15T14:04:10.233Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T14:04:10.233Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T14:04:10.804Z] OK: 265 MiB in 53 packages [2023-03-15T14:04:11.064Z] Removing intermediate container 7e32114a4e82 [2023-03-15T14:04:11.064Z] ---> 14faa790419f [2023-03-15T14:04:11.064Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-15T14:04:11.064Z] ---> 379f56e31b3d [2023-03-15T14:04:11.064Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T14:04:11.064Z] ---> Running in 95ce03fcb3a3 [2023-03-15T14:04:12.006Z] Removing intermediate container 95ce03fcb3a3 [2023-03-15T14:04:12.006Z] ---> f6ca725f9d2e [2023-03-15T14:04:12.006Z] Step 9/23 : COPY . . [2023-03-15T14:04:12.574Z] ---> 0a5a03718a05 [2023-03-15T14:04:12.574Z] Step 10/23 : RUN ${MAKE} [2023-03-15T14:04:12.574Z] ---> Running in 71ed0b71d65d [2023-03-15T14:04:12.832Z] 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:04:26.433Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-461 in /w/workspace/gexfoundry_device-sdk-go_PR-1386 [Pipeline] { [Pipeline] ws [2023-03-15T14:04:26.485Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-03-15T14:04:26.559Z] The recommended git tool is: git [2023-03-15T14:04:30.906Z] Removing intermediate container 71ed0b71d65d [2023-03-15T14:04:30.906Z] ---> 1ddddf2efdcb [2023-03-15T14:04:30.906Z] Step 11/23 : FROM alpine:3.17 [2023-03-15T14:04:30.906Z] 3.17: Pulling from library/alpine [2023-03-15T14:04:30.906Z] 63b65145d645: Already exists [2023-03-15T14:04:30.906Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T14:04:30.906Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T14:04:30.906Z] ---> b2aa39c304c2 [2023-03-15T14:04:30.906Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-15T14:04:30.906Z] ---> Running in b59fbe25c538 [2023-03-15T14:04:30.906Z] Removing intermediate container b59fbe25c538 [2023-03-15T14:04:30.906Z] ---> 86bc64d6411b [2023-03-15T14:04:30.906Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-15T14:04:30.906Z] ---> Running in 77bc18a94dbe [2023-03-15T14:04:30.906Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-15T14:04:30.906Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-15T14:04:30.906Z] OK: 7 MiB in 15 packages [2023-03-15T14:04:30.906Z] Removing intermediate container 77bc18a94dbe [2023-03-15T14:04:30.906Z] ---> 0882fa690d6e [2023-03-15T14:04:30.906Z] Step 14/23 : WORKDIR / [2023-03-15T14:04:30.906Z] ---> Running in d06a36f7e8b5 [2023-03-15T14:04:30.906Z] Removing intermediate container d06a36f7e8b5 [2023-03-15T14:04:30.906Z] ---> 0a5ac8b2a3ba [2023-03-15T14:04:30.906Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-15T14:04:31.164Z] ---> 9c9ac2c0d2ef [2023-03-15T14:04:31.164Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-15T14:04:31.729Z] ---> 547e2b29d39f [2023-03-15T14:04:31.729Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-15T14:04:31.729Z] ---> 2e1ec9df0d5b [2023-03-15T14:04:31.729Z] Step 18/23 : EXPOSE 59999 [2023-03-15T14:04:31.730Z] ---> Running in 6dcf0eeb46f6 [2023-03-15T14:04:31.730Z] Removing intermediate container 6dcf0eeb46f6 [2023-03-15T14:04:31.730Z] ---> 3f0e224f2403 [2023-03-15T14:04:31.730Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-15T14:04:31.730Z] ---> Running in 850209f190eb [2023-03-15T14:04:31.987Z] Removing intermediate container 850209f190eb [2023-03-15T14:04:31.987Z] ---> 9aea89fd1dfc [2023-03-15T14:04:31.987Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-15T14:04:31.987Z] ---> Running in 7c1faa09bc3a [2023-03-15T14:04:31.987Z] Removing intermediate container 7c1faa09bc3a [2023-03-15T14:04:31.987Z] ---> 47791d8dcd82 [2023-03-15T14:04:31.987Z] Step 21/23 : LABEL arch=amd64 [2023-03-15T14:04:31.987Z] ---> Running in d6c362d4e861 [2023-03-15T14:04:32.247Z] Removing intermediate container d6c362d4e861 [2023-03-15T14:04:32.247Z] ---> 1656cc0e2d1f [2023-03-15T14:04:32.247Z] Step 22/23 : LABEL git_sha=9bade9fb8ad7b1ba90f4944641889e9ddeadd73b [2023-03-15T14:04:32.247Z] ---> Running in 50b4dfbd811a [2023-03-15T14:04:32.247Z] Removing intermediate container 50b4dfbd811a [2023-03-15T14:04:32.247Z] ---> d72253d478a1 [2023-03-15T14:04:32.247Z] Step 23/23 : LABEL version=0.0.0 [2023-03-15T14:04:32.247Z] ---> Running in 43db22961117 [2023-03-15T14:04:32.506Z] Removing intermediate container 43db22961117 [2023-03-15T14:04:32.506Z] ---> 98cd9d669e0c [2023-03-15T14:04:32.506Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T14:04:32.506Z] Successfully built 98cd9d669e0c [2023-03-15T14:04:32.506Z] 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:04:33.335Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T14:04:33.335Z] [2023-03-15T14:04:33.335Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T14:04:33.706Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T14:04:33.706Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-15T14:04:33.706Z] 5eb5b503b376: Pulling fs layer [2023-03-15T14:04:33.706Z] 5c69ac0246d0: Pulling fs layer [2023-03-15T14:04:33.706Z] ec43610c2a17: Pulling fs layer [2023-03-15T14:04:33.706Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-15T14:04:33.706Z] 33b1e0a273af: Pulling fs layer [2023-03-15T14:04:33.706Z] 5d3b04190fa2: Pulling fs layer [2023-03-15T14:04:33.706Z] 2f39f015ded8: Pulling fs layer [2023-03-15T14:04:33.706Z] 3a2ae6a8a46f: Waiting [2023-03-15T14:04:33.706Z] 2f39f015ded8: Waiting [2023-03-15T14:04:33.706Z] 5d3b04190fa2: Waiting [2023-03-15T14:04:33.706Z] 33b1e0a273af: Waiting [2023-03-15T14:04:33.706Z] 5c69ac0246d0: Verifying Checksum [2023-03-15T14:04:33.706Z] 5c69ac0246d0: Download complete [2023-03-15T14:04:33.706Z] 3a2ae6a8a46f: Download complete [2023-03-15T14:04:33.964Z] 33b1e0a273af: Verifying Checksum [2023-03-15T14:04:33.964Z] 33b1e0a273af: Download complete [2023-03-15T14:04:33.964Z] ec43610c2a17: Verifying Checksum [2023-03-15T14:04:33.964Z] ec43610c2a17: Download complete [2023-03-15T14:04:33.964Z] 5d3b04190fa2: Download complete [2023-03-15T14:04:33.964Z] 5eb5b503b376: Verifying Checksum [2023-03-15T14:04:33.964Z] 5eb5b503b376: Download complete [2023-03-15T14:04:34.532Z] 2f39f015ded8: Download complete [2023-03-15T14:04:34.607Z] using credential edgex-jenkins-ssh [2023-03-15T14:04:34.623Z] Cloning the remote Git repository [2023-03-15T14:04:35.467Z] 5eb5b503b376: Pull complete [2023-03-15T14:04:35.467Z] 5c69ac0246d0: Pull complete [2023-03-15T14:04:35.725Z] ec43610c2a17: Pull complete [2023-03-15T14:04:34.681Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-15T14:04:34.810Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-03-15T14:04:34.955Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-15T14:04:34.956Z] > git --version # timeout=10 [2023-03-15T14:04:34.981Z] > git --version # 'git version 2.25.1' [2023-03-15T14:04:34.983Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T14:04:35.153Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T14:04:35.985Z] 3a2ae6a8a46f: Pull complete [2023-03-15T14:04:35.985Z] 33b1e0a273af: Pull complete [2023-03-15T14:04:36.244Z] 5d3b04190fa2: Pull complete [2023-03-15T14:04:36.732Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-15T14:04:36.752Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-15T14:04:38.439Z] Merging remotes/origin/main commit 6f965a0b85b542f54aab8de1c6c68203c2ba52ef into PR head commit 9bade9fb8ad7b1ba90f4944641889e9ddeadd73b [2023-03-15T14:04:37.705Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-15T14:04:37.745Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-15T14:04:37.745Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T14:04:37.762Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1386/head:refs/remotes/origin/PR-1386 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-15T14:04:38.466Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T14:04:38.571Z] > git checkout -f 9bade9fb8ad7b1ba90f4944641889e9ddeadd73b # timeout=10 [2023-03-15T14:04:38.678Z] > git remote # timeout=10 [2023-03-15T14:04:38.700Z] > git config --get remote.origin.url # timeout=10 [2023-03-15T14:04:38.722Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-15T14:04:38.736Z] > git merge 6f965a0b85b542f54aab8de1c6c68203c2ba52ef # timeout=10 [2023-03-15T14:04:38.763Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-15T14:04:38.773Z] Merge succeeded, producing 9bade9fb8ad7b1ba90f4944641889e9ddeadd73b [2023-03-15T14:04:38.774Z] Checking out Revision 9bade9fb8ad7b1ba90f4944641889e9ddeadd73b (PR-1386) [2023-03-15T14:04:38.789Z] > git config core.sparsecheckout # timeout=10 [2023-03-15T14:04:38.804Z] > git checkout -f 9bade9fb8ad7b1ba90f4944641889e9ddeadd73b # timeout=10 [2023-03-15T14:04:41.513Z] 2f39f015ded8: Pull complete [2023-03-15T14:04:41.513Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-15T14:04:41.513Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T14:04:41.513Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T14:04:41.728Z] prd-ubuntu20.04-docker-8c-8g-458 does not seem to be running inside a container [2023-03-15T14:04:41.765Z] $ 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-1386 -v /w/workspace/gexfoundry_device-sdk-go_PR-1386:/w/workspace/gexfoundry_device-sdk-go_PR-1386:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1386@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1386@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:04:42.368Z] Commit message: "feat!: change device definition file to YAML format" [2023-03-15T14:04:42.432Z] > git --version # timeout=10 [2023-03-15T14:04:42.448Z] > git --version # 'git version 2.25.1' [2023-03-15T14:04:42.463Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-15T14:04:42.959Z] [2023-03-15T14:04:42.960Z] GitHub has been notified of this commit’s build result [2023-03-15T14:04:42.960Z] [2023-03-15T14:04:43.132Z] $ docker top 4ff91a2e9b44cd235451a7750a6e2afbb81d4f6ac9f717b0286bbec23dff6cb4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T14:04:43.585Z] ---> job-cost.sh [2023-03-15T14:04:43.585Z] lf-activate-venv: SKIPPING [2023-03-15T14:04:43.585Z] INFO: No Stack... [2023-03-15T14:04:44.020Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-15T14:04:44.020Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T14:04:44.020Z] Dload Upload Total Spent Left Speed [2023-03-15T14:04:44.020Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 93 12751 93 11878 0 0 64907 0 --:--:-- --:--:-- --:--:-- 64554 100 12751 100 12751 0 0 68924 0 --:--:-- --:--:-- --:--:-- 68924 [2023-03-15T14:04:44.153Z] INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] sh [2023-03-15T14:04:44.411Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T14:04:44.643Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-15T14:04:44.723Z] + + cat /w/workspace/gexfoundry_device-sdk-go_PR-1386/archives/cost.csv [2023-03-15T14:04:44.723Z] cut -d, -f6 [Pipeline] lock [2023-03-15T14:04:44.784Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1386-1-stack-cost] [2023-03-15T14:04:44.789Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1386-1-stack-cost] did not exist. Created. [2023-03-15T14:04:44.789Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1386-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T14:04:44.985Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-15T14:04:44.985Z] + sudo tee /etc/docker/daemon.new [2023-03-15T14:04:44.985Z] { [2023-03-15T14:04:44.985Z] "registry-mirrors": [ [2023-03-15T14:04:44.985Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-15T14:04:44.985Z] ], [2023-03-15T14:04:44.985Z] "bip": "10.250.0.254/24", [2023-03-15T14:04:44.985Z] "hosts": [ [2023-03-15T14:04:44.985Z] "tcp://0.0.0.0:5555", [2023-03-15T14:04:44.985Z] "unix:///var/run/docker.sock" [2023-03-15T14:04:44.985Z] ], [2023-03-15T14:04:44.985Z] "mtu": 1458, [2023-03-15T14:04:44.985Z] "selinux-enabled": true, [2023-03-15T14:04:44.985Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-15T14:04:44.985Z] } [Pipeline] sh [2023-03-15T14:04:45.170Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-15T14:04:45.219Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T14:04:45.248Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1386-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T14:04:45.327Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [2023-03-15T14:04:45.334Z] $ docker stop --time=1 4ff91a2e9b44cd235451a7750a6e2afbb81d4f6ac9f717b0286bbec23dff6cb4 [2023-03-15T14:04:46.479Z] $ docker rm -f --volumes 4ff91a2e9b44cd235451a7750a6e2afbb81d4f6ac9f717b0286bbec23dff6cb4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-15T14:04:46.925Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T14:05:05.246Z] provisioning config files... [2023-03-15T14:05:05.271Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config13790517021843794038tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T14:05:05.645Z] ---> docker-login.sh [2023-03-15T14:05:05.645Z] nexus3.edgexfoundry.org:10001 [2023-03-15T14:05:05.917Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T14:05:06.188Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T14:05:06.188Z] Configure a credential helper to remove this warning. See [2023-03-15T14:05:06.188Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T14:05:06.188Z] [2023-03-15T14:05:06.188Z] Login Succeeded [2023-03-15T14:05:06.188Z] nexus3.edgexfoundry.org:10002 [2023-03-15T14:05:06.462Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T14:05:06.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T14:05:06.462Z] Configure a credential helper to remove this warning. See [2023-03-15T14:05:06.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T14:05:06.462Z] [2023-03-15T14:05:06.462Z] Login Succeeded [2023-03-15T14:05:06.462Z] nexus3.edgexfoundry.org:10003 [2023-03-15T14:05:06.730Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T14:05:07.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T14:05:07.000Z] Configure a credential helper to remove this warning. See [2023-03-15T14:05:07.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T14:05:07.000Z] [2023-03-15T14:05:07.000Z] Login Succeeded [2023-03-15T14:05:07.000Z] nexus3.edgexfoundry.org:10004 [2023-03-15T14:05:07.272Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T14:05:07.272Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T14:05:07.272Z] Configure a credential helper to remove this warning. See [2023-03-15T14:05:07.272Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T14:05:07.272Z] [2023-03-15T14:05:07.272Z] Login Succeeded [2023-03-15T14:05:07.272Z] docker.io [2023-03-15T14:05:07.540Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-15T14:05:07.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-15T14:05:07.807Z] Configure a credential helper to remove this warning. See [2023-03-15T14:05:07.807Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-15T14:05:07.807Z] [2023-03-15T14:05:07.807Z] Login Succeeded [2023-03-15T14:05:07.807Z] ---> docker-login.sh ends [Pipeline] } [2023-03-15T14:05:07.839Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-15T14:05:08.213Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T14:05:08.248Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-15T14:05:08.288Z] ========================================================= [2023-03-15T14:05:08.288Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-15T14:05:08.288Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T14:05:08.797Z] + 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:05:09.069Z] Sending build context to Docker daemon 5.828MB [2023-03-15T14:05:09.346Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T14:05:09.346Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-15T14:05:09.346Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-15T14:05:09.346Z] af6eaf76a39c: Pulling fs layer [2023-03-15T14:05:09.346Z] 55522c791124: Pulling fs layer [2023-03-15T14:05:09.346Z] ce5c4a1c91eb: Pulling fs layer [2023-03-15T14:05:09.346Z] 169dfbe0d373: Pulling fs layer [2023-03-15T14:05:09.346Z] e1ff8fa3b103: Pulling fs layer [2023-03-15T14:05:09.346Z] 52ebb69f0ebf: Pulling fs layer [2023-03-15T14:05:09.346Z] 5abe8eddf0d5: Pulling fs layer [2023-03-15T14:05:09.346Z] 169dfbe0d373: Waiting [2023-03-15T14:05:09.346Z] e1ff8fa3b103: Waiting [2023-03-15T14:05:09.346Z] 52ebb69f0ebf: Waiting [2023-03-15T14:05:09.346Z] 5abe8eddf0d5: Waiting [2023-03-15T14:05:09.346Z] 55522c791124: Verifying Checksum [2023-03-15T14:05:09.346Z] 55522c791124: Download complete [2023-03-15T14:05:09.346Z] 169dfbe0d373: Verifying Checksum [2023-03-15T14:05:09.346Z] 169dfbe0d373: Download complete [2023-03-15T14:05:09.623Z] e1ff8fa3b103: Verifying Checksum [2023-03-15T14:05:09.623Z] e1ff8fa3b103: Download complete [2023-03-15T14:05:09.623Z] af6eaf76a39c: Verifying Checksum [2023-03-15T14:05:10.603Z] af6eaf76a39c: Pull complete [2023-03-15T14:05:10.603Z] 5abe8eddf0d5: Verifying Checksum [2023-03-15T14:05:10.603Z] 5abe8eddf0d5: Download complete [2023-03-15T14:05:11.202Z] 55522c791124: Pull complete [2023-03-15T14:05:12.180Z] 52ebb69f0ebf: Verifying Checksum [2023-03-15T14:05:12.180Z] 52ebb69f0ebf: Download complete [2023-03-15T14:05:12.180Z] ce5c4a1c91eb: Download complete [2023-03-15T14:05:24.633Z] ce5c4a1c91eb: Pull complete [2023-03-15T14:05:24.633Z] 169dfbe0d373: Pull complete [2023-03-15T14:05:24.633Z] e1ff8fa3b103: Pull complete [2023-03-15T14:05:32.853Z] 52ebb69f0ebf: Pull complete [2023-03-15T14:05:34.812Z] 5abe8eddf0d5: Pull complete [2023-03-15T14:05:34.812Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-15T14:05:34.812Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-15T14:05:34.812Z] ---> 6cb57ee374ae [2023-03-15T14:05:34.812Z] Step 3/10 : ARG MAKE=make build [2023-03-15T14:05:36.783Z] ---> Running in a0e2efef4b50 [2023-03-15T14:05:37.372Z] Removing intermediate container a0e2efef4b50 [2023-03-15T14:05:37.372Z] ---> bf1ef985b24b [2023-03-15T14:05:37.372Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-15T14:05:37.372Z] ---> Running in ca348bef71d3 [2023-03-15T14:05:37.969Z] Removing intermediate container ca348bef71d3 [2023-03-15T14:05:37.969Z] ---> f514456f79f0 [2023-03-15T14:05:37.969Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-15T14:05:37.969Z] ---> Running in f42190d6e410 [2023-03-15T14:05:38.238Z] Removing intermediate container f42190d6e410 [2023-03-15T14:05:38.238Z] ---> 455812deff21 [2023-03-15T14:05:38.238Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-15T14:05:38.238Z] ---> Running in 5df6c3a5facb [2023-03-15T14:05:39.207Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T14:05:39.792Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T14:05:40.755Z] OK: 263 MiB in 53 packages [2023-03-15T14:05:41.725Z] Removing intermediate container 5df6c3a5facb [2023-03-15T14:05:41.725Z] ---> e71d86b6f9e6 [2023-03-15T14:05:41.725Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-15T14:05:42.314Z] ---> d8ba74169f3b [2023-03-15T14:05:42.314Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T14:05:42.314Z] ---> Running in 8fdcad59347e [2023-03-15T14:07:03.951Z] Removing intermediate container 8fdcad59347e [2023-03-15T14:07:03.951Z] ---> b3a501ba4595 [2023-03-15T14:07:03.951Z] Step 9/10 : COPY . . [2023-03-15T14:07:03.951Z] ---> c9e1ee8f7d82 [2023-03-15T14:07:03.951Z] Step 10/10 : RUN ${MAKE} [2023-03-15T14:07:03.951Z] ---> Running in fb4db7e96010 [2023-03-15T14:07:03.951Z] noop [2023-03-15T14:07:03.951Z] Removing intermediate container fb4db7e96010 [2023-03-15T14:07:03.951Z] ---> 4936b749820f [2023-03-15T14:07:03.951Z] Successfully built 4936b749820f [2023-03-15T14:07:03.951Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T14:07:04.430Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T14:07:04.430Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T14:07:04.705Z] prd-ubuntu20.04-docker-arm64-4c-16g-461 does not seem to be running inside a container [2023-03-15T14:07:04.774Z] $ 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:07:05.913Z] $ docker top c600c60e80674519ad24a8586e139d0735ef5f918ce6409b14b19e329291c7cc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T14:07:06.762Z] + go version [2023-03-15T14:07:06.762Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-15T14:07:06.806Z] $ docker stop --time=1 c600c60e80674519ad24a8586e139d0735ef5f918ce6409b14b19e329291c7cc [2023-03-15T14:07:08.373Z] $ docker rm -f --volumes c600c60e80674519ad24a8586e139d0735ef5f918ce6409b14b19e329291c7cc [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:07:09.196Z] + docker inspect -f . ci-base-image-arm64 [2023-03-15T14:07:09.196Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T14:07:09.450Z] prd-ubuntu20.04-docker-arm64-4c-16g-461 does not seem to be running inside a container [2023-03-15T14:07:09.524Z] $ 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:07:10.609Z] $ docker top bf3da350e6b38c09d344b2432bde7decbc6e39eb30f2230b2811b879da23e3ad -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T14:07:11.143Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-15T14:07:11.533Z] + make test [2023-03-15T14:07:11.533Z] go test -race -coverprofile=coverage.out ./... [2023-03-15T14:07:50.402Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-15T14:09:42.063Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-15T14:09:42.063Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-15T14:09:42.063Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-15T14:09:42.063Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-15T14:09:42.063Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-15T14:09:50.295Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.204s coverage: 27.6% of statements [2023-03-15T14:09:50.295Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.242s coverage: 78.9% of statements [2023-03-15T14:10:02.663Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-15T14:10:02.663Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-15T14:10:02.663Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.322s coverage: 86.0% of statements [2023-03-15T14:10:08.021Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-15T14:10:08.607Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.408s coverage: 75.9% of statements [2023-03-15T14:10:12.873Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-15T14:10:14.285Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-15T14:10:14.285Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-15T14:10:16.233Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.298s coverage: 15.2% of statements [2023-03-15T14:10:16.233Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.451s coverage: 65.7% of statements [2023-03-15T14:10:18.177Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.429s coverage: 89.2% of statements [2023-03-15T14:10:19.145Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-15T14:10:19.145Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.250s coverage: 5.5% of statements [2023-03-15T14:10:20.107Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-15T14:10:20.107Z] GO111MODULE=on go vet ./... [2023-03-15T14:12:41.849Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-15T14:12:41.849Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-15T14:12:41.849Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-15T14:12:41.893Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-15T14:12:41.935Z] $ docker stop --time=1 bf3da350e6b38c09d344b2432bde7decbc6e39eb30f2230b2811b879da23e3ad [2023-03-15T14:12:43.941Z] $ docker rm -f --volumes bf3da350e6b38c09d344b2432bde7decbc6e39eb30f2230b2811b879da23e3ad [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-15T14:12:45.781Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-15T14:12:45.817Z] Warning: overwriting stash ‘coverage-report’ [2023-03-15T14:12:46.481Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-15T14:12:47.103Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-15T14:12:47.452Z] + ls -al . [2023-03-15T14:12:47.452Z] total 272 [2023-03-15T14:12:47.452Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 14:07 . [2023-03-15T14:12:47.452Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 14:04 .. [2023-03-15T14:12:47.452Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 15 14:04 .dockerignore [2023-03-15T14:12:47.452Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 14:04 .git [2023-03-15T14:12:47.452Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 14:04 .github [2023-03-15T14:12:47.452Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 15 14:04 .gitignore [2023-03-15T14:12:47.452Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 15 14:04 .golangci.yml [2023-03-15T14:12:47.452Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 15 14:04 CHANGELOG.md [2023-03-15T14:12:47.452Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 14:04 GOVERNANCE.md [2023-03-15T14:12:47.452Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 15 14:04 Jenkinsfile [2023-03-15T14:12:47.452Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 15 14:04 LICENSE [2023-03-15T14:12:47.452Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 15 14:04 Makefile [2023-03-15T14:12:47.452Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 15 14:04 OWNERS.md [2023-03-15T14:12:47.452Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 15 14:04 README.md [2023-03-15T14:12:47.452Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 15 14:02 VERSION [2023-03-15T14:12:47.452Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 14:04 bin [2023-03-15T14:12:47.452Z] -rw-r--r-- 1 jenkins jenkins 109536 Mar 15 14:10 coverage.out [2023-03-15T14:12:47.452Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 15 14:04 example [2023-03-15T14:12:47.452Z] -rw-rw-r-- 1 jenkins jenkins 3290 Mar 15 14:04 go.mod [2023-03-15T14:12:47.452Z] -rw-rw-r-- 1 jenkins jenkins 30839 Mar 15 14:04 go.sum [2023-03-15T14:12:47.452Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 14:04 internal [2023-03-15T14:12:47.452Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 14:04 openapi [2023-03-15T14:12:47.452Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 15 14:04 pkg [2023-03-15T14:12:47.452Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 14:04 snap [2023-03-15T14:12:47.452Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 15 14:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T14:12:47.892Z] + 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=9bade9fb8ad7b1ba90f4944641889e9ddeadd73b --label arch=arm64 --label version=0.0.0 . [2023-03-15T14:12:48.480Z] Sending build context to Docker daemon 5.938MB [2023-03-15T14:12:48.480Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-15T14:12:48.480Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-15T14:12:48.480Z] ---> 4936b749820f [2023-03-15T14:12:48.480Z] Step 3/23 : ARG MAKE=make build [2023-03-15T14:12:48.480Z] ---> Running in d480cf0e3b30 [2023-03-15T14:12:48.755Z] Removing intermediate container d480cf0e3b30 [2023-03-15T14:12:48.755Z] ---> 2a1f9a4331a8 [2023-03-15T14:12:48.755Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-15T14:12:49.030Z] ---> Running in 55edf98da3ff [2023-03-15T14:12:49.305Z] Removing intermediate container 55edf98da3ff [2023-03-15T14:12:49.305Z] ---> 95f23ad22912 [2023-03-15T14:12:49.305Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-15T14:12:49.305Z] ---> Running in 806dc0459c46 [2023-03-15T14:12:49.584Z] Removing intermediate container 806dc0459c46 [2023-03-15T14:12:49.584Z] ---> dbd191621f58 [2023-03-15T14:12:49.584Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-15T14:12:49.584Z] ---> Running in d1b4cb299eb3 [2023-03-15T14:12:50.546Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T14:12:51.128Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T14:12:52.537Z] OK: 263 MiB in 53 packages [2023-03-15T14:12:53.942Z] Removing intermediate container d1b4cb299eb3 [2023-03-15T14:12:53.943Z] ---> 5aa92e6b4308 [2023-03-15T14:12:53.943Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-15T14:12:54.211Z] ---> e315c1708ae8 [2023-03-15T14:12:54.211Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-15T14:12:54.478Z] ---> Running in 211450c69296 [2023-03-15T14:12:57.053Z] Removing intermediate container 211450c69296 [2023-03-15T14:12:57.053Z] ---> e75a2f2fc387 [2023-03-15T14:12:57.053Z] Step 9/23 : COPY . . [2023-03-15T14:12:58.032Z] ---> 34a36f49fa9d [2023-03-15T14:12:58.032Z] Step 10/23 : RUN ${MAKE} [2023-03-15T14:12:58.032Z] ---> Running in 03d4fe9cc474 [2023-03-15T14:12:59.000Z] 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:15:20.698Z] Removing intermediate container 03d4fe9cc474 [2023-03-15T14:15:20.698Z] ---> dc46b1f10485 [2023-03-15T14:15:20.698Z] Step 11/23 : FROM alpine:3.17 [2023-03-15T14:15:20.699Z] 3.17: Pulling from library/alpine [2023-03-15T14:15:20.699Z] af6eaf76a39c: Already exists [2023-03-15T14:15:20.699Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-15T14:15:20.699Z] Status: Downloaded newer image for alpine:3.17 [2023-03-15T14:15:20.699Z] ---> d74e625d9115 [2023-03-15T14:15:20.699Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-15T14:15:20.699Z] ---> Running in 75cbd3f3176b [2023-03-15T14:15:20.699Z] Removing intermediate container 75cbd3f3176b [2023-03-15T14:15:20.699Z] ---> a988145a7bad [2023-03-15T14:15:20.699Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-15T14:15:20.699Z] ---> Running in 86196f0bf20e [2023-03-15T14:15:20.699Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-15T14:15:20.699Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-15T14:15:20.699Z] OK: 7 MiB in 15 packages [2023-03-15T14:15:20.699Z] Removing intermediate container 86196f0bf20e [2023-03-15T14:15:20.699Z] ---> 395e01cfde5b [2023-03-15T14:15:20.699Z] Step 14/23 : WORKDIR / [2023-03-15T14:15:20.699Z] ---> Running in 40afb880d076 [2023-03-15T14:15:20.699Z] Removing intermediate container 40afb880d076 [2023-03-15T14:15:20.699Z] ---> 90eb373f8abd [2023-03-15T14:15:20.699Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-15T14:15:20.699Z] ---> cb37542939ed [2023-03-15T14:15:20.699Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-15T14:15:20.699Z] ---> d64ba3f4fc3c [2023-03-15T14:15:20.699Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-15T14:15:20.974Z] ---> 13793627aa41 [2023-03-15T14:15:20.974Z] Step 18/23 : EXPOSE 59999 [2023-03-15T14:15:21.246Z] ---> Running in 426a82ad0c4c [2023-03-15T14:15:21.519Z] Removing intermediate container 426a82ad0c4c [2023-03-15T14:15:21.519Z] ---> ee5ee72f99ff [2023-03-15T14:15:21.519Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-15T14:15:21.519Z] ---> Running in 89988818a94d [2023-03-15T14:15:21.790Z] Removing intermediate container 89988818a94d [2023-03-15T14:15:21.790Z] ---> 8c555aae8a4d [2023-03-15T14:15:21.790Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-15T14:15:22.061Z] ---> Running in b67c65ec7521 [2023-03-15T14:15:22.331Z] Removing intermediate container b67c65ec7521 [2023-03-15T14:15:22.331Z] ---> 305d74a63ecc [2023-03-15T14:15:22.331Z] Step 21/23 : LABEL arch=arm64 [2023-03-15T14:15:22.331Z] ---> Running in fa7a260f5ef4 [2023-03-15T14:15:22.599Z] Removing intermediate container fa7a260f5ef4 [2023-03-15T14:15:22.599Z] ---> 60bbe6323243 [2023-03-15T14:15:22.599Z] Step 22/23 : LABEL git_sha=9bade9fb8ad7b1ba90f4944641889e9ddeadd73b [2023-03-15T14:15:22.599Z] ---> Running in 06b7bbfc5e9f [2023-03-15T14:15:22.867Z] Removing intermediate container 06b7bbfc5e9f [2023-03-15T14:15:22.867Z] ---> da0003df76a8 [2023-03-15T14:15:22.867Z] Step 23/23 : LABEL version=0.0.0 [2023-03-15T14:15:23.139Z] ---> Running in 51b748fe3ac0 [2023-03-15T14:15:23.406Z] Removing intermediate container 51b748fe3ac0 [2023-03-15T14:15:23.406Z] ---> a8658f217ffe [2023-03-15T14:15:23.406Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-15T14:15:23.406Z] Successfully built a8658f217ffe [2023-03-15T14:15:23.406Z] 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:15:24.200Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T14:15:24.200Z] [2023-03-15T14:15:24.200Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T14:15:24.619Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T14:15:24.891Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-15T14:15:24.891Z] 8998bd30e6a1: Pulling fs layer [2023-03-15T14:15:24.891Z] 04944245beec: Pulling fs layer [2023-03-15T14:15:24.891Z] 699f458cf7ca: Pulling fs layer [2023-03-15T14:15:24.891Z] 765212b225bb: Pulling fs layer [2023-03-15T14:15:24.891Z] f23df028b6ca: Pulling fs layer [2023-03-15T14:15:24.891Z] d65c8cfc05b1: Pulling fs layer [2023-03-15T14:15:24.891Z] 2437ff75d9bd: Pulling fs layer [2023-03-15T14:15:24.891Z] f23df028b6ca: Waiting [2023-03-15T14:15:24.891Z] d65c8cfc05b1: Waiting [2023-03-15T14:15:24.891Z] 2437ff75d9bd: Waiting [2023-03-15T14:15:24.891Z] 765212b225bb: Waiting [2023-03-15T14:15:24.891Z] 04944245beec: Verifying Checksum [2023-03-15T14:15:24.891Z] 04944245beec: Download complete [2023-03-15T14:15:24.891Z] 765212b225bb: Verifying Checksum [2023-03-15T14:15:24.891Z] 765212b225bb: Download complete [2023-03-15T14:15:24.891Z] f23df028b6ca: Verifying Checksum [2023-03-15T14:15:24.891Z] f23df028b6ca: Download complete [2023-03-15T14:15:24.891Z] d65c8cfc05b1: Verifying Checksum [2023-03-15T14:15:24.891Z] d65c8cfc05b1: Download complete [2023-03-15T14:15:25.165Z] 699f458cf7ca: Verifying Checksum [2023-03-15T14:15:25.165Z] 699f458cf7ca: Download complete [2023-03-15T14:15:25.435Z] 8998bd30e6a1: Verifying Checksum [2023-03-15T14:15:25.435Z] 8998bd30e6a1: Download complete [2023-03-15T14:15:28.025Z] 2437ff75d9bd: Verifying Checksum [2023-03-15T14:15:28.025Z] 2437ff75d9bd: Download complete [2023-03-15T14:15:29.434Z] 8998bd30e6a1: Pull complete [2023-03-15T14:15:30.020Z] 04944245beec: Pull complete [2023-03-15T14:15:31.432Z] 699f458cf7ca: Pull complete [2023-03-15T14:15:31.701Z] 765212b225bb: Pull complete [2023-03-15T14:15:33.645Z] f23df028b6ca: Pull complete [2023-03-15T14:15:33.645Z] d65c8cfc05b1: Pull complete [2023-03-15T14:15:48.640Z] 2437ff75d9bd: Pull complete [2023-03-15T14:15:48.640Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-15T14:15:48.640Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-15T14:15:48.640Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T14:15:48.951Z] prd-ubuntu20.04-docker-arm64-4c-16g-461 does not seem to be running inside a container [2023-03-15T14:15:49.034Z] $ 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:15:51.810Z] $ docker top 91fb4fc730aca31bf374bbdb0d7b5c76a136a3777b2d1e6985d83d11ba34db64 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-15T14:15:52.730Z] ---> job-cost.sh [2023-03-15T14:15:52.730Z] lf-activate-venv: SKIPPING [2023-03-15T14:15:52.730Z] INFO: No Stack... [2023-03-15T14:15:53.001Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-15T14:15:53.974Z] INFO: Archiving Costs [Pipeline] sh [2023-03-15T14:15:54.638Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2023-03-15T14:15:54.638Z] + cut -d, -f6 [Pipeline] lock [2023-03-15T14:15:54.727Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1386-1-stack-cost] [2023-03-15T14:15:54.733Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1386-1-stack-cost] did not exist. Created. [2023-03-15T14:15:54.733Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1386-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-15T14:15:55.460Z] /w/workspace/device-sdk-go/1@tmp/durable-86843b46/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-15T14:15:56.136Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-15T14:15:56.169Z] Warning: overwriting stash ‘stack-cost’ [2023-03-15T14:15:56.245Z] Stashed 1 file(s) [Pipeline] } [2023-03-15T14:15:56.260Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1386-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-15T14:15:56.360Z] $ docker stop --time=1 91fb4fc730aca31bf374bbdb0d7b5c76a136a3777b2d1e6985d83d11ba34db64 [2023-03-15T14:15:57.918Z] $ docker rm -f --volumes 91fb4fc730aca31bf374bbdb0d7b5c76a136a3777b2d1e6985d83d11ba34db64 [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:15:58.884Z] provisioning config files... [2023-03-15T14:15:58.905Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1386@tmp/config9812627077897546594tmp [Pipeline] { [Pipeline] sh [2023-03-15T14:15:59.249Z] + set +x [2023-03-15T14:15:59.250Z] + + bash -s -- [2023-03-15T14:15:59.250Z] curl -s https://codecov.io/bash [2023-03-15T14:15:59.250Z] [2023-03-15T14:15:59.250Z] _____ _ [2023-03-15T14:15:59.250Z] / ____| | | [2023-03-15T14:15:59.250Z] | | ___ __| | ___ ___ _____ __ [2023-03-15T14:15:59.250Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-15T14:15:59.250Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-15T14:15:59.250Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-15T14:15:59.250Z] Bash-1.0.6 [2023-03-15T14:15:59.250Z] [2023-03-15T14:15:59.250Z] [2023-03-15T14:15:59.250Z] ==> git version 2.25.1 found [2023-03-15T14:15:59.250Z] ==> 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:15:59.250Z] Release-Date: 2020-01-08 [2023-03-15T14:15:59.250Z] 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:15:59.250Z] 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:15:59.250Z] ==> Jenkins CI detected. [2023-03-15T14:15:59.250Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1386 [2023-03-15T14:15:59.250Z] project root: . [2023-03-15T14:15:59.250Z] --> token set from env [2023-03-15T14:15:59.250Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-15T14:15:59.250Z] ==> Running gcov in . (disable via -X gcov) [2023-03-15T14:15:59.250Z] ==> Python coveragepy not found [2023-03-15T14:15:59.250Z] ==> Searching for coverage reports in: [2023-03-15T14:15:59.250Z] + . [2023-03-15T14:15:59.250Z] -> Found 1 reports [2023-03-15T14:15:59.250Z] ==> Detecting git/mercurial file structure [2023-03-15T14:15:59.250Z] ==> Reading reports [2023-03-15T14:15:59.250Z] + ./coverage.out bytes=109536 [2023-03-15T14:15:59.250Z] ==> Appending adjustments [2023-03-15T14:15:59.250Z] https://docs.codecov.io/docs/fixing-reports [2023-03-15T14:15:59.850Z] + Found adjustments [2023-03-15T14:15:59.850Z] ==> Gzipping contents [2023-03-15T14:15:59.850Z] 16K /tmp/codecov.TMDXTM.gz [2023-03-15T14:15:59.850Z] ==> Uploading reports [2023-03-15T14:15:59.850Z] url: https://codecov.io [2023-03-15T14:15:59.850Z] query: branch=PR-1386&commit=9bade9fb8ad7b1ba90f4944641889e9ddeadd73b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1386%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1386&job=&cmd_args= [2023-03-15T14:15:59.850Z] -> Pinging Codecov [2023-03-15T14:15:59.850Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1386&commit=9bade9fb8ad7b1ba90f4944641889e9ddeadd73b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1386%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1386&job=&cmd_args= [2023-03-15T14:15:59.850Z] -> Uploading to [2023-03-15T14:15:59.850Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-15/7E55EF52A471D76F132DFD9A03CDDE97/9bade9fb8ad7b1ba90f4944641889e9ddeadd73b/55841e63-07df-4d81-839c-a1f1fd1a1713.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T141559Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=73cf2c2a643b6c134469c3a2bea4fa38e9f485140d57181505d9628a4eb5cfb2 [2023-03-15T14:15:59.850Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-15T14:15:59.850Z] Dload Upload Total Spent Left Speed [2023-03-15T14:16:00.111Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15240 0 0 100 15240 0 54428 --:--:-- --:--:-- --:--:-- 54428 [2023-03-15T14:16:00.111Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/9bade9fb8ad7b1ba90f4944641889e9ddeadd73b [Pipeline] } [2023-03-15T14:16:00.139Z] 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:16:01.850Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1386/archives ] [2023-03-15T14:16:01.850Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1386/archives [2023-03-15T14:16:01.850Z] total 16 [2023-03-15T14:16:01.850Z] drwxr-xr-x 3 root root 4096 Mar 15 14:04 . [2023-03-15T14:16:01.850Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 14:04 .. [2023-03-15T14:16:01.850Z] drwxr-xr-x 2 root root 4096 Mar 15 14:04 cost [2023-03-15T14:16:01.850Z] -rw-r--r-- 1 root root 87 Mar 15 14:04 cost.csv [2023-03-15T14:16:01.850Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1386/archives [2023-03-15T14:16:01.850Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1386/archives [2023-03-15T14:16:01.850Z] total 16 [2023-03-15T14:16:01.850Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 14:04 . [2023-03-15T14:16:01.850Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 15 14:04 .. [2023-03-15T14:16:01.850Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 14:04 cost [2023-03-15T14:16:01.850Z] -rw-r--r-- 1 jenkins jenkins 87 Mar 15 14:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-15T14:16:02.175Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T14:16:03.070Z] ---> package-listing.sh [2023-03-15T14:16:03.070Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-15T14:16:03.070Z] ++ facter osfamily [2023-03-15T14:16:03.329Z] + OS_FAMILY=debian [2023-03-15T14:16:03.329Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1386 [2023-03-15T14:16:03.329Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-15T14:16:03.329Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-15T14:16:03.329Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-15T14:16:03.329Z] + PACKAGES=/tmp/packages_start.txt [2023-03-15T14:16:03.329Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1386 ']' [2023-03-15T14:16:03.329Z] + PACKAGES=/tmp/packages_end.txt [2023-03-15T14:16:03.329Z] + case "${OS_FAMILY}" in [2023-03-15T14:16:03.329Z] + grep '^ii' [2023-03-15T14:16:03.329Z] + dpkg -l [2023-03-15T14:16:03.329Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-15T14:16:03.329Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-15T14:16:03.329Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-15T14:16:03.329Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1386 ']' [2023-03-15T14:16:03.329Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1386/archives/ [2023-03-15T14:16:03.329Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1386/archives/ [Pipeline] echo [2023-03-15T14:16:03.358Z] 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-1386/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:16:03.649Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-15T14:16:04.266Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-15T14:16:04.266Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-15T14:16:04.401Z] prd-ubuntu20.04-docker-8c-8g-458 does not seem to be running inside a container [2023-03-15T14:16:04.439Z] $ 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-1386/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-1386 -v /w/workspace/gexfoundry_device-sdk-go_PR-1386:/w/workspace/gexfoundry_device-sdk-go_PR-1386:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1386@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1386@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:16:04.638Z] $ docker top cf66544e70491ee020fbe3b29a079a7fc1f3c7c7c0eedae66355fd9957bb2dd7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-15T14:16:05.015Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-15T14:16:05.326Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-15T14:16:05.631Z] + ls /var/log/sa-host [2023-03-15T14:16:05.631Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-15T14:16:05.890Z] provisioning config files... [2023-03-15T14:16:05.899Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1386@tmp/config3876434791224452059tmp [Pipeline] { [Pipeline] echo [2023-03-15T14:16:05.962Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T14:16:06.272Z] ---> create-netrc.sh [Pipeline] } [2023-03-15T14:16:06.299Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-15T14:16:06.684Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-15T14:16:06.715Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T14:16:07.032Z] ---> sudo-logs.sh [2023-03-15T14:16:07.032Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-15T14:16:07.116Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T14:16:07.425Z] ---> job-cost.sh [2023-03-15T14:16:07.425Z] lf-activate-venv: SKIPPING [2023-03-15T14:16:07.425Z] DEBUG: total: 0.2199999988079071 [2023-03-15T14:16:07.425Z] INFO: Retrieving Stack Cost... [2023-03-15T14:16:07.683Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-15T14:16:08.250Z] INFO: Archiving Costs [Pipeline] echo [2023-03-15T14:16:08.285Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-15T14:16:08.590Z] ---> logs-deploy.sh [2023-03-15T14:16:08.590Z] lf-activate-venv: SKIPPING [2023-03-15T14:16:08.590Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1386/1 [2023-03-15T14:16:08.590Z] INFO: archiving workspace using pattern(s): [2023-03-15T14:16:09.524Z] Archives upload complete. [2023-03-15T14:16:09.782Z] INFO: archiving logs to Nexus