Pull request #1573 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c020589200711f14ff7174cb813a2f3d169bed73+decf7a4867f03271291a6465384c5ba130c9fec8 (ef3dc372280d26ea96b21804d95fb501bfe9a5fb) 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-ssh16577792461325645658.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh14403748201327845066.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-1573/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-1573/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh244958670906508316.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-1573/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1305839995370136341.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh12672659849426502787.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-1573/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-1573/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9499525468087756164.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2528 in /w/workspace/gexfoundry_device-sdk-go_PR-1573 [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-1573 # 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 Merging remotes/origin/main commit decf7a4867f03271291a6465384c5ba130c9fec8 into PR head commit c020589200711f14ff7174cb813a2f3d169bed73 Merge succeeded, producing c020589200711f14ff7174cb813a2f3d169bed73 Checking out Revision c020589200711f14ff7174cb813a2f3d169bed73 (PR-1573) Commit message: "build(deps): bump github.com/labstack/echo/v4 from 4.11.4 to 4.12.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > 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/1573/head:refs/remotes/origin/PR-1573 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c020589200711f14ff7174cb813a2f3d169bed73 # 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 decf7a4867f03271291a6465384c5ba130c9fec8 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c020589200711f14ff7174cb813a2f3d169bed73 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-04-16T04:21:19.551Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-04-16T04:21:19.752Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-04-16T04:21:19.858Z] ========================================================= [2024-04-16T04:21:19.858Z] EdgeX Global Pipelines Version Info [2024-04-16T04:21:19.858Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-04-16T04:21:20.616Z] ------------------- [2024-04-16T04:21:20.616Z] stable info: [2024-04-16T04:21:20.616Z] ------------------- [2024-04-16T04:21:20.616Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-04-16T04:21:20.616Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-16T04:21:20.616Z] Message: update stable to v1.0.258 [2024-04-16T04:21:21.188Z] ------------------- [2024-04-16T04:21:21.188Z] experimental info: [2024-04-16T04:21:21.188Z] ------------------- [2024-04-16T04:21:21.188Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-04-16T04:21:21.188Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-16T04:21:21.188Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-04-16T04:21:21.390Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-04-16T04:21:21.443Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-04-16T04:21:21.496Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-04-16T04:21:21.550Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-04-16T04:21:21.607Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-04-16T04:21:21.660Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-04-16T04:21:21.711Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-04-16T04:21:21.765Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-04-16T04:21:21.821Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-04-16T04:21:21.873Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-04-16T04:21:21.931Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-04-16T04:21:21.980Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-04-16T04:21:22.033Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-04-16T04:21:22.099Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-04-16T04:21:22.151Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-04-16T04:21:22.202Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-04-16T04:21:22.252Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-04-16T04:21:22.307Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-04-16T04:21:22.357Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-04-16T04:21:22.411Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-04-16T04:21:22.464Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-04-16T04:21:22.522Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2024-04-16T04:21:22.574Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-04-16T04:21:22.624Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-04-16T04:21:22.671Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-04-16T04:21:22.723Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-04-16T04:21:22.780Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-04-16T04:21:22.833Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1573 [Pipeline] echo [2024-04-16T04:21:22.883Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1573 [Pipeline] echo [2024-04-16T04:21:22.944Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1573 [Pipeline] echo [2024-04-16T04:21:23.000Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c020589200711f14ff7174cb813a2f3d169bed73 [Pipeline] echo [2024-04-16T04:21:23.054Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c020589 [Pipeline] echo [2024-04-16T04:21:23.108Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-16T04:21:23.247Z] provisioning config files... [2024-04-16T04:21:23.260Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp/config5053157536664124954tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-16T04:21:23.646Z] ---> ****-login.sh [2024-04-16T04:21:23.646Z] nexus3.edgexfoundry.org:10001 [2024-04-16T04:21:23.908Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T04:21:23.908Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T04:21:23.908Z] Configure a credential helper to remove this warning. See [2024-04-16T04:21:23.908Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T04:21:23.908Z] [2024-04-16T04:21:23.908Z] Login Succeeded [2024-04-16T04:21:23.908Z] nexus3.edgexfoundry.org:10002 [2024-04-16T04:21:24.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T04:21:24.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T04:21:24.169Z] Configure a credential helper to remove this warning. See [2024-04-16T04:21:24.169Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T04:21:24.169Z] [2024-04-16T04:21:24.169Z] Login Succeeded [2024-04-16T04:21:24.169Z] nexus3.edgexfoundry.org:10003 [2024-04-16T04:21:24.169Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T04:21:24.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T04:21:24.169Z] Configure a credential helper to remove this warning. See [2024-04-16T04:21:24.169Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T04:21:24.169Z] [2024-04-16T04:21:24.169Z] Login Succeeded [2024-04-16T04:21:24.170Z] nexus3.edgexfoundry.org:10004 [2024-04-16T04:21:24.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T04:21:24.429Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T04:21:24.429Z] Configure a credential helper to remove this warning. See [2024-04-16T04:21:24.429Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T04:21:24.429Z] [2024-04-16T04:21:24.429Z] Login Succeeded [2024-04-16T04:21:24.429Z] ****.io [2024-04-16T04:21:24.429Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T04:21:24.690Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T04:21:24.690Z] Configure a credential helper to remove this warning. See [2024-04-16T04:21:24.690Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T04:21:24.690Z] [2024-04-16T04:21:24.690Z] Login Succeeded [2024-04-16T04:21:24.690Z] ---> ****-login.sh ends [Pipeline] } [2024-04-16T04:21:24.720Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-04-16T04:21:25.379Z] + git rev-list -1 --merges c020589200711f14ff7174cb813a2f3d169bed73~1..c020589200711f14ff7174cb813a2f3d169bed73 [Pipeline] echo [2024-04-16T04:21:25.419Z] -----------> git rev-list -1 --merges c020589200711f14ff7174cb813a2f3d169bed73~1..c020589200711f14ff7174cb813a2f3d169bed73 c020589200711f14ff7174cb813a2f3d169bed73 [false] [Pipeline] sh [2024-04-16T04:21:25.739Z] + git log --format=format:%s -1 c020589200711f14ff7174cb813a2f3d169bed73 [Pipeline] echo [2024-04-16T04:21:25.776Z] ========================================================= [2024-04-16T04:21:25.776Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-04-16T04:21:25.776Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-16T04:21:26.260Z] + git log --format=format:%s -1 c020589200711f14ff7174cb813a2f3d169bed73 [Pipeline] echo [2024-04-16T04:21:26.294Z] [semverPrep] GIT_COMMIT: c020589200711f14ff7174cb813a2f3d169bed73, Commit Message: build(deps): bump github.com/labstack/echo/v4 from 4.11.4 to 4.12.0 [Pipeline] echo [2024-04-16T04:21:26.331Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-04-16T04:21:26.736Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-04-16T04:21:26.736Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-04-16T04:21:26.736Z] + [ -e /tmp/ssh_known_hosts ] [2024-04-16T04:21:26.736Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-04-16T04:21:26.736Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-04-16T04:21:26.736Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-04-16T04:21:26.736Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T04:21:27.232Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-16T04:21:27.232Z] [2024-04-16T04:21:27.232Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T04:21:27.605Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-16T04:21:27.605Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-04-16T04:21:27.605Z] b85a868b505f: Pulling fs layer [2024-04-16T04:21:27.605Z] e2be974225ed: Pulling fs layer [2024-04-16T04:21:27.605Z] 339a4e72a1f5: Pulling fs layer [2024-04-16T04:21:27.605Z] 988bab9f4d93: Pulling fs layer [2024-04-16T04:21:27.605Z] 1469e6f7b9e6: Pulling fs layer [2024-04-16T04:21:27.605Z] eaf3925da568: Pulling fs layer [2024-04-16T04:21:27.605Z] bab4dde63d76: Pulling fs layer [2024-04-16T04:21:27.605Z] bde34c3a00c8: Pulling fs layer [2024-04-16T04:21:27.605Z] b352a97aabf1: Pulling fs layer [2024-04-16T04:21:27.605Z] 4872d77fe225: Pulling fs layer [2024-04-16T04:21:27.605Z] 5851b861e8e6: Pulling fs layer [2024-04-16T04:21:27.605Z] 988bab9f4d93: Waiting [2024-04-16T04:21:27.605Z] 1469e6f7b9e6: Waiting [2024-04-16T04:21:27.605Z] eaf3925da568: Waiting [2024-04-16T04:21:27.605Z] bab4dde63d76: Waiting [2024-04-16T04:21:27.605Z] b352a97aabf1: Waiting [2024-04-16T04:21:27.605Z] 4872d77fe225: Waiting [2024-04-16T04:21:27.605Z] 5851b861e8e6: Waiting [2024-04-16T04:21:27.605Z] bde34c3a00c8: Waiting [2024-04-16T04:21:27.605Z] 988bab9f4d93: Verifying Checksum [2024-04-16T04:21:27.605Z] 988bab9f4d93: Download complete [2024-04-16T04:21:27.605Z] 1469e6f7b9e6: Verifying Checksum [2024-04-16T04:21:27.605Z] 1469e6f7b9e6: Download complete [2024-04-16T04:21:27.605Z] eaf3925da568: Download complete [2024-04-16T04:21:27.864Z] 339a4e72a1f5: Verifying Checksum [2024-04-16T04:21:27.864Z] 339a4e72a1f5: Download complete [2024-04-16T04:21:27.864Z] bde34c3a00c8: Verifying Checksum [2024-04-16T04:21:27.864Z] bde34c3a00c8: Download complete [2024-04-16T04:21:27.864Z] b352a97aabf1: Verifying Checksum [2024-04-16T04:21:27.864Z] b352a97aabf1: Download complete [2024-04-16T04:21:27.864Z] 4872d77fe225: Verifying Checksum [2024-04-16T04:21:27.864Z] 4872d77fe225: Download complete [2024-04-16T04:21:27.864Z] 5851b861e8e6: Verifying Checksum [2024-04-16T04:21:27.864Z] 5851b861e8e6: Download complete [2024-04-16T04:21:27.864Z] b85a868b505f: Download complete [2024-04-16T04:21:28.123Z] bab4dde63d76: Verifying Checksum [2024-04-16T04:21:28.124Z] bab4dde63d76: Download complete [2024-04-16T04:21:29.060Z] b85a868b505f: Pull complete [2024-04-16T04:21:29.319Z] e2be974225ed: Pull complete [2024-04-16T04:21:29.579Z] 339a4e72a1f5: Pull complete [2024-04-16T04:21:29.838Z] 988bab9f4d93: Pull complete [2024-04-16T04:21:30.096Z] 1469e6f7b9e6: Pull complete [2024-04-16T04:21:30.096Z] eaf3925da568: Pull complete [2024-04-16T04:21:31.998Z] bab4dde63d76: Pull complete [2024-04-16T04:21:31.998Z] bde34c3a00c8: Pull complete [2024-04-16T04:21:31.998Z] b352a97aabf1: Pull complete [2024-04-16T04:21:31.998Z] 4872d77fe225: Pull complete [2024-04-16T04:21:31.998Z] 5851b861e8e6: Pull complete [2024-04-16T04:21:31.998Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-04-16T04:21:31.998Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-04-16T04:21:31.998Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-16T04:21:32.258Z] prd-ubuntu20.04-docker-8c-8g-2528 does not seem to be running inside a container [2024-04-16T04:21:32.288Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1573 -v /w/workspace/gexfoundry_device-sdk-go_PR-1573:/w/workspace/gexfoundry_device-sdk-go_PR-1573:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-04-16T04:21:35.937Z] $ docker top c19962c70e8004ba0561f6df7db60db04c2ff9e65155d8744599c8bf135e6bf1 -eo pid,comm [2024-04-16T04:21:35.986Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2024-04-16T04:21:35.986Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-04-16T04:21:36.131Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-04-16T04:21:36.131Z] [ssh-agent] Looking for ssh-agent implementation... [2024-04-16T04:21:36.236Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-04-16T04:21:36.242Z] $ docker exec c19962c70e8004ba0561f6df7db60db04c2ff9e65155d8744599c8bf135e6bf1 ssh-agent [2024-04-16T04:21:36.336Z] SSH_AUTH_SOCK=/tmp/ssh-O9FiDGx3MKav/agent.32 [2024-04-16T04:21:36.336Z] SSH_AGENT_PID=38 [2024-04-16T04:21:36.340Z] Running ssh-add (command line suppressed) [2024-04-16T04:21:36.464Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp/private_key_3698810404846316625.key (/w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp/private_key_3698810404846316625.key) [2024-04-16T04:21:36.488Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-04-16T04:21:36.832Z] + git tag --points-at HEAD [Pipeline] } [2024-04-16T04:21:36.860Z] $ docker exec --env ******** --env ******** c19962c70e8004ba0561f6df7db60db04c2ff9e65155d8744599c8bf135e6bf1 ssh-agent -k [2024-04-16T04:21:36.966Z] unset SSH_AUTH_SOCK; [2024-04-16T04:21:36.966Z] unset SSH_AGENT_PID; [2024-04-16T04:21:36.966Z] echo Agent pid 38 killed; [2024-04-16T04:21:36.974Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-04-16T04:21:37.082Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-04-16T04:21:37.082Z] [ssh-agent] Looking for ssh-agent implementation... [2024-04-16T04:21:37.188Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-04-16T04:21:37.195Z] $ docker exec c19962c70e8004ba0561f6df7db60db04c2ff9e65155d8744599c8bf135e6bf1 ssh-agent [2024-04-16T04:21:37.308Z] SSH_AUTH_SOCK=/tmp/ssh-0Cjh5rpD4sIY/agent.72 [2024-04-16T04:21:37.308Z] SSH_AGENT_PID=78 [2024-04-16T04:21:37.313Z] Running ssh-add (command line suppressed) [2024-04-16T04:21:37.428Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp/private_key_4177772517570522540.key (/w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp/private_key_4177772517570522540.key) [2024-04-16T04:21:37.440Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-04-16T04:21:37.777Z] + git semver init [2024-04-16T04:21:38.038Z] 2024-04-16 04:21:37,952 [run_init] DEBUG init version:0.0.0 force:False [2024-04-16T04:21:38.038Z] 2024-04-16 04:21:37,953 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1573/.semver [2024-04-16T04:21:38.038Z] 2024-04-16 04:21:37,954 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1573/.semver [2024-04-16T04:21:38.038Z] 2024-04-16 04:21:37,954 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1573/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1573, universal_newlines=False, shell=None, istream=None) [2024-04-16T04:21:39.423Z] 2024-04-16 04:21:39,295 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1573/.git/info/exclude [2024-04-16T04:21:39.423Z] 2024-04-16 04:21:39,295 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1573/.semver/PR-1573 with force:False [2024-04-16T04:21:39.423Z] 2024-04-16 04:21:39,295 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1573/.semver/PR-1573 [2024-04-16T04:21:39.423Z] 2024-04-16 04:21:39,299 [execute] INFO git cat-file --batch-check [2024-04-16T04:21:39.423Z] 2024-04-16 04:21:39,300 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1573/.semver, universal_newlines=False, shell=None, istream=) [2024-04-16T04:21:39.423Z] 2024-04-16 04:21:39,305 [execute] INFO git cat-file --batch [2024-04-16T04:21:39.423Z] 2024-04-16 04:21:39,305 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1573/.semver, universal_newlines=False, shell=None, istream=) [2024-04-16T04:21:39.423Z] 2024-04-16 04:21:39,309 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1573/.semver/PR-1573 [2024-04-16T04:21:39.423Z] 0.0.0 [Pipeline] } [2024-04-16T04:21:39.453Z] $ docker exec --env ******** --env ******** c19962c70e8004ba0561f6df7db60db04c2ff9e65155d8744599c8bf135e6bf1 ssh-agent -k [2024-04-16T04:21:39.547Z] unset SSH_AUTH_SOCK; [2024-04-16T04:21:39.548Z] unset SSH_AGENT_PID; [2024-04-16T04:21:39.548Z] echo Agent pid 78 killed; [2024-04-16T04:21:39.553Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-04-16T04:21:39.990Z] + git semver [Pipeline] } [2024-04-16T04:21:40.281Z] $ docker stop --time=1 c19962c70e8004ba0561f6df7db60db04c2ff9e65155d8744599c8bf135e6bf1 [2024-04-16T04:21:41.582Z] $ docker rm -f --volumes c19962c70e8004ba0561f6df7db60db04c2ff9e65155d8744599c8bf135e6bf1 [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-16T04:21:41.984Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-04-16T04:21:42.264Z] Stashed 1 file(s) [Pipeline] echo [2024-04-16T04:21:42.283Z] [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 [2024-04-16T04:21:42.926Z] provisioning config files... [2024-04-16T04:21:42.937Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp/config7311248237320421570tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-16T04:21:43.285Z] ---> ****-login.sh [2024-04-16T04:21:43.285Z] nexus3.edgexfoundry.org:10001 [2024-04-16T04:21:43.285Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T04:21:43.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T04:21:43.285Z] Configure a credential helper to remove this warning. See [2024-04-16T04:21:43.286Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T04:21:43.286Z] [2024-04-16T04:21:43.286Z] Login Succeeded [2024-04-16T04:21:43.286Z] nexus3.edgexfoundry.org:10002 [2024-04-16T04:21:43.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T04:21:43.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T04:21:43.286Z] Configure a credential helper to remove this warning. See [2024-04-16T04:21:43.286Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T04:21:43.286Z] [2024-04-16T04:21:43.286Z] Login Succeeded [2024-04-16T04:21:43.286Z] nexus3.edgexfoundry.org:10003 [2024-04-16T04:21:43.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T04:21:43.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T04:21:43.544Z] Configure a credential helper to remove this warning. See [2024-04-16T04:21:43.544Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T04:21:43.544Z] [2024-04-16T04:21:43.544Z] Login Succeeded [2024-04-16T04:21:43.544Z] nexus3.edgexfoundry.org:10004 [2024-04-16T04:21:43.544Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T04:21:43.544Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T04:21:43.544Z] Configure a credential helper to remove this warning. See [2024-04-16T04:21:43.545Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T04:21:43.545Z] [2024-04-16T04:21:43.545Z] Login Succeeded [2024-04-16T04:21:43.545Z] ****.io [2024-04-16T04:21:43.545Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T04:21:43.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T04:21:43.803Z] Configure a credential helper to remove this warning. See [2024-04-16T04:21:43.803Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T04:21:43.803Z] [2024-04-16T04:21:43.803Z] Login Succeeded [2024-04-16T04:21:43.803Z] ---> ****-login.sh ends [Pipeline] } [2024-04-16T04:21:43.829Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-04-16T04:21:44.046Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-16T04:21:44.089Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-16T04:21:44.128Z] ========================================================= [2024-04-16T04:21:44.128Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-04-16T04:21:44.128Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T04:21:44.612Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-04-16T04:21:44.612Z] Sending build context to Docker daemon 22.13MB [2024-04-16T04:21:44.612Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-04-16T04:21:44.612Z] Step 2/10 : FROM ${BASE} AS builder [2024-04-16T04:21:44.878Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-04-16T04:21:44.878Z] 7264a8db6415: Pulling fs layer [2024-04-16T04:21:44.878Z] c4d48a809fc2: Pulling fs layer [2024-04-16T04:21:44.878Z] 4f1c88b9dad5: Pulling fs layer [2024-04-16T04:21:44.878Z] ad3a456e5733: Pulling fs layer [2024-04-16T04:21:44.878Z] 69c7f0334f64: Pulling fs layer [2024-04-16T04:21:44.878Z] 1f1c1a5573a3: Pulling fs layer [2024-04-16T04:21:44.878Z] ce7588e14bc9: Pulling fs layer [2024-04-16T04:21:44.878Z] b5e4710f87ac: Pulling fs layer [2024-04-16T04:21:44.878Z] ad3a456e5733: Waiting [2024-04-16T04:21:44.878Z] 69c7f0334f64: Waiting [2024-04-16T04:21:44.878Z] ce7588e14bc9: Waiting [2024-04-16T04:21:44.878Z] b5e4710f87ac: Waiting [2024-04-16T04:21:44.878Z] c4d48a809fc2: Verifying Checksum [2024-04-16T04:21:44.878Z] c4d48a809fc2: Download complete [2024-04-16T04:21:44.878Z] ad3a456e5733: Verifying Checksum [2024-04-16T04:21:44.878Z] ad3a456e5733: Download complete [2024-04-16T04:21:44.878Z] 69c7f0334f64: Verifying Checksum [2024-04-16T04:21:44.878Z] 69c7f0334f64: Download complete [2024-04-16T04:21:44.878Z] 7264a8db6415: Verifying Checksum [2024-04-16T04:21:44.878Z] 7264a8db6415: Download complete [2024-04-16T04:21:44.878Z] 1f1c1a5573a3: Verifying Checksum [2024-04-16T04:21:44.878Z] 1f1c1a5573a3: Download complete [2024-04-16T04:21:44.878Z] 7264a8db6415: Pull complete [2024-04-16T04:21:45.136Z] b5e4710f87ac: Verifying Checksum [2024-04-16T04:21:45.136Z] b5e4710f87ac: Download complete [2024-04-16T04:21:45.136Z] c4d48a809fc2: Pull complete [2024-04-16T04:21:45.394Z] 4f1c88b9dad5: Verifying Checksum [2024-04-16T04:21:45.394Z] 4f1c88b9dad5: Download complete [2024-04-16T04:21:45.651Z] ce7588e14bc9: Verifying Checksum [2024-04-16T04:21:45.651Z] ce7588e14bc9: Download complete [2024-04-16T04:21:48.932Z] 4f1c88b9dad5: Pull complete [2024-04-16T04:21:48.932Z] ad3a456e5733: Pull complete [2024-04-16T04:21:48.932Z] 69c7f0334f64: Pull complete [2024-04-16T04:21:48.932Z] 1f1c1a5573a3: Pull complete [2024-04-16T04:21:50.830Z] ce7588e14bc9: Pull complete [2024-04-16T04:21:51.396Z] b5e4710f87ac: Pull complete [2024-04-16T04:21:51.396Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-04-16T04:21:51.396Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-04-16T04:21:51.396Z] ---> 88b5674ff536 [2024-04-16T04:21:51.396Z] Step 3/10 : ARG MAKE=make build [2024-04-16T04:21:57.749Z] Still waiting to schedule task [2024-04-16T04:21:57.749Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-04-16T04:21:57.971Z] ---> Running in 4e3d530bfd40 [2024-04-16T04:21:57.971Z] Removing intermediate container 4e3d530bfd40 [2024-04-16T04:21:57.971Z] ---> 5c52529448e2 [2024-04-16T04:21:57.971Z] Step 4/10 : WORKDIR /device-sdk-go [2024-04-16T04:21:57.971Z] ---> Running in b07f787d5595 [2024-04-16T04:21:57.971Z] Removing intermediate container b07f787d5595 [2024-04-16T04:21:57.971Z] ---> 967c4912608f [2024-04-16T04:21:57.971Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-04-16T04:21:57.971Z] ---> Running in a88fe2a91e99 [2024-04-16T04:21:57.971Z] Removing intermediate container a88fe2a91e99 [2024-04-16T04:21:57.971Z] ---> 5225ef6e0938 [2024-04-16T04:21:57.971Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-04-16T04:21:57.971Z] ---> Running in c2a3c97a550c [2024-04-16T04:21:57.971Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-16T04:21:57.971Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-16T04:21:57.971Z] OK: 264 MiB in 52 packages [2024-04-16T04:21:58.230Z] Removing intermediate container c2a3c97a550c [2024-04-16T04:21:58.230Z] ---> 71df01c25f41 [2024-04-16T04:21:58.230Z] Step 7/10 : COPY go.mod vendor* ./ [2024-04-16T04:21:58.490Z] ---> 949c1ada59e3 [2024-04-16T04:21:58.490Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-16T04:21:58.490Z] ---> Running in 7fcc8842c858 [2024-04-16T04:23:06.242Z] Removing intermediate container 7fcc8842c858 [2024-04-16T04:23:06.242Z] ---> efcf17fd032c [2024-04-16T04:23:06.242Z] Step 9/10 : COPY . . [2024-04-16T04:23:06.503Z] ---> 9159e4ed880e [2024-04-16T04:23:06.503Z] Step 10/10 : RUN ${MAKE} [2024-04-16T04:23:06.503Z] ---> Running in 487705c6e294 [2024-04-16T04:23:06.763Z] noop [2024-04-16T04:23:07.023Z] Removing intermediate container 487705c6e294 [2024-04-16T04:23:07.024Z] ---> ad1ffc3a6639 [2024-04-16T04:23:07.024Z] Successfully built ad1ffc3a6639 [2024-04-16T04:23:07.024Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T04:23:07.483Z] + docker inspect -f . ci-base-image-x86_64 [2024-04-16T04:23:07.483Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-16T04:23:07.656Z] prd-ubuntu20.04-docker-8c-8g-2528 does not seem to be running inside a container [2024-04-16T04:23:07.688Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1573 -v /w/workspace/gexfoundry_device-sdk-go_PR-1573:/w/workspace/gexfoundry_device-sdk-go_PR-1573:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-04-16T04:23:08.056Z] $ docker top 2decdb695216ca8151f8863cb409535c3cb1a99def91a598f2604d228531f23f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-16T04:23:08.461Z] + go version [2024-04-16T04:23:08.461Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-04-16T04:23:08.497Z] $ docker stop --time=1 2decdb695216ca8151f8863cb409535c3cb1a99def91a598f2604d228531f23f [2024-04-16T04:23:09.779Z] $ docker rm -f --volumes 2decdb695216ca8151f8863cb409535c3cb1a99def91a598f2604d228531f23f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T04:23:10.506Z] + docker inspect -f . ci-base-image-x86_64 [2024-04-16T04:23:10.506Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-16T04:23:10.664Z] prd-ubuntu20.04-docker-8c-8g-2528 does not seem to be running inside a container [2024-04-16T04:23:10.708Z] $ 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-1573 -v /w/workspace/gexfoundry_device-sdk-go_PR-1573:/w/workspace/gexfoundry_device-sdk-go_PR-1573:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-04-16T04:23:11.045Z] $ docker top c2a140c01fe15441bfcdb75bf76570f0bc7482b885f9af79da711834c425d0b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-16T04:23:11.458Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1573 [Pipeline] fileExists [Pipeline] sh [2024-04-16T04:23:11.827Z] + make test [2024-04-16T04:23:11.827Z] go test -race -coverprofile=coverage.out ./... [2024-04-16T04:23:18.390Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-04-16T04:23:32.998Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2529 in /w/workspace/gexfoundry_device-sdk-go_PR-1573 [Pipeline] { [Pipeline] ws [2024-04-16T04:23:33.055Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2024-04-16T04:23:33.241Z] The recommended git tool is: git [2024-04-16T04:23:40.943Z] using credential edgex-jenkins-ssh [2024-04-16T04:23:40.961Z] Cloning the remote Git repository [2024-04-16T04:23:41.003Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-04-16T04:23:41.105Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-04-16T04:23:41.316Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-04-16T04:23:41.317Z] > git --version # timeout=10 [2024-04-16T04:23:41.351Z] > git --version # 'git version 2.25.1' [2024-04-16T04:23:41.354Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-16T04:23:41.601Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-16T04:23:44.237Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-04-16T04:23:44.281Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-04-16T04:23:46.114Z] Merging remotes/origin/main commit decf7a4867f03271291a6465384c5ba130c9fec8 into PR head commit c020589200711f14ff7174cb813a2f3d169bed73 [2024-04-16T04:23:46.457Z] Merge succeeded, producing c020589200711f14ff7174cb813a2f3d169bed73 [2024-04-16T04:23:46.458Z] Checking out Revision c020589200711f14ff7174cb813a2f3d169bed73 (PR-1573) [2024-04-16T04:23:45.460Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-04-16T04:23:45.505Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-04-16T04:23:45.506Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-16T04:23:45.536Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1573/head:refs/remotes/origin/PR-1573 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-04-16T04:23:46.139Z] > git config core.sparsecheckout # timeout=10 [2024-04-16T04:23:46.210Z] > git checkout -f c020589200711f14ff7174cb813a2f3d169bed73 # timeout=10 [2024-04-16T04:23:46.339Z] > git remote # timeout=10 [2024-04-16T04:23:46.370Z] > git config --get remote.origin.url # timeout=10 [2024-04-16T04:23:46.394Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-04-16T04:23:46.413Z] > git merge decf7a4867f03271291a6465384c5ba130c9fec8 # timeout=10 [2024-04-16T04:23:46.440Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-04-16T04:23:46.468Z] > git config core.sparsecheckout # timeout=10 [2024-04-16T04:23:46.486Z] > git checkout -f c020589200711f14ff7174cb813a2f3d169bed73 # timeout=10 [2024-04-16T04:23:47.245Z] Commit message: "build(deps): bump github.com/labstack/echo/v4 from 4.11.4 to 4.12.0" [2024-04-16T04:23:47.297Z] > git --version # timeout=10 [2024-04-16T04:23:47.314Z] > git --version # 'git version 2.25.1' [2024-04-16T04:23:47.340Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-04-16T04:23:50.461Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-04-16T04:23:50.461Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-04-16T04:23:50.461Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-04-16T04:23:50.461Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-04-16T04:23:50.461Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-04-16T04:23:50.461Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.047s coverage: 27.6% of statements [2024-04-16T04:23:50.461Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.055s coverage: 81.5% of statements [2024-04-16T04:23:50.461Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-04-16T04:23:50.461Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-16T04:23:51.840Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-04-16T04:23:51.840Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.061s coverage: 86.0% of statements [2024-04-16T04:23:51.840Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-04-16T04:23:51.840Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-04-16T04:23:52.243Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-04-16T04:23:52.243Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-04-16T04:23:52.243Z] Dload Upload Total Spent Left Speed [2024-04-16T04:23:52.243Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 117k 0 --:--:-- --:--:-- --:--:-- 117k 100 12828 100 12828 0 0 115k 0 --:--:-- --:--:-- --:--:-- 114k [Pipeline] sh [2024-04-16T04:23:52.586Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-04-16T04:23:52.776Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.125s coverage: 71.8% of statements [2024-04-16T04:23:52.922Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-04-16T04:23:52.922Z] + sudo tee /etc/docker/daemon.new [2024-04-16T04:23:52.922Z] { [2024-04-16T04:23:52.922Z] "registry-mirrors": [ [2024-04-16T04:23:52.922Z] "https://nexus3.edgexfoundry.org:10001" [2024-04-16T04:23:52.922Z] ], [2024-04-16T04:23:52.922Z] "bip": "10.250.0.254/24", [2024-04-16T04:23:52.922Z] "hosts": [ [2024-04-16T04:23:52.922Z] "tcp://0.0.0.0:5555", [2024-04-16T04:23:52.922Z] "unix:///var/run/docker.sock" [2024-04-16T04:23:52.922Z] ], [2024-04-16T04:23:52.922Z] "mtu": 1458, [2024-04-16T04:23:52.922Z] "selinux-enabled": true, [2024-04-16T04:23:52.922Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-04-16T04:23:52.922Z] } [Pipeline] sh [2024-04-16T04:23:53.273Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-04-16T04:23:53.344Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-04-16T04:23:53.618Z] + sudo service docker restart [2024-04-16T04:23:55.906Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.052s coverage: 14.4% of statements [2024-04-16T04:23:55.906Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 2.714s coverage: 45.9% of statements [2024-04-16T04:23:55.906Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.060s coverage: 68.5% of statements [2024-04-16T04:23:55.906Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.170s coverage: 89.2% of statements [2024-04-16T04:23:55.906Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.187s coverage: 5.5% of statements [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-16T04:24:11.923Z] provisioning config files... [2024-04-16T04:24:11.953Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config3839169026698252834tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-16T04:24:12.430Z] ---> ****-login.sh [2024-04-16T04:24:12.430Z] nexus3.edgexfoundry.org:10001 [2024-04-16T04:24:12.702Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T04:24:12.974Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T04:24:12.974Z] Configure a credential helper to remove this warning. See [2024-04-16T04:24:12.974Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T04:24:12.974Z] [2024-04-16T04:24:12.974Z] Login Succeeded [2024-04-16T04:24:12.974Z] nexus3.edgexfoundry.org:10002 [2024-04-16T04:24:13.242Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T04:24:13.511Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T04:24:13.511Z] Configure a credential helper to remove this warning. See [2024-04-16T04:24:13.511Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T04:24:13.511Z] [2024-04-16T04:24:13.511Z] Login Succeeded [2024-04-16T04:24:13.511Z] nexus3.edgexfoundry.org:10003 [2024-04-16T04:24:13.787Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T04:24:13.787Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T04:24:13.787Z] Configure a credential helper to remove this warning. See [2024-04-16T04:24:13.787Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T04:24:13.787Z] [2024-04-16T04:24:13.787Z] Login Succeeded [2024-04-16T04:24:13.787Z] nexus3.edgexfoundry.org:10004 [2024-04-16T04:24:14.056Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T04:24:14.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T04:24:14.056Z] Configure a credential helper to remove this warning. See [2024-04-16T04:24:14.056Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T04:24:14.056Z] [2024-04-16T04:24:14.056Z] Login Succeeded [2024-04-16T04:24:14.056Z] ****.io [2024-04-16T04:24:14.328Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-04-16T04:24:14.599Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-04-16T04:24:14.599Z] Configure a credential helper to remove this warning. See [2024-04-16T04:24:14.599Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-04-16T04:24:14.599Z] [2024-04-16T04:24:14.599Z] Login Succeeded [2024-04-16T04:24:14.599Z] ---> ****-login.sh ends [Pipeline] } [2024-04-16T04:24:14.631Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-04-16T04:24:15.041Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-16T04:24:15.083Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-04-16T04:24:15.125Z] ========================================================= [2024-04-16T04:24:15.125Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-04-16T04:24:15.125Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T04:24:15.639Z] + 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.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-04-16T04:24:16.244Z] Sending build context to Docker daemon 11.47MB [2024-04-16T04:24:16.244Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2024-04-16T04:24:16.244Z] Step 2/10 : FROM ${BASE} AS builder [2024-04-16T04:24:16.244Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-04-16T04:24:16.244Z] 9fda8d8052c6: Pulling fs layer [2024-04-16T04:24:16.244Z] 5d54e960e981: Pulling fs layer [2024-04-16T04:24:16.244Z] c4a7e357bf2a: Pulling fs layer [2024-04-16T04:24:16.244Z] f0e02332f6b5: Pulling fs layer [2024-04-16T04:24:16.244Z] 872ee5b61b7b: Pulling fs layer [2024-04-16T04:24:16.244Z] 0c6a40ed1a82: Pulling fs layer [2024-04-16T04:24:16.244Z] 94ae7d8d031c: Pulling fs layer [2024-04-16T04:24:16.244Z] f0e02332f6b5: Waiting [2024-04-16T04:24:16.244Z] 872ee5b61b7b: Waiting [2024-04-16T04:24:16.244Z] 0c6a40ed1a82: Waiting [2024-04-16T04:24:16.244Z] 94ae7d8d031c: Waiting [2024-04-16T04:24:16.513Z] 5d54e960e981: Verifying Checksum [2024-04-16T04:24:16.513Z] 5d54e960e981: Download complete [2024-04-16T04:24:16.513Z] f0e02332f6b5: Verifying Checksum [2024-04-16T04:24:16.513Z] f0e02332f6b5: Download complete [2024-04-16T04:24:16.513Z] 872ee5b61b7b: Verifying Checksum [2024-04-16T04:24:16.513Z] 872ee5b61b7b: Download complete [2024-04-16T04:24:16.513Z] 9fda8d8052c6: Verifying Checksum [2024-04-16T04:24:16.513Z] 9fda8d8052c6: Download complete [2024-04-16T04:24:17.102Z] 94ae7d8d031c: Verifying Checksum [2024-04-16T04:24:17.102Z] 94ae7d8d031c: Download complete [2024-04-16T04:24:17.371Z] 9fda8d8052c6: Pull complete [2024-04-16T04:24:17.958Z] 5d54e960e981: Pull complete [2024-04-16T04:24:18.227Z] c4a7e357bf2a: Verifying Checksum [2024-04-16T04:24:18.227Z] c4a7e357bf2a: Download complete [2024-04-16T04:24:19.193Z] 0c6a40ed1a82: Download complete [2024-04-16T04:24:27.985Z] GO111MODULE=on go vet ./... [2024-04-16T04:24:30.511Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-04-16T04:24:30.511Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-04-16T04:24:30.511Z] ./bin/test-attribution-txt.sh [2024-04-16T04:24:30.511Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-04-16T04:24:30.511Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-04-16T04:24:30.567Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-04-16T04:24:30.620Z] $ docker stop --time=1 c2a140c01fe15441bfcdb75bf76570f0bc7482b885f9af79da711834c425d0b4 [2024-04-16T04:24:31.510Z] c4a7e357bf2a: Pull complete [2024-04-16T04:24:31.510Z] f0e02332f6b5: Pull complete [2024-04-16T04:24:31.510Z] 872ee5b61b7b: Pull complete [2024-04-16T04:24:37.309Z] $ docker rm -f --volumes c2a140c01fe15441bfcdb75bf76570f0bc7482b885f9af79da711834c425d0b4 [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-16T04:24:38.017Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-04-16T04:24:38.101Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-04-16T04:24:38.816Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-04-16T04:24:39.124Z] + ls -al . [2024-04-16T04:24:39.125Z] total 376 [2024-04-16T04:24:39.125Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 16 04:23 . [2024-04-16T04:24:39.125Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 04:21 .. [2024-04-16T04:24:39.125Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 16 04:21 .dockerignore [2024-04-16T04:24:39.125Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 04:23 .git [2024-04-16T04:24:39.125Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 04:21 .github [2024-04-16T04:24:39.125Z] -rw-rw-r-- 1 jenkins jenkins 137 Apr 16 04:21 .gitignore [2024-04-16T04:24:39.125Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 16 04:21 .golangci.yml [2024-04-16T04:24:39.125Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 16 04:21 .semver [2024-04-16T04:24:39.125Z] -rw-rw-r-- 1 jenkins jenkins 48109 Apr 16 04:21 CHANGELOG.md [2024-04-16T04:24:39.125Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 16 04:21 GOVERNANCE.md [2024-04-16T04:24:39.125Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 16 04:21 Jenkinsfile [2024-04-16T04:24:39.125Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 16 04:21 LICENSE [2024-04-16T04:24:39.125Z] -rw-rw-r-- 1 jenkins jenkins 1842 Apr 16 04:21 Makefile [2024-04-16T04:24:39.125Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 16 04:21 OWNERS.md [2024-04-16T04:24:39.125Z] -rw-rw-r-- 1 jenkins jenkins 4933 Apr 16 04:21 README.md [2024-04-16T04:24:39.125Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 16 04:21 VERSION [2024-04-16T04:24:39.125Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 04:21 bin [2024-04-16T04:24:39.125Z] -rw-r--r-- 1 jenkins jenkins 122153 Apr 16 04:23 coverage.out [2024-04-16T04:24:39.125Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 16 04:21 example [2024-04-16T04:24:39.125Z] -rw-rw-r-- 1 jenkins jenkins 7070 Apr 16 04:21 go.mod [2024-04-16T04:24:39.125Z] -rw-rw-r-- 1 jenkins jenkins 101288 Apr 16 04:21 go.sum [2024-04-16T04:24:39.125Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 16 04:21 internal [2024-04-16T04:24:39.125Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 04:21 openapi [2024-04-16T04:24:39.125Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 16 04:21 pkg [2024-04-16T04:24:39.125Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 04:21 snap [2024-04-16T04:24:39.125Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 16 04:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T04:24:39.526Z] + 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=c020589200711f14ff7174cb813a2f3d169bed73 --label arch=amd64 --label version=0.0.0 . [2024-04-16T04:24:39.526Z] Sending build context to Docker daemon 22.25MB [2024-04-16T04:24:39.526Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-04-16T04:24:39.526Z] Step 2/23 : FROM ${BASE} AS builder [2024-04-16T04:24:39.526Z] ---> ad1ffc3a6639 [2024-04-16T04:24:39.526Z] Step 3/23 : ARG MAKE=make build [2024-04-16T04:24:39.716Z] 0c6a40ed1a82: Pull complete [2024-04-16T04:24:40.092Z] ---> Running in d0537893a74e [2024-04-16T04:24:40.092Z] Removing intermediate container d0537893a74e [2024-04-16T04:24:40.092Z] ---> 577bfc7c75a1 [2024-04-16T04:24:40.092Z] Step 4/23 : WORKDIR /device-sdk-go [2024-04-16T04:24:40.092Z] ---> Running in 7cb4a54c719f [2024-04-16T04:24:40.092Z] Removing intermediate container 7cb4a54c719f [2024-04-16T04:24:40.092Z] ---> 873bd33b2ae3 [2024-04-16T04:24:40.092Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-04-16T04:24:40.092Z] ---> Running in 636a789fc30a [2024-04-16T04:24:40.351Z] Removing intermediate container 636a789fc30a [2024-04-16T04:24:40.351Z] ---> 5518338e40e5 [2024-04-16T04:24:40.351Z] Step 6/23 : RUN apk add --update --no-cache make git [2024-04-16T04:24:40.351Z] ---> Running in e060ec01ac8b [2024-04-16T04:24:40.610Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-16T04:24:40.610Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-16T04:24:41.129Z] 94ae7d8d031c: Pull complete [2024-04-16T04:24:41.129Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-04-16T04:24:41.129Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-04-16T04:24:41.129Z] ---> 86de565de09d [2024-04-16T04:24:41.129Z] Step 3/10 : ARG MAKE=make build [2024-04-16T04:24:41.178Z] OK: 264 MiB in 52 packages [2024-04-16T04:24:41.178Z] Removing intermediate container e060ec01ac8b [2024-04-16T04:24:41.178Z] ---> 47c91bf74ee7 [2024-04-16T04:24:41.178Z] Step 7/23 : COPY go.mod vendor* ./ [2024-04-16T04:24:41.435Z] ---> 493a18da4660 [2024-04-16T04:24:41.435Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-16T04:24:41.435Z] ---> Running in 3fe7ab09d226 [2024-04-16T04:24:42.002Z] Removing intermediate container 3fe7ab09d226 [2024-04-16T04:24:42.002Z] ---> f846b6791285 [2024-04-16T04:24:42.002Z] Step 9/23 : COPY . . [2024-04-16T04:24:42.965Z] ---> 0965cd7b28a4 [2024-04-16T04:24:42.965Z] Step 10/23 : RUN ${MAKE} [2024-04-16T04:24:42.965Z] ---> Running in 5e4993273349 [2024-04-16T04:24:43.075Z] ---> Running in 48f5f577e4c1 [2024-04-16T04:24:43.075Z] Removing intermediate container 48f5f577e4c1 [2024-04-16T04:24:43.075Z] ---> 6ff87f6859d2 [2024-04-16T04:24:43.075Z] Step 4/10 : WORKDIR /device-sdk-go [2024-04-16T04:24:43.075Z] ---> Running in 9b44d03f300e [2024-04-16T04:24:43.223Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-04-16T04:24:43.666Z] Removing intermediate container 9b44d03f300e [2024-04-16T04:24:43.666Z] ---> b14f24e03d76 [2024-04-16T04:24:43.666Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-04-16T04:24:43.666Z] ---> Running in 47aacfc41638 [2024-04-16T04:24:43.935Z] Removing intermediate container 47aacfc41638 [2024-04-16T04:24:43.935Z] ---> fcc5d4a455ae [2024-04-16T04:24:43.935Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-04-16T04:24:43.935Z] ---> Running in e2315ff12fbf [2024-04-16T04:24:44.934Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-16T04:24:45.517Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-16T04:24:46.475Z] OK: 266 MiB in 52 packages [2024-04-16T04:24:47.434Z] Removing intermediate container e2315ff12fbf [2024-04-16T04:24:47.434Z] ---> b91da8f0868d [2024-04-16T04:24:47.434Z] Step 7/10 : COPY go.mod vendor* ./ [2024-04-16T04:24:47.708Z] ---> cc9ed0ee7113 [2024-04-16T04:24:47.708Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-16T04:24:47.708Z] ---> Running in 9319729fbcf4 [2024-04-16T04:25:15.289Z] Removing intermediate container 5e4993273349 [2024-04-16T04:25:15.289Z] ---> 704749d29524 [2024-04-16T04:25:15.289Z] Step 11/23 : FROM alpine:3.18 [2024-04-16T04:25:15.289Z] 3.18: Pulling from library/alpine [2024-04-16T04:25:15.289Z] 619be1103602: Pulling fs layer [2024-04-16T04:25:15.289Z] 619be1103602: Verifying Checksum [2024-04-16T04:25:15.289Z] 619be1103602: Download complete [2024-04-16T04:25:15.289Z] 619be1103602: Pull complete [2024-04-16T04:25:15.289Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-04-16T04:25:15.289Z] Status: Downloaded newer image for alpine:3.18 [2024-04-16T04:25:15.289Z] ---> d3782b16ccc9 [2024-04-16T04:25:15.289Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-04-16T04:25:15.289Z] ---> Running in d5183cc9fe4b [2024-04-16T04:25:15.289Z] Removing intermediate container d5183cc9fe4b [2024-04-16T04:25:15.289Z] ---> 439fd20f0d97 [2024-04-16T04:25:15.289Z] Step 13/23 : RUN apk add --update --no-cache [2024-04-16T04:25:15.289Z] ---> Running in 62dd320c2760 [2024-04-16T04:25:15.289Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-04-16T04:25:15.289Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-04-16T04:25:15.289Z] OK: 7 MiB in 15 packages [2024-04-16T04:25:15.289Z] Removing intermediate container 62dd320c2760 [2024-04-16T04:25:15.289Z] ---> 07c5e0569350 [2024-04-16T04:25:15.289Z] Step 14/23 : WORKDIR / [2024-04-16T04:25:15.289Z] ---> Running in f6035021ee73 [2024-04-16T04:25:15.289Z] Removing intermediate container f6035021ee73 [2024-04-16T04:25:15.289Z] ---> 6d0647a6b7c3 [2024-04-16T04:25:15.289Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-04-16T04:25:15.289Z] ---> 7339e0df3b38 [2024-04-16T04:25:15.289Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-04-16T04:25:15.289Z] ---> 0434ddc3ed99 [2024-04-16T04:25:15.289Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-04-16T04:25:15.289Z] ---> 8f37ebc124fe [2024-04-16T04:25:15.289Z] Step 18/23 : EXPOSE 59999 [2024-04-16T04:25:15.289Z] ---> Running in aca7cee02ea4 [2024-04-16T04:25:15.289Z] Removing intermediate container aca7cee02ea4 [2024-04-16T04:25:15.289Z] ---> 1c79ecd56dfe [2024-04-16T04:25:15.289Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2024-04-16T04:25:15.289Z] ---> Running in 0fccf7f9067a [2024-04-16T04:25:15.289Z] Removing intermediate container 0fccf7f9067a [2024-04-16T04:25:15.289Z] ---> dd189f825fcb [2024-04-16T04:25:15.289Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-04-16T04:25:15.289Z] ---> Running in 9a7db9eca936 [2024-04-16T04:25:15.289Z] Removing intermediate container 9a7db9eca936 [2024-04-16T04:25:15.289Z] ---> aeb2ac02bdc8 [2024-04-16T04:25:15.289Z] Step 21/23 : LABEL arch=amd64 [2024-04-16T04:25:15.289Z] ---> Running in 1bf8a7532aa8 [2024-04-16T04:25:15.289Z] Removing intermediate container 1bf8a7532aa8 [2024-04-16T04:25:15.289Z] ---> 7b5b602b296d [2024-04-16T04:25:15.289Z] Step 22/23 : LABEL git_sha=c020589200711f14ff7174cb813a2f3d169bed73 [2024-04-16T04:25:15.289Z] ---> Running in d4054f9189c7 [2024-04-16T04:25:15.289Z] Removing intermediate container d4054f9189c7 [2024-04-16T04:25:15.289Z] ---> 12a6cbbf145f [2024-04-16T04:25:15.289Z] Step 23/23 : LABEL version=0.0.0 [2024-04-16T04:25:15.289Z] ---> Running in cd2f2f990f43 [2024-04-16T04:25:15.289Z] Removing intermediate container cd2f2f990f43 [2024-04-16T04:25:15.289Z] ---> 0845ee5e870b [2024-04-16T04:25:15.289Z] [Warning] One or more build-args [ARCH] were not consumed [2024-04-16T04:25:15.289Z] Successfully built 0845ee5e870b [2024-04-16T04:25:15.289Z] 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 [2024-04-16T04:25:16.213Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-16T04:25:16.214Z] [2024-04-16T04:25:16.214Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T04:25:16.599Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-16T04:25:16.599Z] latest: Pulling from edgex-lftools-log-publisher [2024-04-16T04:25:16.599Z] 5eb5b503b376: Pulling fs layer [2024-04-16T04:25:16.599Z] 5c69ac0246d0: Pulling fs layer [2024-04-16T04:25:16.599Z] ec43610c2a17: Pulling fs layer [2024-04-16T04:25:16.599Z] 3a2ae6a8a46f: Pulling fs layer [2024-04-16T04:25:16.599Z] 33b1e0a273af: Pulling fs layer [2024-04-16T04:25:16.599Z] 5d3b04190fa2: Pulling fs layer [2024-04-16T04:25:16.599Z] 2f39f015ded8: Pulling fs layer [2024-04-16T04:25:16.599Z] 33b1e0a273af: Waiting [2024-04-16T04:25:16.599Z] 5d3b04190fa2: Waiting [2024-04-16T04:25:16.599Z] 2f39f015ded8: Waiting [2024-04-16T04:25:16.599Z] 3a2ae6a8a46f: Waiting [2024-04-16T04:25:16.599Z] 5c69ac0246d0: Verifying Checksum [2024-04-16T04:25:16.599Z] 5c69ac0246d0: Download complete [2024-04-16T04:25:16.599Z] 3a2ae6a8a46f: Verifying Checksum [2024-04-16T04:25:16.599Z] 3a2ae6a8a46f: Download complete [2024-04-16T04:25:16.599Z] 33b1e0a273af: Verifying Checksum [2024-04-16T04:25:16.599Z] 33b1e0a273af: Download complete [2024-04-16T04:25:16.599Z] ec43610c2a17: Verifying Checksum [2024-04-16T04:25:16.599Z] ec43610c2a17: Download complete [2024-04-16T04:25:16.599Z] 5d3b04190fa2: Verifying Checksum [2024-04-16T04:25:16.599Z] 5d3b04190fa2: Download complete [2024-04-16T04:25:16.857Z] 5eb5b503b376: Verifying Checksum [2024-04-16T04:25:16.857Z] 5eb5b503b376: Download complete [2024-04-16T04:25:17.423Z] 2f39f015ded8: Download complete [2024-04-16T04:25:17.991Z] 5eb5b503b376: Pull complete [2024-04-16T04:25:17.991Z] 5c69ac0246d0: Pull complete [2024-04-16T04:25:18.556Z] ec43610c2a17: Pull complete [2024-04-16T04:25:18.556Z] 3a2ae6a8a46f: Pull complete [2024-04-16T04:25:18.814Z] 33b1e0a273af: Pull complete [2024-04-16T04:25:18.814Z] 5d3b04190fa2: Pull complete [2024-04-16T04:25:22.996Z] 2f39f015ded8: Pull complete [2024-04-16T04:25:22.996Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-04-16T04:25:22.996Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-16T04:25:22.996Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-16T04:25:23.243Z] prd-ubuntu20.04-docker-8c-8g-2528 does not seem to be running inside a container [2024-04-16T04:25:23.274Z] $ 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-1573 -v /w/workspace/gexfoundry_device-sdk-go_PR-1573:/w/workspace/gexfoundry_device-sdk-go_PR-1573:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-04-16T04:25:26.845Z] $ docker top 3d1935d8245d8e0b1e07727dda18e8aa895039a66413b7a5a187841d617bbce9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-16T04:25:27.317Z] ---> job-cost.sh [2024-04-16T04:25:27.317Z] lf-activate-venv: SKIPPING [2024-04-16T04:25:27.317Z] INFO: No Stack... [2024-04-16T04:25:27.576Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-04-16T04:25:28.145Z] INFO: Archiving Costs [Pipeline] sh [2024-04-16T04:25:28.461Z] + + cat /w/workspace/gexfoundry_device-sdk-go_PR-1573/archives/cost.csv [2024-04-16T04:25:28.461Z] cut -d, -f6 [Pipeline] lock [2024-04-16T04:25:28.503Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1573-1-stack-cost] [2024-04-16T04:25:28.508Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1573-1-stack-cost] did not exist. Created. [2024-04-16T04:25:28.513Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1573-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-04-16T04:25:28.915Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-04-16T04:25:28.972Z] Stashed 1 file(s) [Pipeline] } [2024-04-16T04:25:28.997Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1573-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-04-16T04:25:29.084Z] $ docker stop --time=1 3d1935d8245d8e0b1e07727dda18e8aa895039a66413b7a5a187841d617bbce9 [2024-04-16T04:25:30.226Z] $ docker rm -f --volumes 3d1935d8245d8e0b1e07727dda18e8aa895039a66413b7a5a187841d617bbce9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-04-16T04:26:39.358Z] Removing intermediate container 9319729fbcf4 [2024-04-16T04:26:39.358Z] ---> 4028dffe5cb5 [2024-04-16T04:26:39.358Z] Step 9/10 : COPY . . [2024-04-16T04:26:39.358Z] ---> 159cbae1959b [2024-04-16T04:26:39.358Z] Step 10/10 : RUN ${MAKE} [2024-04-16T04:26:39.358Z] ---> Running in 2b9ce88c1e47 [2024-04-16T04:26:40.322Z] noop [2024-04-16T04:26:40.901Z] Removing intermediate container 2b9ce88c1e47 [2024-04-16T04:26:40.901Z] ---> 6d09606e04fa [2024-04-16T04:26:40.901Z] Successfully built 6d09606e04fa [2024-04-16T04:26:40.901Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T04:26:41.392Z] + docker inspect -f . ci-base-image-arm64 [2024-04-16T04:26:41.392Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-16T04:26:41.668Z] prd-ubuntu20.04-docker-arm64-4c-16g-2529 does not seem to be running inside a container [2024-04-16T04:26:41.729Z] $ 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 ******** ci-base-image-arm64 cat [2024-04-16T04:26:42.860Z] $ docker top 85fa131aea99bd42d2315a5ddc59c5242738006118fc9b91902c239653dd0dbf -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-16T04:26:43.732Z] + go version [2024-04-16T04:26:43.732Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-04-16T04:26:43.767Z] $ docker stop --time=1 85fa131aea99bd42d2315a5ddc59c5242738006118fc9b91902c239653dd0dbf [2024-04-16T04:26:45.360Z] $ docker rm -f --volumes 85fa131aea99bd42d2315a5ddc59c5242738006118fc9b91902c239653dd0dbf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T04:26:46.245Z] + docker inspect -f . ci-base-image-arm64 [2024-04-16T04:26:46.245Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-16T04:26:46.491Z] prd-ubuntu20.04-docker-arm64-4c-16g-2529 does not seem to be running inside a container [2024-04-16T04:26:46.555Z] $ 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 ******** ci-base-image-arm64 cat [2024-04-16T04:26:47.730Z] $ docker top 6ef4a52b12e06b31b595cd4f21104fc19384c38e3db206be717ee11d4effd051 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-16T04:26:48.612Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-04-16T04:26:49.022Z] + make test [2024-04-16T04:26:49.289Z] go test -race -coverprofile=coverage.out ./... [2024-04-16T04:27:21.523Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2024-04-16T04:29:58.208Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2024-04-16T04:29:58.208Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2024-04-16T04:29:58.208Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2024-04-16T04:29:58.208Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2024-04-16T04:29:58.208Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2024-04-16T04:29:58.208Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.208s coverage: 27.6% of statements [2024-04-16T04:29:58.208Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.270s coverage: 81.5% of statements [2024-04-16T04:30:02.464Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2024-04-16T04:30:02.464Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2024-04-16T04:30:03.056Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.319s coverage: 86.0% of statements [2024-04-16T04:30:05.007Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2024-04-16T04:30:06.950Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.552s coverage: 71.8% of statements [2024-04-16T04:30:10.318Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2024-04-16T04:30:10.318Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2024-04-16T04:30:10.585Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.261s coverage: 14.4% of statements [2024-04-16T04:30:11.991Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.452s coverage: 45.9% of statements [2024-04-16T04:30:11.991Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.397s coverage: 68.5% of statements [2024-04-16T04:30:15.331Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.424s coverage: 89.2% of statements [2024-04-16T04:30:17.282Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2024-04-16T04:30:18.253Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.300s coverage: 5.5% of statements [2024-04-16T04:30:19.661Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-04-16T04:30:19.661Z] GO111MODULE=on go vet ./... [2024-04-16T04:33:26.720Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-04-16T04:33:26.720Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-04-16T04:33:26.720Z] ./bin/test-attribution-txt.sh [2024-04-16T04:33:26.720Z] An attribution for github.com/asaskevich/govalidator is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/cenkalti/backoff/v4 is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/fsnotify/fsnotify is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/fullsailor/pkcs7 is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/go-logr/logr is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/go-logr/stdr is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/go-ole/go-ole is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/go-openapi/analysis is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/go-openapi/errors is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/go-openapi/jsonpointer is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/go-openapi/jsonreference is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/go-openapi/loads is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/go-openapi/runtime is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/go-openapi/spec is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/go-openapi/strfmt is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/go-openapi/swag is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/go-openapi/validate is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/go-resty/resty/v2 is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/golang-jwt/jwt/v5 is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/gorilla/mux is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/gorilla/schema is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/gorilla/securecookie is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/josharian/intern is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/kataras/go-events is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/lufia/plan9stats is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/mailru/easyjson is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/mgutz/ansi is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/michaelquigley/pfxlog is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/miekg/pkcs11 is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/mitchellh/go-ps is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/muhlemmer/gu is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/oklog/ulid is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/opentracing/opentracing-go is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/openziti/channel/v2 is missing from Attribution.txt, please add [2024-04-16T04:33:26.720Z] An attribution for github.com/openziti/edge-api is missing from Attribution.txt, please add [2024-04-16T04:33:26.721Z] An attribution for github.com/openziti/foundation/v2 is missing from Attribution.txt, please add [2024-04-16T04:33:26.721Z] An attribution for github.com/openziti/identity is missing from Attribution.txt, please add [2024-04-16T04:33:26.721Z] An attribution for github.com/openziti/metrics is missing from Attribution.txt, please add [2024-04-16T04:33:26.721Z] An attribution for github.com/openziti/sdk-golang is missing from Attribution.txt, please add [2024-04-16T04:33:26.721Z] An attribution for github.com/openziti/secretstream is missing from Attribution.txt, please add [2024-04-16T04:33:26.721Z] An attribution for github.com/openziti/transport/v2 is missing from Attribution.txt, please add [2024-04-16T04:33:26.721Z] An attribution for github.com/orcaman/concurrent-map/v2 is missing from Attribution.txt, please add [2024-04-16T04:33:26.721Z] An attribution for github.com/parallaxsecond/parsec-client-go is missing from Attribution.txt, please add [2024-04-16T04:33:26.721Z] An attribution for github.com/pkg/errors is missing from Attribution.txt, please add [2024-04-16T04:33:26.721Z] An attribution for github.com/power-devops/perfstat is missing from Attribution.txt, please add [2024-04-16T04:33:26.721Z] An attribution for github.com/shirou/gopsutil/v3 is missing from Attribution.txt, please add [2024-04-16T04:33:26.721Z] An attribution for github.com/shoenig/go-m1cpu is missing from Attribution.txt, please add [2024-04-16T04:33:26.721Z] An attribution for github.com/sirupsen/logrus is missing from Attribution.txt, please add [2024-04-16T04:33:26.721Z] An attribution for github.com/speps/go-hashids is missing from Attribution.txt, please add [2024-04-16T04:33:26.721Z] An attribution for github.com/tklauser/go-sysconf is missing from Attribution.txt, please add [2024-04-16T04:33:26.721Z] An attribution for github.com/tklauser/numcpus is missing from Attribution.txt, please add [2024-04-16T04:33:26.721Z] An attribution for github.com/yusufpapurcu/wmi is missing from Attribution.txt, please add [2024-04-16T04:33:26.721Z] An attribution for github.com/zitadel/oidc/v2 is missing from Attribution.txt, please add [2024-04-16T04:33:26.721Z] An attribution for go.mongodb.org/mongo-driver is missing from Attribution.txt, please add [2024-04-16T04:33:26.721Z] An attribution for go.mozilla.org/pkcs7 is missing from Attribution.txt, please add [2024-04-16T04:33:26.721Z] An attribution for go.opentelemetry.io/otel is missing from Attribution.txt, please add [2024-04-16T04:33:26.721Z] An attribution for go.opentelemetry.io/otel/metric is missing from Attribution.txt, please add [2024-04-16T04:33:26.721Z] An attribution for go.opentelemetry.io/otel/trace is missing from Attribution.txt, please add [2024-04-16T04:33:26.721Z] An attribution for golang.org/x/oauth2 is missing from Attribution.txt, please add [2024-04-16T04:33:26.721Z] An attribution for golang.org/x/term is missing from Attribution.txt, please add [2024-04-16T04:33:26.721Z] An attribution for google.golang.org/appengine is missing from Attribution.txt, please add [2024-04-16T04:33:26.721Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [2024-04-16T04:33:26.721Z] An attribution for nhooyr.io/websocket is missing from Attribution.txt, please add [Pipeline] echo [2024-04-16T04:33:26.762Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-04-16T04:33:26.803Z] $ docker stop --time=1 6ef4a52b12e06b31b595cd4f21104fc19384c38e3db206be717ee11d4effd051 [2024-04-16T04:33:28.691Z] $ docker rm -f --volumes 6ef4a52b12e06b31b595cd4f21104fc19384c38e3db206be717ee11d4effd051 [Pipeline] // withDockerContainer [Pipeline] sh [2024-04-16T04:33:31.025Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-04-16T04:33:31.062Z] Warning: overwriting stash ‘coverage-report’ [2024-04-16T04:33:31.655Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-04-16T04:33:32.283Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-04-16T04:33:32.621Z] + ls -al . [2024-04-16T04:33:32.621Z] total 372 [2024-04-16T04:33:32.621Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 16 04:26 . [2024-04-16T04:33:32.621Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 04:23 .. [2024-04-16T04:33:32.621Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 16 04:23 .dockerignore [2024-04-16T04:33:32.621Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 16 04:23 .git [2024-04-16T04:33:32.621Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 04:23 .github [2024-04-16T04:33:32.621Z] -rw-rw-r-- 1 jenkins jenkins 137 Apr 16 04:23 .gitignore [2024-04-16T04:33:32.621Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 16 04:23 .golangci.yml [2024-04-16T04:33:32.621Z] -rw-rw-r-- 1 jenkins jenkins 48109 Apr 16 04:23 CHANGELOG.md [2024-04-16T04:33:32.621Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 16 04:23 GOVERNANCE.md [2024-04-16T04:33:32.621Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 16 04:23 Jenkinsfile [2024-04-16T04:33:32.621Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 16 04:23 LICENSE [2024-04-16T04:33:32.621Z] -rw-rw-r-- 1 jenkins jenkins 1842 Apr 16 04:23 Makefile [2024-04-16T04:33:32.621Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 16 04:23 OWNERS.md [2024-04-16T04:33:32.621Z] -rw-rw-r-- 1 jenkins jenkins 4933 Apr 16 04:23 README.md [2024-04-16T04:33:32.621Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 16 04:21 VERSION [2024-04-16T04:33:32.621Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 16 04:23 bin [2024-04-16T04:33:32.621Z] -rw-r--r-- 1 jenkins jenkins 122154 Apr 16 04:30 coverage.out [2024-04-16T04:33:32.621Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 16 04:23 example [2024-04-16T04:33:32.621Z] -rw-rw-r-- 1 jenkins jenkins 7070 Apr 16 04:23 go.mod [2024-04-16T04:33:32.621Z] -rw-rw-r-- 1 jenkins jenkins 101288 Apr 16 04:23 go.sum [2024-04-16T04:33:32.621Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 16 04:23 internal [2024-04-16T04:33:32.621Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 16 04:23 openapi [2024-04-16T04:33:32.621Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 16 04:23 pkg [2024-04-16T04:33:32.621Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 16 04:23 snap [2024-04-16T04:33:32.621Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 16 04:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T04:33:33.040Z] + 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=c020589200711f14ff7174cb813a2f3d169bed73 --label arch=arm64 --label version=0.0.0 . [2024-04-16T04:33:33.630Z] Sending build context to Docker daemon 11.6MB [2024-04-16T04:33:33.630Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2024-04-16T04:33:33.630Z] Step 2/23 : FROM ${BASE} AS builder [2024-04-16T04:33:33.630Z] ---> 6d09606e04fa [2024-04-16T04:33:33.630Z] Step 3/23 : ARG MAKE=make build [2024-04-16T04:33:33.630Z] ---> Running in b33ce3d2b7f6 [2024-04-16T04:33:34.213Z] Removing intermediate container b33ce3d2b7f6 [2024-04-16T04:33:34.213Z] ---> 6f894084a849 [2024-04-16T04:33:34.213Z] Step 4/23 : WORKDIR /device-sdk-go [2024-04-16T04:33:34.213Z] ---> Running in 04b95c8c0b02 [2024-04-16T04:33:34.478Z] Removing intermediate container 04b95c8c0b02 [2024-04-16T04:33:34.478Z] ---> 716a244eb123 [2024-04-16T04:33:34.478Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-04-16T04:33:34.478Z] ---> Running in f21fb8977b0b [2024-04-16T04:33:34.746Z] Removing intermediate container f21fb8977b0b [2024-04-16T04:33:34.746Z] ---> 03e18bcd0e9a [2024-04-16T04:33:34.746Z] Step 6/23 : RUN apk add --update --no-cache make git [2024-04-16T04:33:34.746Z] ---> Running in aa50ef5a9068 [2024-04-16T04:33:35.705Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-16T04:33:36.286Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-16T04:33:37.706Z] OK: 266 MiB in 52 packages [2024-04-16T04:33:38.287Z] Removing intermediate container aa50ef5a9068 [2024-04-16T04:33:38.287Z] ---> f8a4c8eba0cc [2024-04-16T04:33:38.287Z] Step 7/23 : COPY go.mod vendor* ./ [2024-04-16T04:33:38.870Z] ---> 0f0cedbf2d3a [2024-04-16T04:33:38.870Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-04-16T04:33:38.870Z] ---> Running in 17b2503a4929 [2024-04-16T04:33:41.442Z] Removing intermediate container 17b2503a4929 [2024-04-16T04:33:41.442Z] ---> 33383411cd2b [2024-04-16T04:33:41.442Z] Step 9/23 : COPY . . [2024-04-16T04:33:42.400Z] ---> 2f11e666efb5 [2024-04-16T04:33:42.400Z] Step 10/23 : RUN ${MAKE} [2024-04-16T04:33:42.400Z] ---> Running in a62c074c43d4 [2024-04-16T04:33:43.362Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-04-16T04:36:35.095Z] Removing intermediate container a62c074c43d4 [2024-04-16T04:36:35.095Z] ---> d5d5ccd9f9eb [2024-04-16T04:36:35.095Z] Step 11/23 : FROM alpine:3.18 [2024-04-16T04:36:35.095Z] 3.18: Pulling from library/alpine [2024-04-16T04:36:35.095Z] c6b39de5b339: Pulling fs layer [2024-04-16T04:36:35.095Z] c6b39de5b339: Verifying Checksum [2024-04-16T04:36:35.095Z] c6b39de5b339: Download complete [2024-04-16T04:36:35.095Z] c6b39de5b339: Pull complete [2024-04-16T04:36:35.095Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-04-16T04:36:35.095Z] Status: Downloaded newer image for alpine:3.18 [2024-04-16T04:36:35.095Z] ---> 33abbf032149 [2024-04-16T04:36:35.095Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-04-16T04:36:35.095Z] ---> Running in d4fe345e23b7 [2024-04-16T04:36:35.095Z] Removing intermediate container d4fe345e23b7 [2024-04-16T04:36:35.095Z] ---> c6f2ecaf0382 [2024-04-16T04:36:35.095Z] Step 13/23 : RUN apk add --update --no-cache [2024-04-16T04:36:35.095Z] ---> Running in 1231368f63d6 [2024-04-16T04:36:35.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-04-16T04:36:35.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-04-16T04:36:35.095Z] OK: 8 MiB in 15 packages [2024-04-16T04:36:35.095Z] Removing intermediate container 1231368f63d6 [2024-04-16T04:36:35.095Z] ---> d29f5c5f12d4 [2024-04-16T04:36:35.095Z] Step 14/23 : WORKDIR / [2024-04-16T04:36:35.095Z] ---> Running in 28b6bc128ceb [2024-04-16T04:36:35.095Z] Removing intermediate container 28b6bc128ceb [2024-04-16T04:36:35.095Z] ---> 92d4a2d94415 [2024-04-16T04:36:35.095Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-04-16T04:36:35.095Z] ---> 550e8d87452b [2024-04-16T04:36:35.095Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-04-16T04:36:35.095Z] ---> 39cb81a5e759 [2024-04-16T04:36:35.095Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-04-16T04:36:35.095Z] ---> 74b21ed7be98 [2024-04-16T04:36:35.095Z] Step 18/23 : EXPOSE 59999 [2024-04-16T04:36:35.095Z] ---> Running in ca6b7084f84a [2024-04-16T04:36:35.095Z] Removing intermediate container ca6b7084f84a [2024-04-16T04:36:35.095Z] ---> ae813fc1535a [2024-04-16T04:36:35.095Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2024-04-16T04:36:35.095Z] ---> Running in 8e495a252373 [2024-04-16T04:36:35.095Z] Removing intermediate container 8e495a252373 [2024-04-16T04:36:35.095Z] ---> 3f4cb9060b5d [2024-04-16T04:36:35.095Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-04-16T04:36:35.095Z] ---> Running in 3449e267c8d9 [2024-04-16T04:36:35.095Z] Removing intermediate container 3449e267c8d9 [2024-04-16T04:36:35.095Z] ---> e03a9e884172 [2024-04-16T04:36:35.095Z] Step 21/23 : LABEL arch=arm64 [2024-04-16T04:36:35.095Z] ---> Running in 753ddf79dba9 [2024-04-16T04:36:35.095Z] Removing intermediate container 753ddf79dba9 [2024-04-16T04:36:35.095Z] ---> a2ef1fcaf348 [2024-04-16T04:36:35.095Z] Step 22/23 : LABEL git_sha=c020589200711f14ff7174cb813a2f3d169bed73 [2024-04-16T04:36:35.095Z] ---> Running in c55f94a46216 [2024-04-16T04:36:35.095Z] Removing intermediate container c55f94a46216 [2024-04-16T04:36:35.095Z] ---> fcc914ab6f20 [2024-04-16T04:36:35.095Z] Step 23/23 : LABEL version=0.0.0 [2024-04-16T04:36:35.095Z] ---> Running in e58c89e9b737 [2024-04-16T04:36:35.095Z] Removing intermediate container e58c89e9b737 [2024-04-16T04:36:35.095Z] ---> e5690d0e1f93 [2024-04-16T04:36:35.095Z] [Warning] One or more build-args [ARCH] were not consumed [2024-04-16T04:36:35.095Z] Successfully built e5690d0e1f93 [2024-04-16T04:36:35.095Z] 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 [2024-04-16T04:36:35.954Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-16T04:36:35.954Z] [2024-04-16T04:36:35.954Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T04:36:36.357Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-16T04:36:36.357Z] arm64: Pulling from edgex-lftools-log-publisher [2024-04-16T04:36:36.357Z] 8998bd30e6a1: Pulling fs layer [2024-04-16T04:36:36.357Z] 04944245beec: Pulling fs layer [2024-04-16T04:36:36.357Z] 699f458cf7ca: Pulling fs layer [2024-04-16T04:36:36.357Z] 765212b225bb: Pulling fs layer [2024-04-16T04:36:36.357Z] f23df028b6ca: Pulling fs layer [2024-04-16T04:36:36.357Z] d65c8cfc05b1: Pulling fs layer [2024-04-16T04:36:36.357Z] 2437ff75d9bd: Pulling fs layer [2024-04-16T04:36:36.357Z] d65c8cfc05b1: Waiting [2024-04-16T04:36:36.357Z] 2437ff75d9bd: Waiting [2024-04-16T04:36:36.357Z] 765212b225bb: Waiting [2024-04-16T04:36:36.357Z] f23df028b6ca: Waiting [2024-04-16T04:36:36.622Z] 04944245beec: Verifying Checksum [2024-04-16T04:36:36.622Z] 04944245beec: Download complete [2024-04-16T04:36:36.622Z] 765212b225bb: Verifying Checksum [2024-04-16T04:36:36.622Z] 765212b225bb: Download complete [2024-04-16T04:36:36.622Z] f23df028b6ca: Verifying Checksum [2024-04-16T04:36:36.622Z] f23df028b6ca: Download complete [2024-04-16T04:36:36.622Z] d65c8cfc05b1: Verifying Checksum [2024-04-16T04:36:36.622Z] d65c8cfc05b1: Download complete [2024-04-16T04:36:36.622Z] 699f458cf7ca: Download complete [2024-04-16T04:36:37.201Z] 8998bd30e6a1: Download complete [2024-04-16T04:36:39.768Z] 2437ff75d9bd: Verifying Checksum [2024-04-16T04:36:39.768Z] 2437ff75d9bd: Download complete [2024-04-16T04:36:41.701Z] 8998bd30e6a1: Pull complete [2024-04-16T04:36:42.281Z] 04944245beec: Pull complete [2024-04-16T04:36:43.687Z] 699f458cf7ca: Pull complete [2024-04-16T04:36:43.952Z] 765212b225bb: Pull complete [2024-04-16T04:36:44.903Z] f23df028b6ca: Pull complete [2024-04-16T04:36:45.167Z] d65c8cfc05b1: Pull complete [2024-04-16T04:37:03.362Z] 2437ff75d9bd: Pull complete [2024-04-16T04:37:03.362Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-04-16T04:37:03.362Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-04-16T04:37:03.362Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-16T04:37:03.725Z] prd-ubuntu20.04-docker-arm64-4c-16g-2529 does not seem to be running inside a container [2024-04-16T04:37:03.781Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-04-16T04:37:06.606Z] $ docker top b7ec9a328440c585ed5e7b1acf71511b2ac6d5c6de47a92c1268314181d1f63c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-04-16T04:37:07.520Z] ---> job-cost.sh [2024-04-16T04:37:07.520Z] lf-activate-venv: SKIPPING [2024-04-16T04:37:07.520Z] INFO: No Stack... [2024-04-16T04:37:08.098Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-04-16T04:37:09.052Z] INFO: Archiving Costs [Pipeline] sh [2024-04-16T04:37:09.721Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2024-04-16T04:37:09.721Z] + cut -d, -f6 [Pipeline] lock [2024-04-16T04:37:09.798Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1573-1-stack-cost] [2024-04-16T04:37:09.803Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1573-1-stack-cost] did not exist. Created. [2024-04-16T04:37:09.809Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1573-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-04-16T04:37:10.537Z] /w/workspace/device-sdk-go/1@tmp/durable-a85b758b/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-04-16T04:37:11.197Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-04-16T04:37:11.232Z] Warning: overwriting stash ‘stack-cost’ [2024-04-16T04:37:11.322Z] Stashed 1 file(s) [Pipeline] } [2024-04-16T04:37:11.347Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1573-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-04-16T04:37:11.437Z] $ docker stop --time=1 b7ec9a328440c585ed5e7b1acf71511b2ac6d5c6de47a92c1268314181d1f63c [2024-04-16T04:37:12.929Z] $ docker rm -f --volumes b7ec9a328440c585ed5e7b1acf71511b2ac6d5c6de47a92c1268314181d1f63c [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 [2024-04-16T04:37:14.079Z] provisioning config files... [2024-04-16T04:37:14.087Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp/config6098142872050937947tmp [Pipeline] { [Pipeline] sh [2024-04-16T04:37:14.443Z] + set +x [2024-04-16T04:37:14.443Z] + curl -s https://codecov.io/bash+ [2024-04-16T04:37:14.443Z] bash -s -- [2024-04-16T04:37:14.443Z] [2024-04-16T04:37:14.443Z] _____ _ [2024-04-16T04:37:14.443Z] / ____| | | [2024-04-16T04:37:14.443Z] | | ___ __| | ___ ___ _____ __ [2024-04-16T04:37:14.443Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-04-16T04:37:14.443Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-04-16T04:37:14.443Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-04-16T04:37:14.443Z] Bash-1.0.6 [2024-04-16T04:37:14.443Z] [2024-04-16T04:37:14.443Z] [2024-04-16T04:37:14.443Z] ==> git version 2.25.1 found [2024-04-16T04:37:14.443Z] ==> 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 [2024-04-16T04:37:14.443Z] Release-Date: 2020-01-08 [2024-04-16T04:37:14.443Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-04-16T04:37:14.443Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-04-16T04:37:14.443Z] ==> Jenkins CI detected. [2024-04-16T04:37:14.443Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1573 [2024-04-16T04:37:14.443Z] project root: . [2024-04-16T04:37:14.443Z] --> token set from env [2024-04-16T04:37:14.443Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-04-16T04:37:14.704Z] ==> Running gcov in . (disable via -X gcov) [2024-04-16T04:37:14.704Z] ==> Python coveragepy not found [2024-04-16T04:37:14.704Z] ==> Searching for coverage reports in: [2024-04-16T04:37:14.704Z] + . [2024-04-16T04:37:14.704Z] -> Found 1 reports [2024-04-16T04:37:14.704Z] ==> Detecting git/mercurial file structure [2024-04-16T04:37:14.704Z] ==> Reading reports [2024-04-16T04:37:14.704Z] + ./coverage.out bytes=122154 [2024-04-16T04:37:14.704Z] ==> Appending adjustments [2024-04-16T04:37:14.704Z] https://docs.codecov.io/docs/fixing-reports [2024-04-16T04:37:14.964Z] + Found adjustments [2024-04-16T04:37:14.964Z] ==> Gzipping contents [2024-04-16T04:37:14.964Z] 20K /tmp/codecov.wqlG7j.gz [2024-04-16T04:37:14.964Z] ==> Uploading reports [2024-04-16T04:37:14.964Z] url: https://codecov.io [2024-04-16T04:37:14.964Z] query: branch=PR-1573&commit=c020589200711f14ff7174cb813a2f3d169bed73&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1573%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1573&job=&cmd_args= [2024-04-16T04:37:14.964Z] -> Pinging Codecov [2024-04-16T04:37:14.964Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1573&commit=c020589200711f14ff7174cb813a2f3d169bed73&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1573%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1573&job=&cmd_args= [2024-04-16T04:37:15.223Z] -> Uploading to [2024-04-16T04:37:15.224Z] https://storage.googleapis.com/codecov/v4/raw/2024-04-16/7E55EF52A471D76F132DFD9A03CDDE97/c020589200711f14ff7174cb813a2f3d169bed73/9020852c-68ed-4f5f-a605-47c61ee2ffbb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240416%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240416T043714Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4fc49d7bd0f0f4d576c527f27b7f59bddf84db5e45d894ee2af8f30b601eb532 [2024-04-16T04:37:15.224Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-04-16T04:37:15.224Z] Dload Upload Total Spent Left Speed [2024-04-16T04:37:15.484Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16712 0 0 100 16712 0 56269 --:--:-- --:--:-- --:--:-- 56269 [2024-04-16T04:37:15.484Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/c020589200711f14ff7174cb813a2f3d169bed73 [Pipeline] } [2024-04-16T04:37:15.515Z] 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 [2024-04-16T04:37:17.443Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1573/archives ] [2024-04-16T04:37:17.443Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1573/archives [2024-04-16T04:37:17.443Z] total 16 [2024-04-16T04:37:17.443Z] drwxr-xr-x 3 root root 4096 Apr 16 04:25 . [2024-04-16T04:37:17.443Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 16 04:25 .. [2024-04-16T04:37:17.443Z] drwxr-xr-x 2 root root 4096 Apr 16 04:25 cost [2024-04-16T04:37:17.443Z] -rw-r--r-- 1 root root 86 Apr 16 04:25 cost.csv [2024-04-16T04:37:17.443Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1573/archives [2024-04-16T04:37:17.443Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1573/archives [2024-04-16T04:37:17.443Z] total 16 [2024-04-16T04:37:17.443Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 16 04:25 . [2024-04-16T04:37:17.443Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 16 04:25 .. [2024-04-16T04:37:17.443Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 16 04:25 cost [2024-04-16T04:37:17.443Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 16 04:25 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-04-16T04:37:17.771Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-16T04:37:18.660Z] ---> package-listing.sh [2024-04-16T04:37:18.661Z] ++ facter osfamily [2024-04-16T04:37:18.661Z] ++ tr '[:upper:]' '[:lower:]' [2024-04-16T04:37:18.921Z] + OS_FAMILY=debian [2024-04-16T04:37:18.921Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1573 [2024-04-16T04:37:18.921Z] + START_PACKAGES=/tmp/packages_start.txt [2024-04-16T04:37:18.921Z] + END_PACKAGES=/tmp/packages_end.txt [2024-04-16T04:37:18.921Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-04-16T04:37:18.921Z] + PACKAGES=/tmp/packages_start.txt [2024-04-16T04:37:18.921Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1573 ']' [2024-04-16T04:37:18.921Z] + PACKAGES=/tmp/packages_end.txt [2024-04-16T04:37:18.921Z] + case "${OS_FAMILY}" in [2024-04-16T04:37:18.921Z] + dpkg -l [2024-04-16T04:37:18.921Z] + grep '^ii' [2024-04-16T04:37:18.921Z] + '[' -f /tmp/packages_start.txt ']' [2024-04-16T04:37:18.921Z] + '[' -f /tmp/packages_end.txt ']' [2024-04-16T04:37:18.921Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-04-16T04:37:18.921Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1573 ']' [2024-04-16T04:37:18.921Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1573/archives/ [2024-04-16T04:37:18.921Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1573/archives/ [Pipeline] echo [2024-04-16T04:37:18.955Z] 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-1573/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-04-16T04:37:19.250Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-04-16T04:37:19.879Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-04-16T04:37:19.879Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-04-16T04:37:20.031Z] prd-ubuntu20.04-docker-8c-8g-2528 does not seem to be running inside a container [2024-04-16T04:37:20.061Z] $ 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-1573/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-1573 -v /w/workspace/gexfoundry_device-sdk-go_PR-1573:/w/workspace/gexfoundry_device-sdk-go_PR-1573:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-04-16T04:37:20.250Z] $ docker top fd74154f371f3ea6ff76d48719598eed34a2037dd5154870117f1cfd725476f1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-04-16T04:37:20.657Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-04-16T04:37:20.976Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-04-16T04:37:21.301Z] + ls /var/log/sa-host [2024-04-16T04:37:21.301Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-04-16T04:37:21.524Z] provisioning config files... [2024-04-16T04:37:21.537Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1573@tmp/config9623394100419382274tmp [Pipeline] { [Pipeline] echo [2024-04-16T04:37:21.593Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-16T04:37:21.907Z] ---> create-netrc.sh [Pipeline] } [2024-04-16T04:37:21.934Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-04-16T04:37:22.354Z] ---> python-tools-install.sh [Pipeline] echo [2024-04-16T04:37:22.386Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-16T04:37:22.696Z] ---> sudo-logs.sh [2024-04-16T04:37:22.696Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-04-16T04:37:22.920Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-16T04:37:23.304Z] ---> job-cost.sh [2024-04-16T04:37:23.304Z] lf-activate-venv: SKIPPING [2024-04-16T04:37:23.304Z] DEBUG: total: 0.2199999988079071 [2024-04-16T04:37:23.304Z] INFO: Retrieving Stack Cost... [2024-04-16T04:37:23.928Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-04-16T04:37:24.237Z] INFO: Archiving Costs [Pipeline] echo [2024-04-16T04:37:24.271Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-04-16T04:37:24.580Z] ---> logs-deploy.sh [2024-04-16T04:37:24.580Z] lf-activate-venv: SKIPPING [2024-04-16T04:37:24.580Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1573/1 [2024-04-16T04:37:24.580Z] INFO: archiving workspace using pattern(s): [2024-04-16T04:37:25.518Z] Archives upload complete. [2024-04-16T04:37:25.519Z] INFO: archiving logs to Nexus