Pull request #1392 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7378150260b8b4c2b08d69144d56d37ee4a45e9f+4a7b1eec00eb893451c7c72b5ce81c7f4041337f (8335d040e5b9babaf5d4e61f300e6e0db1879b29) 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-ssh6509126953801440861.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh10450277600993480070.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1392/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1392/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2821359183992144303.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1392/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12654582073585730583.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1814958129410665647.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1392/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-sdk-go/branches/PR-1392/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13240924759474616840.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-ubuntu20.04-docker-8c-8g-2562’ is offline Running on prd-ubuntu20.04-docker-8c-8g-2564 in /w/workspace/gexfoundry_device-sdk-go_PR-1392 [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-1392 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Merging remotes/origin/main commit 4a7b1eec00eb893451c7c72b5ce81c7f4041337f into PR head commit 7378150260b8b4c2b08d69144d56d37ee4a45e9f Merge succeeded, producing 7378150260b8b4c2b08d69144d56d37ee4a45e9f Checking out Revision 7378150260b8b4c2b08d69144d56d37ee4a45e9f (PR-1392) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { 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/1392/head:refs/remotes/origin/PR-1392 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7378150260b8b4c2b08d69144d56d37ee4a45e9f # 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 4a7b1eec00eb893451c7c72b5ce81c7f4041337f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7378150260b8b4c2b08d69144d56d37ee4a45e9f # timeout=10 [Pipeline] timeout [2023-03-17T00:33:18.139Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-17T00:33:18.291Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-17T00:33:18.381Z] ========================================================= [2023-03-17T00:33:18.381Z] EdgeX Global Pipelines Version Info [2023-03-17T00:33:18.381Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-17T00:33:19.149Z] ------------------- [2023-03-17T00:33:19.149Z] stable info: [2023-03-17T00:33:19.149Z] ------------------- [2023-03-17T00:33:19.149Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-17T00:33:19.149Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-17T00:33:19.149Z] Message: update stable to v1.0.245 [2023-03-17T00:33:19.720Z] ------------------- [2023-03-17T00:33:19.720Z] experimental info: [2023-03-17T00:33:19.720Z] ------------------- [2023-03-17T00:33:19.720Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-17T00:33:19.720Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-17T00:33:19.720Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-17T00:33:20.118Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-03-17T00:33:20.174Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-03-17T00:33:20.214Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-17T00:33:20.258Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-17T00:33:20.298Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-17T00:33:20.346Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-17T00:33:20.424Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-17T00:33:20.466Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-03-17T00:33:20.509Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-17T00:33:20.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-17T00:33:20.591Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-17T00:33:20.641Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-03-17T00:33:20.701Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-17T00:33:20.743Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-17T00:33:20.787Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-17T00:33:20.832Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-03-17T00:33:20.874Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-17T00:33:20.916Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-17T00:33:20.955Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-17T00:33:20.993Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-17T00:33:21.036Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-17T00:33:21.077Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-03-17T00:33:21.119Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-17T00:33:21.157Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-17T00:33:21.193Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-17T00:33:21.228Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-17T00:33:21.266Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-17T00:33:21.301Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1392 [Pipeline] echo [2023-03-17T00:33:21.342Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1392 [Pipeline] echo [2023-03-17T00:33:21.381Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1392 [Pipeline] echo [2023-03-17T00:33:21.423Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7378150260b8b4c2b08d69144d56d37ee4a45e9f [Pipeline] echo [2023-03-17T00:33:21.467Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7378150 [Pipeline] echo [2023-03-17T00:33:21.502Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T00:33:21.618Z] provisioning config files... [2023-03-17T00:33:21.632Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1392@tmp/config16402591915752918462tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T00:33:21.973Z] ---> docker-login.sh [2023-03-17T00:33:21.973Z] nexus3.edgexfoundry.org:10001 [2023-03-17T00:33:22.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:33:22.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:33:22.233Z] Configure a credential helper to remove this warning. See [2023-03-17T00:33:22.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:33:22.233Z] [2023-03-17T00:33:22.233Z] Login Succeeded [2023-03-17T00:33:22.233Z] nexus3.edgexfoundry.org:10002 [2023-03-17T00:33:22.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:33:22.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:33:22.500Z] Configure a credential helper to remove this warning. See [2023-03-17T00:33:22.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:33:22.500Z] [2023-03-17T00:33:22.500Z] Login Succeeded [2023-03-17T00:33:22.500Z] nexus3.edgexfoundry.org:10003 [2023-03-17T00:33:22.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:33:22.500Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:33:22.500Z] Configure a credential helper to remove this warning. See [2023-03-17T00:33:22.500Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:33:22.500Z] [2023-03-17T00:33:22.500Z] Login Succeeded [2023-03-17T00:33:22.500Z] nexus3.edgexfoundry.org:10004 [2023-03-17T00:33:22.500Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:33:22.763Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:33:22.763Z] Configure a credential helper to remove this warning. See [2023-03-17T00:33:22.763Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:33:22.763Z] [2023-03-17T00:33:22.763Z] Login Succeeded [2023-03-17T00:33:22.763Z] docker.io [2023-03-17T00:33:22.763Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:33:23.027Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:33:23.027Z] Configure a credential helper to remove this warning. See [2023-03-17T00:33:23.027Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:33:23.027Z] [2023-03-17T00:33:23.027Z] Login Succeeded [2023-03-17T00:33:23.027Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T00:33:23.059Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-17T00:33:23.685Z] + git rev-list -1 --merges 7378150260b8b4c2b08d69144d56d37ee4a45e9f~1..7378150260b8b4c2b08d69144d56d37ee4a45e9f [Pipeline] echo [2023-03-17T00:33:23.752Z] -----------> git rev-list -1 --merges 7378150260b8b4c2b08d69144d56d37ee4a45e9f~1..7378150260b8b4c2b08d69144d56d37ee4a45e9f 7378150260b8b4c2b08d69144d56d37ee4a45e9f [false] [Pipeline] sh [2023-03-17T00:33:24.063Z] + git log --format=format:%s -1 7378150260b8b4c2b08d69144d56d37ee4a45e9f [Pipeline] echo [2023-03-17T00:33:24.102Z] ========================================================= [2023-03-17T00:33:24.102Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-17T00:33:24.102Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T00:33:24.521Z] + git log --format=format:%s -1 7378150260b8b4c2b08d69144d56d37ee4a45e9f [Pipeline] echo [2023-03-17T00:33:24.551Z] [semverPrep] GIT_COMMIT: 7378150260b8b4c2b08d69144d56d37ee4a45e9f, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-03-17T00:33:24.579Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-17T00:33:24.962Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-17T00:33:24.962Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-17T00:33:24.962Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-17T00:33:24.962Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-17T00:33:24.962Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-17T00:33:24.962Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-17T00:33:24.962Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:33:25.406Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T00:33:25.406Z] [2023-03-17T00:33:25.406Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:33:25.792Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T00:33:25.792Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-17T00:33:25.792Z] b85a868b505f: Pulling fs layer [2023-03-17T00:33:25.792Z] e2be974225ed: Pulling fs layer [2023-03-17T00:33:25.792Z] 339a4e72a1f5: Pulling fs layer [2023-03-17T00:33:25.792Z] 988bab9f4d93: Pulling fs layer [2023-03-17T00:33:25.792Z] 1469e6f7b9e6: Pulling fs layer [2023-03-17T00:33:25.792Z] eaf3925da568: Pulling fs layer [2023-03-17T00:33:25.792Z] bab4dde63d76: Pulling fs layer [2023-03-17T00:33:25.792Z] bde34c3a00c8: Pulling fs layer [2023-03-17T00:33:25.792Z] b352a97aabf1: Pulling fs layer [2023-03-17T00:33:25.792Z] 4872d77fe225: Pulling fs layer [2023-03-17T00:33:25.792Z] 5851b861e8e6: Pulling fs layer [2023-03-17T00:33:25.792Z] eaf3925da568: Waiting [2023-03-17T00:33:25.792Z] bab4dde63d76: Waiting [2023-03-17T00:33:25.792Z] 1469e6f7b9e6: Waiting [2023-03-17T00:33:25.792Z] bde34c3a00c8: Waiting [2023-03-17T00:33:25.792Z] 4872d77fe225: Waiting [2023-03-17T00:33:25.792Z] b352a97aabf1: Waiting [2023-03-17T00:33:25.792Z] 988bab9f4d93: Waiting [2023-03-17T00:33:25.792Z] e2be974225ed: Verifying Checksum [2023-03-17T00:33:25.792Z] e2be974225ed: Download complete [2023-03-17T00:33:25.792Z] 988bab9f4d93: Verifying Checksum [2023-03-17T00:33:25.792Z] 988bab9f4d93: Download complete [2023-03-17T00:33:26.053Z] 339a4e72a1f5: Verifying Checksum [2023-03-17T00:33:26.053Z] 339a4e72a1f5: Download complete [2023-03-17T00:33:26.053Z] eaf3925da568: Verifying Checksum [2023-03-17T00:33:26.053Z] eaf3925da568: Download complete [2023-03-17T00:33:26.053Z] 1469e6f7b9e6: Verifying Checksum [2023-03-17T00:33:26.053Z] 1469e6f7b9e6: Download complete [2023-03-17T00:33:26.053Z] bde34c3a00c8: Download complete [2023-03-17T00:33:26.053Z] b352a97aabf1: Download complete [2023-03-17T00:33:26.053Z] 4872d77fe225: Verifying Checksum [2023-03-17T00:33:26.053Z] 4872d77fe225: Download complete [2023-03-17T00:33:26.053Z] 5851b861e8e6: Download complete [2023-03-17T00:33:26.053Z] b85a868b505f: Verifying Checksum [2023-03-17T00:33:26.053Z] b85a868b505f: Download complete [2023-03-17T00:33:26.324Z] bab4dde63d76: Verifying Checksum [2023-03-17T00:33:26.324Z] bab4dde63d76: Download complete [2023-03-17T00:33:27.721Z] b85a868b505f: Pull complete [2023-03-17T00:33:27.721Z] e2be974225ed: Pull complete [2023-03-17T00:33:27.980Z] 339a4e72a1f5: Pull complete [2023-03-17T00:33:28.240Z] 988bab9f4d93: Pull complete [2023-03-17T00:33:28.499Z] 1469e6f7b9e6: Pull complete [2023-03-17T00:33:28.499Z] eaf3925da568: Pull complete [2023-03-17T00:33:30.414Z] bab4dde63d76: Pull complete [2023-03-17T00:33:30.414Z] bde34c3a00c8: Pull complete [2023-03-17T00:33:30.414Z] b352a97aabf1: Pull complete [2023-03-17T00:33:30.414Z] 4872d77fe225: Pull complete [2023-03-17T00:33:30.414Z] 5851b861e8e6: Pull complete [2023-03-17T00:33:30.414Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-17T00:33:30.414Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T00:33:30.414Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T00:33:30.654Z] prd-ubuntu20.04-docker-8c-8g-2564 does not seem to be running inside a container [2023-03-17T00:33:30.692Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1392 -v /w/workspace/gexfoundry_device-sdk-go_PR-1392:/w/workspace/gexfoundry_device-sdk-go_PR-1392:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1392@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1392@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-17T00:33:34.504Z] $ docker top 12dc21017cf60dcff4d43dbdbb65f62dd195d2c3473d033900c15c7118d54bfb -eo pid,comm [2023-03-17T00:33:34.558Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-17T00:33:34.558Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-17T00:33:34.692Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-17T00:33:34.692Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-17T00:33:34.802Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-17T00:33:34.805Z] $ docker exec 12dc21017cf60dcff4d43dbdbb65f62dd195d2c3473d033900c15c7118d54bfb ssh-agent [2023-03-17T00:33:34.906Z] SSH_AUTH_SOCK=/tmp/ssh-cUNeYRk7Gfy8/agent.32 [2023-03-17T00:33:34.906Z] SSH_AGENT_PID=38 [2023-03-17T00:33:34.912Z] Running ssh-add (command line suppressed) [2023-03-17T00:33:35.010Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1392@tmp/private_key_1056479799776287675.key (/w/workspace/gexfoundry_device-sdk-go_PR-1392@tmp/private_key_1056479799776287675.key) [2023-03-17T00:33:35.025Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-17T00:33:35.349Z] + git tag --points-at HEAD [Pipeline] } [2023-03-17T00:33:35.373Z] $ docker exec --env ******** --env ******** 12dc21017cf60dcff4d43dbdbb65f62dd195d2c3473d033900c15c7118d54bfb ssh-agent -k [2023-03-17T00:33:35.464Z] unset SSH_AUTH_SOCK; [2023-03-17T00:33:35.464Z] unset SSH_AGENT_PID; [2023-03-17T00:33:35.465Z] echo Agent pid 38 killed; [2023-03-17T00:33:35.475Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-17T00:33:35.561Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-17T00:33:35.561Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-17T00:33:35.672Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-17T00:33:35.674Z] $ docker exec 12dc21017cf60dcff4d43dbdbb65f62dd195d2c3473d033900c15c7118d54bfb ssh-agent [2023-03-17T00:33:35.793Z] SSH_AUTH_SOCK=/tmp/ssh-7L9k0BZdEjdj/agent.70 [2023-03-17T00:33:35.793Z] SSH_AGENT_PID=76 [2023-03-17T00:33:35.799Z] Running ssh-add (command line suppressed) [2023-03-17T00:33:35.903Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1392@tmp/private_key_5181059197327169540.key (/w/workspace/gexfoundry_device-sdk-go_PR-1392@tmp/private_key_5181059197327169540.key) [2023-03-17T00:33:35.916Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-17T00:33:36.241Z] + git semver init [2023-03-17T00:33:36.499Z] 2023-03-17 00:33:36,439 [run_init] DEBUG init version:0.0.0 force:False [2023-03-17T00:33:36.499Z] 2023-03-17 00:33:36,440 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1392/.semver [2023-03-17T00:33:36.499Z] 2023-03-17 00:33:36,440 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1392/.semver [2023-03-17T00:33:36.499Z] 2023-03-17 00:33:36,440 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1392/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1392, universal_newlines=False, shell=None, istream=None) [2023-03-17T00:33:37.437Z] 2023-03-17 00:33:37,368 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1392/.git/info/exclude [2023-03-17T00:33:37.437Z] 2023-03-17 00:33:37,369 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1392/.semver/PR-1392 with force:False [2023-03-17T00:33:37.437Z] 2023-03-17 00:33:37,369 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1392/.semver/PR-1392 [2023-03-17T00:33:37.437Z] 2023-03-17 00:33:37,373 [execute] INFO git cat-file --batch-check [2023-03-17T00:33:37.437Z] 2023-03-17 00:33:37,374 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1392/.semver, universal_newlines=False, shell=None, istream=) [2023-03-17T00:33:37.437Z] 2023-03-17 00:33:37,380 [execute] INFO git cat-file --batch [2023-03-17T00:33:37.437Z] 2023-03-17 00:33:37,380 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1392/.semver, universal_newlines=False, shell=None, istream=) [2023-03-17T00:33:37.437Z] 2023-03-17 00:33:37,384 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1392/.semver/PR-1392 [2023-03-17T00:33:37.437Z] 0.0.0 [Pipeline] } [2023-03-17T00:33:37.461Z] $ docker exec --env ******** --env ******** 12dc21017cf60dcff4d43dbdbb65f62dd195d2c3473d033900c15c7118d54bfb ssh-agent -k [2023-03-17T00:33:37.559Z] unset SSH_AUTH_SOCK; [2023-03-17T00:33:37.561Z] unset SSH_AGENT_PID; [2023-03-17T00:33:37.561Z] echo Agent pid 76 killed; [2023-03-17T00:33:37.573Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-17T00:33:38.007Z] + git semver [Pipeline] } [2023-03-17T00:33:38.290Z] $ docker stop --time=1 12dc21017cf60dcff4d43dbdbb65f62dd195d2c3473d033900c15c7118d54bfb [2023-03-17T00:33:39.561Z] $ docker rm -f --volumes 12dc21017cf60dcff4d43dbdbb65f62dd195d2c3473d033900c15c7118d54bfb [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-17T00:33:39.952Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-17T00:33:40.229Z] Stashed 1 file(s) [Pipeline] echo [2023-03-17T00:33:40.247Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T00:33:40.816Z] provisioning config files... [2023-03-17T00:33:40.826Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1392@tmp/config4096469856099295030tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T00:33:41.176Z] ---> docker-login.sh [2023-03-17T00:33:41.176Z] nexus3.edgexfoundry.org:10001 [2023-03-17T00:33:41.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:33:41.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:33:41.176Z] Configure a credential helper to remove this warning. See [2023-03-17T00:33:41.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:33:41.176Z] [2023-03-17T00:33:41.176Z] Login Succeeded [2023-03-17T00:33:41.176Z] nexus3.edgexfoundry.org:10002 [2023-03-17T00:33:41.176Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:33:41.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:33:41.176Z] Configure a credential helper to remove this warning. See [2023-03-17T00:33:41.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:33:41.176Z] [2023-03-17T00:33:41.176Z] Login Succeeded [2023-03-17T00:33:41.176Z] nexus3.edgexfoundry.org:10003 [2023-03-17T00:33:41.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:33:41.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:33:41.436Z] Configure a credential helper to remove this warning. See [2023-03-17T00:33:41.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:33:41.436Z] [2023-03-17T00:33:41.436Z] Login Succeeded [2023-03-17T00:33:41.436Z] nexus3.edgexfoundry.org:10004 [2023-03-17T00:33:41.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:33:41.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:33:41.436Z] Configure a credential helper to remove this warning. See [2023-03-17T00:33:41.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:33:41.436Z] [2023-03-17T00:33:41.436Z] Login Succeeded [2023-03-17T00:33:41.436Z] docker.io [2023-03-17T00:33:41.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:33:41.696Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:33:41.696Z] Configure a credential helper to remove this warning. See [2023-03-17T00:33:41.696Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:33:41.696Z] [2023-03-17T00:33:41.696Z] Login Succeeded [2023-03-17T00:33:41.696Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T00:33:41.721Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-17T00:33:41.926Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T00:33:41.966Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T00:33:41.997Z] ========================================================= [2023-03-17T00:33:41.997Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-17T00:33:41.997Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:33:42.463Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-17T00:33:42.463Z] Sending build context to Docker daemon 10.84MB [2023-03-17T00:33:42.463Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T00:33:42.463Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-17T00:33:42.463Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-17T00:33:42.463Z] 63b65145d645: Pulling fs layer [2023-03-17T00:33:42.463Z] a2d21d5440eb: Pulling fs layer [2023-03-17T00:33:42.463Z] 935e6c44a52c: Pulling fs layer [2023-03-17T00:33:42.463Z] 94cc34f8dd06: Pulling fs layer [2023-03-17T00:33:42.463Z] 30dea6a524f1: Pulling fs layer [2023-03-17T00:33:42.463Z] a2aff8979fd8: Pulling fs layer [2023-03-17T00:33:42.463Z] 6808be2612f2: Pulling fs layer [2023-03-17T00:33:42.463Z] f25807f1079a: Pulling fs layer [2023-03-17T00:33:42.463Z] 30dea6a524f1: Waiting [2023-03-17T00:33:42.463Z] a2aff8979fd8: Waiting [2023-03-17T00:33:42.463Z] 6808be2612f2: Waiting [2023-03-17T00:33:42.463Z] f25807f1079a: Waiting [2023-03-17T00:33:42.463Z] 94cc34f8dd06: Waiting [2023-03-17T00:33:42.736Z] a2d21d5440eb: Download complete [2023-03-17T00:33:42.736Z] 94cc34f8dd06: Download complete [2023-03-17T00:33:42.736Z] 30dea6a524f1: Verifying Checksum [2023-03-17T00:33:42.736Z] 30dea6a524f1: Download complete [2023-03-17T00:33:42.736Z] 63b65145d645: Verifying Checksum [2023-03-17T00:33:42.736Z] a2aff8979fd8: Verifying Checksum [2023-03-17T00:33:42.736Z] a2aff8979fd8: Download complete [2023-03-17T00:33:43.002Z] 63b65145d645: Pull complete [2023-03-17T00:33:43.002Z] a2d21d5440eb: Pull complete [2023-03-17T00:33:43.261Z] f25807f1079a: Verifying Checksum [2023-03-17T00:33:43.261Z] f25807f1079a: Download complete [2023-03-17T00:33:43.261Z] 935e6c44a52c: Verifying Checksum [2023-03-17T00:33:43.261Z] 935e6c44a52c: Download complete [2023-03-17T00:33:43.830Z] 6808be2612f2: Verifying Checksum [2023-03-17T00:33:43.830Z] 6808be2612f2: Download complete [2023-03-17T00:33:46.380Z] 935e6c44a52c: Pull complete [2023-03-17T00:33:46.380Z] 94cc34f8dd06: Pull complete [2023-03-17T00:33:46.380Z] 30dea6a524f1: Pull complete [2023-03-17T00:33:46.380Z] a2aff8979fd8: Pull complete [2023-03-17T00:33:48.908Z] 6808be2612f2: Pull complete [2023-03-17T00:33:49.165Z] f25807f1079a: Pull complete [2023-03-17T00:33:49.165Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-17T00:33:49.165Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-17T00:33:49.165Z] ---> 3b553350e43f [2023-03-17T00:33:49.165Z] Step 3/10 : ARG MAKE=make build [2023-03-17T00:33:55.649Z] Still waiting to schedule task [2023-03-17T00:33:55.649Z] ‘prd-ubuntu20.04-docker-8c-8g-2563’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-17T00:33:55.650Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-2565’ is offline [2023-03-17T00:33:55.733Z] ---> Running in e2ed27c76863 [2023-03-17T00:33:55.733Z] Removing intermediate container e2ed27c76863 [2023-03-17T00:33:55.733Z] ---> 131a6a7621da [2023-03-17T00:33:55.733Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-17T00:33:55.733Z] ---> Running in 49936f75b3d5 [2023-03-17T00:33:55.733Z] Removing intermediate container 49936f75b3d5 [2023-03-17T00:33:55.733Z] ---> 21153705dcf2 [2023-03-17T00:33:55.733Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-17T00:33:55.733Z] ---> Running in 97cf4da0c2a6 [2023-03-17T00:33:55.733Z] Removing intermediate container 97cf4da0c2a6 [2023-03-17T00:33:55.733Z] ---> 7435b86220bd [2023-03-17T00:33:55.733Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-17T00:33:55.733Z] ---> Running in b016b4b6e34e [2023-03-17T00:33:55.733Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-17T00:33:55.733Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-17T00:33:55.733Z] OK: 265 MiB in 53 packages [2023-03-17T00:33:56.302Z] Removing intermediate container b016b4b6e34e [2023-03-17T00:33:56.302Z] ---> 74e89511846f [2023-03-17T00:33:56.302Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-17T00:33:56.302Z] ---> c6bf1856f07f [2023-03-17T00:33:56.302Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T00:33:56.302Z] ---> Running in dc3053ec2edf [2023-03-17T00:34:28.498Z] Removing intermediate container dc3053ec2edf [2023-03-17T00:34:28.498Z] ---> f84e0881e773 [2023-03-17T00:34:28.498Z] Step 9/10 : COPY . . [2023-03-17T00:34:28.757Z] ---> f2633437adf3 [2023-03-17T00:34:28.757Z] Step 10/10 : RUN ${MAKE} [2023-03-17T00:34:28.757Z] ---> Running in 8b86699541ae [2023-03-17T00:34:29.014Z] noop [2023-03-17T00:34:29.274Z] Removing intermediate container 8b86699541ae [2023-03-17T00:34:29.274Z] ---> 1a2c70d7e4f6 [2023-03-17T00:34:29.274Z] Successfully built 1a2c70d7e4f6 [2023-03-17T00:34:29.274Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:34:29.702Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-17T00:34:29.702Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T00:34:29.850Z] prd-ubuntu20.04-docker-8c-8g-2564 does not seem to be running inside a container [2023-03-17T00:34:29.889Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1392 -v /w/workspace/gexfoundry_device-sdk-go_PR-1392:/w/workspace/gexfoundry_device-sdk-go_PR-1392:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1392@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1392@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-17T00:34:30.229Z] $ docker top af24a878729a8936a95b3d40766c90d8a0f98c570b93ff80dee84b43bedb3bb2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T00:34:30.603Z] + go version [2023-03-17T00:34:30.603Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-17T00:34:30.639Z] $ docker stop --time=1 af24a878729a8936a95b3d40766c90d8a0f98c570b93ff80dee84b43bedb3bb2 [2023-03-17T00:34:31.915Z] $ docker rm -f --volumes af24a878729a8936a95b3d40766c90d8a0f98c570b93ff80dee84b43bedb3bb2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:34:32.614Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-17T00:34:32.614Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T00:34:32.756Z] prd-ubuntu20.04-docker-8c-8g-2564 does not seem to be running inside a container [2023-03-17T00:34:32.793Z] $ 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-1392 -v /w/workspace/gexfoundry_device-sdk-go_PR-1392:/w/workspace/gexfoundry_device-sdk-go_PR-1392:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1392@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1392@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-17T00:34:33.117Z] $ docker top d99b29d36408499af29acc229c25e19a98ed2c2e2c073b3a3537d43c728c6c15 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T00:34:33.520Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1392 [Pipeline] fileExists [Pipeline] sh [2023-03-17T00:34:33.871Z] + make test [2023-03-17T00:34:33.871Z] go test -race -coverprofile=coverage.out ./... [2023-03-17T00:34:40.428Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-17T00:34:55.292Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-17T00:34:55.292Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-17T00:34:55.292Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-17T00:34:55.292Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-17T00:34:55.292Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-17T00:34:55.292Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.046s coverage: 27.6% of statements [2023-03-17T00:34:55.292Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.065s coverage: 78.9% of statements [2023-03-17T00:34:55.292Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-17T00:34:55.292Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-17T00:34:55.292Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.080s coverage: 86.0% of statements [2023-03-17T00:34:55.550Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-17T00:34:55.550Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-17T00:34:55.808Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.101s coverage: 75.9% of statements [2023-03-17T00:34:55.808Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-17T00:34:55.808Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-17T00:34:56.742Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-17T00:34:58.642Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.065s coverage: 15.2% of statements [2023-03-17T00:34:58.642Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.079s coverage: 65.7% of statements [2023-03-17T00:34:58.642Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.108s coverage: 89.2% of statements [2023-03-17T00:34:58.642Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.052s coverage: 5.5% of statements [2023-03-17T00:35:20.802Z] GO111MODULE=on go vet ./... [2023-03-17T00:35:20.802Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-17T00:35:21.060Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-17T00:35:21.060Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-17T00:35:21.094Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-17T00:35:21.125Z] $ docker stop --time=1 d99b29d36408499af29acc229c25e19a98ed2c2e2c073b3a3537d43c728c6c15 [2023-03-17T00:35:25.414Z] $ docker rm -f --volumes d99b29d36408499af29acc229c25e19a98ed2c2e2c073b3a3537d43c728c6c15 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-17T00:35:25.978Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-17T00:35:26.053Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-17T00:35:26.635Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-17T00:35:26.940Z] + ls -al . [2023-03-17T00:35:26.940Z] total 276 [2023-03-17T00:35:26.940Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 00:34 . [2023-03-17T00:35:26.940Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 00:33 .. [2023-03-17T00:35:26.940Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 00:33 .dockerignore [2023-03-17T00:35:26.940Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 00:33 .git [2023-03-17T00:35:26.940Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 00:33 .github [2023-03-17T00:35:26.940Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 17 00:33 .gitignore [2023-03-17T00:35:26.940Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 17 00:33 .golangci.yml [2023-03-17T00:35:26.940Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 00:33 .semver [2023-03-17T00:35:26.940Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 17 00:33 CHANGELOG.md [2023-03-17T00:35:26.940Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 00:33 GOVERNANCE.md [2023-03-17T00:35:26.940Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 17 00:33 Jenkinsfile [2023-03-17T00:35:26.940Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 17 00:33 LICENSE [2023-03-17T00:35:26.940Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 17 00:33 Makefile [2023-03-17T00:35:26.940Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 17 00:33 OWNERS.md [2023-03-17T00:35:26.940Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 17 00:33 README.md [2023-03-17T00:35:26.940Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 00:33 VERSION [2023-03-17T00:35:26.940Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 00:33 bin [2023-03-17T00:35:26.940Z] -rw-r--r-- 1 jenkins jenkins 109538 Mar 17 00:34 coverage.out [2023-03-17T00:35:26.940Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 00:33 example [2023-03-17T00:35:26.940Z] -rw-rw-r-- 1 jenkins jenkins 3291 Mar 17 00:33 go.mod [2023-03-17T00:35:26.940Z] -rw-rw-r-- 1 jenkins jenkins 30841 Mar 17 00:33 go.sum [2023-03-17T00:35:26.940Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 00:33 internal [2023-03-17T00:35:26.940Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 00:33 openapi [2023-03-17T00:35:26.940Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 17 00:33 pkg [2023-03-17T00:35:26.940Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 00:33 snap [2023-03-17T00:35:26.940Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 17 00:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:35:27.324Z] + 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=7378150260b8b4c2b08d69144d56d37ee4a45e9f --label arch=amd64 --label version=0.0.0 . [2023-03-17T00:35:27.324Z] Sending build context to Docker daemon 10.95MB [2023-03-17T00:35:27.324Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T00:35:27.324Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-17T00:35:27.324Z] ---> 1a2c70d7e4f6 [2023-03-17T00:35:27.324Z] Step 3/23 : ARG MAKE=make build [2023-03-17T00:35:27.583Z] ---> Running in 1b7744c658f3 [2023-03-17T00:35:27.583Z] Removing intermediate container 1b7744c658f3 [2023-03-17T00:35:27.583Z] ---> 987a72c6d8fc [2023-03-17T00:35:27.583Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-17T00:35:27.583Z] ---> Running in eec6410cfe2e [2023-03-17T00:35:27.841Z] Removing intermediate container eec6410cfe2e [2023-03-17T00:35:27.842Z] ---> 85605a0210ef [2023-03-17T00:35:27.842Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-17T00:35:27.842Z] ---> Running in 730da453e44e [2023-03-17T00:35:27.842Z] Removing intermediate container 730da453e44e [2023-03-17T00:35:27.842Z] ---> 42e677ae9d59 [2023-03-17T00:35:27.842Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-17T00:35:27.842Z] ---> Running in 0b917e36b646 [2023-03-17T00:35:28.099Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-17T00:35:28.357Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-17T00:35:28.616Z] OK: 265 MiB in 53 packages [2023-03-17T00:35:28.874Z] Removing intermediate container 0b917e36b646 [2023-03-17T00:35:28.875Z] ---> 8089b153f504 [2023-03-17T00:35:28.875Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-17T00:35:29.132Z] ---> edf3e299b748 [2023-03-17T00:35:29.132Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T00:35:29.132Z] ---> Running in 21f3995b177f [2023-03-17T00:35:29.699Z] Removing intermediate container 21f3995b177f [2023-03-17T00:35:29.699Z] ---> 77646e3d3b69 [2023-03-17T00:35:29.699Z] Step 9/23 : COPY . . [2023-03-17T00:35:30.264Z] ---> 7d380fbc9e4f [2023-03-17T00:35:30.264Z] Step 10/23 : RUN ${MAKE} [2023-03-17T00:35:30.522Z] ---> Running in ef6211a269c1 [2023-03-17T00:35:30.779Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-17T00:35:52.722Z] Removing intermediate container ef6211a269c1 [2023-03-17T00:35:52.722Z] ---> 7ed130212d42 [2023-03-17T00:35:52.722Z] Step 11/23 : FROM alpine:3.17 [2023-03-17T00:35:52.722Z] 3.17: Pulling from library/alpine [2023-03-17T00:35:52.722Z] 63b65145d645: Already exists [2023-03-17T00:35:52.722Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-17T00:35:52.722Z] Status: Downloaded newer image for alpine:3.17 [2023-03-17T00:35:52.722Z] ---> b2aa39c304c2 [2023-03-17T00:35:52.722Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-17T00:35:52.722Z] ---> Running in 4ffff2f7bf8f [2023-03-17T00:35:52.722Z] Removing intermediate container 4ffff2f7bf8f [2023-03-17T00:35:52.722Z] ---> 88bf31a64d90 [2023-03-17T00:35:52.722Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-17T00:35:52.722Z] ---> Running in 896e3ea805aa [2023-03-17T00:35:52.722Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-17T00:35:52.722Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-17T00:35:53.290Z] OK: 7 MiB in 15 packages [2023-03-17T00:35:53.548Z] Removing intermediate container 896e3ea805aa [2023-03-17T00:35:53.549Z] ---> bdb2acb78fa2 [2023-03-17T00:35:53.549Z] Step 14/23 : WORKDIR / [2023-03-17T00:35:53.549Z] ---> Running in 466b2f5781be [2023-03-17T00:35:53.549Z] Removing intermediate container 466b2f5781be [2023-03-17T00:35:53.549Z] ---> 28b2f2aede4b [2023-03-17T00:35:53.549Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-17T00:35:53.549Z] ---> 7606e0acaad7 [2023-03-17T00:35:53.549Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-17T00:35:54.503Z] ---> 92f758439886 [2023-03-17T00:35:54.503Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-17T00:35:54.762Z] ---> b49b03ad763c [2023-03-17T00:35:54.762Z] Step 18/23 : EXPOSE 59999 [2023-03-17T00:35:54.762Z] ---> Running in 85dd0b3dbe99 [2023-03-17T00:35:54.762Z] Removing intermediate container 85dd0b3dbe99 [2023-03-17T00:35:54.762Z] ---> e4fe91c80a4b [2023-03-17T00:35:54.762Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-17T00:35:54.762Z] ---> Running in fb4d841dd478 [2023-03-17T00:35:55.021Z] Removing intermediate container fb4d841dd478 [2023-03-17T00:35:55.021Z] ---> b9a314122812 [2023-03-17T00:35:55.021Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-17T00:35:55.021Z] ---> Running in 65e758341a6e [2023-03-17T00:35:55.021Z] Removing intermediate container 65e758341a6e [2023-03-17T00:35:55.021Z] ---> 7171b7ceac7c [2023-03-17T00:35:55.021Z] Step 21/23 : LABEL arch=amd64 [2023-03-17T00:35:55.021Z] ---> Running in 3c901d949f17 [2023-03-17T00:35:55.021Z] Removing intermediate container 3c901d949f17 [2023-03-17T00:35:55.021Z] ---> 143a282d30af [2023-03-17T00:35:55.021Z] Step 22/23 : LABEL git_sha=7378150260b8b4c2b08d69144d56d37ee4a45e9f [2023-03-17T00:35:55.021Z] ---> Running in fd94dd2aff25 [2023-03-17T00:35:55.280Z] Removing intermediate container fd94dd2aff25 [2023-03-17T00:35:55.280Z] ---> 5b81bbc37f75 [2023-03-17T00:35:55.280Z] Step 23/23 : LABEL version=0.0.0 [2023-03-17T00:35:55.280Z] ---> Running in cf8a06041f7a [2023-03-17T00:35:55.280Z] Removing intermediate container cf8a06041f7a [2023-03-17T00:35:55.280Z] ---> 970f894a41a0 [2023-03-17T00:35:55.280Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-17T00:35:55.280Z] Successfully built 970f894a41a0 [2023-03-17T00:35:55.280Z] Successfully tagged device-sdk-simple:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:35:56.155Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T00:35:56.155Z] [2023-03-17T00:35:56.155Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:35:56.527Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T00:35:56.527Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-17T00:35:56.527Z] 5eb5b503b376: Pulling fs layer [2023-03-17T00:35:56.527Z] 5c69ac0246d0: Pulling fs layer [2023-03-17T00:35:56.527Z] ec43610c2a17: Pulling fs layer [2023-03-17T00:35:56.527Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-17T00:35:56.527Z] 33b1e0a273af: Pulling fs layer [2023-03-17T00:35:56.527Z] 5d3b04190fa2: Pulling fs layer [2023-03-17T00:35:56.527Z] 2f39f015ded8: Pulling fs layer [2023-03-17T00:35:56.527Z] 33b1e0a273af: Waiting [2023-03-17T00:35:56.527Z] 5d3b04190fa2: Waiting [2023-03-17T00:35:56.527Z] 2f39f015ded8: Waiting [2023-03-17T00:35:56.527Z] 3a2ae6a8a46f: Waiting [2023-03-17T00:35:56.527Z] 5c69ac0246d0: Verifying Checksum [2023-03-17T00:35:56.527Z] 5c69ac0246d0: Download complete [2023-03-17T00:35:56.527Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-17T00:35:56.527Z] 3a2ae6a8a46f: Download complete [2023-03-17T00:35:56.527Z] ec43610c2a17: Verifying Checksum [2023-03-17T00:35:56.527Z] ec43610c2a17: Download complete [2023-03-17T00:35:56.527Z] 33b1e0a273af: Verifying Checksum [2023-03-17T00:35:56.527Z] 33b1e0a273af: Download complete [2023-03-17T00:35:56.784Z] 5d3b04190fa2: Download complete [2023-03-17T00:35:56.784Z] 5eb5b503b376: Download complete [2023-03-17T00:35:57.351Z] 2f39f015ded8: Verifying Checksum [2023-03-17T00:35:57.351Z] 2f39f015ded8: Download complete [2023-03-17T00:35:58.285Z] 5eb5b503b376: Pull complete [2023-03-17T00:35:58.285Z] 5c69ac0246d0: Pull complete [2023-03-17T00:35:58.543Z] ec43610c2a17: Pull complete [2023-03-17T00:35:58.801Z] 3a2ae6a8a46f: Pull complete [2023-03-17T00:35:58.801Z] 33b1e0a273af: Pull complete [2023-03-17T00:35:59.058Z] 5d3b04190fa2: Pull complete [2023-03-17T00:36:03.241Z] 2f39f015ded8: Pull complete [2023-03-17T00:36:03.241Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-17T00:36:03.241Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T00:36:03.241Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T00:36:03.454Z] prd-ubuntu20.04-docker-8c-8g-2564 does not seem to be running inside a container [2023-03-17T00:36:03.488Z] $ 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-1392 -v /w/workspace/gexfoundry_device-sdk-go_PR-1392:/w/workspace/gexfoundry_device-sdk-go_PR-1392:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1392@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1392@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-17T00:36:08.549Z] $ docker top 12c20beccee26b833b15b868dad77578f26c7ab2ba1ada5463fb776709a678d4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T00:36:08.982Z] ---> job-cost.sh [2023-03-17T00:36:08.982Z] lf-activate-venv: SKIPPING [2023-03-17T00:36:08.982Z] INFO: No Stack... [2023-03-17T00:36:09.241Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-17T00:36:09.500Z] INFO: Archiving Costs [Pipeline] sh [2023-03-17T00:36:10.194Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1392/archives/cost.csv [2023-03-17T00:36:10.194Z] + cut -d, -f6 [Pipeline] lock [2023-03-17T00:36:10.236Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1392-1-stack-cost] [2023-03-17T00:36:10.242Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1392-1-stack-cost] did not exist. Created. [2023-03-17T00:36:10.242Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1392-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-17T00:36:10.636Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-17T00:36:10.686Z] Stashed 1 file(s) [Pipeline] } [2023-03-17T00:36:10.716Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1392-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-17T00:36:10.796Z] $ docker stop --time=1 12c20beccee26b833b15b868dad77578f26c7ab2ba1ada5463fb776709a678d4 [2023-03-17T00:36:11.949Z] $ docker rm -f --volumes 12c20beccee26b833b15b868dad77578f26c7ab2ba1ada5463fb776709a678d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-17T00:36:33.734Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2567 in /w/workspace/gexfoundry_device-sdk-go_PR-1392 [Pipeline] { [Pipeline] ws [2023-03-17T00:36:33.793Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-03-17T00:36:33.872Z] The recommended git tool is: git [2023-03-17T00:36:40.406Z] using credential edgex-jenkins-ssh [2023-03-17T00:36:40.428Z] Cloning the remote Git repository [2023-03-17T00:36:40.492Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-03-17T00:36:40.624Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-03-17T00:36:40.831Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-17T00:36:40.832Z] > git --version # timeout=10 [2023-03-17T00:36:40.866Z] > git --version # 'git version 2.25.1' [2023-03-17T00:36:40.869Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T00:36:41.068Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-17T00:36:43.005Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-17T00:36:43.036Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-17T00:36:44.821Z] Merging remotes/origin/main commit 4a7b1eec00eb893451c7c72b5ce81c7f4041337f into PR head commit 7378150260b8b4c2b08d69144d56d37ee4a45e9f [2023-03-17T00:36:45.208Z] Merge succeeded, producing 7378150260b8b4c2b08d69144d56d37ee4a45e9f [2023-03-17T00:36:45.208Z] Checking out Revision 7378150260b8b4c2b08d69144d56d37ee4a45e9f (PR-1392) [2023-03-17T00:36:44.121Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-03-17T00:36:44.175Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-03-17T00:36:44.176Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T00:36:44.200Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1392/head:refs/remotes/origin/PR-1392 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-17T00:36:44.848Z] > git config core.sparsecheckout # timeout=10 [2023-03-17T00:36:44.949Z] > git checkout -f 7378150260b8b4c2b08d69144d56d37ee4a45e9f # timeout=10 [2023-03-17T00:36:45.084Z] > git remote # timeout=10 [2023-03-17T00:36:45.109Z] > git config --get remote.origin.url # timeout=10 [2023-03-17T00:36:45.135Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T00:36:45.158Z] > git merge 4a7b1eec00eb893451c7c72b5ce81c7f4041337f # timeout=10 [2023-03-17T00:36:45.189Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-17T00:36:45.220Z] > git config core.sparsecheckout # timeout=10 [2023-03-17T00:36:45.244Z] > git checkout -f 7378150260b8b4c2b08d69144d56d37ee4a45e9f # timeout=10 [2023-03-17T00:36:45.852Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-03-17T00:36:45.922Z] > git --version # timeout=10 [2023-03-17T00:36:45.936Z] > git --version # 'git version 2.25.1' [2023-03-17T00:36:45.957Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T00:36:47.046Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-17T00:36:47.046Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-17T00:36:47.046Z] Dload Upload Total Spent Left Speed [2023-03-17T00:36:47.046Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 93072 [Pipeline] sh [2023-03-17T00:36:47.729Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-17T00:36:48.094Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2023-03-17T00:36:48.094Z] [2023-03-17T00:36:48.094Z] { [2023-03-17T00:36:48.094Z] "registry-mirrors": [ [2023-03-17T00:36:48.094Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-17T00:36:48.094Z] ], [2023-03-17T00:36:48.094Z] "bip": "10.250.0.254/24", [2023-03-17T00:36:48.094Z] "hosts": [ [2023-03-17T00:36:48.094Z] "tcp://0.0.0.0:5555", [2023-03-17T00:36:48.094Z] "unix:///var/run/docker.sock" [2023-03-17T00:36:48.094Z] ], [2023-03-17T00:36:48.094Z] "mtu": 1458, [2023-03-17T00:36:48.094Z] "selinux-enabled": true, [2023-03-17T00:36:48.094Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-17T00:36:48.094Z] } [Pipeline] sh [2023-03-17T00:36:48.454Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-17T00:36:48.820Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T00:37:07.190Z] provisioning config files... [2023-03-17T00:37:07.230Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config16532428316437196700tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T00:37:07.642Z] ---> docker-login.sh [2023-03-17T00:37:07.642Z] nexus3.edgexfoundry.org:10001 [2023-03-17T00:37:08.237Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:37:08.237Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:37:08.237Z] Configure a credential helper to remove this warning. See [2023-03-17T00:37:08.237Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:37:08.237Z] [2023-03-17T00:37:08.237Z] Login Succeeded [2023-03-17T00:37:08.237Z] nexus3.edgexfoundry.org:10002 [2023-03-17T00:37:08.510Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:37:08.781Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:37:08.781Z] Configure a credential helper to remove this warning. See [2023-03-17T00:37:08.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:37:08.781Z] [2023-03-17T00:37:08.781Z] Login Succeeded [2023-03-17T00:37:08.781Z] nexus3.edgexfoundry.org:10003 [2023-03-17T00:37:09.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:37:09.055Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:37:09.055Z] Configure a credential helper to remove this warning. See [2023-03-17T00:37:09.055Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:37:09.055Z] [2023-03-17T00:37:09.055Z] Login Succeeded [2023-03-17T00:37:09.055Z] nexus3.edgexfoundry.org:10004 [2023-03-17T00:37:09.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:37:09.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:37:09.655Z] Configure a credential helper to remove this warning. See [2023-03-17T00:37:09.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:37:09.655Z] [2023-03-17T00:37:09.655Z] Login Succeeded [2023-03-17T00:37:09.655Z] docker.io [2023-03-17T00:37:09.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T00:37:10.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T00:37:10.197Z] Configure a credential helper to remove this warning. See [2023-03-17T00:37:10.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T00:37:10.197Z] [2023-03-17T00:37:10.197Z] Login Succeeded [2023-03-17T00:37:10.197Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T00:37:10.228Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-17T00:37:10.658Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T00:37:10.695Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T00:37:10.727Z] ========================================================= [2023-03-17T00:37:10.727Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-17T00:37:10.727Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:37:11.242Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-17T00:37:11.514Z] Sending build context to Docker daemon 5.816MB [2023-03-17T00:37:11.788Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T00:37:11.788Z] Step 2/10 : FROM ${BASE} AS builder [2023-03-17T00:37:11.788Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-17T00:37:11.788Z] af6eaf76a39c: Pulling fs layer [2023-03-17T00:37:11.788Z] 55522c791124: Pulling fs layer [2023-03-17T00:37:11.788Z] ce5c4a1c91eb: Pulling fs layer [2023-03-17T00:37:11.788Z] 169dfbe0d373: Pulling fs layer [2023-03-17T00:37:11.789Z] e1ff8fa3b103: Pulling fs layer [2023-03-17T00:37:11.789Z] 52ebb69f0ebf: Pulling fs layer [2023-03-17T00:37:11.789Z] 5abe8eddf0d5: Pulling fs layer [2023-03-17T00:37:11.789Z] e1ff8fa3b103: Waiting [2023-03-17T00:37:11.789Z] 52ebb69f0ebf: Waiting [2023-03-17T00:37:11.789Z] 5abe8eddf0d5: Waiting [2023-03-17T00:37:11.789Z] 169dfbe0d373: Waiting [2023-03-17T00:37:11.789Z] 55522c791124: Verifying Checksum [2023-03-17T00:37:11.789Z] 55522c791124: Download complete [2023-03-17T00:37:12.086Z] 169dfbe0d373: Verifying Checksum [2023-03-17T00:37:12.086Z] 169dfbe0d373: Download complete [2023-03-17T00:37:12.086Z] e1ff8fa3b103: Verifying Checksum [2023-03-17T00:37:12.086Z] e1ff8fa3b103: Download complete [2023-03-17T00:37:12.086Z] af6eaf76a39c: Download complete [2023-03-17T00:37:13.064Z] af6eaf76a39c: Pull complete [2023-03-17T00:37:13.334Z] 5abe8eddf0d5: Verifying Checksum [2023-03-17T00:37:13.334Z] 5abe8eddf0d5: Download complete [2023-03-17T00:37:13.931Z] 55522c791124: Pull complete [2023-03-17T00:37:14.902Z] ce5c4a1c91eb: Verifying Checksum [2023-03-17T00:37:14.902Z] ce5c4a1c91eb: Download complete [2023-03-17T00:37:14.902Z] 52ebb69f0ebf: Verifying Checksum [2023-03-17T00:37:14.902Z] 52ebb69f0ebf: Download complete [2023-03-17T00:37:27.354Z] ce5c4a1c91eb: Pull complete [2023-03-17T00:37:27.354Z] 169dfbe0d373: Pull complete [2023-03-17T00:37:27.354Z] e1ff8fa3b103: Pull complete [2023-03-17T00:37:35.630Z] 52ebb69f0ebf: Pull complete [2023-03-17T00:37:36.604Z] 5abe8eddf0d5: Pull complete [2023-03-17T00:37:36.604Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-17T00:37:36.604Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-17T00:37:36.604Z] ---> 6cb57ee374ae [2023-03-17T00:37:36.604Z] Step 3/10 : ARG MAKE=make build [2023-03-17T00:37:38.570Z] ---> Running in 7a7300dd47eb [2023-03-17T00:37:38.840Z] Removing intermediate container 7a7300dd47eb [2023-03-17T00:37:38.841Z] ---> 870de1cdfc82 [2023-03-17T00:37:38.841Z] Step 4/10 : WORKDIR /device-sdk-go [2023-03-17T00:37:38.841Z] ---> Running in ebb8c3a40fc7 [2023-03-17T00:37:39.110Z] Removing intermediate container ebb8c3a40fc7 [2023-03-17T00:37:39.110Z] ---> 89d98acb8721 [2023-03-17T00:37:39.110Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-17T00:37:39.386Z] ---> Running in 64b5903bfb36 [2023-03-17T00:37:39.664Z] Removing intermediate container 64b5903bfb36 [2023-03-17T00:37:39.664Z] ---> 5e8b625ce860 [2023-03-17T00:37:39.664Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-03-17T00:37:39.664Z] ---> Running in bb5c0e8e0753 [2023-03-17T00:37:41.089Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-17T00:37:41.681Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-17T00:37:43.100Z] OK: 263 MiB in 53 packages [2023-03-17T00:37:43.700Z] Removing intermediate container bb5c0e8e0753 [2023-03-17T00:37:43.700Z] ---> e5b2c895c787 [2023-03-17T00:37:43.700Z] Step 7/10 : COPY go.mod vendor* ./ [2023-03-17T00:37:44.292Z] ---> ae31a6004344 [2023-03-17T00:37:44.292Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T00:37:44.562Z] ---> Running in 1369e1f7ab14 [2023-03-17T00:38:52.464Z] Removing intermediate container 1369e1f7ab14 [2023-03-17T00:38:52.464Z] ---> 9533c6c7e0e8 [2023-03-17T00:38:52.464Z] Step 9/10 : COPY . . [2023-03-17T00:38:52.464Z] ---> dc9e7ff7c94b [2023-03-17T00:38:52.464Z] Step 10/10 : RUN ${MAKE} [2023-03-17T00:38:52.464Z] ---> Running in 5575c6b84d8d [2023-03-17T00:38:52.464Z] noop [2023-03-17T00:38:52.464Z] Removing intermediate container 5575c6b84d8d [2023-03-17T00:38:52.464Z] ---> db2aea8e5f3d [2023-03-17T00:38:52.464Z] Successfully built db2aea8e5f3d [2023-03-17T00:38:52.464Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:38:52.938Z] + docker inspect -f . ci-base-image-arm64 [2023-03-17T00:38:52.938Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T00:38:53.238Z] prd-ubuntu20.04-docker-arm64-4c-16g-2567 does not seem to be running inside a container [2023-03-17T00:38:53.332Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-17T00:38:54.700Z] $ docker top 8aa305c475063d59ceac9b17e2102ce5785d1a3e883f52c091f21d399ae420c6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T00:38:55.613Z] + go version [2023-03-17T00:38:55.613Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-17T00:38:55.657Z] $ docker stop --time=1 8aa305c475063d59ceac9b17e2102ce5785d1a3e883f52c091f21d399ae420c6 [2023-03-17T00:38:58.789Z] $ docker rm -f --volumes 8aa305c475063d59ceac9b17e2102ce5785d1a3e883f52c091f21d399ae420c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:38:59.634Z] + docker inspect -f . ci-base-image-arm64 [2023-03-17T00:38:59.634Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T00:38:59.924Z] prd-ubuntu20.04-docker-arm64-4c-16g-2567 does not seem to be running inside a container [2023-03-17T00:39:00.009Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-17T00:39:01.322Z] $ docker top 269b3cef0331432ace958d24dd01292bb0cd1cf24dd2959e2483990702a5d7ce -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T00:39:02.251Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-03-17T00:39:02.968Z] + make test [2023-03-17T00:39:02.968Z] go test -race -coverprofile=coverage.out ./... [2023-03-17T00:39:59.477Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-03-17T00:42:36.300Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-03-17T00:42:36.300Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-03-17T00:42:36.300Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-03-17T00:42:36.300Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-03-17T00:42:36.300Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-03-17T00:42:36.300Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.224s coverage: 27.6% of statements [2023-03-17T00:42:36.572Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.303s coverage: 78.9% of statements [2023-03-17T00:42:46.658Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-03-17T00:42:46.658Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-03-17T00:42:47.249Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.440s coverage: 86.0% of statements [2023-03-17T00:42:52.622Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-03-17T00:42:52.622Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-03-17T00:42:53.257Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.504s coverage: 75.9% of statements [2023-03-17T00:42:56.638Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.299s coverage: 15.2% of statements [2023-03-17T00:42:59.239Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-03-17T00:42:59.239Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-03-17T00:42:59.510Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.550s coverage: 65.7% of statements [2023-03-17T00:43:01.464Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.482s coverage: 89.2% of statements [2023-03-17T00:43:04.816Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-03-17T00:43:04.816Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.266s coverage: 5.5% of statements [2023-03-17T00:43:05.780Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-17T00:43:05.780Z] GO111MODULE=on go vet ./... [2023-03-17T00:45:42.575Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-17T00:45:42.575Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-17T00:45:42.575Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-17T00:45:42.609Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-17T00:45:42.645Z] $ docker stop --time=1 269b3cef0331432ace958d24dd01292bb0cd1cf24dd2959e2483990702a5d7ce [2023-03-17T00:45:44.600Z] $ docker rm -f --volumes 269b3cef0331432ace958d24dd01292bb0cd1cf24dd2959e2483990702a5d7ce [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-17T00:45:46.352Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-17T00:45:46.394Z] Warning: overwriting stash ‘coverage-report’ [2023-03-17T00:45:47.018Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T00:45:47.602Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-17T00:45:47.941Z] + ls -al . [2023-03-17T00:45:47.941Z] total 272 [2023-03-17T00:45:47.941Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 17 00:39 . [2023-03-17T00:45:47.941Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 00:36 .. [2023-03-17T00:45:47.941Z] -rw-rw-r-- 1 jenkins jenkins 140 Mar 17 00:36 .dockerignore [2023-03-17T00:45:47.941Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 17 00:36 .git [2023-03-17T00:45:47.941Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 00:36 .github [2023-03-17T00:45:47.941Z] -rw-rw-r-- 1 jenkins jenkins 131 Mar 17 00:36 .gitignore [2023-03-17T00:45:47.941Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 17 00:36 .golangci.yml [2023-03-17T00:45:47.941Z] -rw-rw-r-- 1 jenkins jenkins 31677 Mar 17 00:36 CHANGELOG.md [2023-03-17T00:45:47.941Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 17 00:36 GOVERNANCE.md [2023-03-17T00:45:47.941Z] -rw-rw-r-- 1 jenkins jenkins 885 Mar 17 00:36 Jenkinsfile [2023-03-17T00:45:47.941Z] -rw-rw-r-- 1 jenkins jenkins 11341 Mar 17 00:36 LICENSE [2023-03-17T00:45:47.941Z] -rw-rw-r-- 1 jenkins jenkins 1714 Mar 17 00:36 Makefile [2023-03-17T00:45:47.941Z] -rw-rw-r-- 1 jenkins jenkins 619 Mar 17 00:36 OWNERS.md [2023-03-17T00:45:47.941Z] -rw-rw-r-- 1 jenkins jenkins 4891 Mar 17 00:36 README.md [2023-03-17T00:45:47.941Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 17 00:33 VERSION [2023-03-17T00:45:47.941Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 17 00:36 bin [2023-03-17T00:45:47.941Z] -rw-r--r-- 1 jenkins jenkins 109536 Mar 17 00:43 coverage.out [2023-03-17T00:45:47.941Z] drwxrwxr-x 5 jenkins jenkins 4096 Mar 17 00:36 example [2023-03-17T00:45:47.941Z] -rw-rw-r-- 1 jenkins jenkins 3291 Mar 17 00:36 go.mod [2023-03-17T00:45:47.942Z] -rw-rw-r-- 1 jenkins jenkins 30841 Mar 17 00:36 go.sum [2023-03-17T00:45:47.942Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 00:36 internal [2023-03-17T00:45:47.942Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 17 00:36 openapi [2023-03-17T00:45:47.942Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 17 00:36 pkg [2023-03-17T00:45:47.942Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 17 00:36 snap [2023-03-17T00:45:47.942Z] -rw-rw-r-- 1 jenkins jenkins 222 Mar 17 00:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:45:48.354Z] + 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=7378150260b8b4c2b08d69144d56d37ee4a45e9f --label arch=arm64 --label version=0.0.0 . [2023-03-17T00:45:48.941Z] Sending build context to Docker daemon 5.926MB [2023-03-17T00:45:48.941Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T00:45:48.941Z] Step 2/23 : FROM ${BASE} AS builder [2023-03-17T00:45:48.941Z] ---> db2aea8e5f3d [2023-03-17T00:45:48.941Z] Step 3/23 : ARG MAKE=make build [2023-03-17T00:45:48.941Z] ---> Running in 7a93dda7f58f [2023-03-17T00:45:49.215Z] Removing intermediate container 7a93dda7f58f [2023-03-17T00:45:49.215Z] ---> d63caf9cf94f [2023-03-17T00:45:49.215Z] Step 4/23 : WORKDIR /device-sdk-go [2023-03-17T00:45:49.215Z] ---> Running in d047624ad112 [2023-03-17T00:45:49.798Z] Removing intermediate container d047624ad112 [2023-03-17T00:45:49.798Z] ---> ca5fbc5240b9 [2023-03-17T00:45:49.798Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-03-17T00:45:49.798Z] ---> Running in 5925cf2c104b [2023-03-17T00:45:50.066Z] Removing intermediate container 5925cf2c104b [2023-03-17T00:45:50.066Z] ---> 6e7a9452a8e9 [2023-03-17T00:45:50.066Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-03-17T00:45:50.066Z] ---> Running in 87f988ecd870 [2023-03-17T00:45:51.032Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-17T00:45:51.994Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-17T00:45:52.956Z] OK: 263 MiB in 53 packages [2023-03-17T00:45:54.430Z] Removing intermediate container 87f988ecd870 [2023-03-17T00:45:54.430Z] ---> 84b7cc1fcaab [2023-03-17T00:45:54.430Z] Step 7/23 : COPY go.mod vendor* ./ [2023-03-17T00:45:55.021Z] ---> 38452c712143 [2023-03-17T00:45:55.021Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T00:45:55.021Z] ---> Running in e889fb7c9f9a [2023-03-17T00:45:57.665Z] Removing intermediate container e889fb7c9f9a [2023-03-17T00:45:57.665Z] ---> cf6ad3f163fc [2023-03-17T00:45:57.665Z] Step 9/23 : COPY . . [2023-03-17T00:45:59.073Z] ---> 4294c33f9d76 [2023-03-17T00:45:59.073Z] Step 10/23 : RUN ${MAKE} [2023-03-17T00:45:59.073Z] ---> Running in 4fd8d8a92844 [2023-03-17T00:46:00.033Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-03-17T00:48:36.742Z] Removing intermediate container 4fd8d8a92844 [2023-03-17T00:48:36.742Z] ---> 2acb5a3f2722 [2023-03-17T00:48:36.742Z] Step 11/23 : FROM alpine:3.17 [2023-03-17T00:48:36.742Z] 3.17: Pulling from library/alpine [2023-03-17T00:48:36.742Z] af6eaf76a39c: Already exists [2023-03-17T00:48:36.742Z] Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 [2023-03-17T00:48:36.742Z] Status: Downloaded newer image for alpine:3.17 [2023-03-17T00:48:36.742Z] ---> d74e625d9115 [2023-03-17T00:48:36.742Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-03-17T00:48:36.742Z] ---> Running in b4dd5f571609 [2023-03-17T00:48:36.742Z] Removing intermediate container b4dd5f571609 [2023-03-17T00:48:36.742Z] ---> fae65972ebda [2023-03-17T00:48:36.742Z] Step 13/23 : RUN apk add --update --no-cache [2023-03-17T00:48:36.742Z] ---> Running in 9f8835d337be [2023-03-17T00:48:36.742Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-17T00:48:36.742Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-17T00:48:36.742Z] OK: 7 MiB in 15 packages [2023-03-17T00:48:36.742Z] Removing intermediate container 9f8835d337be [2023-03-17T00:48:36.742Z] ---> efde135bfd4e [2023-03-17T00:48:36.742Z] Step 14/23 : WORKDIR / [2023-03-17T00:48:36.742Z] ---> Running in f21493607638 [2023-03-17T00:48:36.742Z] Removing intermediate container f21493607638 [2023-03-17T00:48:36.742Z] ---> f07769605b87 [2023-03-17T00:48:36.742Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-03-17T00:48:36.742Z] ---> 5353263f1bb6 [2023-03-17T00:48:36.742Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-03-17T00:48:36.742Z] ---> 3647613cefc6 [2023-03-17T00:48:36.742Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-03-17T00:48:36.742Z] ---> 46492da9aeb7 [2023-03-17T00:48:36.742Z] Step 18/23 : EXPOSE 59999 [2023-03-17T00:48:36.742Z] ---> Running in d99b888a8055 [2023-03-17T00:48:36.742Z] Removing intermediate container d99b888a8055 [2023-03-17T00:48:36.742Z] ---> 6d43f0d43b7c [2023-03-17T00:48:36.742Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-03-17T00:48:36.742Z] ---> Running in 3c21adbde0c3 [2023-03-17T00:48:36.742Z] Removing intermediate container 3c21adbde0c3 [2023-03-17T00:48:36.742Z] ---> 5b87e4d0bfee [2023-03-17T00:48:36.742Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-17T00:48:36.742Z] ---> Running in 5f3ba936ab3f [2023-03-17T00:48:36.742Z] Removing intermediate container 5f3ba936ab3f [2023-03-17T00:48:36.742Z] ---> 4202725cd5c3 [2023-03-17T00:48:36.742Z] Step 21/23 : LABEL arch=arm64 [2023-03-17T00:48:36.742Z] ---> Running in 5ec28192d2f8 [2023-03-17T00:48:36.742Z] Removing intermediate container 5ec28192d2f8 [2023-03-17T00:48:36.742Z] ---> 44e015d22423 [2023-03-17T00:48:36.742Z] Step 22/23 : LABEL git_sha=7378150260b8b4c2b08d69144d56d37ee4a45e9f [2023-03-17T00:48:36.742Z] ---> Running in dda7b540bcfa [2023-03-17T00:48:36.742Z] Removing intermediate container dda7b540bcfa [2023-03-17T00:48:36.742Z] ---> 0ab867df730c [2023-03-17T00:48:36.742Z] Step 23/23 : LABEL version=0.0.0 [2023-03-17T00:48:36.742Z] ---> Running in d40af5b5e52e [2023-03-17T00:48:36.742Z] Removing intermediate container d40af5b5e52e [2023-03-17T00:48:36.742Z] ---> 9ca29896a277 [2023-03-17T00:48:36.742Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-17T00:48:36.742Z] Successfully built 9ca29896a277 [2023-03-17T00:48:36.742Z] Successfully tagged device-sdk-simple-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:48:37.631Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T00:48:37.631Z] [2023-03-17T00:48:37.631Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:48:38.034Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T00:48:38.034Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-17T00:48:38.034Z] 8998bd30e6a1: Pulling fs layer [2023-03-17T00:48:38.034Z] 04944245beec: Pulling fs layer [2023-03-17T00:48:38.034Z] 699f458cf7ca: Pulling fs layer [2023-03-17T00:48:38.034Z] 765212b225bb: Pulling fs layer [2023-03-17T00:48:38.034Z] f23df028b6ca: Pulling fs layer [2023-03-17T00:48:38.034Z] d65c8cfc05b1: Pulling fs layer [2023-03-17T00:48:38.034Z] 2437ff75d9bd: Pulling fs layer [2023-03-17T00:48:38.034Z] 765212b225bb: Waiting [2023-03-17T00:48:38.034Z] f23df028b6ca: Waiting [2023-03-17T00:48:38.034Z] d65c8cfc05b1: Waiting [2023-03-17T00:48:38.034Z] 2437ff75d9bd: Waiting [2023-03-17T00:48:38.305Z] 04944245beec: Verifying Checksum [2023-03-17T00:48:38.305Z] 04944245beec: Download complete [2023-03-17T00:48:38.305Z] 765212b225bb: Verifying Checksum [2023-03-17T00:48:38.305Z] 765212b225bb: Download complete [2023-03-17T00:48:38.305Z] f23df028b6ca: Verifying Checksum [2023-03-17T00:48:38.305Z] f23df028b6ca: Download complete [2023-03-17T00:48:38.305Z] d65c8cfc05b1: Verifying Checksum [2023-03-17T00:48:38.305Z] d65c8cfc05b1: Download complete [2023-03-17T00:48:38.579Z] 699f458cf7ca: Verifying Checksum [2023-03-17T00:48:38.847Z] 8998bd30e6a1: Verifying Checksum [2023-03-17T00:48:38.847Z] 8998bd30e6a1: Download complete [2023-03-17T00:48:41.428Z] 2437ff75d9bd: Verifying Checksum [2023-03-17T00:48:41.428Z] 2437ff75d9bd: Download complete [2023-03-17T00:48:42.387Z] 8998bd30e6a1: Pull complete [2023-03-17T00:48:42.969Z] 04944245beec: Pull complete [2023-03-17T00:48:44.379Z] 699f458cf7ca: Pull complete [2023-03-17T00:48:44.379Z] 765212b225bb: Pull complete [2023-03-17T00:48:44.964Z] f23df028b6ca: Pull complete [2023-03-17T00:48:45.231Z] d65c8cfc05b1: Pull complete [2023-03-17T00:48:57.542Z] 2437ff75d9bd: Pull complete [2023-03-17T00:48:57.542Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-17T00:48:58.951Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T00:48:58.951Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T00:48:59.278Z] prd-ubuntu20.04-docker-arm64-4c-16g-2567 does not seem to be running inside a container [2023-03-17T00:48:59.353Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-17T00:49:02.113Z] $ docker top 331f97e847e4f72a97a1ef11ab4c8b77efb3ccc3c28889d039be39650b16a46d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T00:49:03.018Z] ---> job-cost.sh [2023-03-17T00:49:03.018Z] lf-activate-venv: SKIPPING [2023-03-17T00:49:03.018Z] INFO: No Stack... [2023-03-17T00:49:03.284Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-17T00:49:04.240Z] INFO: Archiving Costs [Pipeline] sh [2023-03-17T00:49:04.897Z] + + cat /w/workspace/device-sdk-go/1/archives/cost.csvcut -d, [2023-03-17T00:49:04.897Z] -f6 [Pipeline] lock [2023-03-17T00:49:04.983Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1392-1-stack-cost] [2023-03-17T00:49:04.988Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1392-1-stack-cost] did not exist. Created. [2023-03-17T00:49:04.988Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1392-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-17T00:49:05.766Z] /w/workspace/device-sdk-go/1@tmp/durable-56189721/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-17T00:49:06.446Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-17T00:49:06.483Z] Warning: overwriting stash ‘stack-cost’ [2023-03-17T00:49:06.558Z] Stashed 1 file(s) [Pipeline] } [2023-03-17T00:49:06.573Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1392-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-17T00:49:06.652Z] $ docker stop --time=1 331f97e847e4f72a97a1ef11ab4c8b77efb3ccc3c28889d039be39650b16a46d [2023-03-17T00:49:08.160Z] $ docker rm -f --volumes 331f97e847e4f72a97a1ef11ab4c8b77efb3ccc3c28889d039be39650b16a46d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-17T00:49:09.065Z] provisioning config files... [2023-03-17T00:49:09.075Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1392@tmp/config13489948927605254109tmp [Pipeline] { [Pipeline] sh [2023-03-17T00:49:09.407Z] + set +x [2023-03-17T00:49:09.407Z] + bash -s -- [2023-03-17T00:49:09.407Z] + curl -s https://codecov.io/bash [2023-03-17T00:49:09.407Z] [2023-03-17T00:49:09.407Z] _____ _ [2023-03-17T00:49:09.407Z] / ____| | | [2023-03-17T00:49:09.407Z] | | ___ __| | ___ ___ _____ __ [2023-03-17T00:49:09.407Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-17T00:49:09.407Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-17T00:49:09.407Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-17T00:49:09.407Z] Bash-1.0.6 [2023-03-17T00:49:09.407Z] [2023-03-17T00:49:09.407Z] [2023-03-17T00:49:09.407Z] ==> git version 2.25.1 found [2023-03-17T00:49:09.407Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-17T00:49:09.407Z] Release-Date: 2020-01-08 [2023-03-17T00:49:09.407Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-17T00:49:09.407Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-17T00:49:09.407Z] ==> Jenkins CI detected. [2023-03-17T00:49:09.407Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1392 [2023-03-17T00:49:09.407Z] project root: . [2023-03-17T00:49:09.407Z] --> token set from env [2023-03-17T00:49:09.407Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-17T00:49:09.407Z] ==> Running gcov in . (disable via -X gcov) [2023-03-17T00:49:09.407Z] ==> Python coveragepy not found [2023-03-17T00:49:09.407Z] ==> Searching for coverage reports in: [2023-03-17T00:49:09.407Z] + . [2023-03-17T00:49:09.407Z] -> Found 1 reports [2023-03-17T00:49:09.407Z] ==> Detecting git/mercurial file structure [2023-03-17T00:49:09.407Z] ==> Reading reports [2023-03-17T00:49:09.407Z] + ./coverage.out bytes=109536 [2023-03-17T00:49:09.408Z] ==> Appending adjustments [2023-03-17T00:49:09.408Z] https://docs.codecov.io/docs/fixing-reports [2023-03-17T00:49:09.666Z] + Found adjustments [2023-03-17T00:49:09.666Z] ==> Gzipping contents [2023-03-17T00:49:09.666Z] 16K /tmp/codecov.0BfNRi.gz [2023-03-17T00:49:09.666Z] ==> Uploading reports [2023-03-17T00:49:09.666Z] url: https://codecov.io [2023-03-17T00:49:09.666Z] query: branch=PR-1392&commit=7378150260b8b4c2b08d69144d56d37ee4a45e9f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1392%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1392&job=&cmd_args= [2023-03-17T00:49:09.666Z] -> Pinging Codecov [2023-03-17T00:49:09.666Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1392&commit=7378150260b8b4c2b08d69144d56d37ee4a45e9f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1392%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1392&job=&cmd_args= [2023-03-17T00:49:09.925Z] -> Uploading to [2023-03-17T00:49:09.925Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-17/7E55EF52A471D76F132DFD9A03CDDE97/7378150260b8b4c2b08d69144d56d37ee4a45e9f/23fe55fa-aee2-44de-b514-8f1530d2c2d0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230317%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230317T004909Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=f9c29bdbb0896a86140255e52ec0c7386f797aa87135b3cfced7223c393022ef [2023-03-17T00:49:09.925Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-17T00:49:09.925Z] Dload Upload Total Spent Left Speed [2023-03-17T00:49:10.187Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15217 0 0 100 15217 0 62880 --:--:-- --:--:-- --:--:-- 63141 [2023-03-17T00:49:10.187Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/7378150260b8b4c2b08d69144d56d37ee4a45e9f [Pipeline] } [2023-03-17T00:49:10.214Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-17T00:49:11.964Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1392/archives ] [2023-03-17T00:49:11.965Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1392/archives [2023-03-17T00:49:11.965Z] total 16 [2023-03-17T00:49:11.965Z] drwxr-xr-x 3 root root 4096 Mar 17 00:36 . [2023-03-17T00:49:11.965Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 00:36 .. [2023-03-17T00:49:11.965Z] drwxr-xr-x 2 root root 4096 Mar 17 00:36 cost [2023-03-17T00:49:11.965Z] -rw-r--r-- 1 root root 86 Mar 17 00:36 cost.csv [2023-03-17T00:49:11.965Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1392/archives [2023-03-17T00:49:11.965Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1392/archives [2023-03-17T00:49:11.965Z] total 16 [2023-03-17T00:49:11.965Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 00:36 . [2023-03-17T00:49:11.965Z] drwxrwxr-x 12 jenkins jenkins 4096 Mar 17 00:36 .. [2023-03-17T00:49:11.965Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 00:36 cost [2023-03-17T00:49:11.965Z] -rw-r--r-- 1 jenkins jenkins 86 Mar 17 00:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-17T00:49:12.301Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T00:49:13.194Z] ---> package-listing.sh [2023-03-17T00:49:13.194Z] ++ facter osfamily [2023-03-17T00:49:13.194Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-17T00:49:13.454Z] + OS_FAMILY=debian [2023-03-17T00:49:13.454Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1392 [2023-03-17T00:49:13.454Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-17T00:49:13.454Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-17T00:49:13.454Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-17T00:49:13.454Z] + PACKAGES=/tmp/packages_start.txt [2023-03-17T00:49:13.454Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1392 ']' [2023-03-17T00:49:13.454Z] + PACKAGES=/tmp/packages_end.txt [2023-03-17T00:49:13.454Z] + case "${OS_FAMILY}" in [2023-03-17T00:49:13.454Z] + dpkg -l [2023-03-17T00:49:13.454Z] + grep '^ii' [2023-03-17T00:49:13.455Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-17T00:49:13.455Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-17T00:49:13.455Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-17T00:49:13.455Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1392 ']' [2023-03-17T00:49:13.455Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1392/archives/ [2023-03-17T00:49:13.455Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1392/archives/ [Pipeline] echo [2023-03-17T00:49:13.501Z] 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-1392/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-17T00:49:13.789Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T00:49:14.424Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T00:49:14.424Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T00:49:14.568Z] prd-ubuntu20.04-docker-8c-8g-2564 does not seem to be running inside a container [2023-03-17T00:49:14.610Z] $ 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-1392/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-1392 -v /w/workspace/gexfoundry_device-sdk-go_PR-1392:/w/workspace/gexfoundry_device-sdk-go_PR-1392:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1392@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1392@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-17T00:49:14.775Z] $ docker top 4e4b79698c22107e4bb4faae2c53ed7753e02464b429ab4dd420219cb123b1b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T00:49:15.162Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-17T00:49:15.474Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-17T00:49:15.785Z] + ls /var/log/sa-host [2023-03-17T00:49:15.785Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T00:49:15.991Z] provisioning config files... [2023-03-17T00:49:16.002Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1392@tmp/config765641244274936561tmp [Pipeline] { [Pipeline] echo [2023-03-17T00:49:16.051Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T00:49:16.387Z] ---> create-netrc.sh [Pipeline] } [2023-03-17T00:49:16.515Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-17T00:49:16.942Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-17T00:49:16.977Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T00:49:17.291Z] ---> sudo-logs.sh [2023-03-17T00:49:17.291Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-17T00:49:17.372Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T00:49:17.737Z] ---> job-cost.sh [2023-03-17T00:49:17.737Z] lf-activate-venv: SKIPPING [2023-03-17T00:49:17.737Z] DEBUG: total: 0.2199999988079071 [2023-03-17T00:49:17.737Z] INFO: Retrieving Stack Cost... [2023-03-17T00:49:17.995Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-17T00:49:18.561Z] INFO: Archiving Costs [Pipeline] echo [2023-03-17T00:49:18.622Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T00:49:18.946Z] ---> logs-deploy.sh [2023-03-17T00:49:18.946Z] lf-activate-venv: SKIPPING [2023-03-17T00:49:18.946Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1392/1 [2023-03-17T00:49:18.946Z] INFO: archiving workspace using pattern(s): [2023-03-17T00:49:19.880Z] Archives upload complete. [2023-03-17T00:49:19.880Z] INFO: archiving logs to Nexus