Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from bb3b780b49bdb40d95a497fa6cff623f428380a1+50dd63d392f370c86a33393d79501a04f0565adc (84c8675db6e63b7c3efa1c46fe5adb8a9f35bbde) 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-ssh394914451577832414.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-ssh9034216982689134608.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1540/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-1540/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13460301931972616333.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 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-ssh120137474697112956.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1540/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-1540/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1985772982796183144.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-228 in /w/workspace/gexfoundry_device-sdk-go_PR-1540 [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-1540 # 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 Merging remotes/origin/main commit 50dd63d392f370c86a33393d79501a04f0565adc into PR head commit bb3b780b49bdb40d95a497fa6cff623f428380a1 Merge succeeded, producing 6e2d4faf6ae36b7f68816f111c74e4c58def76a2 Checking out Revision 6e2d4faf6ae36b7f68816f111c74e4c58def76a2 (PR-1540) > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1540/head:refs/remotes/origin/PR-1540 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bb3b780b49bdb40d95a497fa6cff623f428380a1 # 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 50dd63d392f370c86a33393d79501a04f0565adc # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 6e2d4faf6ae36b7f68816f111c74e4c58def76a2 # timeout=10 Commit message: "Merge commit '50dd63d392f370c86a33393d79501a04f0565adc' into HEAD" > git rev-list --no-walk bb3b780b49bdb40d95a497fa6cff623f428380a1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-11-19T18:42:20.975Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-11-19T18:42:21.061Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-11-19T18:42:21.090Z] ========================================================= [2023-11-19T18:42:21.091Z] EdgeX Global Pipelines Version Info [2023-11-19T18:42:21.091Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-11-19T18:42:21.807Z] ------------------- [2023-11-19T18:42:21.807Z] stable info: [2023-11-19T18:42:21.807Z] ------------------- [2023-11-19T18:42:21.807Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-11-19T18:42:21.807Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-19T18:42:21.807Z] Message: update stable to v1.0.258 [2023-11-19T18:42:22.377Z] ------------------- [2023-11-19T18:42:22.377Z] experimental info: [2023-11-19T18:42:22.377Z] ------------------- [2023-11-19T18:42:22.377Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-11-19T18:42:22.377Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2023-11-19T18:42:22.377Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-11-19T18:42:22.459Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-11-19T18:42:22.481Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-11-19T18:42:22.503Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-11-19T18:42:22.529Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-11-19T18:42:22.552Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-11-19T18:42:22.577Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-11-19T18:42:22.605Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-11-19T18:42:22.639Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-11-19T18:42:22.672Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-11-19T18:42:22.707Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-11-19T18:42:22.734Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-11-19T18:42:22.768Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-11-19T18:42:22.804Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-11-19T18:42:22.839Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-11-19T18:42:22.867Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-11-19T18:42:22.902Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-11-19T18:42:22.931Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-11-19T18:42:22.959Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-11-19T18:42:22.998Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-11-19T18:42:23.036Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-11-19T18:42:23.071Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-11-19T18:42:23.114Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-11-19T18:42:23.154Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-11-19T18:42:23.198Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-11-19T18:42:23.242Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-11-19T18:42:23.290Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-11-19T18:42:23.328Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-11-19T18:42:23.373Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1540 [Pipeline] echo [2023-11-19T18:42:23.416Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1540 [Pipeline] echo [2023-11-19T18:42:23.460Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1540 [Pipeline] echo [2023-11-19T18:42:23.506Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6e2d4faf6ae36b7f68816f111c74e4c58def76a2 [Pipeline] echo [2023-11-19T18:42:23.542Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6e2d4fa [Pipeline] echo [2023-11-19T18:42:23.596Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-19T18:42:23.696Z] provisioning config files... [2023-11-19T18:42:23.708Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config13136790763047874734tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-19T18:42:24.060Z] ---> ****-login.sh [2023-11-19T18:42:24.060Z] nexus3.edgexfoundry.org:10001 [2023-11-19T18:42:24.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T18:42:24.323Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T18:42:24.323Z] Configure a credential helper to remove this warning. See [2023-11-19T18:42:24.323Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T18:42:24.323Z] [2023-11-19T18:42:24.323Z] Login Succeeded [2023-11-19T18:42:24.323Z] nexus3.edgexfoundry.org:10002 [2023-11-19T18:42:24.323Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T18:42:24.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T18:42:24.585Z] Configure a credential helper to remove this warning. See [2023-11-19T18:42:24.585Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T18:42:24.585Z] [2023-11-19T18:42:24.585Z] Login Succeeded [2023-11-19T18:42:24.585Z] nexus3.edgexfoundry.org:10003 [2023-11-19T18:42:24.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T18:42:24.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T18:42:24.586Z] Configure a credential helper to remove this warning. See [2023-11-19T18:42:24.586Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T18:42:24.586Z] [2023-11-19T18:42:24.586Z] Login Succeeded [2023-11-19T18:42:24.586Z] nexus3.edgexfoundry.org:10004 [2023-11-19T18:42:24.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T18:42:24.845Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T18:42:24.845Z] Configure a credential helper to remove this warning. See [2023-11-19T18:42:24.845Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T18:42:24.845Z] [2023-11-19T18:42:24.845Z] Login Succeeded [2023-11-19T18:42:24.845Z] ****.io [2023-11-19T18:42:24.845Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T18:42:25.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T18:42:25.107Z] Configure a credential helper to remove this warning. See [2023-11-19T18:42:25.107Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T18:42:25.107Z] [2023-11-19T18:42:25.107Z] Login Succeeded [2023-11-19T18:42:25.107Z] ---> ****-login.sh ends [Pipeline] } [2023-11-19T18:42:25.116Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-11-19T18:42:25.625Z] + git rev-list -1 --merges 6e2d4faf6ae36b7f68816f111c74e4c58def76a2~1..6e2d4faf6ae36b7f68816f111c74e4c58def76a2 [Pipeline] echo [2023-11-19T18:42:25.650Z] -----------> git rev-list -1 --merges 6e2d4faf6ae36b7f68816f111c74e4c58def76a2~1..6e2d4faf6ae36b7f68816f111c74e4c58def76a2 6e2d4faf6ae36b7f68816f111c74e4c58def76a2 [2023-11-19T18:42:25.650Z] 6e2d4faf6ae36b7f68816f111c74e4c58def76a2 [false] [Pipeline] sh [2023-11-19T18:42:25.955Z] + git log --format=format:%s -1 6e2d4faf6ae36b7f68816f111c74e4c58def76a2 [Pipeline] echo [2023-11-19T18:42:25.968Z] ========================================================= [2023-11-19T18:42:25.968Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-11-19T18:42:25.968Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-19T18:42:26.330Z] + git log --format=format:%s -1 6e2d4faf6ae36b7f68816f111c74e4c58def76a2 [Pipeline] echo [2023-11-19T18:42:26.342Z] [semverPrep] GIT_COMMIT: 6e2d4faf6ae36b7f68816f111c74e4c58def76a2, Commit Message: Merge commit '50dd63d392f370c86a33393d79501a04f0565adc' into HEAD [Pipeline] echo [2023-11-19T18:42:26.367Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-11-19T18:42:26.780Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-11-19T18:42:26.781Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-11-19T18:42:26.781Z] + [ -e /tmp/ssh_known_hosts ] [2023-11-19T18:42:26.781Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-11-19T18:42:26.781Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-11-19T18:42:26.781Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-11-19T18:42:26.781Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T18:42:27.197Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-19T18:42:27.197Z] [2023-11-19T18:42:27.197Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T18:42:27.519Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-19T18:42:27.519Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-11-19T18:42:27.519Z] b85a868b505f: Pulling fs layer [2023-11-19T18:42:27.520Z] e2be974225ed: Pulling fs layer [2023-11-19T18:42:27.520Z] 339a4e72a1f5: Pulling fs layer [2023-11-19T18:42:27.520Z] 988bab9f4d93: Pulling fs layer [2023-11-19T18:42:27.520Z] 1469e6f7b9e6: Pulling fs layer [2023-11-19T18:42:27.520Z] eaf3925da568: Pulling fs layer [2023-11-19T18:42:27.520Z] bab4dde63d76: Pulling fs layer [2023-11-19T18:42:27.520Z] bde34c3a00c8: Pulling fs layer [2023-11-19T18:42:27.520Z] b352a97aabf1: Pulling fs layer [2023-11-19T18:42:27.520Z] 4872d77fe225: Pulling fs layer [2023-11-19T18:42:27.520Z] 5851b861e8e6: Pulling fs layer [2023-11-19T18:42:27.520Z] 1469e6f7b9e6: Waiting [2023-11-19T18:42:27.520Z] bab4dde63d76: Waiting [2023-11-19T18:42:27.520Z] eaf3925da568: Waiting [2023-11-19T18:42:27.520Z] 988bab9f4d93: Waiting [2023-11-19T18:42:27.520Z] bde34c3a00c8: Waiting [2023-11-19T18:42:27.520Z] b352a97aabf1: Waiting [2023-11-19T18:42:27.520Z] 4872d77fe225: Waiting [2023-11-19T18:42:27.520Z] e2be974225ed: Verifying Checksum [2023-11-19T18:42:27.520Z] 988bab9f4d93: Download complete [2023-11-19T18:42:27.780Z] 1469e6f7b9e6: Verifying Checksum [2023-11-19T18:42:27.780Z] 1469e6f7b9e6: Download complete [2023-11-19T18:42:27.780Z] 339a4e72a1f5: Download complete [2023-11-19T18:42:27.780Z] eaf3925da568: Download complete [2023-11-19T18:42:27.780Z] bde34c3a00c8: Download complete [2023-11-19T18:42:27.780Z] b352a97aabf1: Verifying Checksum [2023-11-19T18:42:27.780Z] b352a97aabf1: Download complete [2023-11-19T18:42:27.780Z] 4872d77fe225: Verifying Checksum [2023-11-19T18:42:27.780Z] 4872d77fe225: Download complete [2023-11-19T18:42:27.780Z] 5851b861e8e6: Verifying Checksum [2023-11-19T18:42:27.780Z] 5851b861e8e6: Download complete [2023-11-19T18:42:27.780Z] b85a868b505f: Verifying Checksum [2023-11-19T18:42:27.780Z] b85a868b505f: Download complete [2023-11-19T18:42:28.045Z] bab4dde63d76: Verifying Checksum [2023-11-19T18:42:28.045Z] bab4dde63d76: Download complete [2023-11-19T18:42:28.989Z] b85a868b505f: Pull complete [2023-11-19T18:42:29.249Z] e2be974225ed: Pull complete [2023-11-19T18:42:29.818Z] 339a4e72a1f5: Pull complete [2023-11-19T18:42:29.818Z] 988bab9f4d93: Pull complete [2023-11-19T18:42:30.077Z] 1469e6f7b9e6: Pull complete [2023-11-19T18:42:30.077Z] eaf3925da568: Pull complete [2023-11-19T18:42:31.980Z] bab4dde63d76: Pull complete [2023-11-19T18:42:31.980Z] bde34c3a00c8: Pull complete [2023-11-19T18:42:32.240Z] b352a97aabf1: Pull complete [2023-11-19T18:42:32.240Z] 4872d77fe225: Pull complete [2023-11-19T18:42:32.240Z] 5851b861e8e6: Pull complete [2023-11-19T18:42:32.500Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-11-19T18:42:32.500Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-11-19T18:42:32.500Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T18:42:32.692Z] prd-ubuntu20.04-docker-8c-8g-228 does not seem to be running inside a container [2023-11-19T18:42:32.727Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-11-19T18:42:35.813Z] $ docker top cef8bb555a188a374bc5a544b656ffad83742295266b73746368ddefa3300c2f -eo pid,comm [2023-11-19T18:42:35.872Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-11-19T18:42:35.872Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-11-19T18:42:35.974Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-19T18:42:35.974Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-19T18:42:36.089Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-19T18:42:36.095Z] $ docker exec cef8bb555a188a374bc5a544b656ffad83742295266b73746368ddefa3300c2f ssh-agent [2023-11-19T18:42:36.196Z] SSH_AUTH_SOCK=/tmp/ssh-dJXlvT5pxg26/agent.33 [2023-11-19T18:42:36.196Z] SSH_AGENT_PID=39 [2023-11-19T18:42:36.204Z] Running ssh-add (command line suppressed) [2023-11-19T18:42:36.308Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_13980784004750419650.key (/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_13980784004750419650.key) [2023-11-19T18:42:36.317Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-19T18:42:36.625Z] + git tag --points-at HEAD [Pipeline] } [2023-11-19T18:42:36.641Z] $ docker exec --env ******** --env ******** cef8bb555a188a374bc5a544b656ffad83742295266b73746368ddefa3300c2f ssh-agent -k [2023-11-19T18:42:36.750Z] unset SSH_AUTH_SOCK; [2023-11-19T18:42:36.750Z] unset SSH_AGENT_PID; [2023-11-19T18:42:36.750Z] echo Agent pid 39 killed; [2023-11-19T18:42:36.757Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-11-19T18:42:36.820Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-11-19T18:42:36.820Z] [ssh-agent] Looking for ssh-agent implementation... [2023-11-19T18:42:36.939Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-11-19T18:42:36.945Z] $ docker exec cef8bb555a188a374bc5a544b656ffad83742295266b73746368ddefa3300c2f ssh-agent [2023-11-19T18:42:37.053Z] SSH_AUTH_SOCK=/tmp/ssh-bESQSGjU96Ta/agent.71 [2023-11-19T18:42:37.053Z] SSH_AGENT_PID=77 [2023-11-19T18:42:37.058Z] Running ssh-add (command line suppressed) [2023-11-19T18:42:37.164Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_4476284916111528560.key (/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/private_key_4476284916111528560.key) [2023-11-19T18:42:37.178Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-11-19T18:42:37.483Z] + git semver init [2023-11-19T18:42:37.742Z] 2023-11-19 18:42:37,679 [run_init] DEBUG init version:0.0.0 force:False [2023-11-19T18:42:37.742Z] 2023-11-19 18:42:37,680 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver [2023-11-19T18:42:37.742Z] 2023-11-19 18:42:37,680 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver [2023-11-19T18:42:37.742Z] 2023-11-19 18:42:37,680 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540, universal_newlines=False, shell=None, istream=None) [2023-11-19T18:42:39.120Z] 2023-11-19 18:42:38,811 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.git/info/exclude [2023-11-19T18:42:39.120Z] 2023-11-19 18:42:38,812 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 with force:False [2023-11-19T18:42:39.120Z] 2023-11-19 18:42:38,812 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 [2023-11-19T18:42:39.120Z] 2023-11-19 18:42:38,816 [execute] INFO git cat-file --batch-check [2023-11-19T18:42:39.120Z] 2023-11-19 18:42:38,817 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver, universal_newlines=False, shell=None, istream=) [2023-11-19T18:42:39.120Z] 2023-11-19 18:42:38,823 [execute] INFO git cat-file --batch [2023-11-19T18:42:39.120Z] 2023-11-19 18:42:38,823 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver, universal_newlines=False, shell=None, istream=) [2023-11-19T18:42:39.120Z] 2023-11-19 18:42:38,829 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1540/.semver/PR-1540 [2023-11-19T18:42:39.120Z] 0.0.0 [Pipeline] } [2023-11-19T18:42:39.133Z] $ docker exec --env ******** --env ******** cef8bb555a188a374bc5a544b656ffad83742295266b73746368ddefa3300c2f ssh-agent -k [2023-11-19T18:42:39.242Z] unset SSH_AUTH_SOCK; [2023-11-19T18:42:39.242Z] unset SSH_AGENT_PID; [2023-11-19T18:42:39.242Z] echo Agent pid 77 killed; [2023-11-19T18:42:39.251Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-11-19T18:42:39.640Z] + git semver [Pipeline] } [2023-11-19T18:42:39.918Z] $ docker stop --time=1 cef8bb555a188a374bc5a544b656ffad83742295266b73746368ddefa3300c2f [2023-11-19T18:42:41.207Z] $ docker rm -f --volumes cef8bb555a188a374bc5a544b656ffad83742295266b73746368ddefa3300c2f [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-19T18:42:41.577Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-11-19T18:42:41.857Z] Stashed 1 file(s) [Pipeline] echo [2023-11-19T18:42:41.860Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-19T18:42:42.215Z] provisioning config files... [2023-11-19T18:42:42.226Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config2480451749359743387tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-19T18:42:42.547Z] ---> ****-login.sh [2023-11-19T18:42:42.547Z] nexus3.edgexfoundry.org:10001 [2023-11-19T18:42:42.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T18:42:42.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T18:42:42.547Z] Configure a credential helper to remove this warning. See [2023-11-19T18:42:42.547Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T18:42:42.547Z] [2023-11-19T18:42:42.547Z] Login Succeeded [2023-11-19T18:42:42.547Z] nexus3.edgexfoundry.org:10002 [2023-11-19T18:42:42.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T18:42:42.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T18:42:42.547Z] Configure a credential helper to remove this warning. See [2023-11-19T18:42:42.547Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T18:42:42.547Z] [2023-11-19T18:42:42.547Z] Login Succeeded [2023-11-19T18:42:42.547Z] nexus3.edgexfoundry.org:10003 [2023-11-19T18:42:42.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T18:42:42.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T18:42:42.807Z] Configure a credential helper to remove this warning. See [2023-11-19T18:42:42.807Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T18:42:42.807Z] [2023-11-19T18:42:42.807Z] Login Succeeded [2023-11-19T18:42:42.807Z] nexus3.edgexfoundry.org:10004 [2023-11-19T18:42:42.807Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T18:42:42.807Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T18:42:42.807Z] Configure a credential helper to remove this warning. See [2023-11-19T18:42:42.807Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T18:42:42.807Z] [2023-11-19T18:42:42.807Z] Login Succeeded [2023-11-19T18:42:42.807Z] ****.io [2023-11-19T18:42:43.067Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T18:42:43.067Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T18:42:43.067Z] Configure a credential helper to remove this warning. See [2023-11-19T18:42:43.067Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T18:42:43.067Z] [2023-11-19T18:42:43.067Z] Login Succeeded [2023-11-19T18:42:43.067Z] ---> ****-login.sh ends [Pipeline] } [2023-11-19T18:42:43.074Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-19T18:42:43.236Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-19T18:42:43.266Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-19T18:42:43.296Z] ========================================================= [2023-11-19T18:42:43.296Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-11-19T18:42:43.296Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T18:42:43.702Z] + 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 . [2023-11-19T18:42:43.702Z] Sending build context to Docker daemon 21.95MB [2023-11-19T18:42:43.702Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-19T18:42:43.702Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-19T18:42:43.964Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-11-19T18:42:43.964Z] 7264a8db6415: Pulling fs layer [2023-11-19T18:42:43.964Z] c4d48a809fc2: Pulling fs layer [2023-11-19T18:42:43.964Z] 4f1c88b9dad5: Pulling fs layer [2023-11-19T18:42:43.964Z] ad3a456e5733: Pulling fs layer [2023-11-19T18:42:43.964Z] 69c7f0334f64: Pulling fs layer [2023-11-19T18:42:43.964Z] 1f1c1a5573a3: Pulling fs layer [2023-11-19T18:42:43.964Z] ce7588e14bc9: Pulling fs layer [2023-11-19T18:42:43.964Z] b5e4710f87ac: Pulling fs layer [2023-11-19T18:42:43.964Z] ad3a456e5733: Waiting [2023-11-19T18:42:43.964Z] 69c7f0334f64: Waiting [2023-11-19T18:42:43.964Z] 1f1c1a5573a3: Waiting [2023-11-19T18:42:43.964Z] ce7588e14bc9: Waiting [2023-11-19T18:42:43.964Z] b5e4710f87ac: Waiting [2023-11-19T18:42:43.964Z] c4d48a809fc2: Download complete [2023-11-19T18:42:43.964Z] ad3a456e5733: Verifying Checksum [2023-11-19T18:42:43.964Z] ad3a456e5733: Download complete [2023-11-19T18:42:43.964Z] 69c7f0334f64: Verifying Checksum [2023-11-19T18:42:43.964Z] 69c7f0334f64: Download complete [2023-11-19T18:42:43.964Z] 7264a8db6415: Verifying Checksum [2023-11-19T18:42:43.964Z] 7264a8db6415: Download complete [2023-11-19T18:42:43.964Z] 1f1c1a5573a3: Verifying Checksum [2023-11-19T18:42:43.964Z] 1f1c1a5573a3: Download complete [2023-11-19T18:42:44.223Z] 7264a8db6415: Pull complete [2023-11-19T18:42:44.223Z] b5e4710f87ac: Download complete [2023-11-19T18:42:44.223Z] c4d48a809fc2: Pull complete [2023-11-19T18:42:44.484Z] 4f1c88b9dad5: Verifying Checksum [2023-11-19T18:42:44.484Z] 4f1c88b9dad5: Download complete [2023-11-19T18:42:44.741Z] ce7588e14bc9: Verifying Checksum [2023-11-19T18:42:44.741Z] ce7588e14bc9: Download complete [2023-11-19T18:42:48.022Z] 4f1c88b9dad5: Pull complete [2023-11-19T18:42:48.022Z] ad3a456e5733: Pull complete [2023-11-19T18:42:48.022Z] 69c7f0334f64: Pull complete [2023-11-19T18:42:48.022Z] 1f1c1a5573a3: Pull complete [2023-11-19T18:42:50.557Z] ce7588e14bc9: Pull complete [2023-11-19T18:42:50.557Z] b5e4710f87ac: Pull complete [2023-11-19T18:42:50.557Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2023-11-19T18:42:50.557Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-11-19T18:42:50.557Z] ---> 88b5674ff536 [2023-11-19T18:42:50.557Z] Step 3/10 : ARG MAKE=make build [2023-11-19T18:42:55.936Z] ---> Running in 25f23f9911f7 [2023-11-19T18:42:55.936Z] Removing intermediate container 25f23f9911f7 [2023-11-19T18:42:55.936Z] ---> bf8764452147 [2023-11-19T18:42:55.936Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-19T18:42:55.936Z] ---> Running in 49e26f8060db [2023-11-19T18:42:55.936Z] Removing intermediate container 49e26f8060db [2023-11-19T18:42:55.936Z] ---> 1a19cb9124da [2023-11-19T18:42:55.936Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-19T18:42:55.936Z] ---> Running in ba3b69473033 [2023-11-19T18:42:55.936Z] Removing intermediate container ba3b69473033 [2023-11-19T18:42:55.936Z] ---> 97c0273c6117 [2023-11-19T18:42:55.936Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-19T18:42:55.936Z] ---> Running in 0c859409238c [2023-11-19T18:42:55.936Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-19T18:42:55.936Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-19T18:42:56.503Z] OK: 264 MiB in 52 packages [2023-11-19T18:42:56.762Z] Removing intermediate container 0c859409238c [2023-11-19T18:42:56.762Z] ---> 49a84fd5b006 [2023-11-19T18:42:56.762Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-19T18:42:56.762Z] ---> 2095ee89f3de [2023-11-19T18:42:56.762Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-19T18:42:57.021Z] ---> Running in dbca4a28bdcc [2023-11-19T18:42:57.113Z] Still waiting to schedule task [2023-11-19T18:42:57.113Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-11-19T18:43:53.339Z] Removing intermediate container dbca4a28bdcc [2023-11-19T18:43:53.339Z] ---> 3f6548e0b97f [2023-11-19T18:43:53.339Z] Step 9/10 : COPY . . [2023-11-19T18:43:53.339Z] ---> ce591ac41228 [2023-11-19T18:43:53.339Z] Step 10/10 : RUN ${MAKE} [2023-11-19T18:43:53.339Z] ---> Running in 17e473f54d72 [2023-11-19T18:43:53.339Z] noop [2023-11-19T18:43:53.339Z] Removing intermediate container 17e473f54d72 [2023-11-19T18:43:53.339Z] ---> 19e12c03cc99 [2023-11-19T18:43:53.339Z] Successfully built 19e12c03cc99 [2023-11-19T18:43:53.339Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T18:43:53.722Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-19T18:43:53.722Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T18:43:53.837Z] prd-ubuntu20.04-docker-8c-8g-228 does not seem to be running inside a container [2023-11-19T18:43:53.871Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-19T18:43:54.228Z] $ docker top 63fbfe8cb427debddf23d8394f47c17562f7b645d9f45f807955721ce9934771 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-19T18:43:54.615Z] + go version [2023-11-19T18:43:54.615Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-11-19T18:43:54.630Z] $ docker stop --time=1 63fbfe8cb427debddf23d8394f47c17562f7b645d9f45f807955721ce9934771 [2023-11-19T18:43:55.916Z] $ docker rm -f --volumes 63fbfe8cb427debddf23d8394f47c17562f7b645d9f45f807955721ce9934771 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T18:43:56.513Z] + docker inspect -f . ci-base-image-x86_64 [2023-11-19T18:43:56.513Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T18:43:56.636Z] prd-ubuntu20.04-docker-8c-8g-228 does not seem to be running inside a container [2023-11-19T18:43:56.672Z] $ 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-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-11-19T18:43:56.996Z] $ docker top 7bc081eea412ad41e79368afed668dc66557def8aa834639b9198b3c2f517a63 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-19T18:43:57.382Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1540 [Pipeline] fileExists [Pipeline] sh [2023-11-19T18:43:57.704Z] + make test [2023-11-19T18:43:57.704Z] go test -race -coverprofile=coverage.out ./... [2023-11-19T18:44:04.400Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-19T18:44:19.263Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-19T18:44:19.263Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-19T18:44:19.263Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-19T18:44:19.263Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-19T18:44:19.263Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-19T18:44:19.263Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-19T18:44:19.263Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-19T18:44:19.263Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.039s coverage: 27.6% of statements [2023-11-19T18:44:19.263Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-19T18:44:19.263Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.056s coverage: 81.5% of statements [2023-11-19T18:44:19.263Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.069s coverage: 86.0% of statements [2023-11-19T18:44:19.828Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.072s coverage: 71.8% of statements [2023-11-19T18:44:20.085Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-19T18:44:20.085Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-19T18:44:20.085Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-19T18:44:23.368Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.050s coverage: 14.4% of statements [2023-11-19T18:44:23.368Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.126s coverage: 45.9% of statements [2023-11-19T18:44:23.368Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.081s coverage: 68.5% of statements [2023-11-19T18:44:23.368Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.128s coverage: 89.2% of statements [2023-11-19T18:44:23.368Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.044s coverage: 5.5% of statements [2023-11-19T18:44:40.564Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-232 in /w/workspace/gexfoundry_device-sdk-go_PR-1540 [Pipeline] { [Pipeline] ws [2023-11-19T18:44:40.597Z] Running in /w/workspace/device-sdk-go/2 [Pipeline] { [Pipeline] checkout [2023-11-19T18:44:41.441Z] GO111MODULE=on go vet ./... [2023-11-19T18:44:43.693Z] The recommended git tool is: git [2023-11-19T18:44:44.748Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-19T18:44:44.748Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-19T18:44:44.748Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-19T18:44:44.759Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-19T18:44:44.799Z] $ docker stop --time=1 7bc081eea412ad41e79368afed668dc66557def8aa834639b9198b3c2f517a63 [2023-11-19T18:44:48.739Z] $ docker rm -f --volumes 7bc081eea412ad41e79368afed668dc66557def8aa834639b9198b3c2f517a63 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-19T18:44:49.300Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-19T18:44:49.404Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [2023-11-19T18:44:49.466Z] using credential edgex-jenkins-ssh [Pipeline] } [2023-11-19T18:44:49.486Z] Cloning the remote Git repository [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-11-19T18:44:49.539Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-11-19T18:44:49.643Z] > git init /w/workspace/device-sdk-go/2 # timeout=10 [2023-11-19T18:44:49.785Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-19T18:44:49.786Z] > git --version # timeout=10 [2023-11-19T18:44:49.806Z] > git --version # 'git version 2.25.1' [2023-11-19T18:44:49.809Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-19T18:44:49.957Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-19T18:44:50.035Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-19T18:44:50.321Z] + ls -al . [2023-11-19T18:44:50.321Z] total 308 [2023-11-19T18:44:50.321Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 19 18:43 . [2023-11-19T18:44:50.321Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 18:42 .. [2023-11-19T18:44:50.321Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 19 18:42 .dockerignore [2023-11-19T18:44:50.321Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 19 18:44 .git [2023-11-19T18:44:50.321Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 18:42 .github [2023-11-19T18:44:50.321Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 19 18:42 .gitignore [2023-11-19T18:44:50.321Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 19 18:42 .golangci.yml [2023-11-19T18:44:50.321Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 19 18:42 .semver [2023-11-19T18:44:50.321Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 19 18:42 CHANGELOG.md [2023-11-19T18:44:50.321Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 19 18:42 GOVERNANCE.md [2023-11-19T18:44:50.321Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 19 18:42 Jenkinsfile [2023-11-19T18:44:50.321Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 19 18:42 LICENSE [2023-11-19T18:44:50.321Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 19 18:42 Makefile [2023-11-19T18:44:50.321Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 19 18:42 OWNERS.md [2023-11-19T18:44:50.321Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 19 18:42 README.md [2023-11-19T18:44:50.321Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 19 18:42 VERSION [2023-11-19T18:44:50.321Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 19 18:42 bin [2023-11-19T18:44:50.321Z] -rw-r--r-- 1 jenkins jenkins 122153 Nov 19 18:44 coverage.out [2023-11-19T18:44:50.321Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 19 18:42 example [2023-11-19T18:44:50.321Z] -rw-rw-r-- 1 jenkins jenkins 3683 Nov 19 18:42 go.mod [2023-11-19T18:44:50.321Z] -rw-rw-r-- 1 jenkins jenkins 34197 Nov 19 18:42 go.sum [2023-11-19T18:44:50.321Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 19 18:42 internal [2023-11-19T18:44:50.321Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 18:42 openapi [2023-11-19T18:44:50.321Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 19 18:42 pkg [2023-11-19T18:44:50.321Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 18:42 snap [2023-11-19T18:44:50.321Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 19 18:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T18:44:50.680Z] + 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=6e2d4faf6ae36b7f68816f111c74e4c58def76a2 --label arch=amd64 --label version=0.0.0 . [2023-11-19T18:44:50.680Z] Sending build context to Docker daemon 22.08MB [2023-11-19T18:44:50.680Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-11-19T18:44:50.680Z] Step 2/24 : FROM ${BASE} AS builder [2023-11-19T18:44:50.680Z] ---> 19e12c03cc99 [2023-11-19T18:44:50.680Z] Step 3/24 : ARG MAKE=make build [2023-11-19T18:44:51.248Z] ---> Running in 1034e42f8dda [2023-11-19T18:44:51.248Z] Removing intermediate container 1034e42f8dda [2023-11-19T18:44:51.248Z] ---> 75f8d42338d8 [2023-11-19T18:44:51.248Z] Step 4/24 : WORKDIR /device-sdk-go [2023-11-19T18:44:51.248Z] ---> Running in 62416061b8dc [2023-11-19T18:44:51.248Z] Removing intermediate container 62416061b8dc [2023-11-19T18:44:51.248Z] ---> 096dfb1316db [2023-11-19T18:44:51.248Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-19T18:44:51.248Z] ---> Running in 2012851eb8eb [2023-11-19T18:44:51.508Z] Removing intermediate container 2012851eb8eb [2023-11-19T18:44:51.508Z] ---> f3c8bcbc310f [2023-11-19T18:44:51.508Z] Step 6/24 : RUN apk add --update --no-cache make git [2023-11-19T18:44:51.508Z] ---> Running in b754276a2b5d [2023-11-19T18:44:51.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-19T18:44:51.768Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-19T18:44:52.028Z] OK: 264 MiB in 52 packages [2023-11-19T18:44:52.596Z] Removing intermediate container b754276a2b5d [2023-11-19T18:44:52.596Z] ---> f87db2b8d898 [2023-11-19T18:44:52.596Z] Step 7/24 : COPY go.mod vendor* ./ [2023-11-19T18:44:52.596Z] ---> 0c6d32cdf947 [2023-11-19T18:44:52.596Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-19T18:44:52.596Z] ---> Running in b33121bdf77e [2023-11-19T18:44:52.550Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-19T18:44:52.579Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-11-19T18:44:53.163Z] Removing intermediate container b33121bdf77e [2023-11-19T18:44:53.163Z] ---> 58ea6e46e053 [2023-11-19T18:44:53.163Z] Step 9/24 : COPY . . [2023-11-19T18:44:53.693Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-11-19T18:44:53.736Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-11-19T18:44:53.737Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-19T18:44:53.755Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1540/head:refs/remotes/origin/PR-1540 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-11-19T18:44:54.099Z] ---> 65e1d35c56e9 [2023-11-19T18:44:54.099Z] Step 10/24 : RUN ${MAKE} [2023-11-19T18:44:54.099Z] ---> Running in 1028bd45fccf [2023-11-19T18:44:54.359Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-11-19T18:44:54.439Z] Merging remotes/origin/main commit 50dd63d392f370c86a33393d79501a04f0565adc into PR head commit bb3b780b49bdb40d95a497fa6cff623f428380a1 [2023-11-19T18:44:54.858Z] Merge succeeded, producing 26719909bbadee2a0eac166024d3f112ccc7cc54 [2023-11-19T18:44:54.859Z] Checking out Revision 26719909bbadee2a0eac166024d3f112ccc7cc54 (PR-1540) [2023-11-19T18:44:54.464Z] > git config core.sparsecheckout # timeout=10 [2023-11-19T18:44:54.549Z] > git checkout -f bb3b780b49bdb40d95a497fa6cff623f428380a1 # timeout=10 [2023-11-19T18:44:54.673Z] > git remote # timeout=10 [2023-11-19T18:44:54.699Z] > git config --get remote.origin.url # timeout=10 [2023-11-19T18:44:54.716Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-11-19T18:44:54.731Z] > git merge 50dd63d392f370c86a33393d79501a04f0565adc # timeout=10 [2023-11-19T18:44:54.835Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-11-19T18:44:54.868Z] > git config core.sparsecheckout # timeout=10 [2023-11-19T18:44:54.884Z] > git checkout -f 26719909bbadee2a0eac166024d3f112ccc7cc54 # timeout=10 [2023-11-19T18:44:58.576Z] Commit message: "Merge commit '50dd63d392f370c86a33393d79501a04f0565adc' into HEAD" [2023-11-19T18:44:58.586Z] > git rev-list --no-walk bb3b780b49bdb40d95a497fa6cff623f428380a1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-19T18:44:59.990Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-11-19T18:44:59.990Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-19T18:44:59.990Z] Dload Upload Total Spent Left Speed [2023-11-19T18:44:59.990Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12682 100 12682 0 0 75488 0 --:--:-- --:--:-- --:--:-- 75488 [Pipeline] sh [2023-11-19T18:45:00.447Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-11-19T18:45:00.784Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-11-19T18:45:00.785Z] + sudo tee /etc/docker/daemon.new [2023-11-19T18:45:00.785Z] { [2023-11-19T18:45:00.785Z] "registry-mirrors": [ [2023-11-19T18:45:00.785Z] "https://nexus3.edgexfoundry.org:10001" [2023-11-19T18:45:00.785Z] ], [2023-11-19T18:45:00.785Z] "bip": "10.250.0.254/24", [2023-11-19T18:45:00.785Z] "hosts": [ [2023-11-19T18:45:00.785Z] "tcp://0.0.0.0:5555", [2023-11-19T18:45:00.785Z] "unix:///var/run/docker.sock" [2023-11-19T18:45:00.785Z] ], [2023-11-19T18:45:00.785Z] "mtu": 1458, [2023-11-19T18:45:00.785Z] "selinux-enabled": true, [2023-11-19T18:45:00.785Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-11-19T18:45:00.785Z] } [Pipeline] sh [2023-11-19T18:45:01.103Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-11-19T18:45:01.423Z] + sudo service docker restart [2023-11-19T18:45:16.365Z] Removing intermediate container 1028bd45fccf [2023-11-19T18:45:16.365Z] ---> d23a9ff2f052 [2023-11-19T18:45:16.365Z] Step 11/24 : FROM alpine:3.18 [2023-11-19T18:45:16.365Z] 3.18: Pulling from library/alpine [2023-11-19T18:45:16.365Z] 96526aa774ef: Pulling fs layer [2023-11-19T18:45:16.365Z] 96526aa774ef: Verifying Checksum [2023-11-19T18:45:16.365Z] 96526aa774ef: Download complete [2023-11-19T18:45:16.365Z] 96526aa774ef: Pull complete [2023-11-19T18:45:16.365Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-19T18:45:16.365Z] Status: Downloaded newer image for alpine:3.18 [2023-11-19T18:45:16.365Z] ---> 8ca4688f4f35 [2023-11-19T18:45:16.365Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-19T18:45:16.365Z] ---> Running in 55eed30d6167 [2023-11-19T18:45:16.365Z] Removing intermediate container 55eed30d6167 [2023-11-19T18:45:16.365Z] ---> 405d92b6c6ca [2023-11-19T18:45:16.365Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2023-11-19T18:45:16.365Z] ---> Running in 6fb81ca58eb6 [2023-11-19T18:45:16.365Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-19T18:45:16.626Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-19T18:45:16.885Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-19T18:45:16.885Z] Executing busybox-1.36.1-r2.trigger [2023-11-19T18:45:16.885Z] OK: 7 MiB in 16 packages [2023-11-19T18:45:17.144Z] Removing intermediate container 6fb81ca58eb6 [2023-11-19T18:45:17.144Z] ---> 87d0b23ec13a [2023-11-19T18:45:17.144Z] Step 14/24 : RUN apk --no-cache upgrade [2023-11-19T18:45:17.144Z] ---> Running in 49c57e9e03eb [2023-11-19T18:45:17.404Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-11-19T18:45:17.404Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-11-19T18:45:17.663Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-19T18:45:17.663Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-19T18:45:17.663Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-19T18:45:17.663Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-19T18:45:17.663Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-19T18:45:17.663Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-19T18:45:17.663Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-19T18:45:17.663Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-19T18:45:17.663Z] Executing busybox-1.36.1-r5.trigger [2023-11-19T18:45:17.663Z] OK: 7 MiB in 16 packages [2023-11-19T18:45:18.229Z] Removing intermediate container 49c57e9e03eb [2023-11-19T18:45:18.229Z] ---> c679a65c2464 [2023-11-19T18:45:18.229Z] Step 15/24 : WORKDIR / [2023-11-19T18:45:18.229Z] ---> Running in eade6937a3a9 [2023-11-19T18:45:18.487Z] Removing intermediate container eade6937a3a9 [2023-11-19T18:45:18.487Z] ---> 5f4b2808fa35 [2023-11-19T18:45:18.487Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-19T18:45:18.487Z] ---> e72886adfd5f [2023-11-19T18:45:18.487Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-19T18:45:19.100Z] ---> 610b9fe809ad [2023-11-19T18:45:19.100Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-19T18:45:19.359Z] ---> 027a26ec7d3f [2023-11-19T18:45:19.359Z] Step 19/24 : EXPOSE 59999 [2023-11-19T18:45:19.359Z] ---> Running in 9b62d11cb8f1 [2023-11-19T18:45:19.359Z] Removing intermediate container 9b62d11cb8f1 [2023-11-19T18:45:19.359Z] ---> 93c0b136bd75 [2023-11-19T18:45:19.359Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2023-11-19T18:45:19.359Z] ---> Running in 46efe906b63a [2023-11-19T18:45:19.359Z] Removing intermediate container 46efe906b63a [2023-11-19T18:45:19.359Z] ---> f688ed1aeefa [2023-11-19T18:45:19.359Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-19T18:45:19.359Z] ---> Running in cd254e4ed8ee [2023-11-19T18:45:19.359Z] Removing intermediate container cd254e4ed8ee [2023-11-19T18:45:19.359Z] ---> 4c2b60cc1a12 [2023-11-19T18:45:19.359Z] Step 22/24 : LABEL arch=amd64 [2023-11-19T18:45:19.616Z] ---> Running in 5aaaebc0235d [2023-11-19T18:45:19.616Z] Removing intermediate container 5aaaebc0235d [2023-11-19T18:45:19.616Z] ---> 154176c30a07 [2023-11-19T18:45:19.616Z] Step 23/24 : LABEL git_sha=6e2d4faf6ae36b7f68816f111c74e4c58def76a2 [2023-11-19T18:45:19.616Z] ---> Running in 80b82ee241ca [2023-11-19T18:45:19.616Z] Removing intermediate container 80b82ee241ca [2023-11-19T18:45:19.616Z] ---> 93a227ae4665 [2023-11-19T18:45:19.616Z] Step 24/24 : LABEL version=0.0.0 [2023-11-19T18:45:19.616Z] ---> Running in 0810ce584cd0 [2023-11-19T18:45:19.616Z] Removing intermediate container 0810ce584cd0 [2023-11-19T18:45:19.616Z] ---> 9a9a8e48b922 [2023-11-19T18:45:19.616Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-19T18:45:19.616Z] Successfully built 9a9a8e48b922 [2023-11-19T18:45:19.616Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] // stage [Pipeline] configFileProvider [2023-11-19T18:45:19.774Z] provisioning config files... [2023-11-19T18:45:19.804Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/2@tmp/config13957495713237027260tmp [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 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] { [2023-11-19T18:45:20.251Z] ---> ****-login.sh [2023-11-19T18:45:20.251Z] nexus3.edgexfoundry.org:10001 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T18:45:20.617Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-19T18:45:20.617Z] [2023-11-19T18:45:20.617Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T18:45:20.841Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T18:45:20.841Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T18:45:20.841Z] Configure a credential helper to remove this warning. See [2023-11-19T18:45:20.841Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T18:45:20.841Z] [2023-11-19T18:45:20.841Z] Login Succeeded [2023-11-19T18:45:20.841Z] nexus3.edgexfoundry.org:10002 [2023-11-19T18:45:20.940Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-19T18:45:20.940Z] latest: Pulling from edgex-lftools-log-publisher [2023-11-19T18:45:20.940Z] 5eb5b503b376: Pulling fs layer [2023-11-19T18:45:20.940Z] 5c69ac0246d0: Pulling fs layer [2023-11-19T18:45:20.940Z] ec43610c2a17: Pulling fs layer [2023-11-19T18:45:20.940Z] 3a2ae6a8a46f: Pulling fs layer [2023-11-19T18:45:20.940Z] 33b1e0a273af: Pulling fs layer [2023-11-19T18:45:20.940Z] 5d3b04190fa2: Pulling fs layer [2023-11-19T18:45:20.940Z] 2f39f015ded8: Pulling fs layer [2023-11-19T18:45:20.940Z] 3a2ae6a8a46f: Waiting [2023-11-19T18:45:20.940Z] 33b1e0a273af: Waiting [2023-11-19T18:45:20.940Z] 2f39f015ded8: Waiting [2023-11-19T18:45:20.940Z] 5d3b04190fa2: Waiting [2023-11-19T18:45:20.940Z] 5c69ac0246d0: Download complete [2023-11-19T18:45:20.940Z] 3a2ae6a8a46f: Verifying Checksum [2023-11-19T18:45:20.940Z] 3a2ae6a8a46f: Download complete [2023-11-19T18:45:20.940Z] 33b1e0a273af: Verifying Checksum [2023-11-19T18:45:20.940Z] 33b1e0a273af: Download complete [2023-11-19T18:45:20.940Z] 5d3b04190fa2: Download complete [2023-11-19T18:45:20.940Z] ec43610c2a17: Verifying Checksum [2023-11-19T18:45:20.940Z] ec43610c2a17: Download complete [2023-11-19T18:45:21.110Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T18:45:21.197Z] 5eb5b503b376: Verifying Checksum [2023-11-19T18:45:21.197Z] 5eb5b503b376: Download complete [2023-11-19T18:45:21.383Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T18:45:21.383Z] Configure a credential helper to remove this warning. See [2023-11-19T18:45:21.383Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T18:45:21.383Z] [2023-11-19T18:45:21.383Z] Login Succeeded [2023-11-19T18:45:21.383Z] nexus3.edgexfoundry.org:10003 [2023-11-19T18:45:21.653Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T18:45:21.654Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T18:45:21.654Z] Configure a credential helper to remove this warning. See [2023-11-19T18:45:21.654Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T18:45:21.654Z] [2023-11-19T18:45:21.654Z] Login Succeeded [2023-11-19T18:45:21.654Z] nexus3.edgexfoundry.org:10004 [2023-11-19T18:45:21.761Z] 2f39f015ded8: Download complete [2023-11-19T18:45:21.924Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T18:45:21.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T18:45:21.924Z] Configure a credential helper to remove this warning. See [2023-11-19T18:45:21.925Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T18:45:21.925Z] [2023-11-19T18:45:21.925Z] Login Succeeded [2023-11-19T18:45:22.197Z] ****.io [2023-11-19T18:45:22.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-11-19T18:45:22.326Z] 5eb5b503b376: Pull complete [2023-11-19T18:45:22.326Z] 5c69ac0246d0: Pull complete [2023-11-19T18:45:22.470Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2023-11-19T18:45:22.470Z] Configure a credential helper to remove this warning. See [2023-11-19T18:45:22.470Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2023-11-19T18:45:22.470Z] [2023-11-19T18:45:22.470Z] Login Succeeded [2023-11-19T18:45:22.470Z] ---> ****-login.sh ends [Pipeline] } [2023-11-19T18:45:22.486Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-11-19T18:45:22.887Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [2023-11-19T18:45:22.907Z] ec43610c2a17: Pull complete [2023-11-19T18:45:22.907Z] 3a2ae6a8a46f: Pull complete [Pipeline] echo [2023-11-19T18:45:22.929Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2023-11-19T18:45:22.974Z] ========================================================= [2023-11-19T18:45:22.975Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-11-19T18:45:22.975Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T18:45:23.164Z] 33b1e0a273af: Pull complete [2023-11-19T18:45:23.164Z] 5d3b04190fa2: Pull complete [2023-11-19T18:45:23.432Z] + 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 . [2023-11-19T18:45:25.387Z] Sending build context to Docker daemon 11.39MB [2023-11-19T18:45:25.656Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-11-19T18:45:25.656Z] Step 2/10 : FROM ${BASE} AS builder [2023-11-19T18:45:25.931Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-11-19T18:45:25.931Z] 9fda8d8052c6: Pulling fs layer [2023-11-19T18:45:25.931Z] 5d54e960e981: Pulling fs layer [2023-11-19T18:45:25.931Z] c4a7e357bf2a: Pulling fs layer [2023-11-19T18:45:25.931Z] f0e02332f6b5: Pulling fs layer [2023-11-19T18:45:25.931Z] 872ee5b61b7b: Pulling fs layer [2023-11-19T18:45:25.931Z] 0c6a40ed1a82: Pulling fs layer [2023-11-19T18:45:25.931Z] 94ae7d8d031c: Pulling fs layer [2023-11-19T18:45:25.931Z] f0e02332f6b5: Waiting [2023-11-19T18:45:25.931Z] 872ee5b61b7b: Waiting [2023-11-19T18:45:25.931Z] 0c6a40ed1a82: Waiting [2023-11-19T18:45:25.931Z] 94ae7d8d031c: Waiting [2023-11-19T18:45:25.931Z] 5d54e960e981: Download complete [2023-11-19T18:45:25.931Z] f0e02332f6b5: Verifying Checksum [2023-11-19T18:45:25.931Z] f0e02332f6b5: Download complete [2023-11-19T18:45:25.931Z] 872ee5b61b7b: Verifying Checksum [2023-11-19T18:45:25.931Z] 872ee5b61b7b: Download complete [2023-11-19T18:45:25.931Z] 9fda8d8052c6: Download complete [2023-11-19T18:45:26.526Z] 94ae7d8d031c: Verifying Checksum [2023-11-19T18:45:26.526Z] 94ae7d8d031c: Download complete [2023-11-19T18:45:27.116Z] 9fda8d8052c6: Pull complete [2023-11-19T18:45:27.346Z] 2f39f015ded8: Pull complete [2023-11-19T18:45:27.346Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-11-19T18:45:27.346Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-19T18:45:27.346Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T18:45:27.554Z] prd-ubuntu20.04-docker-8c-8g-228 does not seem to be running inside a container [2023-11-19T18:45:27.591Z] $ 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-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-19T18:45:27.709Z] 5d54e960e981: Pull complete [2023-11-19T18:45:27.980Z] c4a7e357bf2a: Verifying Checksum [2023-11-19T18:45:27.980Z] c4a7e357bf2a: Download complete [2023-11-19T18:45:29.399Z] 0c6a40ed1a82: Verifying Checksum [2023-11-19T18:45:29.399Z] 0c6a40ed1a82: Download complete [2023-11-19T18:45:33.446Z] $ docker top 03ec827e5b57186c5e19fa4ea978e2a09b4f0381426b2070e85bd9f26aba3739 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-19T18:45:33.902Z] ---> job-cost.sh [2023-11-19T18:45:33.902Z] lf-activate-venv: SKIPPING [2023-11-19T18:45:33.902Z] INFO: No Stack... [2023-11-19T18:45:34.161Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-19T18:45:34.419Z] INFO: Archiving Costs [Pipeline] sh [2023-11-19T18:45:34.707Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/cost.csv [2023-11-19T18:45:34.707Z] + cut -d, -f6 [Pipeline] lock [2023-11-19T18:45:34.720Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1540-2-stack-cost] [2023-11-19T18:45:34.726Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-2-stack-cost] did not exist. Created. [2023-11-19T18:45:34.726Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1540-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-19T18:45:35.093Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-11-19T18:45:35.161Z] Stashed 1 file(s) [Pipeline] } [2023-11-19T18:45:35.167Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-19T18:45:35.252Z] $ docker stop --time=1 03ec827e5b57186c5e19fa4ea978e2a09b4f0381426b2070e85bd9f26aba3739 [2023-11-19T18:45:36.400Z] $ docker rm -f --volumes 03ec827e5b57186c5e19fa4ea978e2a09b4f0381426b2070e85bd9f26aba3739 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-11-19T18:45:41.764Z] c4a7e357bf2a: Pull complete [2023-11-19T18:45:41.764Z] f0e02332f6b5: Pull complete [2023-11-19T18:45:41.764Z] 872ee5b61b7b: Pull complete [2023-11-19T18:45:54.115Z] 0c6a40ed1a82: Pull complete [2023-11-19T18:45:56.073Z] 94ae7d8d031c: Pull complete [2023-11-19T18:45:56.073Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2023-11-19T18:45:56.073Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-11-19T18:45:56.073Z] ---> 86de565de09d [2023-11-19T18:45:56.073Z] Step 3/10 : ARG MAKE=make build [2023-11-19T18:45:57.042Z] ---> Running in cfafb4ff41a4 [2023-11-19T18:45:57.313Z] Removing intermediate container cfafb4ff41a4 [2023-11-19T18:45:57.313Z] ---> 73b738f170a0 [2023-11-19T18:45:57.313Z] Step 4/10 : WORKDIR /device-sdk-go [2023-11-19T18:45:57.313Z] ---> Running in eb9a7584f81f [2023-11-19T18:45:57.601Z] Removing intermediate container eb9a7584f81f [2023-11-19T18:45:57.601Z] ---> a9f09cbe9067 [2023-11-19T18:45:57.601Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-19T18:45:57.877Z] ---> Running in 449b5d131280 [2023-11-19T18:45:58.153Z] Removing intermediate container 449b5d131280 [2023-11-19T18:45:58.153Z] ---> d378c1fdfe25 [2023-11-19T18:45:58.153Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-11-19T18:45:58.153Z] ---> Running in b502792b7e45 [2023-11-19T18:45:59.571Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-19T18:45:59.839Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-19T18:46:01.261Z] OK: 266 MiB in 52 packages [2023-11-19T18:46:01.851Z] Removing intermediate container b502792b7e45 [2023-11-19T18:46:01.851Z] ---> 359f212fe9a5 [2023-11-19T18:46:01.851Z] Step 7/10 : COPY go.mod vendor* ./ [2023-11-19T18:46:02.434Z] ---> 5d48950675ec [2023-11-19T18:46:02.434Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-19T18:46:02.702Z] ---> Running in 1572a8ade6f8 [2023-11-19T18:47:39.357Z] Removing intermediate container 1572a8ade6f8 [2023-11-19T18:47:39.357Z] ---> 7488c49b885e [2023-11-19T18:47:39.357Z] Step 9/10 : COPY . . [2023-11-19T18:47:39.357Z] ---> 0c27abf36b10 [2023-11-19T18:47:39.357Z] Step 10/10 : RUN ${MAKE} [2023-11-19T18:47:39.357Z] ---> Running in 95cc3de2d942 [2023-11-19T18:47:39.357Z] noop [2023-11-19T18:47:39.357Z] Removing intermediate container 95cc3de2d942 [2023-11-19T18:47:39.357Z] ---> 5248bca15fbb [2023-11-19T18:47:39.357Z] Successfully built 5248bca15fbb [2023-11-19T18:47:39.357Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T18:47:39.871Z] + docker inspect -f . ci-base-image-arm64 [2023-11-19T18:47:39.871Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T18:47:40.174Z] prd-ubuntu20.04-docker-arm64-4c-16g-232 does not seem to be running inside a container [2023-11-19T18:47:40.258Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-19T18:47:41.648Z] $ docker top 19c918cbb79f1d1791330d9c8623c4dfdb1998c91ea24d66936c05d5b14efa35 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-19T18:47:42.587Z] + go version [2023-11-19T18:47:42.587Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-11-19T18:47:42.610Z] $ docker stop --time=1 19c918cbb79f1d1791330d9c8623c4dfdb1998c91ea24d66936c05d5b14efa35 [2023-11-19T18:47:44.303Z] $ docker rm -f --volumes 19c918cbb79f1d1791330d9c8623c4dfdb1998c91ea24d66936c05d5b14efa35 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T18:47:45.176Z] + docker inspect -f . ci-base-image-arm64 [2023-11-19T18:47:45.176Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T18:47:45.455Z] prd-ubuntu20.04-docker-arm64-4c-16g-232 does not seem to be running inside a container [2023-11-19T18:47:45.533Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-11-19T18:47:46.835Z] $ docker top 919f7f423bf5ea3b2202453f1c8bd31ccac6eb2acbe94f713f854420a8089328 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-19T18:47:47.767Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/2 [Pipeline] fileExists [Pipeline] sh [2023-11-19T18:47:48.483Z] + make test [2023-11-19T18:47:48.483Z] go test -race -coverprofile=coverage.out ./... [2023-11-19T18:48:27.595Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-11-19T18:50:49.340Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-11-19T18:50:49.340Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-11-19T18:50:49.340Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-11-19T18:50:49.340Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-11-19T18:50:49.340Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-11-19T18:50:54.678Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.217s coverage: 27.6% of statements [2023-11-19T18:51:02.878Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.260s coverage: 81.5% of statements [2023-11-19T18:51:12.950Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-11-19T18:51:12.950Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-11-19T18:51:13.533Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.394s coverage: 86.0% of statements [2023-11-19T18:51:18.880Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-11-19T18:51:20.288Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.708s coverage: 71.8% of statements [2023-11-19T18:51:23.633Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.346s coverage: 14.4% of statements [2023-11-19T18:51:23.633Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 4.342s coverage: 45.9% of statements [2023-11-19T18:51:24.596Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-11-19T18:51:24.596Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-11-19T18:51:26.015Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.405s coverage: 68.5% of statements [2023-11-19T18:51:29.357Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.462s coverage: 89.2% of statements [2023-11-19T18:51:29.941Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-11-19T18:51:31.362Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.266s coverage: 5.5% of statements [2023-11-19T18:51:31.949Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-11-19T18:51:31.949Z] GO111MODULE=on go vet ./... [2023-11-19T18:53:38.671Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-11-19T18:53:38.671Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-11-19T18:53:38.671Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-11-19T18:53:38.690Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2023-11-19T18:53:38.745Z] $ docker stop --time=1 919f7f423bf5ea3b2202453f1c8bd31ccac6eb2acbe94f713f854420a8089328 [2023-11-19T18:53:40.789Z] $ docker rm -f --volumes 919f7f423bf5ea3b2202453f1c8bd31ccac6eb2acbe94f713f854420a8089328 [Pipeline] // withDockerContainer [Pipeline] sh [2023-11-19T18:53:42.703Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-11-19T18:53:42.763Z] Warning: overwriting stash ‘coverage-report’ [2023-11-19T18:53:43.426Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-11-19T18:53:44.020Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-11-19T18:53:44.343Z] + ls -al . [2023-11-19T18:53:44.343Z] total 304 [2023-11-19T18:53:44.343Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 19 18:47 . [2023-11-19T18:53:44.343Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 18:44 .. [2023-11-19T18:53:44.343Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 19 18:44 .dockerignore [2023-11-19T18:53:44.343Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 19 18:44 .git [2023-11-19T18:53:44.343Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 18:44 .github [2023-11-19T18:53:44.343Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 19 18:44 .gitignore [2023-11-19T18:53:44.343Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 19 18:44 .golangci.yml [2023-11-19T18:53:44.343Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 19 18:44 CHANGELOG.md [2023-11-19T18:53:44.343Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 19 18:44 GOVERNANCE.md [2023-11-19T18:53:44.343Z] -rw-rw-r-- 1 jenkins jenkins 885 Nov 19 18:44 Jenkinsfile [2023-11-19T18:53:44.343Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 19 18:44 LICENSE [2023-11-19T18:53:44.343Z] -rw-rw-r-- 1 jenkins jenkins 1842 Nov 19 18:44 Makefile [2023-11-19T18:53:44.343Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 19 18:44 OWNERS.md [2023-11-19T18:53:44.343Z] -rw-rw-r-- 1 jenkins jenkins 4933 Nov 19 18:44 README.md [2023-11-19T18:53:44.343Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 19 18:42 VERSION [2023-11-19T18:53:44.343Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 19 18:44 bin [2023-11-19T18:53:44.343Z] -rw-r--r-- 1 jenkins jenkins 122153 Nov 19 18:51 coverage.out [2023-11-19T18:53:44.343Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 19 18:44 example [2023-11-19T18:53:44.343Z] -rw-rw-r-- 1 jenkins jenkins 3683 Nov 19 18:44 go.mod [2023-11-19T18:53:44.343Z] -rw-rw-r-- 1 jenkins jenkins 34197 Nov 19 18:44 go.sum [2023-11-19T18:53:44.343Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 19 18:44 internal [2023-11-19T18:53:44.343Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 19 18:44 openapi [2023-11-19T18:53:44.343Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 19 18:44 pkg [2023-11-19T18:53:44.343Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 19 18:44 snap [2023-11-19T18:53:44.343Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 19 18:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T18:53:44.761Z] + 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=26719909bbadee2a0eac166024d3f112ccc7cc54 --label arch=arm64 --label version=0.0.0 . [2023-11-19T18:53:45.345Z] Sending build context to Docker daemon 11.51MB [2023-11-19T18:53:45.345Z] Step 1/24 : ARG BASE=golang:1.21-alpine3.18 [2023-11-19T18:53:45.345Z] Step 2/24 : FROM ${BASE} AS builder [2023-11-19T18:53:45.345Z] ---> 5248bca15fbb [2023-11-19T18:53:45.345Z] Step 3/24 : ARG MAKE=make build [2023-11-19T18:53:47.291Z] ---> Running in 8b67b877034b [2023-11-19T18:53:47.291Z] Removing intermediate container 8b67b877034b [2023-11-19T18:53:47.291Z] ---> 9eb61ad52f19 [2023-11-19T18:53:47.291Z] Step 4/24 : WORKDIR /device-sdk-go [2023-11-19T18:53:47.291Z] ---> Running in 42413325a278 [2023-11-19T18:53:47.560Z] Removing intermediate container 42413325a278 [2023-11-19T18:53:47.560Z] ---> 44574700e855 [2023-11-19T18:53:47.560Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-11-19T18:53:47.827Z] ---> Running in 4c7bc7f6197f [2023-11-19T18:53:48.097Z] Removing intermediate container 4c7bc7f6197f [2023-11-19T18:53:48.097Z] ---> 00408d17e4cb [2023-11-19T18:53:48.097Z] Step 6/24 : RUN apk add --update --no-cache make git [2023-11-19T18:53:48.097Z] ---> Running in 425d859f3835 [2023-11-19T18:53:49.515Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-19T18:53:49.782Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-19T18:53:51.191Z] OK: 266 MiB in 52 packages [2023-11-19T18:53:51.773Z] Removing intermediate container 425d859f3835 [2023-11-19T18:53:51.773Z] ---> 97d018a60a3f [2023-11-19T18:53:51.773Z] Step 7/24 : COPY go.mod vendor* ./ [2023-11-19T18:53:52.357Z] ---> d54bc94e2d96 [2023-11-19T18:53:52.357Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-11-19T18:53:52.625Z] ---> Running in 740d49137dba [2023-11-19T18:53:54.566Z] Removing intermediate container 740d49137dba [2023-11-19T18:53:54.566Z] ---> 9cdc416c2056 [2023-11-19T18:53:54.566Z] Step 9/24 : COPY . . [2023-11-19T18:53:56.512Z] ---> a98309eb3d43 [2023-11-19T18:53:56.512Z] Step 10/24 : RUN ${MAKE} [2023-11-19T18:53:56.512Z] ---> Running in 1c33d219a75a [2023-11-19T18:53:57.476Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-11-19T18:56:04.272Z] Removing intermediate container 1c33d219a75a [2023-11-19T18:56:04.272Z] ---> ebda98358bce [2023-11-19T18:56:04.272Z] Step 11/24 : FROM alpine:3.18 [2023-11-19T18:56:04.272Z] 3.18: Pulling from library/alpine [2023-11-19T18:56:04.272Z] 579b34f0a95b: Pulling fs layer [2023-11-19T18:56:04.272Z] 579b34f0a95b: Download complete [2023-11-19T18:56:04.272Z] 579b34f0a95b: Pull complete [2023-11-19T18:56:04.272Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-11-19T18:56:04.272Z] Status: Downloaded newer image for alpine:3.18 [2023-11-19T18:56:04.272Z] ---> 3cc203321400 [2023-11-19T18:56:04.272Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-11-19T18:56:04.272Z] ---> Running in fa8d05afbcac [2023-11-19T18:56:04.272Z] Removing intermediate container fa8d05afbcac [2023-11-19T18:56:04.272Z] ---> 14833bcb38bb [2023-11-19T18:56:04.272Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2023-11-19T18:56:04.272Z] ---> Running in 9a96e3c9ca60 [2023-11-19T18:56:04.272Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-19T18:56:04.272Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-19T18:56:04.272Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-11-19T18:56:04.272Z] Executing busybox-1.36.1-r2.trigger [2023-11-19T18:56:04.272Z] OK: 8 MiB in 16 packages [2023-11-19T18:56:04.856Z] Removing intermediate container 9a96e3c9ca60 [2023-11-19T18:56:04.856Z] ---> f7979e1b5211 [2023-11-19T18:56:04.856Z] Step 14/24 : RUN apk --no-cache upgrade [2023-11-19T18:56:04.856Z] ---> Running in f0031f7d13f1 [2023-11-19T18:56:05.816Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-11-19T18:56:06.083Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-11-19T18:56:07.499Z] (1/7) Upgrading musl (1.2.4-r1 -> 1.2.4-r2) [2023-11-19T18:56:07.499Z] (2/7) Upgrading busybox (1.36.1-r2 -> 1.36.1-r5) [2023-11-19T18:56:07.499Z] Executing busybox-1.36.1-r5.post-upgrade [2023-11-19T18:56:07.499Z] (3/7) Upgrading busybox-binsh (1.36.1-r2 -> 1.36.1-r5) [2023-11-19T18:56:07.499Z] (4/7) Upgrading libcrypto3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-19T18:56:07.499Z] (5/7) Upgrading libssl3 (3.1.3-r0 -> 3.1.4-r1) [2023-11-19T18:56:07.499Z] (6/7) Upgrading ssl_client (1.36.1-r2 -> 1.36.1-r5) [2023-11-19T18:56:07.499Z] (7/7) Upgrading musl-utils (1.2.4-r1 -> 1.2.4-r2) [2023-11-19T18:56:07.499Z] Executing busybox-1.36.1-r5.trigger [2023-11-19T18:56:07.499Z] OK: 8 MiB in 16 packages [2023-11-19T18:56:11.751Z] Removing intermediate container f0031f7d13f1 [2023-11-19T18:56:11.751Z] ---> ab39a42775b4 [2023-11-19T18:56:11.751Z] Step 15/24 : WORKDIR / [2023-11-19T18:56:11.751Z] ---> Running in 4b75abca7539 [2023-11-19T18:56:11.751Z] Removing intermediate container 4b75abca7539 [2023-11-19T18:56:11.751Z] ---> 7edbf2111f48 [2023-11-19T18:56:11.751Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-11-19T18:56:12.337Z] ---> b03aaacea809 [2023-11-19T18:56:12.337Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-11-19T18:56:13.750Z] ---> 2321546a787a [2023-11-19T18:56:13.751Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-11-19T18:56:14.337Z] ---> 935887e7b971 [2023-11-19T18:56:14.337Z] Step 19/24 : EXPOSE 59999 [2023-11-19T18:56:14.605Z] ---> Running in 4f04d4705551 [2023-11-19T18:56:14.872Z] Removing intermediate container 4f04d4705551 [2023-11-19T18:56:14.872Z] ---> 40379c506626 [2023-11-19T18:56:14.872Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2023-11-19T18:56:14.872Z] ---> Running in dac364dcf77d [2023-11-19T18:56:15.458Z] Removing intermediate container dac364dcf77d [2023-11-19T18:56:15.458Z] ---> d3787f41f944 [2023-11-19T18:56:15.458Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-11-19T18:56:15.458Z] ---> Running in a6b8505501c8 [2023-11-19T18:56:15.726Z] Removing intermediate container a6b8505501c8 [2023-11-19T18:56:15.726Z] ---> 881701221a9b [2023-11-19T18:56:15.726Z] Step 22/24 : LABEL arch=arm64 [2023-11-19T18:56:15.726Z] ---> Running in 253b6d3bf336 [2023-11-19T18:56:15.992Z] Removing intermediate container 253b6d3bf336 [2023-11-19T18:56:15.992Z] ---> 98298f8bb49a [2023-11-19T18:56:15.992Z] Step 23/24 : LABEL git_sha=26719909bbadee2a0eac166024d3f112ccc7cc54 [2023-11-19T18:56:16.259Z] ---> Running in 8dbd4aa52fd2 [2023-11-19T18:56:16.529Z] Removing intermediate container 8dbd4aa52fd2 [2023-11-19T18:56:16.529Z] ---> 4872578c6b6c [2023-11-19T18:56:16.529Z] Step 24/24 : LABEL version=0.0.0 [2023-11-19T18:56:16.529Z] ---> Running in 779186ba370d [2023-11-19T18:56:17.121Z] Removing intermediate container 779186ba370d [2023-11-19T18:56:17.121Z] ---> a1940a289041 [2023-11-19T18:56:17.121Z] [Warning] One or more build-args [ARCH] were not consumed [2023-11-19T18:56:17.121Z] Successfully built a1940a289041 [2023-11-19T18:56:17.121Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T18:56:23.947Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-19T18:56:23.947Z] [2023-11-19T18:56:23.947Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T18:56:24.317Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-19T18:56:24.586Z] arm64: Pulling from edgex-lftools-log-publisher [2023-11-19T18:56:24.586Z] 8998bd30e6a1: Pulling fs layer [2023-11-19T18:56:24.586Z] 04944245beec: Pulling fs layer [2023-11-19T18:56:24.586Z] 699f458cf7ca: Pulling fs layer [2023-11-19T18:56:24.586Z] 765212b225bb: Pulling fs layer [2023-11-19T18:56:24.586Z] f23df028b6ca: Pulling fs layer [2023-11-19T18:56:24.586Z] d65c8cfc05b1: Pulling fs layer [2023-11-19T18:56:24.586Z] 2437ff75d9bd: Pulling fs layer [2023-11-19T18:56:24.586Z] 765212b225bb: Waiting [2023-11-19T18:56:24.586Z] f23df028b6ca: Waiting [2023-11-19T18:56:24.586Z] 2437ff75d9bd: Waiting [2023-11-19T18:56:24.586Z] d65c8cfc05b1: Waiting [2023-11-19T18:56:24.858Z] 04944245beec: Verifying Checksum [2023-11-19T18:56:24.858Z] 04944245beec: Download complete [2023-11-19T18:56:24.858Z] 765212b225bb: Verifying Checksum [2023-11-19T18:56:24.858Z] 765212b225bb: Download complete [2023-11-19T18:56:24.858Z] f23df028b6ca: Download complete [2023-11-19T18:56:24.858Z] d65c8cfc05b1: Download complete [2023-11-19T18:56:25.127Z] 699f458cf7ca: Verifying Checksum [2023-11-19T18:56:25.127Z] 699f458cf7ca: Download complete [2023-11-19T18:56:25.397Z] 8998bd30e6a1: Verifying Checksum [2023-11-19T18:56:25.397Z] 8998bd30e6a1: Download complete [2023-11-19T18:56:27.982Z] 2437ff75d9bd: Verifying Checksum [2023-11-19T18:56:27.982Z] 2437ff75d9bd: Download complete [2023-11-19T18:56:29.933Z] 8998bd30e6a1: Pull complete [2023-11-19T18:56:30.517Z] 04944245beec: Pull complete [2023-11-19T18:56:32.465Z] 699f458cf7ca: Pull complete [2023-11-19T18:56:32.465Z] 765212b225bb: Pull complete [2023-11-19T18:56:33.429Z] f23df028b6ca: Pull complete [2023-11-19T18:56:33.429Z] d65c8cfc05b1: Pull complete [2023-11-19T18:56:51.877Z] 2437ff75d9bd: Pull complete [2023-11-19T18:56:51.877Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-11-19T18:56:51.877Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-11-19T18:56:51.877Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T18:56:52.258Z] prd-ubuntu20.04-docker-arm64-4c-16g-232 does not seem to be running inside a container [2023-11-19T18:56:52.372Z] $ 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/2 -v /w/workspace/device-sdk-go/2:/w/workspace/device-sdk-go/2:rw,z -v /w/workspace/device-sdk-go/2@tmp:/w/workspace/device-sdk-go/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-11-19T18:56:55.454Z] $ docker top b8ae8167c5d76a5dccba42358458f6cbe131bec83d2e0723e3cda138a57a3c49 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-11-19T18:56:56.398Z] ---> job-cost.sh [2023-11-19T18:56:56.398Z] lf-activate-venv: SKIPPING [2023-11-19T18:56:56.398Z] INFO: No Stack... [2023-11-19T18:56:56.987Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-11-19T18:56:57.574Z] INFO: Archiving Costs [Pipeline] sh [2023-11-19T18:56:58.232Z] + cat /w/workspace/device-sdk-go/2/archives/cost.csv [2023-11-19T18:56:58.232Z] + cut -d, -f6 [Pipeline] lock [2023-11-19T18:56:58.298Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1540-2-stack-cost] [2023-11-19T18:56:58.304Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-2-stack-cost] did not exist. Created. [2023-11-19T18:56:58.304Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1540-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-11-19T18:56:59.049Z] /w/workspace/device-sdk-go/2@tmp/durable-b1118535/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-11-19T18:56:59.704Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-11-19T18:56:59.770Z] Warning: overwriting stash ‘stack-cost’ [2023-11-19T18:56:59.860Z] Stashed 1 file(s) [Pipeline] } [2023-11-19T18:56:59.867Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1540-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-11-19T18:56:59.972Z] $ docker stop --time=1 b8ae8167c5d76a5dccba42358458f6cbe131bec83d2e0723e3cda138a57a3c49 [2023-11-19T18:57:01.526Z] $ docker rm -f --volumes b8ae8167c5d76a5dccba42358458f6cbe131bec83d2e0723e3cda138a57a3c49 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-11-19T18:57:02.696Z] provisioning config files... [2023-11-19T18:57:02.703Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config6010389940535863765tmp [Pipeline] { [Pipeline] sh [2023-11-19T18:57:03.057Z] + set +x [2023-11-19T18:57:03.057Z] + curl -s https://codecov.io/bash [2023-11-19T18:57:03.057Z] + bash -s -- [2023-11-19T18:57:03.057Z] [2023-11-19T18:57:03.057Z] _____ _ [2023-11-19T18:57:03.057Z] / ____| | | [2023-11-19T18:57:03.057Z] | | ___ __| | ___ ___ _____ __ [2023-11-19T18:57:03.057Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-11-19T18:57:03.057Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-11-19T18:57:03.057Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-11-19T18:57:03.057Z] Bash-1.0.6 [2023-11-19T18:57:03.057Z] [2023-11-19T18:57:03.057Z] [2023-11-19T18:57:03.057Z] ==> git version 2.25.1 found [2023-11-19T18:57:03.058Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-11-19T18:57:03.058Z] Release-Date: 2020-01-08 [2023-11-19T18:57:03.058Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-11-19T18:57:03.058Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-11-19T18:57:03.058Z] ==> Jenkins CI detected. [2023-11-19T18:57:03.058Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1540 [2023-11-19T18:57:03.058Z] project root: . [2023-11-19T18:57:03.058Z] --> token set from env [2023-11-19T18:57:03.058Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-11-19T18:57:03.317Z] ==> Running gcov in . (disable via -X gcov) [2023-11-19T18:57:03.317Z] ==> Python coveragepy not found [2023-11-19T18:57:03.317Z] ==> Searching for coverage reports in: [2023-11-19T18:57:03.317Z] + . [2023-11-19T18:57:03.318Z] -> Found 1 reports [2023-11-19T18:57:03.318Z] ==> Detecting git/mercurial file structure [2023-11-19T18:57:03.318Z] ==> Reading reports [2023-11-19T18:57:03.318Z] + ./coverage.out bytes=122153 [2023-11-19T18:57:03.318Z] ==> Appending adjustments [2023-11-19T18:57:03.318Z] https://docs.codecov.io/docs/fixing-reports [2023-11-19T18:57:03.580Z] + Found adjustments [2023-11-19T18:57:03.580Z] ==> Gzipping contents [2023-11-19T18:57:03.580Z] 20K /tmp/codecov.AIdELB.gz [2023-11-19T18:57:03.580Z] ==> Uploading reports [2023-11-19T18:57:03.580Z] url: https://codecov.io [2023-11-19T18:57:03.580Z] query: branch=PR-1540&commit=6e2d4faf6ae36b7f68816f111c74e4c58def76a2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1540%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1540&job=&cmd_args= [2023-11-19T18:57:03.580Z] -> Pinging Codecov [2023-11-19T18:57:03.580Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1540&commit=6e2d4faf6ae36b7f68816f111c74e4c58def76a2&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1540%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1540&job=&cmd_args= [2023-11-19T18:57:03.838Z] -> Uploading to [2023-11-19T18:57:03.838Z] https://storage.googleapis.com/codecov/v4/raw/2023-11-19/7E55EF52A471D76F132DFD9A03CDDE97/6e2d4faf6ae36b7f68816f111c74e4c58def76a2/08d8168e-157d-4c91-a3c0-4d1327e3879b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231119%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231119T185703Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=60effe12ba78865ac42b95385ea311c3a182c741e3418c01d7df84ec219d3a0c [2023-11-19T18:57:03.838Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-11-19T18:57:03.838Z] Dload Upload Total Spent Left Speed [2023-11-19T18:57:04.096Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16747 0 0 100 16747 0 64164 --:--:-- --:--:-- --:--:-- 64164 [2023-11-19T18:57:04.096Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/6e2d4faf6ae36b7f68816f111c74e4c58def76a2 [Pipeline] } [2023-11-19T18:57:04.104Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-11-19T18:57:06.060Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives ] [2023-11-19T18:57:06.060Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives [2023-11-19T18:57:06.060Z] total 16 [2023-11-19T18:57:06.060Z] drwxr-xr-x 3 root root 4096 Nov 19 18:45 . [2023-11-19T18:57:06.060Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 19 18:45 .. [2023-11-19T18:57:06.060Z] drwxr-xr-x 2 root root 4096 Nov 19 18:45 cost [2023-11-19T18:57:06.060Z] -rw-r--r-- 1 root root 86 Nov 19 18:45 cost.csv [2023-11-19T18:57:06.060Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives [2023-11-19T18:57:06.060Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives [2023-11-19T18:57:06.060Z] total 16 [2023-11-19T18:57:06.060Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 19 18:45 . [2023-11-19T18:57:06.060Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 19 18:45 .. [2023-11-19T18:57:06.060Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 19 18:45 cost [2023-11-19T18:57:06.060Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 19 18:45 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-11-19T18:57:06.347Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-19T18:57:07.204Z] ---> package-listing.sh [2023-11-19T18:57:07.205Z] ++ facter osfamily [2023-11-19T18:57:07.205Z] ++ tr '[:upper:]' '[:lower:]' [2023-11-19T18:57:07.465Z] + OS_FAMILY=debian [2023-11-19T18:57:07.465Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1540 [2023-11-19T18:57:07.465Z] + START_PACKAGES=/tmp/packages_start.txt [2023-11-19T18:57:07.465Z] + END_PACKAGES=/tmp/packages_end.txt [2023-11-19T18:57:07.465Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-11-19T18:57:07.465Z] + PACKAGES=/tmp/packages_start.txt [2023-11-19T18:57:07.465Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1540 ']' [2023-11-19T18:57:07.465Z] + PACKAGES=/tmp/packages_end.txt [2023-11-19T18:57:07.465Z] + case "${OS_FAMILY}" in [2023-11-19T18:57:07.465Z] + dpkg -l [2023-11-19T18:57:07.465Z] + grep '^ii' [2023-11-19T18:57:07.465Z] + '[' -f /tmp/packages_start.txt ']' [2023-11-19T18:57:07.465Z] + '[' -f /tmp/packages_end.txt ']' [2023-11-19T18:57:07.465Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-11-19T18:57:07.465Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1540 ']' [2023-11-19T18:57:07.465Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/ [2023-11-19T18:57:07.465Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1540/archives/ [Pipeline] echo [2023-11-19T18:57:07.473Z] 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-1540/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-11-19T18:57:07.750Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-11-19T18:57:08.345Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-11-19T18:57:08.345Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-11-19T18:57:08.495Z] prd-ubuntu20.04-docker-8c-8g-228 does not seem to be running inside a container [2023-11-19T18:57:08.528Z] $ 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-1540/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-1540 -v /w/workspace/gexfoundry_device-sdk-go_PR-1540:/w/workspace/gexfoundry_device-sdk-go_PR-1540:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-11-19T18:57:08.700Z] $ docker top 035d03bf6c1c7fa8ba949425365be65095ecb3ec58eabab25fb6524e4cab3a51 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-11-19T18:57:09.124Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-11-19T18:57:09.522Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-11-19T18:57:09.861Z] + ls /var/log/sa-host [2023-11-19T18:57:09.861Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-11-19T18:57:10.069Z] provisioning config files... [2023-11-19T18:57:10.082Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1540@tmp/config1720500023517460373tmp [Pipeline] { [Pipeline] echo [2023-11-19T18:57:10.178Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-19T18:57:10.462Z] ---> create-netrc.sh [Pipeline] } [2023-11-19T18:57:10.470Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-11-19T18:57:10.892Z] ---> python-tools-install.sh [Pipeline] echo [2023-11-19T18:57:10.900Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-19T18:57:11.184Z] ---> sudo-logs.sh [2023-11-19T18:57:11.184Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-11-19T18:57:11.260Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-19T18:57:11.544Z] ---> job-cost.sh [2023-11-19T18:57:11.544Z] lf-activate-venv: SKIPPING [2023-11-19T18:57:11.544Z] DEBUG: total: 0.2199999988079071 [2023-11-19T18:57:11.544Z] INFO: Retrieving Stack Cost... [2023-11-19T18:57:12.112Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-11-19T18:57:12.373Z] INFO: Archiving Costs [Pipeline] echo [2023-11-19T18:57:12.388Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-11-19T18:57:12.671Z] ---> logs-deploy.sh [2023-11-19T18:57:12.671Z] lf-activate-venv: SKIPPING [2023-11-19T18:57:12.671Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1540/2 [2023-11-19T18:57:12.671Z] INFO: archiving workspace using pattern(s): [2023-11-19T18:57:13.610Z] Archives upload complete. [2023-11-19T18:57:13.610Z] INFO: archiving logs to Nexus