Pull request #1511 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from 0177dab66d32070dd404c7dfe98e224423ad2c7c+fda9b37df1b1ddb72445924cae920f416e370c84 (0bb41227fd93fee476ede862536ba236ad26091a) 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-ssh12734765384917128607.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh11620981754253014568.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-1511/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-1511/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9626531331515523864.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-1511/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh599457461069046294.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh7326680743451314212.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-1511/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-1511/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17784066934284685798.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 e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-5972 in /w/workspace/gexfoundry_device-sdk-go_PR-1511 [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-1511 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1511/head:refs/remotes/origin/PR-1511 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit fda9b37df1b1ddb72445924cae920f416e370c84 into PR head commit 0177dab66d32070dd404c7dfe98e224423ad2c7c Merge succeeded, producing 0177dab66d32070dd404c7dfe98e224423ad2c7c Checking out Revision 0177dab66d32070dd404c7dfe98e224423ad2c7c (PR-1511) > git config core.sparsecheckout # timeout=10 > git checkout -f 0177dab66d32070dd404c7dfe98e224423ad2c7c # 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 fda9b37df1b1ddb72445924cae920f416e370c84 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0177dab66d32070dd404c7dfe98e224423ad2c7c # timeout=10 Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-09-12T20:27:11.211Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-09-12T20:27:11.372Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-09-12T20:27:11.465Z] ========================================================= [2023-09-12T20:27:11.465Z] EdgeX Global Pipelines Version Info [2023-09-12T20:27:11.465Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-09-12T20:27:12.225Z] ------------------- [2023-09-12T20:27:12.225Z] stable info: [2023-09-12T20:27:12.225Z] ------------------- [2023-09-12T20:27:12.225Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-09-12T20:27:12.225Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-12T20:27:12.225Z] Message: update stable to v1.0.254 [2023-09-12T20:27:12.809Z] ------------------- [2023-09-12T20:27:12.809Z] experimental info: [2023-09-12T20:27:12.809Z] ------------------- [2023-09-12T20:27:12.809Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-09-12T20:27:12.809Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-09-12T20:27:12.809Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-09-12T20:27:13.082Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-09-12T20:27:13.119Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-09-12T20:27:13.156Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-09-12T20:27:13.192Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-09-12T20:27:13.228Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-09-12T20:27:13.270Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-09-12T20:27:13.305Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-09-12T20:27:13.342Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-09-12T20:27:13.382Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-09-12T20:27:13.419Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-09-12T20:27:13.459Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-09-12T20:27:13.500Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-09-12T20:27:13.537Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-09-12T20:27:13.575Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-09-12T20:27:13.612Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-09-12T20:27:13.649Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T20:27:13.688Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T20:27:13.728Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-09-12T20:27:13.773Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-09-12T20:27:13.817Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-09-12T20:27:13.857Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-09-12T20:27:13.898Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-09-12T20:27:13.940Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-09-12T20:27:13.988Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-09-12T20:27:14.029Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-09-12T20:27:14.066Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-09-12T20:27:14.106Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-09-12T20:27:14.151Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1511 [Pipeline] echo [2023-09-12T20:27:14.198Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1511 [Pipeline] echo [2023-09-12T20:27:14.240Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1511 [Pipeline] echo [2023-09-12T20:27:14.279Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0177dab66d32070dd404c7dfe98e224423ad2c7c [Pipeline] echo [2023-09-12T20:27:14.316Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0177dab [Pipeline] echo [2023-09-12T20:27:14.357Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T20:27:14.469Z] provisioning config files... [2023-09-12T20:27:14.481Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1511@tmp/config2180981581661515366tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T20:27:14.826Z] ---> docker-login.sh [2023-09-12T20:27:14.826Z] nexus3.edgexfoundry.org:10001 [2023-09-12T20:27:15.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T20:27:15.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T20:27:15.089Z] Configure a credential helper to remove this warning. See [2023-09-12T20:27:15.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T20:27:15.089Z] [2023-09-12T20:27:15.089Z] Login Succeeded [2023-09-12T20:27:15.089Z] nexus3.edgexfoundry.org:10002 [2023-09-12T20:27:15.089Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T20:27:15.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T20:27:15.089Z] Configure a credential helper to remove this warning. See [2023-09-12T20:27:15.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T20:27:15.089Z] [2023-09-12T20:27:15.089Z] Login Succeeded [2023-09-12T20:27:15.089Z] nexus3.edgexfoundry.org:10003 [2023-09-12T20:27:15.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T20:27:15.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T20:27:15.351Z] Configure a credential helper to remove this warning. See [2023-09-12T20:27:15.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T20:27:15.351Z] [2023-09-12T20:27:15.351Z] Login Succeeded [2023-09-12T20:27:15.351Z] nexus3.edgexfoundry.org:10004 [2023-09-12T20:27:15.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T20:27:15.351Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T20:27:15.351Z] Configure a credential helper to remove this warning. See [2023-09-12T20:27:15.351Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T20:27:15.351Z] [2023-09-12T20:27:15.351Z] Login Succeeded [2023-09-12T20:27:15.351Z] docker.io [2023-09-12T20:27:15.351Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T20:27:15.610Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T20:27:15.610Z] Configure a credential helper to remove this warning. See [2023-09-12T20:27:15.610Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T20:27:15.610Z] [2023-09-12T20:27:15.610Z] Login Succeeded [2023-09-12T20:27:15.610Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T20:27:15.638Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-09-12T20:27:16.297Z] + git rev-list -1 --merges 0177dab66d32070dd404c7dfe98e224423ad2c7c~1..0177dab66d32070dd404c7dfe98e224423ad2c7c [Pipeline] echo [2023-09-12T20:27:16.355Z] -----------> git rev-list -1 --merges 0177dab66d32070dd404c7dfe98e224423ad2c7c~1..0177dab66d32070dd404c7dfe98e224423ad2c7c 0177dab66d32070dd404c7dfe98e224423ad2c7c [false] [Pipeline] sh [2023-09-12T20:27:16.695Z] + git log --format=format:%s -1 0177dab66d32070dd404c7dfe98e224423ad2c7c [Pipeline] echo [2023-09-12T20:27:16.730Z] ========================================================= [2023-09-12T20:27:16.730Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-09-12T20:27:16.730Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T20:27:17.170Z] + git log --format=format:%s -1 0177dab66d32070dd404c7dfe98e224423ad2c7c [Pipeline] echo [2023-09-12T20:27:17.201Z] [semverPrep] GIT_COMMIT: 0177dab66d32070dd404c7dfe98e224423ad2c7c, Commit Message: build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18 [Pipeline] echo [2023-09-12T20:27:17.229Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-09-12T20:27:17.607Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-09-12T20:27:17.607Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-09-12T20:27:17.607Z] + [ -e /tmp/ssh_known_hosts ] [2023-09-12T20:27:17.607Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-09-12T20:27:17.607Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-09-12T20:27:17.607Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-09-12T20:27:17.607Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:27:18.028Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T20:27:18.028Z] [2023-09-12T20:27:18.028Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:27:18.404Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T20:27:18.404Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-09-12T20:27:18.404Z] b85a868b505f: Pulling fs layer [2023-09-12T20:27:18.404Z] e2be974225ed: Pulling fs layer [2023-09-12T20:27:18.404Z] 339a4e72a1f5: Pulling fs layer [2023-09-12T20:27:18.404Z] 988bab9f4d93: Pulling fs layer [2023-09-12T20:27:18.404Z] 1469e6f7b9e6: Pulling fs layer [2023-09-12T20:27:18.404Z] eaf3925da568: Pulling fs layer [2023-09-12T20:27:18.404Z] bab4dde63d76: Pulling fs layer [2023-09-12T20:27:18.404Z] bde34c3a00c8: Pulling fs layer [2023-09-12T20:27:18.404Z] b352a97aabf1: Pulling fs layer [2023-09-12T20:27:18.404Z] 4872d77fe225: Pulling fs layer [2023-09-12T20:27:18.404Z] 5851b861e8e6: Pulling fs layer [2023-09-12T20:27:18.404Z] bab4dde63d76: Waiting [2023-09-12T20:27:18.404Z] bde34c3a00c8: Waiting [2023-09-12T20:27:18.404Z] b352a97aabf1: Waiting [2023-09-12T20:27:18.404Z] 988bab9f4d93: Waiting [2023-09-12T20:27:18.404Z] 1469e6f7b9e6: Waiting [2023-09-12T20:27:18.404Z] eaf3925da568: Waiting [2023-09-12T20:27:18.404Z] 4872d77fe225: Waiting [2023-09-12T20:27:18.404Z] 5851b861e8e6: Waiting [2023-09-12T20:27:18.404Z] e2be974225ed: Download complete [2023-09-12T20:27:18.404Z] 988bab9f4d93: Verifying Checksum [2023-09-12T20:27:18.404Z] 988bab9f4d93: Download complete [2023-09-12T20:27:18.404Z] 1469e6f7b9e6: Verifying Checksum [2023-09-12T20:27:18.404Z] 1469e6f7b9e6: Download complete [2023-09-12T20:27:18.663Z] eaf3925da568: Verifying Checksum [2023-09-12T20:27:18.663Z] eaf3925da568: Download complete [2023-09-12T20:27:18.663Z] 339a4e72a1f5: Verifying Checksum [2023-09-12T20:27:18.663Z] 339a4e72a1f5: Download complete [2023-09-12T20:27:18.663Z] bde34c3a00c8: Verifying Checksum [2023-09-12T20:27:18.663Z] b352a97aabf1: Verifying Checksum [2023-09-12T20:27:18.663Z] b352a97aabf1: Download complete [2023-09-12T20:27:18.663Z] 4872d77fe225: Verifying Checksum [2023-09-12T20:27:18.663Z] 4872d77fe225: Download complete [2023-09-12T20:27:18.663Z] 5851b861e8e6: Verifying Checksum [2023-09-12T20:27:18.663Z] 5851b861e8e6: Download complete [2023-09-12T20:27:18.663Z] b85a868b505f: Download complete [2023-09-12T20:27:18.923Z] bab4dde63d76: Verifying Checksum [2023-09-12T20:27:18.923Z] bab4dde63d76: Download complete [2023-09-12T20:27:19.857Z] b85a868b505f: Pull complete [2023-09-12T20:27:19.857Z] e2be974225ed: Pull complete [2023-09-12T20:27:20.424Z] 339a4e72a1f5: Pull complete [2023-09-12T20:27:20.424Z] 988bab9f4d93: Pull complete [2023-09-12T20:27:20.682Z] 1469e6f7b9e6: Pull complete [2023-09-12T20:27:20.682Z] eaf3925da568: Pull complete [2023-09-12T20:27:22.585Z] bab4dde63d76: Pull complete [2023-09-12T20:27:22.585Z] bde34c3a00c8: Pull complete [2023-09-12T20:27:22.585Z] b352a97aabf1: Pull complete [2023-09-12T20:27:22.585Z] 4872d77fe225: Pull complete [2023-09-12T20:27:22.585Z] 5851b861e8e6: Pull complete [2023-09-12T20:27:22.585Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-09-12T20:27:22.585Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-09-12T20:27:22.585Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T20:27:22.815Z] prd-ubuntu20.04-docker-8c-8g-5972 does not seem to be running inside a container [2023-09-12T20:27:22.857Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1511 -v /w/workspace/gexfoundry_device-sdk-go_PR-1511:/w/workspace/gexfoundry_device-sdk-go_PR-1511:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1511@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1511@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-devops/py-git-semver:0.1.4 cat [2023-09-12T20:27:26.173Z] $ docker top aa154defa6d5aae086d876ebe6229fbf04465f058578fd5d87211e9cb89d7cc5 -eo pid,comm [2023-09-12T20:27:26.227Z] 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-09-12T20:27:26.227Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-09-12T20:27:26.355Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T20:27:26.355Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T20:27:26.460Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T20:27:26.458Z] $ docker exec aa154defa6d5aae086d876ebe6229fbf04465f058578fd5d87211e9cb89d7cc5 ssh-agent [2023-09-12T20:27:26.557Z] SSH_AUTH_SOCK=/tmp/ssh-zK8SypS53PFq/agent.32 [2023-09-12T20:27:26.557Z] SSH_AGENT_PID=38 [2023-09-12T20:27:26.565Z] Running ssh-add (command line suppressed) [2023-09-12T20:27:26.658Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1511@tmp/private_key_5046541616337151995.key (/w/workspace/gexfoundry_device-sdk-go_PR-1511@tmp/private_key_5046541616337151995.key) [2023-09-12T20:27:26.677Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T20:27:27.013Z] + git tag --points-at HEAD [Pipeline] } [2023-09-12T20:27:27.034Z] $ docker exec --env ******** --env ******** aa154defa6d5aae086d876ebe6229fbf04465f058578fd5d87211e9cb89d7cc5 ssh-agent -k [2023-09-12T20:27:27.123Z] unset SSH_AUTH_SOCK; [2023-09-12T20:27:27.123Z] unset SSH_AGENT_PID; [2023-09-12T20:27:27.123Z] echo Agent pid 38 killed; [2023-09-12T20:27:27.137Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-09-12T20:27:27.238Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-09-12T20:27:27.238Z] [ssh-agent] Looking for ssh-agent implementation... [2023-09-12T20:27:27.340Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-09-12T20:27:27.338Z] $ docker exec aa154defa6d5aae086d876ebe6229fbf04465f058578fd5d87211e9cb89d7cc5 ssh-agent [2023-09-12T20:27:27.438Z] SSH_AUTH_SOCK=/tmp/ssh-fO85vP41Gj2a/agent.70 [2023-09-12T20:27:27.438Z] SSH_AGENT_PID=76 [2023-09-12T20:27:27.443Z] Running ssh-add (command line suppressed) [2023-09-12T20:27:27.536Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1511@tmp/private_key_11257185257408483930.key (/w/workspace/gexfoundry_device-sdk-go_PR-1511@tmp/private_key_11257185257408483930.key) [2023-09-12T20:27:27.554Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-09-12T20:27:27.887Z] + git semver init [2023-09-12T20:27:28.146Z] 2023-09-12 20:27:28,041 [run_init] DEBUG init version:0.0.0 force:False [2023-09-12T20:27:28.146Z] 2023-09-12 20:27:28,042 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1511/.semver [2023-09-12T20:27:28.146Z] 2023-09-12 20:27:28,042 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1511/.semver [2023-09-12T20:27:28.146Z] 2023-09-12 20:27:28,042 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1511/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1511, universal_newlines=False, shell=None, istream=None) [2023-09-12T20:27:29.084Z] 2023-09-12 20:27:28,947 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1511/.git/info/exclude [2023-09-12T20:27:29.084Z] 2023-09-12 20:27:28,947 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1511/.semver/PR-1511 with force:False [2023-09-12T20:27:29.084Z] 2023-09-12 20:27:28,947 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1511/.semver/PR-1511 [2023-09-12T20:27:29.084Z] 2023-09-12 20:27:28,951 [execute] INFO git cat-file --batch-check [2023-09-12T20:27:29.084Z] 2023-09-12 20:27:28,952 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1511/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T20:27:29.084Z] 2023-09-12 20:27:28,957 [execute] INFO git cat-file --batch [2023-09-12T20:27:29.084Z] 2023-09-12 20:27:28,958 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1511/.semver, universal_newlines=False, shell=None, istream=) [2023-09-12T20:27:29.084Z] 2023-09-12 20:27:28,962 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1511/.semver/PR-1511 [2023-09-12T20:27:29.084Z] 0.0.0 [Pipeline] } [2023-09-12T20:27:29.105Z] $ docker exec --env ******** --env ******** aa154defa6d5aae086d876ebe6229fbf04465f058578fd5d87211e9cb89d7cc5 ssh-agent -k [2023-09-12T20:27:29.196Z] unset SSH_AUTH_SOCK; [2023-09-12T20:27:29.197Z] unset SSH_AGENT_PID; [2023-09-12T20:27:29.197Z] echo Agent pid 76 killed; [2023-09-12T20:27:29.213Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-09-12T20:27:29.638Z] + git semver [Pipeline] } [2023-09-12T20:27:29.917Z] $ docker stop --time=1 aa154defa6d5aae086d876ebe6229fbf04465f058578fd5d87211e9cb89d7cc5 [2023-09-12T20:27:31.197Z] $ docker rm -f --volumes aa154defa6d5aae086d876ebe6229fbf04465f058578fd5d87211e9cb89d7cc5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T20:27:31.586Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-09-12T20:27:31.855Z] Stashed 1 file(s) [Pipeline] echo [2023-09-12T20:27:31.871Z] [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-09-12T20:27:32.475Z] provisioning config files... [2023-09-12T20:27:32.485Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1511@tmp/config15686110756432186901tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T20:27:32.828Z] ---> docker-login.sh [2023-09-12T20:27:32.828Z] nexus3.edgexfoundry.org:10001 [2023-09-12T20:27:32.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T20:27:32.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T20:27:32.828Z] Configure a credential helper to remove this warning. See [2023-09-12T20:27:32.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T20:27:32.828Z] [2023-09-12T20:27:32.828Z] Login Succeeded [2023-09-12T20:27:32.828Z] nexus3.edgexfoundry.org:10002 [2023-09-12T20:27:32.828Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T20:27:32.828Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T20:27:32.828Z] Configure a credential helper to remove this warning. See [2023-09-12T20:27:32.828Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T20:27:32.828Z] [2023-09-12T20:27:32.828Z] Login Succeeded [2023-09-12T20:27:32.828Z] nexus3.edgexfoundry.org:10003 [2023-09-12T20:27:33.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T20:27:33.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T20:27:33.087Z] Configure a credential helper to remove this warning. See [2023-09-12T20:27:33.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T20:27:33.087Z] [2023-09-12T20:27:33.087Z] Login Succeeded [2023-09-12T20:27:33.087Z] nexus3.edgexfoundry.org:10004 [2023-09-12T20:27:33.087Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T20:27:33.087Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T20:27:33.087Z] Configure a credential helper to remove this warning. See [2023-09-12T20:27:33.087Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T20:27:33.087Z] [2023-09-12T20:27:33.087Z] Login Succeeded [2023-09-12T20:27:33.087Z] docker.io [2023-09-12T20:27:33.350Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T20:27:33.350Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T20:27:33.350Z] Configure a credential helper to remove this warning. See [2023-09-12T20:27:33.350Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T20:27:33.350Z] [2023-09-12T20:27:33.350Z] Login Succeeded [2023-09-12T20:27:33.350Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T20:27:33.382Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T20:27:33.574Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T20:27:33.614Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T20:27:33.645Z] ========================================================= [2023-09-12T20:27:33.645Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-09-12T20:27:33.645Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:27:34.116Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-12T20:27:34.116Z] Sending build context to Docker daemon 11.12MB [2023-09-12T20:27:34.116Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T20:27:34.116Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-12T20:27:34.116Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-09-12T20:27:34.116Z] 7264a8db6415: Pulling fs layer [2023-09-12T20:27:34.116Z] c4d48a809fc2: Pulling fs layer [2023-09-12T20:27:34.116Z] 4f1c88b9dad5: Pulling fs layer [2023-09-12T20:27:34.116Z] ad3a456e5733: Pulling fs layer [2023-09-12T20:27:34.116Z] 9e4f439ed901: Pulling fs layer [2023-09-12T20:27:34.116Z] feaf6a47b606: Pulling fs layer [2023-09-12T20:27:34.116Z] 5e8b037d7d82: Pulling fs layer [2023-09-12T20:27:34.116Z] 8ac70367396e: Pulling fs layer [2023-09-12T20:27:34.116Z] 6db16350a2e2: Pulling fs layer [2023-09-12T20:27:34.116Z] 9250d5d63582: Pulling fs layer [2023-09-12T20:27:34.116Z] feaf6a47b606: Waiting [2023-09-12T20:27:34.116Z] 5e8b037d7d82: Waiting [2023-09-12T20:27:34.116Z] 8ac70367396e: Waiting [2023-09-12T20:27:34.116Z] 6db16350a2e2: Waiting [2023-09-12T20:27:34.116Z] 9250d5d63582: Waiting [2023-09-12T20:27:34.116Z] ad3a456e5733: Waiting [2023-09-12T20:27:34.116Z] 9e4f439ed901: Waiting [2023-09-12T20:27:34.378Z] c4d48a809fc2: Verifying Checksum [2023-09-12T20:27:34.378Z] c4d48a809fc2: Download complete [2023-09-12T20:27:34.378Z] ad3a456e5733: Verifying Checksum [2023-09-12T20:27:34.378Z] ad3a456e5733: Download complete [2023-09-12T20:27:34.378Z] 9e4f439ed901: Download complete [2023-09-12T20:27:34.378Z] 7264a8db6415: Verifying Checksum [2023-09-12T20:27:34.378Z] 7264a8db6415: Download complete [2023-09-12T20:27:34.378Z] feaf6a47b606: Verifying Checksum [2023-09-12T20:27:34.378Z] feaf6a47b606: Download complete [2023-09-12T20:27:34.378Z] 7264a8db6415: Pull complete [2023-09-12T20:27:34.646Z] 8ac70367396e: Verifying Checksum [2023-09-12T20:27:34.646Z] 8ac70367396e: Download complete [2023-09-12T20:27:34.646Z] c4d48a809fc2: Pull complete [2023-09-12T20:27:34.646Z] 4f1c88b9dad5: Verifying Checksum [2023-09-12T20:27:34.646Z] 4f1c88b9dad5: Download complete [2023-09-12T20:27:34.905Z] 6db16350a2e2: Verifying Checksum [2023-09-12T20:27:34.905Z] 6db16350a2e2: Download complete [2023-09-12T20:27:35.162Z] 5e8b037d7d82: Verifying Checksum [2023-09-12T20:27:35.162Z] 5e8b037d7d82: Download complete [2023-09-12T20:27:35.162Z] 9250d5d63582: Verifying Checksum [2023-09-12T20:27:35.162Z] 9250d5d63582: Download complete [2023-09-12T20:27:37.689Z] 4f1c88b9dad5: Pull complete [2023-09-12T20:27:37.689Z] ad3a456e5733: Pull complete [2023-09-12T20:27:37.689Z] 9e4f439ed901: Pull complete [2023-09-12T20:27:37.948Z] feaf6a47b606: Pull complete [2023-09-12T20:27:40.486Z] 5e8b037d7d82: Pull complete [2023-09-12T20:27:40.744Z] 8ac70367396e: Pull complete [2023-09-12T20:27:41.003Z] 6db16350a2e2: Pull complete [2023-09-12T20:27:41.935Z] 9250d5d63582: Pull complete [2023-09-12T20:27:41.935Z] Digest: sha256:3646cb4089a714386d09daba17fdee0803df1ec33e73c4ae92f9989f90c6e4e0 [2023-09-12T20:27:41.935Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-09-12T20:27:41.935Z] ---> fa269f55d9b9 [2023-09-12T20:27:41.935Z] Step 3/10 : ARG MAKE=make build [2023-09-12T20:27:47.216Z] ---> Running in 5712695b799d [2023-09-12T20:27:47.216Z] Removing intermediate container 5712695b799d [2023-09-12T20:27:47.216Z] ---> 4424485199b9 [2023-09-12T20:27:47.216Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-12T20:27:47.216Z] ---> Running in e3577c248dcf [2023-09-12T20:27:47.216Z] Removing intermediate container e3577c248dcf [2023-09-12T20:27:47.216Z] ---> 5bcaa2adc09b [2023-09-12T20:27:47.216Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-12T20:27:47.216Z] ---> Running in 25ad644735fe [2023-09-12T20:27:47.216Z] Removing intermediate container 25ad644735fe [2023-09-12T20:27:47.216Z] ---> ddb8fcef863b [2023-09-12T20:27:47.216Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-12T20:27:47.216Z] ---> Running in 825d1e79e9ab [2023-09-12T20:27:47.216Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T20:27:47.303Z] Still waiting to schedule task [2023-09-12T20:27:47.303Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-5971’ [2023-09-12T20:27:47.478Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T20:27:47.738Z] OK: 265 MiB in 56 packages [2023-09-12T20:27:47.998Z] Removing intermediate container 825d1e79e9ab [2023-09-12T20:27:47.998Z] ---> 23c4604b21c6 [2023-09-12T20:27:47.998Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-12T20:27:48.259Z] ---> 2b02808722a4 [2023-09-12T20:27:48.259Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T20:27:48.259Z] ---> Running in ffa21bcd51ba [2023-09-12T20:28:26.968Z] Removing intermediate container ffa21bcd51ba [2023-09-12T20:28:26.968Z] ---> b4b0a3c45af9 [2023-09-12T20:28:26.968Z] Step 9/10 : COPY . . [2023-09-12T20:28:26.968Z] ---> a5fd0d8325a1 [2023-09-12T20:28:26.968Z] Step 10/10 : RUN ${MAKE} [2023-09-12T20:28:26.968Z] ---> Running in d23bb92aeeb3 [2023-09-12T20:28:26.968Z] noop [2023-09-12T20:28:26.968Z] Removing intermediate container d23bb92aeeb3 [2023-09-12T20:28:26.968Z] ---> f1949a744874 [2023-09-12T20:28:26.968Z] Successfully built f1949a744874 [2023-09-12T20:28:26.968Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:28:27.412Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T20:28:27.412Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T20:28:27.560Z] prd-ubuntu20.04-docker-8c-8g-5972 does not seem to be running inside a container [2023-09-12T20:28:27.590Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1511 -v /w/workspace/gexfoundry_device-sdk-go_PR-1511:/w/workspace/gexfoundry_device-sdk-go_PR-1511:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1511@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1511@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-12T20:28:27.939Z] $ docker top fd0a81efcaf0ace82df24e14b7b872fa739a21eae9832f747400ac933a5e1b4f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T20:28:28.327Z] + go version [2023-09-12T20:28:28.327Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-09-12T20:28:28.356Z] $ docker stop --time=1 fd0a81efcaf0ace82df24e14b7b872fa739a21eae9832f747400ac933a5e1b4f [2023-09-12T20:28:29.613Z] $ docker rm -f --volumes fd0a81efcaf0ace82df24e14b7b872fa739a21eae9832f747400ac933a5e1b4f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:28:30.335Z] + docker inspect -f . ci-base-image-x86_64 [2023-09-12T20:28:30.335Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T20:28:30.485Z] prd-ubuntu20.04-docker-8c-8g-5972 does not seem to be running inside a container [2023-09-12T20:28:30.515Z] $ 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-1511 -v /w/workspace/gexfoundry_device-sdk-go_PR-1511:/w/workspace/gexfoundry_device-sdk-go_PR-1511:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1511@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1511@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-09-12T20:28:30.843Z] $ docker top 80415e31f8d43e33d269906b12503f1ff595d2367eb871a0f0feee978f8a3944 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T20:28:31.224Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1511 [Pipeline] fileExists [Pipeline] sh [2023-09-12T20:28:31.575Z] + make test [2023-09-12T20:28:31.575Z] go test -race -coverprofile=coverage.out ./... [2023-09-12T20:28:38.139Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-12T20:28:50.325Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-12T20:28:50.325Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-12T20:28:50.325Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-12T20:28:50.325Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-12T20:28:50.325Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-12T20:28:51.260Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-12T20:28:51.260Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-12T20:28:52.195Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.055s coverage: 27.6% of statements [2023-09-12T20:28:52.195Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-12T20:28:52.195Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.049s coverage: 80.2% of statements [2023-09-12T20:28:52.195Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.053s coverage: 86.0% of statements [2023-09-12T20:28:53.569Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.077s coverage: 71.8% of statements [2023-09-12T20:28:53.569Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-12T20:28:53.569Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-12T20:28:53.569Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-12T20:28:56.848Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.093s coverage: 14.1% of statements [2023-09-12T20:28:56.849Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.040s coverage: 44.2% of statements [2023-09-12T20:28:56.849Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.069s coverage: 68.5% of statements [2023-09-12T20:28:56.849Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.096s coverage: 89.2% of statements [2023-09-12T20:28:56.849Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.042s coverage: 5.5% of statements [2023-09-12T20:29:15.032Z] GO111MODULE=on go vet ./... [2023-09-12T20:29:16.403Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T20:29:16.403Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T20:29:16.403Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T20:29:16.442Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T20:29:16.478Z] $ docker stop --time=1 80415e31f8d43e33d269906b12503f1ff595d2367eb871a0f0feee978f8a3944 [2023-09-12T20:29:20.947Z] $ docker rm -f --volumes 80415e31f8d43e33d269906b12503f1ff595d2367eb871a0f0feee978f8a3944 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T20:29:21.522Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T20:29:21.620Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-09-12T20:29:22.403Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T20:29:22.715Z] + ls -al . [2023-09-12T20:29:22.715Z] total 304 [2023-09-12T20:29:22.715Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 12 20:28 . [2023-09-12T20:29:22.715Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 20:27 .. [2023-09-12T20:29:22.715Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 20:27 .dockerignore [2023-09-12T20:29:22.715Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 20:28 .git [2023-09-12T20:29:22.715Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 20:27 .github [2023-09-12T20:29:22.715Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 12 20:27 .gitignore [2023-09-12T20:29:22.715Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 12 20:27 .golangci.yml [2023-09-12T20:29:22.715Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 20:27 .semver [2023-09-12T20:29:22.715Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 12 20:27 CHANGELOG.md [2023-09-12T20:29:22.715Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 20:27 GOVERNANCE.md [2023-09-12T20:29:22.715Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 12 20:27 Jenkinsfile [2023-09-12T20:29:22.715Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 12 20:27 LICENSE [2023-09-12T20:29:22.715Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 12 20:27 Makefile [2023-09-12T20:29:22.715Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 12 20:27 OWNERS.md [2023-09-12T20:29:22.715Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 12 20:27 README.md [2023-09-12T20:29:22.715Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 20:27 VERSION [2023-09-12T20:29:22.715Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 20:27 bin [2023-09-12T20:29:22.715Z] -rw-r--r-- 1 jenkins jenkins 120471 Sep 12 20:28 coverage.out [2023-09-12T20:29:22.715Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 12 20:27 example [2023-09-12T20:29:22.715Z] -rw-rw-r-- 1 jenkins jenkins 3721 Sep 12 20:27 go.mod [2023-09-12T20:29:22.715Z] -rw-rw-r-- 1 jenkins jenkins 33545 Sep 12 20:27 go.sum [2023-09-12T20:29:22.715Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 20:27 internal [2023-09-12T20:29:22.715Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 20:27 openapi [2023-09-12T20:29:22.715Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 12 20:27 pkg [2023-09-12T20:29:22.715Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 20:27 snap [2023-09-12T20:29:22.715Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 12 20:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:29:23.213Z] + 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=0177dab66d32070dd404c7dfe98e224423ad2c7c --label arch=amd64 --label version=0.0.0 . [2023-09-12T20:29:23.213Z] Sending build context to Docker daemon 11.24MB [2023-09-12T20:29:23.213Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T20:29:23.213Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-12T20:29:23.213Z] ---> f1949a744874 [2023-09-12T20:29:23.213Z] Step 3/23 : ARG MAKE=make build [2023-09-12T20:29:23.472Z] ---> Running in 4b922f493199 [2023-09-12T20:29:23.472Z] Removing intermediate container 4b922f493199 [2023-09-12T20:29:23.472Z] ---> f9b08f7bbc76 [2023-09-12T20:29:23.472Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-12T20:29:23.472Z] ---> Running in 41b388e60ddb [2023-09-12T20:29:23.731Z] Removing intermediate container 41b388e60ddb [2023-09-12T20:29:23.731Z] ---> 1c885a09c8eb [2023-09-12T20:29:23.731Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-12T20:29:23.731Z] ---> Running in cc3fca5d2516 [2023-09-12T20:29:23.731Z] Removing intermediate container cc3fca5d2516 [2023-09-12T20:29:23.731Z] ---> bd1d9c48cd45 [2023-09-12T20:29:23.731Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-12T20:29:23.731Z] ---> Running in 3ae9c9118ab2 [2023-09-12T20:29:23.990Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T20:29:24.254Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T20:29:24.513Z] OK: 265 MiB in 56 packages [2023-09-12T20:29:24.771Z] Removing intermediate container 3ae9c9118ab2 [2023-09-12T20:29:24.771Z] ---> 3d31b1fdab3e [2023-09-12T20:29:24.771Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-12T20:29:24.771Z] ---> b4f26a32a4ba [2023-09-12T20:29:24.771Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T20:29:24.771Z] ---> Running in 28ad854a9209 [2023-09-12T20:29:25.337Z] Removing intermediate container 28ad854a9209 [2023-09-12T20:29:25.337Z] ---> b532c02fcd27 [2023-09-12T20:29:25.337Z] Step 9/23 : COPY . . [2023-09-12T20:29:26.274Z] ---> af87b8ba0e63 [2023-09-12T20:29:26.274Z] Step 10/23 : RUN ${MAKE} [2023-09-12T20:29:26.274Z] ---> Running in 49d0b0abb9eb [2023-09-12T20:29:26.532Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-12T20:29:48.486Z] Removing intermediate container 49d0b0abb9eb [2023-09-12T20:29:48.486Z] ---> b58a6dc7cb11 [2023-09-12T20:29:48.486Z] Step 11/23 : FROM alpine:3.18 [2023-09-12T20:29:48.486Z] 3.18: Pulling from library/alpine [2023-09-12T20:29:48.486Z] 7264a8db6415: Already exists [2023-09-12T20:29:48.486Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-12T20:29:48.486Z] Status: Downloaded newer image for alpine:3.18 [2023-09-12T20:29:48.486Z] ---> 7e01a0d0a1dc [2023-09-12T20:29:48.486Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-12T20:29:48.486Z] ---> Running in 740b4ab28241 [2023-09-12T20:29:48.486Z] Removing intermediate container 740b4ab28241 [2023-09-12T20:29:48.486Z] ---> 52696fa1ec6a [2023-09-12T20:29:48.486Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-12T20:29:48.486Z] ---> Running in c150d7b9d828 [2023-09-12T20:29:48.486Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-09-12T20:29:48.486Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-09-12T20:29:48.486Z] OK: 7 MiB in 15 packages [2023-09-12T20:29:48.486Z] Removing intermediate container c150d7b9d828 [2023-09-12T20:29:48.486Z] ---> a46b5da87987 [2023-09-12T20:29:48.486Z] Step 14/23 : WORKDIR / [2023-09-12T20:29:48.486Z] ---> Running in 6ff4fde48662 [2023-09-12T20:29:48.486Z] Removing intermediate container 6ff4fde48662 [2023-09-12T20:29:48.486Z] ---> a8605dc02d6e [2023-09-12T20:29:48.486Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-12T20:29:48.486Z] ---> 8f681abc84fb [2023-09-12T20:29:48.486Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-12T20:29:48.745Z] ---> e854f86bbe9e [2023-09-12T20:29:48.745Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-12T20:29:48.745Z] ---> 2304ee5f45bf [2023-09-12T20:29:48.745Z] Step 18/23 : EXPOSE 59999 [2023-09-12T20:29:49.005Z] ---> Running in d77b6d9caada [2023-09-12T20:29:49.005Z] Removing intermediate container d77b6d9caada [2023-09-12T20:29:49.005Z] ---> c20aadb85896 [2023-09-12T20:29:49.005Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-12T20:29:49.005Z] ---> Running in e9662b63ae5e [2023-09-12T20:29:49.005Z] Removing intermediate container e9662b63ae5e [2023-09-12T20:29:49.005Z] ---> 7aa96852baaf [2023-09-12T20:29:49.005Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-12T20:29:49.005Z] ---> Running in cea2f7dd874d [2023-09-12T20:29:49.005Z] Removing intermediate container cea2f7dd874d [2023-09-12T20:29:49.005Z] ---> fd1d56035ca9 [2023-09-12T20:29:49.005Z] Step 21/23 : LABEL arch=amd64 [2023-09-12T20:29:49.263Z] ---> Running in 6b1172c7148e [2023-09-12T20:29:49.263Z] Removing intermediate container 6b1172c7148e [2023-09-12T20:29:49.263Z] ---> 897c8d6b237c [2023-09-12T20:29:49.263Z] Step 22/23 : LABEL git_sha=0177dab66d32070dd404c7dfe98e224423ad2c7c [2023-09-12T20:29:49.263Z] ---> Running in 0f854c0068fb [2023-09-12T20:29:49.263Z] Removing intermediate container 0f854c0068fb [2023-09-12T20:29:49.263Z] ---> 653f11d9c4c0 [2023-09-12T20:29:49.263Z] Step 23/23 : LABEL version=0.0.0 [2023-09-12T20:29:49.263Z] ---> Running in 8dd68ccc66c4 [2023-09-12T20:29:49.263Z] Removing intermediate container 8dd68ccc66c4 [2023-09-12T20:29:49.263Z] ---> b19da9df72c9 [2023-09-12T20:29:49.263Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T20:29:49.522Z] Successfully built b19da9df72c9 [2023-09-12T20:29:49.522Z] 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-09-12T20:29:50.363Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T20:29:50.363Z] [2023-09-12T20:29:50.363Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:29:50.739Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T20:29:50.739Z] latest: Pulling from edgex-lftools-log-publisher [2023-09-12T20:29:50.739Z] 5eb5b503b376: Pulling fs layer [2023-09-12T20:29:50.739Z] 5c69ac0246d0: Pulling fs layer [2023-09-12T20:29:50.739Z] ec43610c2a17: Pulling fs layer [2023-09-12T20:29:50.739Z] 3a2ae6a8a46f: Pulling fs layer [2023-09-12T20:29:50.739Z] 33b1e0a273af: Pulling fs layer [2023-09-12T20:29:50.739Z] 5d3b04190fa2: Pulling fs layer [2023-09-12T20:29:50.739Z] 2f39f015ded8: Pulling fs layer [2023-09-12T20:29:50.739Z] 5d3b04190fa2: Waiting [2023-09-12T20:29:50.739Z] 2f39f015ded8: Waiting [2023-09-12T20:29:50.739Z] 3a2ae6a8a46f: Waiting [2023-09-12T20:29:50.739Z] 33b1e0a273af: Waiting [2023-09-12T20:29:50.739Z] 5c69ac0246d0: Verifying Checksum [2023-09-12T20:29:50.739Z] 5c69ac0246d0: Download complete [2023-09-12T20:29:50.739Z] 3a2ae6a8a46f: Verifying Checksum [2023-09-12T20:29:50.739Z] 3a2ae6a8a46f: Download complete [2023-09-12T20:29:50.999Z] ec43610c2a17: Verifying Checksum [2023-09-12T20:29:50.999Z] ec43610c2a17: Download complete [2023-09-12T20:29:50.999Z] 5d3b04190fa2: Download complete [2023-09-12T20:29:50.999Z] 33b1e0a273af: Verifying Checksum [2023-09-12T20:29:50.999Z] 33b1e0a273af: Download complete [2023-09-12T20:29:50.999Z] 5eb5b503b376: Verifying Checksum [2023-09-12T20:29:51.000Z] 5eb5b503b376: Download complete [2023-09-12T20:29:51.570Z] 2f39f015ded8: Verifying Checksum [2023-09-12T20:29:51.570Z] 2f39f015ded8: Download complete [2023-09-12T20:29:52.137Z] 5eb5b503b376: Pull complete [2023-09-12T20:29:52.394Z] 5c69ac0246d0: Pull complete [2023-09-12T20:29:52.652Z] ec43610c2a17: Pull complete [2023-09-12T20:29:52.912Z] 3a2ae6a8a46f: Pull complete [2023-09-12T20:29:52.912Z] 33b1e0a273af: Pull complete [2023-09-12T20:29:53.171Z] 5d3b04190fa2: Pull complete [2023-09-12T20:29:57.355Z] 2f39f015ded8: Pull complete [2023-09-12T20:29:57.356Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-09-12T20:29:57.356Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T20:29:57.356Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T20:29:57.569Z] prd-ubuntu20.04-docker-8c-8g-5972 does not seem to be running inside a container [2023-09-12T20:29:57.596Z] $ 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-1511 -v /w/workspace/gexfoundry_device-sdk-go_PR-1511:/w/workspace/gexfoundry_device-sdk-go_PR-1511:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1511@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1511@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-12T20:30:01.683Z] $ docker top bc07b3d3cb3ac80655a86d1edbd401f1f6288470f9f27565c6ce72fe1a1fdcfb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T20:30:02.134Z] ---> job-cost.sh [2023-09-12T20:30:02.134Z] lf-activate-venv: SKIPPING [2023-09-12T20:30:02.134Z] INFO: No Stack... [2023-09-12T20:30:02.395Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T20:30:02.965Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T20:30:03.284Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1511/archives/cost.csv [2023-09-12T20:30:03.284Z] + cut -d, -f6 [Pipeline] lock [2023-09-12T20:30:03.324Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1511-1-stack-cost] [2023-09-12T20:30:03.328Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1511-1-stack-cost] did not exist. Created. [2023-09-12T20:30:03.328Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1511-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T20:30:03.729Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-09-12T20:30:03.779Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T20:30:03.803Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1511-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T20:30:03.881Z] $ docker stop --time=1 bc07b3d3cb3ac80655a86d1edbd401f1f6288470f9f27565c6ce72fe1a1fdcfb [2023-09-12T20:30:05.026Z] $ docker rm -f --volumes bc07b3d3cb3ac80655a86d1edbd401f1f6288470f9f27565c6ce72fe1a1fdcfb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-09-12T20:30:45.681Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5973 in /w/workspace/gexfoundry_device-sdk-go_PR-1511 [Pipeline] { [Pipeline] ws [2023-09-12T20:30:45.736Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-09-12T20:30:45.819Z] The recommended git tool is: git [2023-09-12T20:30:51.611Z] using credential edgex-jenkins-ssh [2023-09-12T20:30:51.625Z] Cloning the remote Git repository [2023-09-12T20:30:51.653Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-09-12T20:30:51.753Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-09-12T20:30:51.908Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-12T20:30:51.909Z] > git --version # timeout=10 [2023-09-12T20:30:51.934Z] > git --version # 'git version 2.25.1' [2023-09-12T20:30:51.937Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T20:30:52.088Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T20:30:53.740Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-12T20:30:53.763Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-09-12T20:30:55.367Z] Merging remotes/origin/main commit fda9b37df1b1ddb72445924cae920f416e370c84 into PR head commit 0177dab66d32070dd404c7dfe98e224423ad2c7c [2023-09-12T20:30:55.696Z] Merge succeeded, producing 0177dab66d32070dd404c7dfe98e224423ad2c7c [2023-09-12T20:30:55.696Z] Checking out Revision 0177dab66d32070dd404c7dfe98e224423ad2c7c (PR-1511) [2023-09-12T20:30:54.677Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-09-12T20:30:54.722Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-09-12T20:30:54.724Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T20:30:54.743Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1511/head:refs/remotes/origin/PR-1511 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-09-12T20:30:55.373Z] > git config core.sparsecheckout # timeout=10 [2023-09-12T20:30:55.458Z] > git checkout -f 0177dab66d32070dd404c7dfe98e224423ad2c7c # timeout=10 [2023-09-12T20:30:55.577Z] > git remote # timeout=10 [2023-09-12T20:30:55.599Z] > git config --get remote.origin.url # timeout=10 [2023-09-12T20:30:55.624Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-09-12T20:30:55.638Z] > git merge fda9b37df1b1ddb72445924cae920f416e370c84 # timeout=10 [2023-09-12T20:30:55.664Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-09-12T20:30:55.689Z] > git config core.sparsecheckout # timeout=10 [2023-09-12T20:30:55.702Z] > git checkout -f 0177dab66d32070dd404c7dfe98e224423ad2c7c # timeout=10 [2023-09-12T20:30:59.209Z] Commit message: "build: Upgrade to go-1.21, Linter1.54.2 and Alpine 3.18" [2023-09-12T20:30:59.253Z] > git --version # timeout=10 [2023-09-12T20:30:59.264Z] > git --version # 'git version 2.25.1' [2023-09-12T20:30:59.284Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T20:31:00.472Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-09-12T20:31:00.472Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T20:31:00.472Z] Dload Upload Total Spent Left Speed [2023-09-12T20:31:00.472Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 234k 0 --:--:-- --:--:-- --:--:-- 239k [Pipeline] sh [2023-09-12T20:31:01.196Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-09-12T20:31:01.541Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-09-12T20:31:01.541Z] + sudo tee /etc/docker/daemon.new [2023-09-12T20:31:01.541Z] { [2023-09-12T20:31:01.541Z] "registry-mirrors": [ [2023-09-12T20:31:01.541Z] "https://nexus3.edgexfoundry.org:10001" [2023-09-12T20:31:01.541Z] ], [2023-09-12T20:31:01.541Z] "bip": "10.250.0.254/24", [2023-09-12T20:31:01.541Z] "hosts": [ [2023-09-12T20:31:01.541Z] "tcp://0.0.0.0:5555", [2023-09-12T20:31:01.541Z] "unix:///var/run/docker.sock" [2023-09-12T20:31:01.541Z] ], [2023-09-12T20:31:01.541Z] "mtu": 1458, [2023-09-12T20:31:01.541Z] "selinux-enabled": true, [2023-09-12T20:31:01.541Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-09-12T20:31:01.541Z] } [Pipeline] sh [2023-09-12T20:31:01.886Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-09-12T20:31:02.227Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T20:31:20.549Z] provisioning config files... [2023-09-12T20:31:20.575Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config18034380237503721443tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T20:31:20.967Z] ---> docker-login.sh [2023-09-12T20:31:20.968Z] nexus3.edgexfoundry.org:10001 [2023-09-12T20:31:21.236Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T20:31:21.509Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T20:31:21.509Z] Configure a credential helper to remove this warning. See [2023-09-12T20:31:21.509Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T20:31:21.509Z] [2023-09-12T20:31:21.509Z] Login Succeeded [2023-09-12T20:31:21.509Z] nexus3.edgexfoundry.org:10002 [2023-09-12T20:31:21.784Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T20:31:21.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T20:31:21.785Z] Configure a credential helper to remove this warning. See [2023-09-12T20:31:21.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T20:31:21.785Z] [2023-09-12T20:31:21.785Z] Login Succeeded [2023-09-12T20:31:21.785Z] nexus3.edgexfoundry.org:10003 [2023-09-12T20:31:22.055Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T20:31:22.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T20:31:22.326Z] Configure a credential helper to remove this warning. See [2023-09-12T20:31:22.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T20:31:22.326Z] [2023-09-12T20:31:22.326Z] Login Succeeded [2023-09-12T20:31:22.326Z] nexus3.edgexfoundry.org:10004 [2023-09-12T20:31:22.595Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T20:31:22.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T20:31:22.595Z] Configure a credential helper to remove this warning. See [2023-09-12T20:31:22.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T20:31:22.595Z] [2023-09-12T20:31:22.595Z] Login Succeeded [2023-09-12T20:31:22.595Z] docker.io [2023-09-12T20:31:22.863Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-09-12T20:31:23.131Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-09-12T20:31:23.131Z] Configure a credential helper to remove this warning. See [2023-09-12T20:31:23.131Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-09-12T20:31:23.131Z] [2023-09-12T20:31:23.131Z] Login Succeeded [2023-09-12T20:31:23.131Z] ---> docker-login.sh ends [Pipeline] } [2023-09-12T20:31:23.154Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-09-12T20:31:23.554Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T20:31:23.591Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-09-12T20:31:23.623Z] ========================================================= [2023-09-12T20:31:23.623Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-09-12T20:31:23.623Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:31:24.138Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-09-12T20:31:24.408Z] Sending build context to Docker daemon 5.946MB [2023-09-12T20:31:24.408Z] Step 1/10 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T20:31:24.408Z] Step 2/10 : FROM ${BASE} AS builder [2023-09-12T20:31:24.686Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-09-12T20:31:24.686Z] 9fda8d8052c6: Pulling fs layer [2023-09-12T20:31:24.686Z] 5d54e960e981: Pulling fs layer [2023-09-12T20:31:24.686Z] c4a7e357bf2a: Pulling fs layer [2023-09-12T20:31:24.686Z] f0e02332f6b5: Pulling fs layer [2023-09-12T20:31:24.686Z] 66412af1f25a: Pulling fs layer [2023-09-12T20:31:24.686Z] 1baf3a5c0e64: Pulling fs layer [2023-09-12T20:31:24.686Z] 9a37bb91b891: Pulling fs layer [2023-09-12T20:31:24.686Z] a29adfc67d43: Pulling fs layer [2023-09-12T20:31:24.686Z] d5de9f91c1a4: Pulling fs layer [2023-09-12T20:31:24.686Z] 1baf3a5c0e64: Waiting [2023-09-12T20:31:24.686Z] 9a37bb91b891: Waiting [2023-09-12T20:31:24.686Z] a29adfc67d43: Waiting [2023-09-12T20:31:24.686Z] d5de9f91c1a4: Waiting [2023-09-12T20:31:24.686Z] f0e02332f6b5: Waiting [2023-09-12T20:31:24.686Z] 66412af1f25a: Waiting [2023-09-12T20:31:24.686Z] 5d54e960e981: Verifying Checksum [2023-09-12T20:31:24.686Z] 5d54e960e981: Download complete [2023-09-12T20:31:24.686Z] 66412af1f25a: Verifying Checksum [2023-09-12T20:31:24.686Z] 66412af1f25a: Download complete [2023-09-12T20:31:24.686Z] 9fda8d8052c6: Download complete [2023-09-12T20:31:25.274Z] 9a37bb91b891: Verifying Checksum [2023-09-12T20:31:25.274Z] 9a37bb91b891: Download complete [2023-09-12T20:31:25.899Z] a29adfc67d43: Verifying Checksum [2023-09-12T20:31:25.899Z] a29adfc67d43: Download complete [2023-09-12T20:31:26.173Z] 9fda8d8052c6: Pull complete [2023-09-12T20:31:26.784Z] d5de9f91c1a4: Verifying Checksum [2023-09-12T20:31:26.784Z] d5de9f91c1a4: Download complete [2023-09-12T20:31:26.784Z] 5d54e960e981: Pull complete [2023-09-12T20:31:26.784Z] c4a7e357bf2a: Verifying Checksum [2023-09-12T20:31:26.784Z] c4a7e357bf2a: Download complete [2023-09-12T20:31:27.757Z] 1baf3a5c0e64: Verifying Checksum [2023-09-12T20:31:27.757Z] 1baf3a5c0e64: Download complete [2023-09-12T20:31:40.077Z] c4a7e357bf2a: Pull complete [2023-09-12T20:31:40.077Z] f0e02332f6b5: Pull complete [2023-09-12T20:31:40.077Z] 66412af1f25a: Pull complete [2023-09-12T20:31:46.745Z] 1baf3a5c0e64: Pull complete [2023-09-12T20:31:47.334Z] 9a37bb91b891: Pull complete [2023-09-12T20:31:48.300Z] a29adfc67d43: Pull complete [2023-09-12T20:31:49.707Z] d5de9f91c1a4: Pull complete [2023-09-12T20:31:49.707Z] Digest: sha256:1924af6f0b663904b942a9ee07fc1d4556a77458ebf1950facbcfc555602d6a5 [2023-09-12T20:31:49.707Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-09-12T20:31:49.707Z] ---> 746ca1b523b5 [2023-09-12T20:31:49.707Z] Step 3/10 : ARG MAKE=make build [2023-09-12T20:31:52.288Z] ---> Running in cba19d3cf67d [2023-09-12T20:31:52.288Z] Removing intermediate container cba19d3cf67d [2023-09-12T20:31:52.288Z] ---> 29de8bdf12a8 [2023-09-12T20:31:52.288Z] Step 4/10 : WORKDIR /device-sdk-go [2023-09-12T20:31:52.288Z] ---> Running in afcbe4dd5321 [2023-09-12T20:31:52.555Z] Removing intermediate container afcbe4dd5321 [2023-09-12T20:31:52.555Z] ---> bf41cf10a565 [2023-09-12T20:31:52.555Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-12T20:31:52.555Z] ---> Running in 34d6e903401e [2023-09-12T20:31:53.138Z] Removing intermediate container 34d6e903401e [2023-09-12T20:31:53.138Z] ---> 772839723801 [2023-09-12T20:31:53.138Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-09-12T20:31:53.138Z] ---> Running in 506cf95ff0a7 [2023-09-12T20:31:54.097Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T20:31:54.680Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T20:31:55.638Z] OK: 267 MiB in 56 packages [2023-09-12T20:31:56.602Z] Removing intermediate container 506cf95ff0a7 [2023-09-12T20:31:56.602Z] ---> f2db0b586554 [2023-09-12T20:31:56.602Z] Step 7/10 : COPY go.mod vendor* ./ [2023-09-12T20:31:56.870Z] ---> 0c9af0d160d7 [2023-09-12T20:31:56.870Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T20:31:57.140Z] ---> Running in 7e6179be94fe [2023-09-12T20:33:18.760Z] Removing intermediate container 7e6179be94fe [2023-09-12T20:33:18.760Z] ---> 593c9f0b6cb0 [2023-09-12T20:33:18.760Z] Step 9/10 : COPY . . [2023-09-12T20:33:18.760Z] ---> 5175d798b3cf [2023-09-12T20:33:18.760Z] Step 10/10 : RUN ${MAKE} [2023-09-12T20:33:18.760Z] ---> Running in bab1bf848343 [2023-09-12T20:33:18.760Z] noop [2023-09-12T20:33:18.760Z] Removing intermediate container bab1bf848343 [2023-09-12T20:33:18.760Z] ---> a909ba83aa9b [2023-09-12T20:33:18.760Z] Successfully built a909ba83aa9b [2023-09-12T20:33:18.760Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:33:19.372Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T20:33:19.372Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T20:33:19.631Z] prd-ubuntu20.04-docker-arm64-4c-16g-5973 does not seem to be running inside a container [2023-09-12T20:33:19.710Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-12T20:33:20.791Z] $ docker top 057e106ac8d06314c6aa6a4726f95d0fff17bb789a6de495f3a9eaf8d48ab4cb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T20:33:21.620Z] + go version [2023-09-12T20:33:21.620Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-09-12T20:33:21.674Z] $ docker stop --time=1 057e106ac8d06314c6aa6a4726f95d0fff17bb789a6de495f3a9eaf8d48ab4cb [2023-09-12T20:33:23.219Z] $ docker rm -f --volumes 057e106ac8d06314c6aa6a4726f95d0fff17bb789a6de495f3a9eaf8d48ab4cb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:33:24.018Z] + docker inspect -f . ci-base-image-arm64 [2023-09-12T20:33:24.018Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T20:33:24.251Z] prd-ubuntu20.04-docker-arm64-4c-16g-5973 does not seem to be running inside a container [2023-09-12T20:33:24.331Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-09-12T20:33:27.316Z] $ docker top 528a06268a4f3433be49f672b66cefc55c72d21168d4a61c82e782b4612a57d6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T20:33:27.840Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-09-12T20:33:28.545Z] + make test [2023-09-12T20:33:28.545Z] go test -race -coverprofile=coverage.out ./... [2023-09-12T20:34:00.747Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-09-12T20:35:37.353Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-09-12T20:35:37.353Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-09-12T20:35:37.353Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-09-12T20:35:37.353Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-09-12T20:35:37.353Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-09-12T20:35:47.430Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 1.236s coverage: 27.6% of statements [2023-09-12T20:35:54.103Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 1.361s coverage: 80.2% of statements [2023-09-12T20:36:04.173Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-09-12T20:36:04.173Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-09-12T20:36:05.576Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 1.298s coverage: 86.0% of statements [2023-09-12T20:36:09.833Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-09-12T20:36:11.241Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 1.390s coverage: 71.8% of statements [2023-09-12T20:36:14.585Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 4.261s coverage: 14.1% of statements [2023-09-12T20:36:14.585Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/provision 3.011s coverage: 44.2% of statements [2023-09-12T20:36:14.585Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-09-12T20:36:14.585Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-09-12T20:36:15.995Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 1.396s coverage: 68.5% of statements [2023-09-12T20:36:18.571Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 1.436s coverage: 89.2% of statements [2023-09-12T20:36:19.154Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-09-12T20:36:20.112Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 1.231s coverage: 5.5% of statements [2023-09-12T20:36:21.076Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-09-12T20:36:21.076Z] GO111MODULE=on go vet ./... [2023-09-12T20:37:58.018Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-09-12T20:37:58.018Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-09-12T20:37:58.018Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-09-12T20:37:58.066Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-09-12T20:37:58.097Z] $ docker stop --time=1 528a06268a4f3433be49f672b66cefc55c72d21168d4a61c82e782b4612a57d6 [2023-09-12T20:38:00.001Z] $ docker rm -f --volumes 528a06268a4f3433be49f672b66cefc55c72d21168d4a61c82e782b4612a57d6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-09-12T20:38:01.657Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-09-12T20:38:01.692Z] Warning: overwriting stash ‘coverage-report’ [2023-09-12T20:38:02.196Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-09-12T20:38:02.785Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-09-12T20:38:03.124Z] + ls -al . [2023-09-12T20:38:03.124Z] total 300 [2023-09-12T20:38:03.124Z] drwxrwxr-x 10 jenkins jenkins 4096 Sep 12 20:33 . [2023-09-12T20:38:03.124Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 20:30 .. [2023-09-12T20:38:03.124Z] -rw-rw-r-- 1 jenkins jenkins 140 Sep 12 20:30 .dockerignore [2023-09-12T20:38:03.124Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 12 20:30 .git [2023-09-12T20:38:03.124Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 20:30 .github [2023-09-12T20:38:03.124Z] -rw-rw-r-- 1 jenkins jenkins 137 Sep 12 20:30 .gitignore [2023-09-12T20:38:03.124Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 12 20:30 .golangci.yml [2023-09-12T20:38:03.124Z] -rw-rw-r-- 1 jenkins jenkins 44878 Sep 12 20:30 CHANGELOG.md [2023-09-12T20:38:03.124Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 12 20:30 GOVERNANCE.md [2023-09-12T20:38:03.124Z] -rw-rw-r-- 1 jenkins jenkins 885 Sep 12 20:30 Jenkinsfile [2023-09-12T20:38:03.124Z] -rw-rw-r-- 1 jenkins jenkins 11341 Sep 12 20:30 LICENSE [2023-09-12T20:38:03.124Z] -rw-rw-r-- 1 jenkins jenkins 1842 Sep 12 20:30 Makefile [2023-09-12T20:38:03.124Z] -rw-rw-r-- 1 jenkins jenkins 619 Sep 12 20:30 OWNERS.md [2023-09-12T20:38:03.124Z] -rw-rw-r-- 1 jenkins jenkins 4933 Sep 12 20:30 README.md [2023-09-12T20:38:03.124Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 12 20:27 VERSION [2023-09-12T20:38:03.124Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 12 20:30 bin [2023-09-12T20:38:03.124Z] -rw-r--r-- 1 jenkins jenkins 120468 Sep 12 20:36 coverage.out [2023-09-12T20:38:03.124Z] drwxrwxr-x 5 jenkins jenkins 4096 Sep 12 20:30 example [2023-09-12T20:38:03.124Z] -rw-rw-r-- 1 jenkins jenkins 3721 Sep 12 20:30 go.mod [2023-09-12T20:38:03.124Z] -rw-rw-r-- 1 jenkins jenkins 33545 Sep 12 20:30 go.sum [2023-09-12T20:38:03.124Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 20:30 internal [2023-09-12T20:38:03.124Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 12 20:30 openapi [2023-09-12T20:38:03.124Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 12 20:30 pkg [2023-09-12T20:38:03.124Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 12 20:30 snap [2023-09-12T20:38:03.124Z] -rw-rw-r-- 1 jenkins jenkins 222 Sep 12 20:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:38:03.543Z] + 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=0177dab66d32070dd404c7dfe98e224423ad2c7c --label arch=arm64 --label version=0.0.0 . [2023-09-12T20:38:03.813Z] Sending build context to Docker daemon 6.067MB [2023-09-12T20:38:03.813Z] Step 1/23 : ARG BASE=golang:1.21-alpine3.18 [2023-09-12T20:38:03.813Z] Step 2/23 : FROM ${BASE} AS builder [2023-09-12T20:38:03.813Z] ---> a909ba83aa9b [2023-09-12T20:38:03.813Z] Step 3/23 : ARG MAKE=make build [2023-09-12T20:38:04.080Z] ---> Running in 60bef978247e [2023-09-12T20:38:04.344Z] Removing intermediate container 60bef978247e [2023-09-12T20:38:04.344Z] ---> 3659e3e2186e [2023-09-12T20:38:04.344Z] Step 4/23 : WORKDIR /device-sdk-go [2023-09-12T20:38:04.344Z] ---> Running in 5aff222b7ed7 [2023-09-12T20:38:04.612Z] Removing intermediate container 5aff222b7ed7 [2023-09-12T20:38:04.612Z] ---> 2be23e0baff9 [2023-09-12T20:38:04.612Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-09-12T20:38:04.877Z] ---> Running in 66958c065037 [2023-09-12T20:38:05.142Z] Removing intermediate container 66958c065037 [2023-09-12T20:38:05.142Z] ---> 29654794fbcf [2023-09-12T20:38:05.142Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-09-12T20:38:05.142Z] ---> Running in f24911cf33bb [2023-09-12T20:38:06.095Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T20:38:06.359Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T20:38:07.766Z] OK: 267 MiB in 56 packages [2023-09-12T20:38:08.228Z] Removing intermediate container f24911cf33bb [2023-09-12T20:38:08.228Z] ---> 0d693e205395 [2023-09-12T20:38:08.228Z] Step 7/23 : COPY go.mod vendor* ./ [2023-09-12T20:38:08.813Z] ---> f34c20eae97a [2023-09-12T20:38:08.813Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-09-12T20:38:08.813Z] ---> Running in 5fc929c2156d [2023-09-12T20:38:13.061Z] Removing intermediate container 5fc929c2156d [2023-09-12T20:38:13.061Z] ---> b29c8ada5329 [2023-09-12T20:38:13.061Z] Step 9/23 : COPY . . [2023-09-12T20:38:14.024Z] ---> afcb43a7645f [2023-09-12T20:38:14.024Z] Step 10/23 : RUN ${MAKE} [2023-09-12T20:38:14.293Z] ---> Running in d405e9daf090 [2023-09-12T20:38:15.250Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-09-12T20:40:21.916Z] Removing intermediate container d405e9daf090 [2023-09-12T20:40:21.916Z] ---> 27ea1af83219 [2023-09-12T20:40:21.916Z] Step 11/23 : FROM alpine:3.18 [2023-09-12T20:40:21.916Z] 3.18: Pulling from library/alpine [2023-09-12T20:40:21.916Z] 9fda8d8052c6: Already exists [2023-09-12T20:40:21.916Z] Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a [2023-09-12T20:40:21.916Z] Status: Downloaded newer image for alpine:3.18 [2023-09-12T20:40:21.916Z] ---> f6648c04cd6c [2023-09-12T20:40:21.916Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-09-12T20:40:21.916Z] ---> Running in 780d9a67d819 [2023-09-12T20:40:21.916Z] Removing intermediate container 780d9a67d819 [2023-09-12T20:40:21.916Z] ---> 9e9b3877a225 [2023-09-12T20:40:21.916Z] Step 13/23 : RUN apk add --update --no-cache [2023-09-12T20:40:21.916Z] ---> Running in 4d8fdabc4909 [2023-09-12T20:40:21.916Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-09-12T20:40:21.916Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-09-12T20:40:21.916Z] OK: 8 MiB in 15 packages [2023-09-12T20:40:21.916Z] Removing intermediate container 4d8fdabc4909 [2023-09-12T20:40:21.916Z] ---> e800a12ea419 [2023-09-12T20:40:21.916Z] Step 14/23 : WORKDIR / [2023-09-12T20:40:21.916Z] ---> Running in 9dca2c14d2d5 [2023-09-12T20:40:21.916Z] Removing intermediate container 9dca2c14d2d5 [2023-09-12T20:40:21.916Z] ---> ad4619e08106 [2023-09-12T20:40:21.916Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-09-12T20:40:21.916Z] ---> 99dc99a115ac [2023-09-12T20:40:21.916Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-09-12T20:40:21.916Z] ---> 3748553d908e [2023-09-12T20:40:21.916Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-09-12T20:40:21.916Z] ---> f27f36224ca7 [2023-09-12T20:40:21.916Z] Step 18/23 : EXPOSE 59999 [2023-09-12T20:40:21.916Z] ---> Running in d7028d644755 [2023-09-12T20:40:21.916Z] Removing intermediate container d7028d644755 [2023-09-12T20:40:21.916Z] ---> 401a9495e85f [2023-09-12T20:40:21.916Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-09-12T20:40:21.916Z] ---> Running in a7ea80e5e951 [2023-09-12T20:40:21.916Z] Removing intermediate container a7ea80e5e951 [2023-09-12T20:40:21.916Z] ---> 8b56ed0e9f8e [2023-09-12T20:40:21.916Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-09-12T20:40:21.916Z] ---> Running in ea014c0687ab [2023-09-12T20:40:21.916Z] Removing intermediate container ea014c0687ab [2023-09-12T20:40:21.916Z] ---> 9e203b9e167d [2023-09-12T20:40:21.916Z] Step 21/23 : LABEL arch=arm64 [2023-09-12T20:40:21.916Z] ---> Running in 70bba7001125 [2023-09-12T20:40:21.916Z] Removing intermediate container 70bba7001125 [2023-09-12T20:40:21.916Z] ---> 7a95fb10341c [2023-09-12T20:40:21.916Z] Step 22/23 : LABEL git_sha=0177dab66d32070dd404c7dfe98e224423ad2c7c [2023-09-12T20:40:21.916Z] ---> Running in 568caa334e1c [2023-09-12T20:40:21.916Z] Removing intermediate container 568caa334e1c [2023-09-12T20:40:21.916Z] ---> a5d4b3a3a8fd [2023-09-12T20:40:21.916Z] Step 23/23 : LABEL version=0.0.0 [2023-09-12T20:40:21.916Z] ---> Running in afcad20b1b6f [2023-09-12T20:40:21.916Z] Removing intermediate container afcad20b1b6f [2023-09-12T20:40:21.916Z] ---> 7a4fec97146a [2023-09-12T20:40:21.916Z] [Warning] One or more build-args [ARCH] were not consumed [2023-09-12T20:40:21.916Z] Successfully built 7a4fec97146a [2023-09-12T20:40:21.916Z] 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-09-12T20:40:22.721Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T20:40:22.721Z] [2023-09-12T20:40:22.721Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:40:23.134Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T20:40:23.134Z] arm64: Pulling from edgex-lftools-log-publisher [2023-09-12T20:40:23.134Z] 8998bd30e6a1: Pulling fs layer [2023-09-12T20:40:23.134Z] 04944245beec: Pulling fs layer [2023-09-12T20:40:23.134Z] 699f458cf7ca: Pulling fs layer [2023-09-12T20:40:23.134Z] 765212b225bb: Pulling fs layer [2023-09-12T20:40:23.134Z] f23df028b6ca: Pulling fs layer [2023-09-12T20:40:23.134Z] d65c8cfc05b1: Pulling fs layer [2023-09-12T20:40:23.134Z] 2437ff75d9bd: Pulling fs layer [2023-09-12T20:40:23.134Z] f23df028b6ca: Waiting [2023-09-12T20:40:23.134Z] 765212b225bb: Waiting [2023-09-12T20:40:23.134Z] d65c8cfc05b1: Waiting [2023-09-12T20:40:23.134Z] 2437ff75d9bd: Waiting [2023-09-12T20:40:23.400Z] 04944245beec: Verifying Checksum [2023-09-12T20:40:23.400Z] 04944245beec: Download complete [2023-09-12T20:40:23.400Z] 765212b225bb: Verifying Checksum [2023-09-12T20:40:23.400Z] 765212b225bb: Download complete [2023-09-12T20:40:23.400Z] f23df028b6ca: Verifying Checksum [2023-09-12T20:40:23.400Z] f23df028b6ca: Download complete [2023-09-12T20:40:23.400Z] d65c8cfc05b1: Verifying Checksum [2023-09-12T20:40:23.400Z] d65c8cfc05b1: Download complete [2023-09-12T20:40:23.400Z] 699f458cf7ca: Verifying Checksum [2023-09-12T20:40:23.400Z] 699f458cf7ca: Download complete [2023-09-12T20:40:23.985Z] 8998bd30e6a1: Verifying Checksum [2023-09-12T20:40:23.985Z] 8998bd30e6a1: Download complete [2023-09-12T20:40:25.921Z] 2437ff75d9bd: Verifying Checksum [2023-09-12T20:40:25.921Z] 2437ff75d9bd: Download complete [2023-09-12T20:40:27.859Z] 8998bd30e6a1: Pull complete [2023-09-12T20:40:27.859Z] 04944245beec: Pull complete [2023-09-12T20:40:29.528Z] 699f458cf7ca: Pull complete [2023-09-12T20:40:29.528Z] 765212b225bb: Pull complete [2023-09-12T20:40:30.112Z] f23df028b6ca: Pull complete [2023-09-12T20:40:30.378Z] d65c8cfc05b1: Pull complete [2023-09-12T20:40:45.361Z] 2437ff75d9bd: Pull complete [2023-09-12T20:40:45.361Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-09-12T20:40:45.361Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-09-12T20:40:45.361Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T20:40:45.691Z] prd-ubuntu20.04-docker-arm64-4c-16g-5973 does not seem to be running inside a container [2023-09-12T20:40:45.752Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-09-12T20:40:48.447Z] $ docker top 4baa68ca971af8106c8dbc7a6fda2dd1cb710cba26d1602e060a23e3200e5eda -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-09-12T20:40:49.025Z] ---> job-cost.sh [2023-09-12T20:40:49.294Z] lf-activate-venv: SKIPPING [2023-09-12T20:40:49.294Z] INFO: No Stack... [2023-09-12T20:40:49.877Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-09-12T20:40:50.457Z] INFO: Archiving Costs [Pipeline] sh [2023-09-12T20:40:50.800Z] + + catcut -d, /w/workspace/device-sdk-go/1/archives/cost.csv -f6 [2023-09-12T20:40:50.800Z] [Pipeline] lock [2023-09-12T20:40:50.878Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1511-1-stack-cost] [2023-09-12T20:40:50.883Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1511-1-stack-cost] did not exist. Created. [2023-09-12T20:40:50.883Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1511-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-09-12T20:40:51.298Z] /w/workspace/device-sdk-go/1@tmp/durable-fea12ecf/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-09-12T20:40:51.645Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-09-12T20:40:51.680Z] Warning: overwriting stash ‘stack-cost’ [2023-09-12T20:40:51.760Z] Stashed 1 file(s) [Pipeline] } [2023-09-12T20:40:51.775Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1511-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-09-12T20:40:51.857Z] $ docker stop --time=1 4baa68ca971af8106c8dbc7a6fda2dd1cb710cba26d1602e060a23e3200e5eda [2023-09-12T20:40:53.317Z] $ docker rm -f --volumes 4baa68ca971af8106c8dbc7a6fda2dd1cb710cba26d1602e060a23e3200e5eda [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-09-12T20:40:54.361Z] provisioning config files... [2023-09-12T20:40:54.367Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1511@tmp/config4854548022045690745tmp [Pipeline] { [Pipeline] sh [2023-09-12T20:40:54.700Z] + set +x [2023-09-12T20:40:54.700Z] + bash -s -- [2023-09-12T20:40:54.700Z] + curl -s https://codecov.io/bash [2023-09-12T20:40:54.700Z] [2023-09-12T20:40:54.700Z] _____ _ [2023-09-12T20:40:54.700Z] / ____| | | [2023-09-12T20:40:54.700Z] | | ___ __| | ___ ___ _____ __ [2023-09-12T20:40:54.700Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-09-12T20:40:54.700Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-09-12T20:40:54.700Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-09-12T20:40:54.700Z] Bash-1.0.6 [2023-09-12T20:40:54.700Z] [2023-09-12T20:40:54.700Z] [2023-09-12T20:40:54.700Z] ==> git version 2.25.1 found [2023-09-12T20:40:54.701Z] ==> 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-09-12T20:40:54.701Z] Release-Date: 2020-01-08 [2023-09-12T20:40:54.701Z] 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-09-12T20:40:54.701Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-09-12T20:40:54.701Z] ==> Jenkins CI detected. [2023-09-12T20:40:54.701Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1511 [2023-09-12T20:40:54.701Z] project root: . [2023-09-12T20:40:54.701Z] --> token set from env [2023-09-12T20:40:54.701Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-09-12T20:40:54.701Z] ==> Running gcov in . (disable via -X gcov) [2023-09-12T20:40:54.701Z] ==> Python coveragepy not found [2023-09-12T20:40:54.701Z] ==> Searching for coverage reports in: [2023-09-12T20:40:54.701Z] + . [2023-09-12T20:40:54.701Z] -> Found 1 reports [2023-09-12T20:40:54.701Z] ==> Detecting git/mercurial file structure [2023-09-12T20:40:54.960Z] ==> Reading reports [2023-09-12T20:40:54.960Z] + ./coverage.out bytes=120468 [2023-09-12T20:40:54.960Z] ==> Appending adjustments [2023-09-12T20:40:54.960Z] https://docs.codecov.io/docs/fixing-reports [2023-09-12T20:40:55.219Z] + Found adjustments [2023-09-12T20:40:55.219Z] ==> Gzipping contents [2023-09-12T20:40:55.219Z] 20K /tmp/codecov.Gqy6lq.gz [2023-09-12T20:40:55.219Z] ==> Uploading reports [2023-09-12T20:40:55.219Z] url: https://codecov.io [2023-09-12T20:40:55.219Z] query: branch=PR-1511&commit=0177dab66d32070dd404c7dfe98e224423ad2c7c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1511%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1511&job=&cmd_args= [2023-09-12T20:40:55.219Z] -> Pinging Codecov [2023-09-12T20:40:55.219Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1511&commit=0177dab66d32070dd404c7dfe98e224423ad2c7c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1511%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1511&job=&cmd_args= [2023-09-12T20:40:55.219Z] -> Uploading to [2023-09-12T20:40:55.219Z] https://storage.googleapis.com/codecov/v4/raw/2023-09-12/7E55EF52A471D76F132DFD9A03CDDE97/0177dab66d32070dd404c7dfe98e224423ad2c7c/c82acfa7-6aaf-4728-9848-de167f051f9e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230912%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230912T204055Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a77eb759f3bab39a280ea32c9cec13bc326ee1d1163dbe67071748797ce052c3 [2023-09-12T20:40:55.219Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-09-12T20:40:55.219Z] Dload Upload Total Spent Left Speed [2023-09-12T20:40:55.480Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 16430 0 0 100 16430 0 80539 --:--:-- --:--:-- --:--:-- 80539 [2023-09-12T20:40:55.480Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/0177dab66d32070dd404c7dfe98e224423ad2c7c [Pipeline] } [2023-09-12T20:40:55.505Z] 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-09-12T20:40:57.436Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1511/archives ] [2023-09-12T20:40:57.436Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1511/archives [2023-09-12T20:40:57.436Z] total 16 [2023-09-12T20:40:57.436Z] drwxr-xr-x 3 root root 4096 Sep 12 20:30 . [2023-09-12T20:40:57.436Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 20:30 .. [2023-09-12T20:40:57.436Z] drwxr-xr-x 2 root root 4096 Sep 12 20:30 cost [2023-09-12T20:40:57.436Z] -rw-r--r-- 1 root root 86 Sep 12 20:30 cost.csv [2023-09-12T20:40:57.436Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1511/archives [2023-09-12T20:40:57.436Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1511/archives [2023-09-12T20:40:57.436Z] total 16 [2023-09-12T20:40:57.436Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 12 20:30 . [2023-09-12T20:40:57.436Z] drwxrwxr-x 12 jenkins jenkins 4096 Sep 12 20:30 .. [2023-09-12T20:40:57.436Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 12 20:30 cost [2023-09-12T20:40:57.436Z] -rw-r--r-- 1 jenkins jenkins 86 Sep 12 20:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-09-12T20:40:57.771Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T20:40:58.670Z] ---> package-listing.sh [2023-09-12T20:40:58.670Z] ++ facter osfamily [2023-09-12T20:40:58.670Z] ++ tr '[:upper:]' '[:lower:]' [2023-09-12T20:40:58.930Z] + OS_FAMILY=debian [2023-09-12T20:40:58.930Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1511 [2023-09-12T20:40:58.930Z] + START_PACKAGES=/tmp/packages_start.txt [2023-09-12T20:40:58.930Z] + END_PACKAGES=/tmp/packages_end.txt [2023-09-12T20:40:58.930Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-09-12T20:40:58.930Z] + PACKAGES=/tmp/packages_start.txt [2023-09-12T20:40:58.930Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1511 ']' [2023-09-12T20:40:58.930Z] + PACKAGES=/tmp/packages_end.txt [2023-09-12T20:40:58.930Z] + case "${OS_FAMILY}" in [2023-09-12T20:40:58.930Z] + dpkg -l [2023-09-12T20:40:58.930Z] + grep '^ii' [2023-09-12T20:40:58.930Z] + '[' -f /tmp/packages_start.txt ']' [2023-09-12T20:40:58.930Z] + '[' -f /tmp/packages_end.txt ']' [2023-09-12T20:40:58.930Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-09-12T20:40:58.930Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1511 ']' [2023-09-12T20:40:58.930Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1511/archives/ [2023-09-12T20:40:58.930Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1511/archives/ [Pipeline] echo [2023-09-12T20:40:58.963Z] 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-1511/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-09-12T20:40:59.255Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-09-12T20:40:59.885Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-09-12T20:40:59.885Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-09-12T20:41:00.041Z] prd-ubuntu20.04-docker-8c-8g-5972 does not seem to be running inside a container [2023-09-12T20:41:00.074Z] $ 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-1511/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-1511 -v /w/workspace/gexfoundry_device-sdk-go_PR-1511:/w/workspace/gexfoundry_device-sdk-go_PR-1511:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1511@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1511@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-09-12T20:41:00.246Z] $ docker top e57f7916b8b2655aa713c10120c157f602be5ac375f736cabdf5ae99aba9bc17 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-09-12T20:41:00.637Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-09-12T20:41:00.948Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-09-12T20:41:01.257Z] + ls /var/log/sa-host [2023-09-12T20:41:01.257Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-09-12T20:41:01.477Z] provisioning config files... [2023-09-12T20:41:01.487Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1511@tmp/config12862874535506021946tmp [Pipeline] { [Pipeline] echo [2023-09-12T20:41:01.541Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T20:41:01.847Z] ---> create-netrc.sh [Pipeline] } [2023-09-12T20:41:01.873Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-09-12T20:41:02.278Z] ---> python-tools-install.sh [Pipeline] echo [2023-09-12T20:41:02.309Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T20:41:02.620Z] ---> sudo-logs.sh [2023-09-12T20:41:02.620Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-09-12T20:41:02.708Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T20:41:03.016Z] ---> job-cost.sh [2023-09-12T20:41:03.016Z] lf-activate-venv: SKIPPING [2023-09-12T20:41:03.016Z] DEBUG: total: 0.2199999988079071 [2023-09-12T20:41:03.016Z] INFO: Retrieving Stack Cost... [2023-09-12T20:41:03.275Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-09-12T20:41:03.841Z] INFO: Archiving Costs [Pipeline] echo [2023-09-12T20:41:03.875Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-09-12T20:41:04.183Z] ---> logs-deploy.sh [2023-09-12T20:41:04.183Z] lf-activate-venv: SKIPPING [2023-09-12T20:41:04.183Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1511/1 [2023-09-12T20:41:04.183Z] INFO: archiving workspace using pattern(s): [2023-09-12T20:41:05.118Z] Archives upload complete. [2023-09-12T20:41:05.377Z] INFO: archiving logs to Nexus [2023-09-12T20:41:05.943Z] ---> uname -a: [2023-09-12T20:41:05.943Z] Linux prd-ubuntu20-04-docker-8c-8g-5972 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-09-12T20:41:05.943Z] [2023-09-12T20:41:05.943Z] [2023-09-12T20:41:05.943Z] ---> lscpu: [2023-09-12T20:41:05.943Z] Architecture: x86_64 [2023-09-12T20:41:05.943Z] CPU op-mode(s): 32-bit, 64-bit [2023-09-12T20:41:05.943Z] Byte Order: Little Endian [2023-09-12T20:41:05.943Z] Address sizes: 40 bits physical, 48 bits virtual [2023-09-12T20:41:05.943Z] CPU(s): 8 [2023-09-12T20:41:05.943Z] On-line CPU(s) list: 0-7 [2023-09-12T20:41:05.943Z] Thread(s) per core: 1 [2023-09-12T20:41:05.943Z] Core(s) per socket: 1 [2023-09-12T20:41:05.943Z] Socket(s): 8 [2023-09-12T20:41:05.943Z] NUMA node(s): 1 [2023-09-12T20:41:05.943Z] Vendor ID: AuthenticAMD [2023-09-12T20:41:05.943Z] CPU family: 23 [2023-09-12T20:41:05.943Z] Model: 49 [2023-09-12T20:41:05.943Z] Model name: AMD EPYC-Rome Processor [2023-09-12T20:41:05.943Z] Stepping: 0 [2023-09-12T20:41:05.943Z] CPU MHz: 2799.998 [2023-09-12T20:41:05.943Z] BogoMIPS: 5599.99 [2023-09-12T20:41:05.943Z] Virtualization: AMD-V [2023-09-12T20:41:05.943Z] Hypervisor vendor: KVM [2023-09-12T20:41:05.943Z] Virtualization type: full [2023-09-12T20:41:05.943Z] L1d cache: 256 KiB [2023-09-12T20:41:05.943Z] L1i cache: 256 KiB [2023-09-12T20:41:05.943Z] L2 cache: 4 MiB [2023-09-12T20:41:05.943Z] L3 cache: 128 MiB [2023-09-12T20:41:05.943Z] NUMA node0 CPU(s): 0-7 [2023-09-12T20:41:05.943Z] Vulnerability Itlb multihit: Not affected [2023-09-12T20:41:05.943Z] Vulnerability L1tf: Not affected [2023-09-12T20:41:05.943Z] Vulnerability Mds: Not affected [2023-09-12T20:41:05.943Z] Vulnerability Meltdown: Not affected [2023-09-12T20:41:05.943Z] Vulnerability Mmio stale data: Not affected [2023-09-12T20:41:05.943Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-09-12T20:41:05.943Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-09-12T20:41:05.943Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-09-12T20:41:05.943Z] Vulnerability Srbds: Not affected [2023-09-12T20:41:05.943Z] Vulnerability Tsx async abort: Not affected [2023-09-12T20:41:05.943Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2023-09-12T20:41:05.943Z] [2023-09-12T20:41:05.943Z]