Pull request #1426 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 5397cf4d9550cf047ef284ce3ec24ff252b4a04b+bf9c3392919180a8df7f2fb5f876c062118bfa6b (9a34adf95e8d2755235241cca02d072ba3870cf1) 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-ssh17944032847585335718.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh2675509510552060698.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-1426/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-1426/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8390832805373589975.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-1426/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10125014172358610283.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh3220321751814680074.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-1426/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-1426/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8464548172575143233.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-sdk-go, dockerImageName:device-sdk-simple, dockerFilePath:example/cmd/device-simple/Dockerfile, pushImage:false, publishSwaggerDocs:true, swaggerApiFolders:[openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-sdk-go-settings PROJECT: device-sdk-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: example/cmd/device-simple/Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-sdk-simple DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: false BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-8951’ Running on prd-ubuntu20.04-docker-8c-8g-8955 in /w/workspace/gexfoundry_device-sdk-go_PR-1426 [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-1426 # 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/1426/head:refs/remotes/origin/PR-1426 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bf9c3392919180a8df7f2fb5f876c062118bfa6b into PR head commit 5397cf4d9550cf047ef284ce3ec24ff252b4a04b Merge succeeded, producing 5397cf4d9550cf047ef284ce3ec24ff252b4a04b Checking out Revision 5397cf4d9550cf047ef284ce3ec24ff252b4a04b (PR-1426) Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage > git config core.sparsecheckout # timeout=10 > git checkout -f 5397cf4d9550cf047ef284ce3ec24ff252b4a04b # 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 bf9c3392919180a8df7f2fb5f876c062118bfa6b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 5397cf4d9550cf047ef284ce3ec24ff252b4a04b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-18T17:27:47.957Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-18T17:27:48.139Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-18T17:27:48.243Z] ========================================================= [2023-04-18T17:27:48.243Z] EdgeX Global Pipelines Version Info [2023-04-18T17:27:48.243Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-18T17:27:48.979Z] ------------------- [2023-04-18T17:27:48.979Z] stable info: [2023-04-18T17:27:48.979Z] ------------------- [2023-04-18T17:27:48.979Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-18T17:27:48.979Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T17:27:48.979Z] Message: update stable to v1.0.248 [2023-04-18T17:27:49.552Z] ------------------- [2023-04-18T17:27:49.552Z] experimental info: [2023-04-18T17:27:49.552Z] ------------------- [2023-04-18T17:27:49.552Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-18T17:27:49.552Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-18T17:27:49.552Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-18T17:27:49.863Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-04-18T17:27:49.981Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-04-18T17:27:50.037Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-18T17:27:50.086Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-18T17:27:50.145Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-18T17:27:50.198Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-18T17:27:50.242Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-18T17:27:50.287Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-04-18T17:27:50.328Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-18T17:27:50.370Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-18T17:27:50.411Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-18T17:27:50.453Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-04-18T17:27:50.501Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-18T17:27:50.543Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-18T17:27:50.589Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-18T17:27:50.636Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T17:27:50.679Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T17:27:50.723Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-18T17:27:50.766Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-18T17:27:50.806Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-18T17:27:50.843Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-04-18T17:27:50.878Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-04-18T17:27:50.916Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-18T17:27:50.953Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-18T17:27:50.989Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-18T17:27:51.025Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-18T17:27:51.071Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-18T17:27:51.110Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1426 [Pipeline] echo [2023-04-18T17:27:51.147Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1426 [Pipeline] echo [2023-04-18T17:27:51.185Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1426 [Pipeline] echo [2023-04-18T17:27:51.225Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 5397cf4d9550cf047ef284ce3ec24ff252b4a04b [Pipeline] echo [2023-04-18T17:27:51.263Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 5397cf4 [Pipeline] echo [2023-04-18T17:27:51.306Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T17:27:51.416Z] provisioning config files... [2023-04-18T17:27:51.448Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1426@tmp/config6411491772834643117tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T17:27:51.803Z] ---> docker-login.sh [2023-04-18T17:27:51.804Z] nexus3.edgexfoundry.org:10001 [2023-04-18T17:27:52.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T17:27:52.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T17:27:52.064Z] Configure a credential helper to remove this warning. See [2023-04-18T17:27:52.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T17:27:52.064Z] [2023-04-18T17:27:52.064Z] Login Succeeded [2023-04-18T17:27:52.064Z] nexus3.edgexfoundry.org:10002 [2023-04-18T17:27:52.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T17:27:52.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T17:27:52.064Z] Configure a credential helper to remove this warning. See [2023-04-18T17:27:52.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T17:27:52.064Z] [2023-04-18T17:27:52.064Z] Login Succeeded [2023-04-18T17:27:52.064Z] nexus3.edgexfoundry.org:10003 [2023-04-18T17:27:52.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T17:27:52.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T17:27:52.338Z] Configure a credential helper to remove this warning. See [2023-04-18T17:27:52.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T17:27:52.338Z] [2023-04-18T17:27:52.338Z] Login Succeeded [2023-04-18T17:27:52.338Z] nexus3.edgexfoundry.org:10004 [2023-04-18T17:27:52.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T17:27:52.338Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T17:27:52.338Z] Configure a credential helper to remove this warning. See [2023-04-18T17:27:52.338Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T17:27:52.338Z] [2023-04-18T17:27:52.338Z] Login Succeeded [2023-04-18T17:27:52.338Z] docker.io [2023-04-18T17:27:52.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T17:27:52.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T17:27:52.598Z] Configure a credential helper to remove this warning. See [2023-04-18T17:27:52.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T17:27:52.598Z] [2023-04-18T17:27:52.598Z] Login Succeeded [2023-04-18T17:27:52.598Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T17:27:52.625Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-18T17:27:53.264Z] + git rev-list -1 --merges 5397cf4d9550cf047ef284ce3ec24ff252b4a04b~1..5397cf4d9550cf047ef284ce3ec24ff252b4a04b [Pipeline] echo [2023-04-18T17:27:53.331Z] -----------> git rev-list -1 --merges 5397cf4d9550cf047ef284ce3ec24ff252b4a04b~1..5397cf4d9550cf047ef284ce3ec24ff252b4a04b 5397cf4d9550cf047ef284ce3ec24ff252b4a04b [false] [Pipeline] sh [2023-04-18T17:27:53.643Z] + git log --format=format:%s -1 5397cf4d9550cf047ef284ce3ec24ff252b4a04b [Pipeline] echo [2023-04-18T17:27:53.678Z] ========================================================= [2023-04-18T17:27:53.678Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-18T17:27:53.678Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T17:27:54.118Z] + git log --format=format:%s -1 5397cf4d9550cf047ef284ce3ec24ff252b4a04b [Pipeline] echo [2023-04-18T17:27:54.152Z] [semverPrep] GIT_COMMIT: 5397cf4d9550cf047ef284ce3ec24ff252b4a04b, Commit Message: build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-04-18T17:27:54.183Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-18T17:27:54.558Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-18T17:27:54.559Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-18T17:27:54.559Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-18T17:27:54.559Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-18T17:27:54.559Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-04-18T17:27:54.559Z] -a /etc/ssh/ssh_known_hosts [2023-04-18T17:27:54.559Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T17:27:55.001Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T17:27:55.001Z] [2023-04-18T17:27:55.001Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T17:27:55.389Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T17:27:55.390Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-18T17:27:55.390Z] b85a868b505f: Pulling fs layer [2023-04-18T17:27:55.390Z] e2be974225ed: Pulling fs layer [2023-04-18T17:27:55.390Z] 339a4e72a1f5: Pulling fs layer [2023-04-18T17:27:55.390Z] 988bab9f4d93: Pulling fs layer [2023-04-18T17:27:55.390Z] 1469e6f7b9e6: Pulling fs layer [2023-04-18T17:27:55.390Z] eaf3925da568: Pulling fs layer [2023-04-18T17:27:55.390Z] bab4dde63d76: Pulling fs layer [2023-04-18T17:27:55.390Z] bde34c3a00c8: Pulling fs layer [2023-04-18T17:27:55.390Z] b352a97aabf1: Pulling fs layer [2023-04-18T17:27:55.390Z] 4872d77fe225: Pulling fs layer [2023-04-18T17:27:55.390Z] 5851b861e8e6: Pulling fs layer [2023-04-18T17:27:55.390Z] bab4dde63d76: Waiting [2023-04-18T17:27:55.390Z] bde34c3a00c8: Waiting [2023-04-18T17:27:55.390Z] b352a97aabf1: Waiting [2023-04-18T17:27:55.390Z] 4872d77fe225: Waiting [2023-04-18T17:27:55.390Z] 5851b861e8e6: Waiting [2023-04-18T17:27:55.390Z] 988bab9f4d93: Waiting [2023-04-18T17:27:55.390Z] 1469e6f7b9e6: Waiting [2023-04-18T17:27:55.390Z] eaf3925da568: Waiting [2023-04-18T17:27:55.390Z] e2be974225ed: Verifying Checksum [2023-04-18T17:27:55.390Z] e2be974225ed: Download complete [2023-04-18T17:27:55.390Z] 988bab9f4d93: Verifying Checksum [2023-04-18T17:27:55.390Z] 988bab9f4d93: Download complete [2023-04-18T17:27:55.652Z] 1469e6f7b9e6: Verifying Checksum [2023-04-18T17:27:55.652Z] 1469e6f7b9e6: Download complete [2023-04-18T17:27:55.652Z] 339a4e72a1f5: Verifying Checksum [2023-04-18T17:27:55.652Z] 339a4e72a1f5: Download complete [2023-04-18T17:27:55.652Z] eaf3925da568: Verifying Checksum [2023-04-18T17:27:55.652Z] eaf3925da568: Download complete [2023-04-18T17:27:55.652Z] bde34c3a00c8: Verifying Checksum [2023-04-18T17:27:55.652Z] bde34c3a00c8: Download complete [2023-04-18T17:27:55.652Z] b352a97aabf1: Download complete [2023-04-18T17:27:55.652Z] 4872d77fe225: Download complete [2023-04-18T17:27:55.652Z] 5851b861e8e6: Verifying Checksum [2023-04-18T17:27:55.652Z] 5851b861e8e6: Download complete [2023-04-18T17:27:55.652Z] b85a868b505f: Verifying Checksum [2023-04-18T17:27:55.652Z] b85a868b505f: Download complete [2023-04-18T17:27:55.912Z] bab4dde63d76: Verifying Checksum [2023-04-18T17:27:55.912Z] bab4dde63d76: Download complete [2023-04-18T17:27:56.849Z] b85a868b505f: Pull complete [2023-04-18T17:27:57.109Z] e2be974225ed: Pull complete [2023-04-18T17:27:57.680Z] 339a4e72a1f5: Pull complete [2023-04-18T17:27:57.680Z] 988bab9f4d93: Pull complete [2023-04-18T17:27:57.941Z] 1469e6f7b9e6: Pull complete [2023-04-18T17:27:57.941Z] eaf3925da568: Pull complete [2023-04-18T17:27:59.843Z] bab4dde63d76: Pull complete [2023-04-18T17:27:59.843Z] bde34c3a00c8: Pull complete [2023-04-18T17:28:00.102Z] b352a97aabf1: Pull complete [2023-04-18T17:28:00.102Z] 4872d77fe225: Pull complete [2023-04-18T17:28:00.102Z] 5851b861e8e6: Pull complete [2023-04-18T17:28:00.102Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-18T17:28:00.102Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-18T17:28:00.102Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T17:28:00.350Z] prd-ubuntu20.04-docker-8c-8g-8955 does not seem to be running inside a container [2023-04-18T17:28:00.380Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1426 -v /w/workspace/gexfoundry_device-sdk-go_PR-1426:/w/workspace/gexfoundry_device-sdk-go_PR-1426:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1426@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1426@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-18T17:28:04.058Z] $ docker top 4a7a3cadb5adb50924299787f8c4f55fde66470fac0d67cf554171eaf621457f -eo pid,comm [2023-04-18T17:28:04.112Z] 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-04-18T17:28:04.112Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-18T17:28:04.237Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T17:28:04.237Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T17:28:04.356Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T17:28:04.358Z] $ docker exec 4a7a3cadb5adb50924299787f8c4f55fde66470fac0d67cf554171eaf621457f ssh-agent [2023-04-18T17:28:04.467Z] SSH_AUTH_SOCK=/tmp/ssh-0dcKevdCFY6D/agent.32 [2023-04-18T17:28:04.467Z] SSH_AGENT_PID=38 [2023-04-18T17:28:04.474Z] Running ssh-add (command line suppressed) [2023-04-18T17:28:04.581Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1426@tmp/private_key_18409803809116399562.key (/w/workspace/gexfoundry_device-sdk-go_PR-1426@tmp/private_key_18409803809116399562.key) [2023-04-18T17:28:04.594Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T17:28:04.919Z] + git tag --points-at HEAD [Pipeline] } [2023-04-18T17:28:04.945Z] $ docker exec --env ******** --env ******** 4a7a3cadb5adb50924299787f8c4f55fde66470fac0d67cf554171eaf621457f ssh-agent -k [2023-04-18T17:28:05.053Z] unset SSH_AUTH_SOCK; [2023-04-18T17:28:05.053Z] unset SSH_AGENT_PID; [2023-04-18T17:28:05.053Z] echo Agent pid 38 killed; [2023-04-18T17:28:05.063Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-18T17:28:05.158Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-18T17:28:05.158Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-18T17:28:05.267Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-18T17:28:05.270Z] $ docker exec 4a7a3cadb5adb50924299787f8c4f55fde66470fac0d67cf554171eaf621457f ssh-agent [2023-04-18T17:28:05.395Z] SSH_AUTH_SOCK=/tmp/ssh-mRi27cUw4HW0/agent.70 [2023-04-18T17:28:05.395Z] SSH_AGENT_PID=76 [2023-04-18T17:28:05.401Z] Running ssh-add (command line suppressed) [2023-04-18T17:28:05.508Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1426@tmp/private_key_2986501976146283295.key (/w/workspace/gexfoundry_device-sdk-go_PR-1426@tmp/private_key_2986501976146283295.key) [2023-04-18T17:28:05.520Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-18T17:28:05.861Z] + git semver init [2023-04-18T17:28:06.120Z] 2023-04-18 17:28:06,052 [run_init] DEBUG init version:0.0.0 force:False [2023-04-18T17:28:06.120Z] 2023-04-18 17:28:06,053 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1426/.semver [2023-04-18T17:28:06.120Z] 2023-04-18 17:28:06,054 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1426/.semver [2023-04-18T17:28:06.120Z] 2023-04-18 17:28:06,054 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1426/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1426, universal_newlines=False, shell=None, istream=None) [2023-04-18T17:28:07.059Z] 2023-04-18 17:28:06,999 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1426/.git/info/exclude [2023-04-18T17:28:07.059Z] 2023-04-18 17:28:07,000 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1426/.semver/PR-1426 with force:False [2023-04-18T17:28:07.059Z] 2023-04-18 17:28:07,000 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1426/.semver/PR-1426 [2023-04-18T17:28:07.059Z] 2023-04-18 17:28:07,005 [execute] INFO git cat-file --batch-check [2023-04-18T17:28:07.059Z] 2023-04-18 17:28:07,005 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1426/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T17:28:07.059Z] 2023-04-18 17:28:07,012 [execute] INFO git cat-file --batch [2023-04-18T17:28:07.059Z] 2023-04-18 17:28:07,012 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1426/.semver, universal_newlines=False, shell=None, istream=) [2023-04-18T17:28:07.059Z] 2023-04-18 17:28:07,017 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1426/.semver/PR-1426 [2023-04-18T17:28:07.059Z] 0.0.0 [Pipeline] } [2023-04-18T17:28:07.083Z] $ docker exec --env ******** --env ******** 4a7a3cadb5adb50924299787f8c4f55fde66470fac0d67cf554171eaf621457f ssh-agent -k [2023-04-18T17:28:07.195Z] unset SSH_AUTH_SOCK; [2023-04-18T17:28:07.196Z] unset SSH_AGENT_PID; [2023-04-18T17:28:07.196Z] echo Agent pid 76 killed; [2023-04-18T17:28:07.205Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-18T17:28:07.621Z] + git semver [Pipeline] } [2023-04-18T17:28:07.905Z] $ docker stop --time=1 4a7a3cadb5adb50924299787f8c4f55fde66470fac0d67cf554171eaf621457f [2023-04-18T17:28:09.185Z] $ docker rm -f --volumes 4a7a3cadb5adb50924299787f8c4f55fde66470fac0d67cf554171eaf621457f [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T17:28:09.575Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-18T17:28:09.856Z] Stashed 1 file(s) [Pipeline] echo [2023-04-18T17:28:09.874Z] [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-04-18T17:28:10.562Z] provisioning config files... [2023-04-18T17:28:10.573Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1426@tmp/config7144267767178662138tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T17:28:10.919Z] ---> docker-login.sh [2023-04-18T17:28:10.919Z] nexus3.edgexfoundry.org:10001 [2023-04-18T17:28:10.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T17:28:10.919Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T17:28:10.919Z] Configure a credential helper to remove this warning. See [2023-04-18T17:28:10.919Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T17:28:10.919Z] [2023-04-18T17:28:10.919Z] Login Succeeded [2023-04-18T17:28:10.919Z] nexus3.edgexfoundry.org:10002 [2023-04-18T17:28:10.919Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T17:28:11.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T17:28:11.181Z] Configure a credential helper to remove this warning. See [2023-04-18T17:28:11.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T17:28:11.181Z] [2023-04-18T17:28:11.181Z] Login Succeeded [2023-04-18T17:28:11.181Z] nexus3.edgexfoundry.org:10003 [2023-04-18T17:28:11.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T17:28:11.181Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T17:28:11.181Z] Configure a credential helper to remove this warning. See [2023-04-18T17:28:11.181Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T17:28:11.181Z] [2023-04-18T17:28:11.181Z] Login Succeeded [2023-04-18T17:28:11.181Z] nexus3.edgexfoundry.org:10004 [2023-04-18T17:28:11.181Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T17:28:11.441Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T17:28:11.441Z] Configure a credential helper to remove this warning. See [2023-04-18T17:28:11.441Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T17:28:11.441Z] [2023-04-18T17:28:11.441Z] Login Succeeded [2023-04-18T17:28:11.441Z] docker.io [2023-04-18T17:28:11.441Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T17:28:11.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T17:28:11.704Z] Configure a credential helper to remove this warning. See [2023-04-18T17:28:11.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T17:28:11.704Z] [2023-04-18T17:28:11.704Z] Login Succeeded [2023-04-18T17:28:11.704Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T17:28:11.730Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T17:28:11.957Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T17:28:11.992Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T17:28:12.024Z] ========================================================= [2023-04-18T17:28:12.024Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-18T17:28:12.024Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T17:28:12.536Z] + docker build -t ci-base-image-x86_64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-18T17:28:12.536Z] Sending build context to Docker daemon 10.99MB [2023-04-18T17:28:12.536Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T17:28:12.536Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-18T17:28:12.536Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-18T17:28:12.536Z] 63b65145d645: Pulling fs layer [2023-04-18T17:28:12.536Z] a2d21d5440eb: Pulling fs layer [2023-04-18T17:28:12.536Z] 935e6c44a52c: Pulling fs layer [2023-04-18T17:28:12.536Z] 94cc34f8dd06: Pulling fs layer [2023-04-18T17:28:12.536Z] 30dea6a524f1: Pulling fs layer [2023-04-18T17:28:12.536Z] a2aff8979fd8: Pulling fs layer [2023-04-18T17:28:12.536Z] 6808be2612f2: Pulling fs layer [2023-04-18T17:28:12.536Z] f25807f1079a: Pulling fs layer [2023-04-18T17:28:12.536Z] 94cc34f8dd06: Waiting [2023-04-18T17:28:12.536Z] 6808be2612f2: Waiting [2023-04-18T17:28:12.536Z] 30dea6a524f1: Waiting [2023-04-18T17:28:12.536Z] f25807f1079a: Waiting [2023-04-18T17:28:12.536Z] a2aff8979fd8: Waiting [2023-04-18T17:28:12.794Z] a2d21d5440eb: Download complete [2023-04-18T17:28:12.794Z] 94cc34f8dd06: Download complete [2023-04-18T17:28:12.794Z] 30dea6a524f1: Verifying Checksum [2023-04-18T17:28:12.794Z] 30dea6a524f1: Download complete [2023-04-18T17:28:12.794Z] 63b65145d645: Verifying Checksum [2023-04-18T17:28:12.794Z] 63b65145d645: Download complete [2023-04-18T17:28:12.794Z] a2aff8979fd8: Verifying Checksum [2023-04-18T17:28:12.794Z] a2aff8979fd8: Download complete [2023-04-18T17:28:12.794Z] 63b65145d645: Pull complete [2023-04-18T17:28:13.052Z] a2d21d5440eb: Pull complete [2023-04-18T17:28:13.052Z] f25807f1079a: Verifying Checksum [2023-04-18T17:28:13.052Z] f25807f1079a: Download complete [2023-04-18T17:28:13.310Z] 935e6c44a52c: Verifying Checksum [2023-04-18T17:28:13.310Z] 935e6c44a52c: Download complete [2023-04-18T17:28:13.568Z] 6808be2612f2: Verifying Checksum [2023-04-18T17:28:13.568Z] 6808be2612f2: Download complete [2023-04-18T17:28:17.752Z] 935e6c44a52c: Pull complete [2023-04-18T17:28:17.753Z] 94cc34f8dd06: Pull complete [2023-04-18T17:28:17.753Z] 30dea6a524f1: Pull complete [2023-04-18T17:28:17.753Z] a2aff8979fd8: Pull complete [2023-04-18T17:28:20.288Z] 6808be2612f2: Pull complete [2023-04-18T17:28:20.548Z] f25807f1079a: Pull complete [2023-04-18T17:28:20.548Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-18T17:28:20.548Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-18T17:28:20.548Z] ---> 3b553350e43f [2023-04-18T17:28:20.548Z] Step 3/10 : ARG MAKE=make build [2023-04-18T17:28:25.374Z] Still waiting to schedule task [2023-04-18T17:28:25.374Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-8952’ [2023-04-18T17:28:25.857Z] ---> Running in e70b0df48030 [2023-04-18T17:28:25.857Z] Removing intermediate container e70b0df48030 [2023-04-18T17:28:25.857Z] ---> d9e2530038b3 [2023-04-18T17:28:25.857Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-18T17:28:25.857Z] ---> Running in 338127ae99ab [2023-04-18T17:28:25.857Z] Removing intermediate container 338127ae99ab [2023-04-18T17:28:25.857Z] ---> 6933d204916b [2023-04-18T17:28:25.857Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-18T17:28:25.857Z] ---> Running in 2bbe2bc53d8d [2023-04-18T17:28:25.857Z] Removing intermediate container 2bbe2bc53d8d [2023-04-18T17:28:25.857Z] ---> 0918d5d03195 [2023-04-18T17:28:25.857Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-18T17:28:25.857Z] ---> Running in ab38c663eb17 [2023-04-18T17:28:25.857Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T17:28:25.857Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T17:28:25.857Z] OK: 265 MiB in 53 packages [2023-04-18T17:28:26.115Z] Removing intermediate container ab38c663eb17 [2023-04-18T17:28:26.115Z] ---> 00367dc82d4f [2023-04-18T17:28:26.115Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-18T17:28:26.373Z] ---> 79c094e110ec [2023-04-18T17:28:26.373Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T17:28:26.373Z] ---> Running in 2539dc06c260 [2023-04-18T17:28:53.102Z] Removing intermediate container 2539dc06c260 [2023-04-18T17:28:53.102Z] ---> 894c5f1be490 [2023-04-18T17:28:53.102Z] Step 9/10 : COPY . . [2023-04-18T17:28:53.671Z] ---> a552d61124b5 [2023-04-18T17:28:53.671Z] Step 10/10 : RUN ${MAKE} [2023-04-18T17:28:53.671Z] ---> Running in ba781a7aaec0 [2023-04-18T17:28:53.928Z] noop [2023-04-18T17:28:54.187Z] Removing intermediate container ba781a7aaec0 [2023-04-18T17:28:54.187Z] ---> 4572d224aefe [2023-04-18T17:28:54.187Z] Successfully built 4572d224aefe [2023-04-18T17:28:54.187Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T17:28:54.717Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T17:28:54.717Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T17:28:54.876Z] prd-ubuntu20.04-docker-8c-8g-8955 does not seem to be running inside a container [2023-04-18T17:28:54.917Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1426 -v /w/workspace/gexfoundry_device-sdk-go_PR-1426:/w/workspace/gexfoundry_device-sdk-go_PR-1426:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1426@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1426@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-18T17:28:55.248Z] $ docker top a497b9464ba619bc7c7ae2966873cee5f9e7f8c3c3ea8642269b1d8764c570b4 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T17:28:55.633Z] + go version [2023-04-18T17:28:55.633Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-18T17:28:55.673Z] $ docker stop --time=1 a497b9464ba619bc7c7ae2966873cee5f9e7f8c3c3ea8642269b1d8764c570b4 [2023-04-18T17:28:56.944Z] $ docker rm -f --volumes a497b9464ba619bc7c7ae2966873cee5f9e7f8c3c3ea8642269b1d8764c570b4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T17:28:57.719Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-18T17:28:57.719Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T17:28:57.869Z] prd-ubuntu20.04-docker-8c-8g-8955 does not seem to be running inside a container [2023-04-18T17:28:57.910Z] $ 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-1426 -v /w/workspace/gexfoundry_device-sdk-go_PR-1426:/w/workspace/gexfoundry_device-sdk-go_PR-1426:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1426@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1426@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-04-18T17:28:58.225Z] $ docker top 9f487bde1d8560dd6563bbc5e00bfbe543de35e2b1bc6b44df4fe92b38069a10 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T17:28:58.619Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1426 [Pipeline] fileExists [Pipeline] sh [2023-04-18T17:28:58.979Z] + make test [2023-04-18T17:28:58.979Z] go test -race -coverprofile=coverage.out ./... [2023-04-18T17:29:05.696Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-18T17:29:20.562Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-18T17:29:20.562Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-18T17:29:20.562Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-18T17:29:20.562Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-18T17:29:20.562Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-18T17:29:20.562Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.065s coverage: 27.6% of statements [2023-04-18T17:29:20.562Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-18T17:29:20.562Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-18T17:29:20.562Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.058s coverage: 80.2% of statements [2023-04-18T17:29:20.562Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.090s coverage: 86.0% of statements [2023-04-18T17:29:21.129Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-18T17:29:21.129Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-18T17:29:21.129Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.105s coverage: 77.5% of statements [2023-04-18T17:29:21.388Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-18T17:29:21.388Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-18T17:29:22.324Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-18T17:29:24.225Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.068s coverage: 14.6% of statements [2023-04-18T17:29:24.225Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.081s coverage: 68.5% of statements [2023-04-18T17:29:24.225Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.116s coverage: 89.2% of statements [2023-04-18T17:29:24.225Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.059s coverage: 5.5% of statements [2023-04-18T17:29:46.139Z] GO111MODULE=on go vet ./... [2023-04-18T17:29:46.139Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T17:29:46.139Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T17:29:46.139Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-18T17:29:46.428Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T17:29:46.466Z] $ docker stop --time=1 9f487bde1d8560dd6563bbc5e00bfbe543de35e2b1bc6b44df4fe92b38069a10 [2023-04-18T17:29:50.746Z] $ docker rm -f --volumes 9f487bde1d8560dd6563bbc5e00bfbe543de35e2b1bc6b44df4fe92b38069a10 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T17:29:51.318Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T17:29:51.403Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-18T17:29:51.988Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T17:29:52.300Z] + ls -al . [2023-04-18T17:29:52.300Z] total 272 [2023-04-18T17:29:52.300Z] drwxrwxr-x 11 jenkins jenkins 4096 Apr 18 17:28 . [2023-04-18T17:29:52.300Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 17:27 .. [2023-04-18T17:29:52.300Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 17:27 .dockerignore [2023-04-18T17:29:52.300Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 17:28 .git [2023-04-18T17:29:52.300Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 17:27 .github [2023-04-18T17:29:52.300Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 18 17:27 .gitignore [2023-04-18T17:29:52.300Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 18 17:27 .golangci.yml [2023-04-18T17:29:52.300Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 17:28 .semver [2023-04-18T17:29:52.300Z] -rw-rw-r-- 1 jenkins jenkins 31677 Apr 18 17:27 CHANGELOG.md [2023-04-18T17:29:52.300Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 17:27 GOVERNANCE.md [2023-04-18T17:29:52.300Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 18 17:27 Jenkinsfile [2023-04-18T17:29:52.300Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 18 17:27 LICENSE [2023-04-18T17:29:52.300Z] -rw-rw-r-- 1 jenkins jenkins 1714 Apr 18 17:27 Makefile [2023-04-18T17:29:52.300Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 18 17:27 OWNERS.md [2023-04-18T17:29:52.300Z] -rw-rw-r-- 1 jenkins jenkins 4891 Apr 18 17:27 README.md [2023-04-18T17:29:52.300Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 17:28 VERSION [2023-04-18T17:29:52.300Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 17:27 bin [2023-04-18T17:29:52.300Z] -rw-r--r-- 1 jenkins jenkins 106121 Apr 18 17:29 coverage.out [2023-04-18T17:29:52.300Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 18 17:27 example [2023-04-18T17:29:52.300Z] -rw-rw-r-- 1 jenkins jenkins 3246 Apr 18 17:27 go.mod [2023-04-18T17:29:52.300Z] -rw-rw-r-- 1 jenkins jenkins 30896 Apr 18 17:27 go.sum [2023-04-18T17:29:52.300Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 18 17:27 internal [2023-04-18T17:29:52.300Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 17:27 openapi [2023-04-18T17:29:52.300Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 18 17:27 pkg [2023-04-18T17:29:52.300Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 17:27 snap [2023-04-18T17:29:52.300Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 18 17:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T17:29:52.713Z] + 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=5397cf4d9550cf047ef284ce3ec24ff252b4a04b --label arch=amd64 --label version=0.0.0 . [2023-04-18T17:29:52.713Z] Sending build context to Docker daemon 11.09MB [2023-04-18T17:29:52.713Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T17:29:52.713Z] Step 2/23 : FROM ${BASE} AS builder [2023-04-18T17:29:52.713Z] ---> 4572d224aefe [2023-04-18T17:29:52.713Z] Step 3/23 : ARG MAKE=make build [2023-04-18T17:29:52.972Z] ---> Running in 6e6abf716f06 [2023-04-18T17:29:52.973Z] Removing intermediate container 6e6abf716f06 [2023-04-18T17:29:52.973Z] ---> 873cc12ec9ba [2023-04-18T17:29:52.973Z] Step 4/23 : WORKDIR /device-sdk-go [2023-04-18T17:29:52.973Z] ---> Running in ed402506d227 [2023-04-18T17:29:53.234Z] Removing intermediate container ed402506d227 [2023-04-18T17:29:53.234Z] ---> 508c9d7bd202 [2023-04-18T17:29:53.234Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-18T17:29:53.234Z] ---> Running in 760400c658aa [2023-04-18T17:29:53.234Z] Removing intermediate container 760400c658aa [2023-04-18T17:29:53.234Z] ---> 69b0f3d621f7 [2023-04-18T17:29:53.234Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-04-18T17:29:53.234Z] ---> Running in 8e5abdba6961 [2023-04-18T17:29:53.494Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T17:29:53.494Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T17:29:53.753Z] OK: 265 MiB in 53 packages [2023-04-18T17:29:54.014Z] Removing intermediate container 8e5abdba6961 [2023-04-18T17:29:54.014Z] ---> dbc5a5b90534 [2023-04-18T17:29:54.014Z] Step 7/23 : COPY go.mod vendor* ./ [2023-04-18T17:29:54.274Z] ---> 1f906a928d41 [2023-04-18T17:29:54.274Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T17:29:54.274Z] ---> Running in 47b3a768e6ca [2023-04-18T17:29:55.208Z] Removing intermediate container 47b3a768e6ca [2023-04-18T17:29:55.208Z] ---> 4e2516b7faf4 [2023-04-18T17:29:55.208Z] Step 9/23 : COPY . . [2023-04-18T17:29:55.467Z] ---> 522211d7f879 [2023-04-18T17:29:55.467Z] Step 10/23 : RUN ${MAKE} [2023-04-18T17:29:55.467Z] ---> Running in c56610358588 [2023-04-18T17:29:55.726Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-04-18T17:30:17.651Z] Removing intermediate container c56610358588 [2023-04-18T17:30:17.651Z] ---> 00a6cce8ea6d [2023-04-18T17:30:17.651Z] Step 11/23 : FROM alpine:3.17 [2023-04-18T17:30:17.651Z] 3.17: Pulling from library/alpine [2023-04-18T17:30:17.651Z] f56be85fc22e: Pulling fs layer [2023-04-18T17:30:17.651Z] f56be85fc22e: Download complete [2023-04-18T17:30:17.651Z] f56be85fc22e: Pull complete [2023-04-18T17:30:17.651Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-18T17:30:17.651Z] Status: Downloaded newer image for alpine:3.17 [2023-04-18T17:30:17.651Z] ---> 9ed4aefc74f6 [2023-04-18T17:30:17.651Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-18T17:30:17.651Z] ---> Running in 92af7827ee99 [2023-04-18T17:30:17.651Z] Removing intermediate container 92af7827ee99 [2023-04-18T17:30:17.651Z] ---> d82386e573df [2023-04-18T17:30:17.651Z] Step 13/23 : RUN apk add --update --no-cache [2023-04-18T17:30:17.651Z] ---> Running in 02c4b96ebf9e [2023-04-18T17:30:17.651Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-18T17:30:17.651Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-18T17:30:17.651Z] OK: 7 MiB in 15 packages [2023-04-18T17:30:17.651Z] Removing intermediate container 02c4b96ebf9e [2023-04-18T17:30:17.651Z] ---> 9e5c981a2af6 [2023-04-18T17:30:17.651Z] Step 14/23 : WORKDIR / [2023-04-18T17:30:17.651Z] ---> Running in 6c2b4fbe546a [2023-04-18T17:30:17.651Z] Removing intermediate container 6c2b4fbe546a [2023-04-18T17:30:17.651Z] ---> d033cd5e59e6 [2023-04-18T17:30:17.651Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-04-18T17:30:17.651Z] ---> f7c16ceda6b4 [2023-04-18T17:30:17.651Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-04-18T17:30:17.651Z] ---> 32c656f3980f [2023-04-18T17:30:17.651Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-04-18T17:30:17.651Z] ---> 1af8b0c7c3b6 [2023-04-18T17:30:17.651Z] Step 18/23 : EXPOSE 59999 [2023-04-18T17:30:17.651Z] ---> Running in 92394f2d506e [2023-04-18T17:30:17.651Z] Removing intermediate container 92394f2d506e [2023-04-18T17:30:17.651Z] ---> 668fd6ba4e32 [2023-04-18T17:30:17.651Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-04-18T17:30:17.651Z] ---> Running in e3f3be447467 [2023-04-18T17:30:17.651Z] Removing intermediate container e3f3be447467 [2023-04-18T17:30:17.651Z] ---> 1750359672b0 [2023-04-18T17:30:17.651Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-18T17:30:17.651Z] ---> Running in 54420dfbcca7 [2023-04-18T17:30:17.911Z] Removing intermediate container 54420dfbcca7 [2023-04-18T17:30:17.911Z] ---> 74f9cd742566 [2023-04-18T17:30:17.911Z] Step 21/23 : LABEL arch=amd64 [2023-04-18T17:30:17.911Z] ---> Running in 8dfa9ad54c40 [2023-04-18T17:30:17.911Z] Removing intermediate container 8dfa9ad54c40 [2023-04-18T17:30:17.911Z] ---> b0c1fceb4f04 [2023-04-18T17:30:17.911Z] Step 22/23 : LABEL git_sha=5397cf4d9550cf047ef284ce3ec24ff252b4a04b [2023-04-18T17:30:17.911Z] ---> Running in 640dda03c39b [2023-04-18T17:30:18.169Z] Removing intermediate container 640dda03c39b [2023-04-18T17:30:18.169Z] ---> 56ccdf2424a1 [2023-04-18T17:30:18.169Z] Step 23/23 : LABEL version=0.0.0 [2023-04-18T17:30:18.169Z] ---> Running in dfb371800336 [2023-04-18T17:30:18.169Z] Removing intermediate container dfb371800336 [2023-04-18T17:30:18.169Z] ---> 11ad321c7a8e [2023-04-18T17:30:18.169Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T17:30:18.169Z] Successfully built 11ad321c7a8e [2023-04-18T17:30:18.169Z] 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-04-18T17:30:19.008Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T17:30:19.008Z] [2023-04-18T17:30:19.008Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T17:30:19.384Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T17:30:19.384Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-18T17:30:19.384Z] 5eb5b503b376: Pulling fs layer [2023-04-18T17:30:19.384Z] 5c69ac0246d0: Pulling fs layer [2023-04-18T17:30:19.384Z] ec43610c2a17: Pulling fs layer [2023-04-18T17:30:19.384Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-18T17:30:19.384Z] 33b1e0a273af: Pulling fs layer [2023-04-18T17:30:19.384Z] 5d3b04190fa2: Pulling fs layer [2023-04-18T17:30:19.384Z] 2f39f015ded8: Pulling fs layer [2023-04-18T17:30:19.384Z] 3a2ae6a8a46f: Waiting [2023-04-18T17:30:19.384Z] 33b1e0a273af: Waiting [2023-04-18T17:30:19.384Z] 5d3b04190fa2: Waiting [2023-04-18T17:30:19.384Z] 2f39f015ded8: Waiting [2023-04-18T17:30:19.384Z] 5c69ac0246d0: Verifying Checksum [2023-04-18T17:30:19.384Z] 5c69ac0246d0: Download complete [2023-04-18T17:30:19.385Z] 3a2ae6a8a46f: Download complete [2023-04-18T17:30:19.385Z] 33b1e0a273af: Verifying Checksum [2023-04-18T17:30:19.385Z] 33b1e0a273af: Download complete [2023-04-18T17:30:19.385Z] 5d3b04190fa2: Verifying Checksum [2023-04-18T17:30:19.385Z] 5d3b04190fa2: Download complete [2023-04-18T17:30:19.385Z] ec43610c2a17: Verifying Checksum [2023-04-18T17:30:19.385Z] ec43610c2a17: Download complete [2023-04-18T17:30:19.643Z] 5eb5b503b376: Verifying Checksum [2023-04-18T17:30:19.643Z] 5eb5b503b376: Download complete [2023-04-18T17:30:20.208Z] 2f39f015ded8: Download complete [2023-04-18T17:30:20.774Z] 5eb5b503b376: Pull complete [2023-04-18T17:30:20.774Z] 5c69ac0246d0: Pull complete [2023-04-18T17:30:21.341Z] ec43610c2a17: Pull complete [2023-04-18T17:30:21.341Z] 3a2ae6a8a46f: Pull complete [2023-04-18T17:30:21.341Z] 33b1e0a273af: Pull complete [2023-04-18T17:30:21.605Z] 5d3b04190fa2: Pull complete [2023-04-18T17:30:25.790Z] 2f39f015ded8: Pull complete [2023-04-18T17:30:25.790Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-18T17:30:25.790Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T17:30:25.790Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T17:30:26.056Z] prd-ubuntu20.04-docker-8c-8g-8955 does not seem to be running inside a container [2023-04-18T17:30:26.094Z] $ 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-1426 -v /w/workspace/gexfoundry_device-sdk-go_PR-1426:/w/workspace/gexfoundry_device-sdk-go_PR-1426:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1426@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1426@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-18T17:30:29.554Z] $ docker top 0dafbd8b98f8728b1c01f5bc7c7d87c0e5bf4b85c843a410d1f5d43cd01f749b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T17:30:29.970Z] ---> job-cost.sh [2023-04-18T17:30:29.970Z] lf-activate-venv: SKIPPING [2023-04-18T17:30:29.970Z] INFO: No Stack... [2023-04-18T17:30:30.229Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T17:30:30.488Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T17:30:30.804Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1426/archives/cost.csv [2023-04-18T17:30:30.804Z] + cut -d, -f6 [Pipeline] lock [2023-04-18T17:30:30.841Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1426-1-stack-cost] [2023-04-18T17:30:30.846Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1426-1-stack-cost] did not exist. Created. [2023-04-18T17:30:30.846Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1426-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T17:30:31.260Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-18T17:30:31.318Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T17:30:31.343Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1426-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T17:30:31.437Z] $ docker stop --time=1 0dafbd8b98f8728b1c01f5bc7c7d87c0e5bf4b85c843a410d1f5d43cd01f749b [2023-04-18T17:30:32.586Z] $ docker rm -f --volumes 0dafbd8b98f8728b1c01f5bc7c7d87c0e5bf4b85c843a410d1f5d43cd01f749b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-18T17:31:03.853Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8957 in /w/workspace/gexfoundry_device-sdk-go_PR-1426 [Pipeline] { [Pipeline] ws [2023-04-18T17:31:03.908Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-04-18T17:31:03.983Z] The recommended git tool is: git [2023-04-18T17:31:10.308Z] using credential edgex-jenkins-ssh [2023-04-18T17:31:10.328Z] Cloning the remote Git repository [2023-04-18T17:31:10.374Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-04-18T17:31:10.478Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-04-18T17:31:10.638Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-18T17:31:10.639Z] > git --version # timeout=10 [2023-04-18T17:31:10.665Z] > git --version # 'git version 2.25.1' [2023-04-18T17:31:10.668Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T17:31:10.841Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T17:31:12.580Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-18T17:31:12.618Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-18T17:31:13.585Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-04-18T17:31:13.633Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-04-18T17:31:13.635Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T17:31:13.653Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1426/head:refs/remotes/origin/PR-1426 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-18T17:31:14.231Z] Merging remotes/origin/main commit bf9c3392919180a8df7f2fb5f876c062118bfa6b into PR head commit 5397cf4d9550cf047ef284ce3ec24ff252b4a04b [2023-04-18T17:31:14.551Z] Merge succeeded, producing 5397cf4d9550cf047ef284ce3ec24ff252b4a04b [2023-04-18T17:31:14.551Z] Checking out Revision 5397cf4d9550cf047ef284ce3ec24ff252b4a04b (PR-1426) [2023-04-18T17:31:15.105Z] Commit message: "build(deps): bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-04-18T17:31:15.163Z] > git --version # timeout=10 [2023-04-18T17:31:15.175Z] > git --version # 'git version 2.25.1' [2023-04-18T17:31:15.193Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] withEnv [Pipeline] { [2023-04-18T17:31:14.250Z] > git config core.sparsecheckout # timeout=10 [2023-04-18T17:31:14.321Z] > git checkout -f 5397cf4d9550cf047ef284ce3ec24ff252b4a04b # timeout=10 [2023-04-18T17:31:14.446Z] > git remote # timeout=10 [2023-04-18T17:31:14.468Z] > git config --get remote.origin.url # timeout=10 [2023-04-18T17:31:14.492Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-18T17:31:14.506Z] > git merge bf9c3392919180a8df7f2fb5f876c062118bfa6b # timeout=10 [2023-04-18T17:31:14.533Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-18T17:31:14.556Z] > git config core.sparsecheckout # timeout=10 [2023-04-18T17:31:14.570Z] > git checkout -f 5397cf4d9550cf047ef284ce3ec24ff252b4a04b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T17:31:16.295Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-18T17:31:16.295Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T17:31:16.295Z] Dload Upload Total Spent Left Speed [2023-04-18T17:31:16.295Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 230k 0 --:--:-- --:--:-- --:--:-- 234k [Pipeline] sh [2023-04-18T17:31:16.957Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-18T17:31:17.311Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo [2023-04-18T17:31:17.311Z] tee /etc/docker/daemon.new [2023-04-18T17:31:17.311Z] { [2023-04-18T17:31:17.311Z] "registry-mirrors": [ [2023-04-18T17:31:17.311Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-18T17:31:17.311Z] ], [2023-04-18T17:31:17.311Z] "bip": "10.250.0.254/24", [2023-04-18T17:31:17.311Z] "hosts": [ [2023-04-18T17:31:17.311Z] "tcp://0.0.0.0:5555", [2023-04-18T17:31:17.311Z] "unix:///var/run/docker.sock" [2023-04-18T17:31:17.311Z] ], [2023-04-18T17:31:17.311Z] "mtu": 1458, [2023-04-18T17:31:17.311Z] "selinux-enabled": true, [2023-04-18T17:31:17.311Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-18T17:31:17.311Z] } [Pipeline] sh [2023-04-18T17:31:17.672Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-18T17:31:18.041Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T17:31:36.405Z] provisioning config files... [2023-04-18T17:31:36.438Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config8136865693727816352tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T17:31:36.852Z] ---> docker-login.sh [2023-04-18T17:31:36.852Z] nexus3.edgexfoundry.org:10001 [2023-04-18T17:31:37.131Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T17:31:37.402Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T17:31:37.402Z] Configure a credential helper to remove this warning. See [2023-04-18T17:31:37.402Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T17:31:37.402Z] [2023-04-18T17:31:37.402Z] Login Succeeded [2023-04-18T17:31:37.402Z] nexus3.edgexfoundry.org:10002 [2023-04-18T17:31:37.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T17:31:37.942Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T17:31:37.942Z] Configure a credential helper to remove this warning. See [2023-04-18T17:31:37.942Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T17:31:37.942Z] [2023-04-18T17:31:37.942Z] Login Succeeded [2023-04-18T17:31:37.942Z] nexus3.edgexfoundry.org:10003 [2023-04-18T17:31:38.214Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T17:31:38.214Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T17:31:38.214Z] Configure a credential helper to remove this warning. See [2023-04-18T17:31:38.214Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T17:31:38.214Z] [2023-04-18T17:31:38.214Z] Login Succeeded [2023-04-18T17:31:38.214Z] nexus3.edgexfoundry.org:10004 [2023-04-18T17:31:38.485Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T17:31:39.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T17:31:39.076Z] Configure a credential helper to remove this warning. See [2023-04-18T17:31:39.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T17:31:39.076Z] [2023-04-18T17:31:39.076Z] Login Succeeded [2023-04-18T17:31:39.076Z] docker.io [2023-04-18T17:31:39.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-18T17:31:39.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-18T17:31:39.619Z] Configure a credential helper to remove this warning. See [2023-04-18T17:31:39.619Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-18T17:31:39.619Z] [2023-04-18T17:31:39.619Z] Login Succeeded [2023-04-18T17:31:39.619Z] ---> docker-login.sh ends [Pipeline] } [2023-04-18T17:31:39.653Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-18T17:31:40.229Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T17:31:40.268Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-18T17:31:40.300Z] ========================================================= [2023-04-18T17:31:40.300Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-18T17:31:40.300Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T17:31:40.835Z] + docker build -t ci-base-image-arm64 -f example/cmd/device-simple/Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-04-18T17:31:41.431Z] Sending build context to Docker daemon 5.896MB [2023-04-18T17:31:41.431Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T17:31:41.431Z] Step 2/10 : FROM ${BASE} AS builder [2023-04-18T17:31:45.721Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-18T17:31:45.721Z] af6eaf76a39c: Pulling fs layer [2023-04-18T17:31:45.721Z] 55522c791124: Pulling fs layer [2023-04-18T17:31:45.721Z] ce5c4a1c91eb: Pulling fs layer [2023-04-18T17:31:45.721Z] 169dfbe0d373: Pulling fs layer [2023-04-18T17:31:45.721Z] e1ff8fa3b103: Pulling fs layer [2023-04-18T17:31:45.721Z] 52ebb69f0ebf: Pulling fs layer [2023-04-18T17:31:45.721Z] 5abe8eddf0d5: Pulling fs layer [2023-04-18T17:31:45.721Z] 169dfbe0d373: Waiting [2023-04-18T17:31:45.721Z] e1ff8fa3b103: Waiting [2023-04-18T17:31:45.721Z] 52ebb69f0ebf: Waiting [2023-04-18T17:31:45.721Z] 5abe8eddf0d5: Waiting [2023-04-18T17:31:45.721Z] 55522c791124: Verifying Checksum [2023-04-18T17:31:45.721Z] 55522c791124: Download complete [2023-04-18T17:31:45.721Z] 169dfbe0d373: Verifying Checksum [2023-04-18T17:31:45.721Z] 169dfbe0d373: Download complete [2023-04-18T17:31:45.721Z] e1ff8fa3b103: Verifying Checksum [2023-04-18T17:31:45.721Z] e1ff8fa3b103: Download complete [2023-04-18T17:31:45.721Z] af6eaf76a39c: Verifying Checksum [2023-04-18T17:31:45.721Z] af6eaf76a39c: Download complete [2023-04-18T17:31:47.262Z] 5abe8eddf0d5: Verifying Checksum [2023-04-18T17:31:47.262Z] 5abe8eddf0d5: Download complete [2023-04-18T17:31:48.308Z] ce5c4a1c91eb: Verifying Checksum [2023-04-18T17:31:48.308Z] ce5c4a1c91eb: Download complete [2023-04-18T17:31:48.583Z] 52ebb69f0ebf: Verifying Checksum [2023-04-18T17:31:48.583Z] 52ebb69f0ebf: Download complete [2023-04-18T17:31:49.175Z] af6eaf76a39c: Pull complete [2023-04-18T17:31:49.766Z] 55522c791124: Pull complete [2023-04-18T17:32:02.116Z] ce5c4a1c91eb: Pull complete [2023-04-18T17:32:02.116Z] 169dfbe0d373: Pull complete [2023-04-18T17:32:02.116Z] e1ff8fa3b103: Pull complete [2023-04-18T17:32:08.775Z] 52ebb69f0ebf: Pull complete [2023-04-18T17:32:10.194Z] 5abe8eddf0d5: Pull complete [2023-04-18T17:32:10.194Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-18T17:32:10.194Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-18T17:32:10.194Z] ---> 6cb57ee374ae [2023-04-18T17:32:10.194Z] Step 3/10 : ARG MAKE=make build [2023-04-18T17:32:11.621Z] ---> Running in 76b5563b147d [2023-04-18T17:32:11.893Z] Removing intermediate container 76b5563b147d [2023-04-18T17:32:11.893Z] ---> a19aefcc0b25 [2023-04-18T17:32:11.893Z] Step 4/10 : WORKDIR /device-sdk-go [2023-04-18T17:32:12.165Z] ---> Running in cef1260eb5e8 [2023-04-18T17:32:12.435Z] Removing intermediate container cef1260eb5e8 [2023-04-18T17:32:12.435Z] ---> a96d4fecde38 [2023-04-18T17:32:12.435Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-18T17:32:12.435Z] ---> Running in ca378cbe0fe6 [2023-04-18T17:32:12.716Z] Removing intermediate container ca378cbe0fe6 [2023-04-18T17:32:12.716Z] ---> 987c354169bd [2023-04-18T17:32:12.716Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-04-18T17:32:12.996Z] ---> Running in fefde3d1f7d5 [2023-04-18T17:32:14.414Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T17:32:14.685Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T17:32:16.104Z] OK: 263 MiB in 53 packages [2023-04-18T17:32:16.692Z] Removing intermediate container fefde3d1f7d5 [2023-04-18T17:32:16.692Z] ---> 15787838935f [2023-04-18T17:32:16.692Z] Step 7/10 : COPY go.mod vendor* ./ [2023-04-18T17:32:17.295Z] ---> 3f54b4a6d0c7 [2023-04-18T17:32:17.295Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T17:32:17.295Z] ---> Running in abc4ebda6689 [2023-04-18T17:33:25.219Z] Removing intermediate container abc4ebda6689 [2023-04-18T17:33:25.219Z] ---> 18e4ce985adc [2023-04-18T17:33:25.219Z] Step 9/10 : COPY . . [2023-04-18T17:33:25.219Z] ---> 9e299757998d [2023-04-18T17:33:25.219Z] Step 10/10 : RUN ${MAKE} [2023-04-18T17:33:25.219Z] ---> Running in e6de69c38a90 [2023-04-18T17:33:25.219Z] noop [2023-04-18T17:33:25.219Z] Removing intermediate container e6de69c38a90 [2023-04-18T17:33:25.219Z] ---> 07430391e9ae [2023-04-18T17:33:25.219Z] Successfully built 07430391e9ae [2023-04-18T17:33:25.219Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T17:33:25.712Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T17:33:25.712Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T17:33:26.023Z] prd-ubuntu20.04-docker-arm64-4c-16g-8957 does not seem to be running inside a container [2023-04-18T17:33:26.103Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-18T17:33:27.361Z] $ docker top 86609d09f92109aff016562a989d6b100ddd673fb5836176e1e52eafaaaad2a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T17:33:28.232Z] + go version [2023-04-18T17:33:28.232Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-18T17:33:28.382Z] $ docker stop --time=1 86609d09f92109aff016562a989d6b100ddd673fb5836176e1e52eafaaaad2a6 [2023-04-18T17:33:30.060Z] $ docker rm -f --volumes 86609d09f92109aff016562a989d6b100ddd673fb5836176e1e52eafaaaad2a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T17:33:30.917Z] + docker inspect -f . ci-base-image-arm64 [2023-04-18T17:33:30.917Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T17:33:31.166Z] prd-ubuntu20.04-docker-arm64-4c-16g-8957 does not seem to be running inside a container [2023-04-18T17:33:31.240Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-04-18T17:33:33.195Z] $ docker top fabfdb1a3f5c45ce8b2e811a354f584c12f41bf5772afe697b84d4e6db8b4a03 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T17:33:33.728Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-04-18T17:33:34.116Z] + make test [2023-04-18T17:33:34.116Z] go test -race -coverprofile=coverage.out ./... [2023-04-18T17:34:20.958Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-04-18T17:36:42.698Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-04-18T17:36:42.698Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-04-18T17:36:42.698Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-04-18T17:36:42.698Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-04-18T17:36:42.698Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-04-18T17:36:42.698Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.243s coverage: 27.6% of statements [2023-04-18T17:36:43.285Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.301s coverage: 80.2% of statements [2023-04-18T17:36:55.611Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-04-18T17:36:55.611Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-04-18T17:36:55.611Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.365s coverage: 86.0% of statements [2023-04-18T17:37:03.826Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-04-18T17:37:03.826Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.455s coverage: 77.5% of statements [2023-04-18T17:37:07.183Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-04-18T17:37:09.142Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-04-18T17:37:09.142Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-04-18T17:37:10.104Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.256s coverage: 14.6% of statements [2023-04-18T17:37:10.104Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.411s coverage: 68.5% of statements [2023-04-18T17:37:13.466Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.463s coverage: 89.2% of statements [2023-04-18T17:37:14.427Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-04-18T17:37:14.696Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.276s coverage: 5.5% of statements [2023-04-18T17:37:15.666Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-18T17:37:15.666Z] GO111MODULE=on go vet ./... [2023-04-18T17:39:52.434Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-18T17:39:52.434Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-18T17:39:52.434Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-18T17:39:52.480Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-18T17:39:52.533Z] $ docker stop --time=1 fabfdb1a3f5c45ce8b2e811a354f584c12f41bf5772afe697b84d4e6db8b4a03 [2023-04-18T17:39:56.046Z] $ docker rm -f --volumes fabfdb1a3f5c45ce8b2e811a354f584c12f41bf5772afe697b84d4e6db8b4a03 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-18T17:39:57.753Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-18T17:39:57.792Z] Warning: overwriting stash ‘coverage-report’ [2023-04-18T17:39:58.453Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-18T17:39:59.070Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-18T17:39:59.414Z] + ls -al . [2023-04-18T17:39:59.414Z] total 268 [2023-04-18T17:39:59.414Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 17:33 . [2023-04-18T17:39:59.414Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 17:31 .. [2023-04-18T17:39:59.414Z] -rw-rw-r-- 1 jenkins jenkins 140 Apr 18 17:31 .dockerignore [2023-04-18T17:39:59.414Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 17:31 .git [2023-04-18T17:39:59.414Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 17:31 .github [2023-04-18T17:39:59.414Z] -rw-rw-r-- 1 jenkins jenkins 131 Apr 18 17:31 .gitignore [2023-04-18T17:39:59.414Z] -rw-rw-r-- 1 jenkins jenkins 42 Apr 18 17:31 .golangci.yml [2023-04-18T17:39:59.414Z] -rw-rw-r-- 1 jenkins jenkins 31677 Apr 18 17:31 CHANGELOG.md [2023-04-18T17:39:59.414Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 17:31 GOVERNANCE.md [2023-04-18T17:39:59.414Z] -rw-rw-r-- 1 jenkins jenkins 885 Apr 18 17:31 Jenkinsfile [2023-04-18T17:39:59.414Z] -rw-rw-r-- 1 jenkins jenkins 11341 Apr 18 17:31 LICENSE [2023-04-18T17:39:59.414Z] -rw-rw-r-- 1 jenkins jenkins 1714 Apr 18 17:31 Makefile [2023-04-18T17:39:59.414Z] -rw-rw-r-- 1 jenkins jenkins 619 Apr 18 17:31 OWNERS.md [2023-04-18T17:39:59.414Z] -rw-rw-r-- 1 jenkins jenkins 4891 Apr 18 17:31 README.md [2023-04-18T17:39:59.414Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 18 17:28 VERSION [2023-04-18T17:39:59.414Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 17:31 bin [2023-04-18T17:39:59.414Z] -rw-r--r-- 1 jenkins jenkins 106119 Apr 18 17:37 coverage.out [2023-04-18T17:39:59.414Z] drwxrwxr-x 5 jenkins jenkins 4096 Apr 18 17:31 example [2023-04-18T17:39:59.414Z] -rw-rw-r-- 1 jenkins jenkins 3246 Apr 18 17:31 go.mod [2023-04-18T17:39:59.414Z] -rw-rw-r-- 1 jenkins jenkins 30896 Apr 18 17:31 go.sum [2023-04-18T17:39:59.414Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 18 17:31 internal [2023-04-18T17:39:59.414Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 17:31 openapi [2023-04-18T17:39:59.414Z] drwxrwxr-x 6 jenkins jenkins 4096 Apr 18 17:31 pkg [2023-04-18T17:39:59.414Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 17:31 snap [2023-04-18T17:39:59.414Z] -rw-rw-r-- 1 jenkins jenkins 222 Apr 18 17:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T17:39:59.838Z] + 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=5397cf4d9550cf047ef284ce3ec24ff252b4a04b --label arch=arm64 --label version=0.0.0 . [2023-04-18T17:40:00.423Z] Sending build context to Docker daemon 6.003MB [2023-04-18T17:40:00.423Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-04-18T17:40:00.423Z] Step 2/23 : FROM ${BASE} AS builder [2023-04-18T17:40:00.423Z] ---> 07430391e9ae [2023-04-18T17:40:00.423Z] Step 3/23 : ARG MAKE=make build [2023-04-18T17:40:00.423Z] ---> Running in e14d6ac1bd8f [2023-04-18T17:40:00.690Z] Removing intermediate container e14d6ac1bd8f [2023-04-18T17:40:00.690Z] ---> 64adb59d17e2 [2023-04-18T17:40:00.690Z] Step 4/23 : WORKDIR /device-sdk-go [2023-04-18T17:40:00.958Z] ---> Running in 9113ffb400c4 [2023-04-18T17:40:01.227Z] Removing intermediate container 9113ffb400c4 [2023-04-18T17:40:01.227Z] ---> 87c6e2f91aa6 [2023-04-18T17:40:01.227Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-04-18T17:40:01.227Z] ---> Running in 9b5a7e8d923f [2023-04-18T17:40:01.509Z] Removing intermediate container 9b5a7e8d923f [2023-04-18T17:40:01.509Z] ---> 5de5d781a7df [2023-04-18T17:40:01.509Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-04-18T17:40:01.509Z] ---> Running in 6b0254297a5b [2023-04-18T17:40:02.944Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T17:40:03.213Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T17:40:04.170Z] OK: 263 MiB in 53 packages [2023-04-18T17:40:05.140Z] Removing intermediate container 6b0254297a5b [2023-04-18T17:40:05.140Z] ---> 5b9be661314c [2023-04-18T17:40:05.140Z] Step 7/23 : COPY go.mod vendor* ./ [2023-04-18T17:40:05.727Z] ---> c892d9b91390 [2023-04-18T17:40:05.727Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-18T17:40:05.727Z] ---> Running in 594d55fbdac8 [2023-04-18T17:40:08.308Z] Removing intermediate container 594d55fbdac8 [2023-04-18T17:40:08.308Z] ---> ca1c7e2cd04e [2023-04-18T17:40:08.308Z] Step 9/23 : COPY . . [2023-04-18T17:40:10.253Z] ---> 5b6ca4262bbd [2023-04-18T17:40:10.253Z] Step 10/23 : RUN ${MAKE} [2023-04-18T17:40:10.253Z] ---> Running in d30556a59042 [2023-04-18T17:40:11.214Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v3.Version=0.0.0" -trimpath -mod=readonly -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2023-04-18T17:42:33.102Z] Removing intermediate container d30556a59042 [2023-04-18T17:42:33.102Z] ---> d4b2d5bf0692 [2023-04-18T17:42:33.102Z] Step 11/23 : FROM alpine:3.17 [2023-04-18T17:42:33.102Z] 3.17: Pulling from library/alpine [2023-04-18T17:42:33.102Z] c41833b44d91: Pulling fs layer [2023-04-18T17:42:33.102Z] c41833b44d91: Verifying Checksum [2023-04-18T17:42:33.102Z] c41833b44d91: Download complete [2023-04-18T17:42:33.102Z] c41833b44d91: Pull complete [2023-04-18T17:42:33.102Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-18T17:42:33.102Z] Status: Downloaded newer image for alpine:3.17 [2023-04-18T17:42:33.102Z] ---> 51e60588ff2c [2023-04-18T17:42:33.102Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-18T17:42:33.102Z] ---> Running in b3155ae3a4b3 [2023-04-18T17:42:33.102Z] Removing intermediate container b3155ae3a4b3 [2023-04-18T17:42:33.102Z] ---> 8e3b8d27c451 [2023-04-18T17:42:33.102Z] Step 13/23 : RUN apk add --update --no-cache [2023-04-18T17:42:33.102Z] ---> Running in fe03566a48a8 [2023-04-18T17:42:33.102Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-18T17:42:33.102Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-18T17:42:33.102Z] OK: 7 MiB in 15 packages [2023-04-18T17:42:33.102Z] Removing intermediate container fe03566a48a8 [2023-04-18T17:42:33.102Z] ---> aabc5528907d [2023-04-18T17:42:33.102Z] Step 14/23 : WORKDIR / [2023-04-18T17:42:33.102Z] ---> Running in 1f5d95e32d40 [2023-04-18T17:42:33.102Z] Removing intermediate container 1f5d95e32d40 [2023-04-18T17:42:33.102Z] ---> 7d1a378f334f [2023-04-18T17:42:33.102Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-04-18T17:42:33.102Z] ---> 4c90594bb239 [2023-04-18T17:42:33.102Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-04-18T17:42:33.102Z] ---> 86b122cc7e96 [2023-04-18T17:42:33.102Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-04-18T17:42:33.102Z] ---> 7b8dde336fe3 [2023-04-18T17:42:33.102Z] Step 18/23 : EXPOSE 59999 [2023-04-18T17:42:33.102Z] ---> Running in 63c2775fe58a [2023-04-18T17:42:33.102Z] Removing intermediate container 63c2775fe58a [2023-04-18T17:42:33.102Z] ---> 28e8ff992f21 [2023-04-18T17:42:33.102Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-04-18T17:42:33.102Z] ---> Running in f62f671473f6 [2023-04-18T17:42:33.102Z] Removing intermediate container f62f671473f6 [2023-04-18T17:42:33.102Z] ---> fe53710200f8 [2023-04-18T17:42:33.102Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-04-18T17:42:33.102Z] ---> Running in c49e6486e73f [2023-04-18T17:42:33.102Z] Removing intermediate container c49e6486e73f [2023-04-18T17:42:33.102Z] ---> 1175dcc50f32 [2023-04-18T17:42:33.102Z] Step 21/23 : LABEL arch=arm64 [2023-04-18T17:42:33.102Z] ---> Running in f88a9634dfb5 [2023-04-18T17:42:33.368Z] Removing intermediate container f88a9634dfb5 [2023-04-18T17:42:33.368Z] ---> 8fb9fbf16df3 [2023-04-18T17:42:33.368Z] Step 22/23 : LABEL git_sha=5397cf4d9550cf047ef284ce3ec24ff252b4a04b [2023-04-18T17:42:33.368Z] ---> Running in 81e6e824b08a [2023-04-18T17:42:33.641Z] Removing intermediate container 81e6e824b08a [2023-04-18T17:42:33.641Z] ---> 9b15cab897fe [2023-04-18T17:42:33.641Z] Step 23/23 : LABEL version=0.0.0 [2023-04-18T17:42:33.908Z] ---> Running in c971d4b4ef96 [2023-04-18T17:42:34.174Z] Removing intermediate container c971d4b4ef96 [2023-04-18T17:42:34.174Z] ---> 6a8733cba757 [2023-04-18T17:42:34.174Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-18T17:42:34.174Z] Successfully built 6a8733cba757 [2023-04-18T17:42:34.174Z] 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-04-18T17:42:34.983Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T17:42:34.983Z] [2023-04-18T17:42:34.983Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T17:42:35.409Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T17:42:35.409Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-18T17:42:35.409Z] 8998bd30e6a1: Pulling fs layer [2023-04-18T17:42:35.409Z] 04944245beec: Pulling fs layer [2023-04-18T17:42:35.409Z] 699f458cf7ca: Pulling fs layer [2023-04-18T17:42:35.409Z] 765212b225bb: Pulling fs layer [2023-04-18T17:42:35.409Z] f23df028b6ca: Pulling fs layer [2023-04-18T17:42:35.409Z] d65c8cfc05b1: Pulling fs layer [2023-04-18T17:42:35.409Z] 2437ff75d9bd: Pulling fs layer [2023-04-18T17:42:35.409Z] 765212b225bb: Waiting [2023-04-18T17:42:35.409Z] f23df028b6ca: Waiting [2023-04-18T17:42:35.409Z] d65c8cfc05b1: Waiting [2023-04-18T17:42:35.409Z] 2437ff75d9bd: Waiting [2023-04-18T17:42:35.691Z] 04944245beec: Verifying Checksum [2023-04-18T17:42:35.691Z] 04944245beec: Download complete [2023-04-18T17:42:35.691Z] 765212b225bb: Verifying Checksum [2023-04-18T17:42:35.691Z] 765212b225bb: Download complete [2023-04-18T17:42:35.691Z] f23df028b6ca: Verifying Checksum [2023-04-18T17:42:35.691Z] f23df028b6ca: Download complete [2023-04-18T17:42:35.691Z] d65c8cfc05b1: Verifying Checksum [2023-04-18T17:42:35.691Z] d65c8cfc05b1: Download complete [2023-04-18T17:42:35.962Z] 699f458cf7ca: Verifying Checksum [2023-04-18T17:42:35.962Z] 699f458cf7ca: Download complete [2023-04-18T17:42:36.229Z] 8998bd30e6a1: Verifying Checksum [2023-04-18T17:42:36.229Z] 8998bd30e6a1: Download complete [2023-04-18T17:42:38.842Z] 2437ff75d9bd: Verifying Checksum [2023-04-18T17:42:38.842Z] 2437ff75d9bd: Download complete [2023-04-18T17:42:40.253Z] 8998bd30e6a1: Pull complete [2023-04-18T17:42:40.518Z] 04944245beec: Pull complete [2023-04-18T17:42:41.923Z] 699f458cf7ca: Pull complete [2023-04-18T17:42:41.923Z] 765212b225bb: Pull complete [2023-04-18T17:42:42.549Z] f23df028b6ca: Pull complete [2023-04-18T17:42:42.815Z] d65c8cfc05b1: Pull complete [2023-04-18T17:42:55.116Z] 2437ff75d9bd: Pull complete [2023-04-18T17:42:55.116Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-18T17:42:55.116Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-18T17:42:55.116Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T17:42:55.436Z] prd-ubuntu20.04-docker-arm64-4c-16g-8957 does not seem to be running inside a container [2023-04-18T17:42:55.509Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-04-18T17:42:58.094Z] $ docker top 76ec0274a6a25d279f072fe7a589ec6fcb3f2e981ab5f51d5abab8bc04f30f15 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-18T17:42:58.988Z] ---> job-cost.sh [2023-04-18T17:42:58.988Z] lf-activate-venv: SKIPPING [2023-04-18T17:42:58.988Z] INFO: No Stack... [2023-04-18T17:42:59.254Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-18T17:43:00.214Z] INFO: Archiving Costs [Pipeline] sh [2023-04-18T17:43:00.873Z] + + cut -d, -f6 [2023-04-18T17:43:00.873Z] cat /w/workspace/device-sdk-go/1/archives/cost.csv [Pipeline] lock [2023-04-18T17:43:00.966Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1426-1-stack-cost] [2023-04-18T17:43:00.972Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1426-1-stack-cost] did not exist. Created. [2023-04-18T17:43:00.972Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1426-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-18T17:43:01.705Z] /w/workspace/device-sdk-go/1@tmp/durable-a0718a34/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-18T17:43:02.404Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-18T17:43:02.443Z] Warning: overwriting stash ‘stack-cost’ [2023-04-18T17:43:02.511Z] Stashed 1 file(s) [Pipeline] } [2023-04-18T17:43:02.527Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1426-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-18T17:43:02.623Z] $ docker stop --time=1 76ec0274a6a25d279f072fe7a589ec6fcb3f2e981ab5f51d5abab8bc04f30f15 [2023-04-18T17:43:05.136Z] $ docker rm -f --volumes 76ec0274a6a25d279f072fe7a589ec6fcb3f2e981ab5f51d5abab8bc04f30f15 [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-04-18T17:43:06.176Z] provisioning config files... [2023-04-18T17:43:06.183Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1426@tmp/config9473115921757402379tmp [Pipeline] { [Pipeline] sh [2023-04-18T17:43:06.515Z] + set +x [2023-04-18T17:43:06.515Z] + bash -s -- [2023-04-18T17:43:06.515Z] + curl -s https://codecov.io/bash [2023-04-18T17:43:06.515Z] [2023-04-18T17:43:06.515Z] _____ _ [2023-04-18T17:43:06.515Z] / ____| | | [2023-04-18T17:43:06.515Z] | | ___ __| | ___ ___ _____ __ [2023-04-18T17:43:06.515Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-18T17:43:06.515Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-18T17:43:06.515Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-18T17:43:06.515Z] Bash-1.0.6 [2023-04-18T17:43:06.515Z] [2023-04-18T17:43:06.515Z] [2023-04-18T17:43:06.515Z] ==> git version 2.25.1 found [2023-04-18T17:43:06.515Z] ==> 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-04-18T17:43:06.515Z] Release-Date: 2020-01-08 [2023-04-18T17:43:06.515Z] 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-04-18T17:43:06.515Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-18T17:43:06.515Z] ==> Jenkins CI detected. [2023-04-18T17:43:06.515Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1426 [2023-04-18T17:43:06.515Z] project root: . [2023-04-18T17:43:06.515Z] --> token set from env [2023-04-18T17:43:06.515Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-18T17:43:06.515Z] ==> Running gcov in . (disable via -X gcov) [2023-04-18T17:43:06.515Z] ==> Python coveragepy not found [2023-04-18T17:43:06.515Z] ==> Searching for coverage reports in: [2023-04-18T17:43:06.515Z] + . [2023-04-18T17:43:06.515Z] -> Found 1 reports [2023-04-18T17:43:06.515Z] ==> Detecting git/mercurial file structure [2023-04-18T17:43:06.515Z] ==> Reading reports [2023-04-18T17:43:06.515Z] + ./coverage.out bytes=106119 [2023-04-18T17:43:06.515Z] ==> Appending adjustments [2023-04-18T17:43:06.515Z] https://docs.codecov.io/docs/fixing-reports [2023-04-18T17:43:07.083Z] + Found adjustments [2023-04-18T17:43:07.083Z] ==> Gzipping contents [2023-04-18T17:43:07.083Z] 16K /tmp/codecov.uBs1nr.gz [2023-04-18T17:43:07.083Z] ==> Uploading reports [2023-04-18T17:43:07.083Z] url: https://codecov.io [2023-04-18T17:43:07.083Z] query: branch=PR-1426&commit=5397cf4d9550cf047ef284ce3ec24ff252b4a04b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1426%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1426&job=&cmd_args= [2023-04-18T17:43:07.083Z] -> Pinging Codecov [2023-04-18T17:43:07.083Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1426&commit=5397cf4d9550cf047ef284ce3ec24ff252b4a04b&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1426%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1426&job=&cmd_args= [2023-04-18T17:43:07.083Z] -> Uploading to [2023-04-18T17:43:07.083Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-18/7E55EF52A471D76F132DFD9A03CDDE97/5397cf4d9550cf047ef284ce3ec24ff252b4a04b/1cb39825-a1b5-46a1-bd99-6dbee07a1daa.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T174306Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4fa789fe86c336741d5e3505d77423f9beb9673eba351c9b21783e63cea5bb03 [2023-04-18T17:43:07.083Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-18T17:43:07.083Z] Dload Upload Total Spent Left Speed [2023-04-18T17:43:07.343Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 15026 0 0 100 15026 0 71213 --:--:-- --:--:-- --:--:-- 71213 [2023-04-18T17:43:07.343Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/5397cf4d9550cf047ef284ce3ec24ff252b4a04b [Pipeline] } [2023-04-18T17:43:07.371Z] 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-04-18T17:43:09.325Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1426/archives ] [2023-04-18T17:43:09.325Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1426/archives [2023-04-18T17:43:09.325Z] total 16 [2023-04-18T17:43:09.325Z] drwxr-xr-x 3 root root 4096 Apr 18 17:30 . [2023-04-18T17:43:09.325Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 18 17:30 .. [2023-04-18T17:43:09.325Z] drwxr-xr-x 2 root root 4096 Apr 18 17:30 cost [2023-04-18T17:43:09.325Z] -rw-r--r-- 1 root root 86 Apr 18 17:30 cost.csv [2023-04-18T17:43:09.325Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1426/archives [2023-04-18T17:43:09.325Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1426/archives [2023-04-18T17:43:09.325Z] total 16 [2023-04-18T17:43:09.325Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 17:30 . [2023-04-18T17:43:09.325Z] drwxrwxr-x 12 jenkins jenkins 4096 Apr 18 17:30 .. [2023-04-18T17:43:09.325Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 17:30 cost [2023-04-18T17:43:09.325Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 18 17:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-18T17:43:09.655Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T17:43:10.550Z] ---> package-listing.sh [2023-04-18T17:43:10.550Z] ++ facter osfamily [2023-04-18T17:43:10.550Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-18T17:43:10.809Z] + OS_FAMILY=debian [2023-04-18T17:43:10.809Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1426 [2023-04-18T17:43:10.809Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-18T17:43:10.809Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-18T17:43:10.809Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-18T17:43:10.809Z] + PACKAGES=/tmp/packages_start.txt [2023-04-18T17:43:10.809Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1426 ']' [2023-04-18T17:43:10.809Z] + PACKAGES=/tmp/packages_end.txt [2023-04-18T17:43:10.809Z] + case "${OS_FAMILY}" in [2023-04-18T17:43:10.809Z] + dpkg -l [2023-04-18T17:43:10.809Z] + grep '^ii' [2023-04-18T17:43:10.809Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-18T17:43:10.809Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-18T17:43:10.809Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-18T17:43:10.809Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1426 ']' [2023-04-18T17:43:10.809Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1426/archives/ [2023-04-18T17:43:10.809Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1426/archives/ [Pipeline] echo [2023-04-18T17:43:10.851Z] 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-1426/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-18T17:43:11.146Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-18T17:43:11.774Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-18T17:43:11.774Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-18T17:43:11.920Z] prd-ubuntu20.04-docker-8c-8g-8955 does not seem to be running inside a container [2023-04-18T17:43:11.965Z] $ 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-1426/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-1426 -v /w/workspace/gexfoundry_device-sdk-go_PR-1426:/w/workspace/gexfoundry_device-sdk-go_PR-1426:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1426@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1426@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-04-18T17:43:12.161Z] $ docker top 88baf6efcca8f1bb64319764e269e88c5377b6d58a9d4c01263b30c7b27104dc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-18T17:43:12.541Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-18T17:43:12.847Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-18T17:43:13.163Z] + ls /var/log/sa-host [2023-04-18T17:43:13.163Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-18T17:43:13.300Z] provisioning config files... [2023-04-18T17:43:13.308Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1426@tmp/config5772511330126676484tmp [Pipeline] { [Pipeline] echo [2023-04-18T17:43:13.410Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T17:43:13.718Z] ---> create-netrc.sh [Pipeline] } [2023-04-18T17:43:13.746Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-18T17:43:14.140Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-18T17:43:14.174Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T17:43:14.480Z] ---> sudo-logs.sh [2023-04-18T17:43:14.480Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-18T17:43:14.565Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T17:43:14.875Z] ---> job-cost.sh [2023-04-18T17:43:14.875Z] lf-activate-venv: SKIPPING [2023-04-18T17:43:14.875Z] DEBUG: total: 0.2199999988079071 [2023-04-18T17:43:14.875Z] INFO: Retrieving Stack Cost... [2023-04-18T17:43:15.133Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-18T17:43:15.702Z] INFO: Archiving Costs [Pipeline] echo [2023-04-18T17:43:15.737Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-18T17:43:16.047Z] ---> logs-deploy.sh [2023-04-18T17:43:16.048Z] lf-activate-venv: SKIPPING [2023-04-18T17:43:16.048Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1426/1 [2023-04-18T17:43:16.048Z] INFO: archiving workspace using pattern(s): [2023-04-18T17:43:16.983Z] Archives upload complete. [2023-04-18T17:43:17.242Z] INFO: archiving logs to Nexus [2023-04-18T17:43:17.809Z] ---> uname -a: [2023-04-18T17:43:17.809Z] Linux prd-ubuntu20-04-docker-8c-8g-8955 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-04-18T17:43:17.809Z] [2023-04-18T17:43:17.809Z] [2023-04-18T17:43:17.809Z] ---> lscpu: [2023-04-18T17:43:17.809Z] Architecture: x86_64 [2023-04-18T17:43:17.809Z] CPU op-mode(s): 32-bit, 64-bit [2023-04-18T17:43:17.809Z] Byte Order: Little Endian [2023-04-18T17:43:17.809Z] Address sizes: 40 bits physical, 48 bits virtual [2023-04-18T17:43:17.809Z] CPU(s): 8 [2023-04-18T17:43:17.809Z] On-line CPU(s) list: 0-7 [2023-04-18T17:43:17.809Z] Thread(s) per core: 1 [2023-04-18T17:43:17.809Z] Core(s) per socket: 1 [2023-04-18T17:43:17.809Z] Socket(s): 8 [2023-04-18T17:43:17.809Z] NUMA node(s): 1 [2023-04-18T17:43:17.809Z] Vendor ID: AuthenticAMD [2023-04-18T17:43:17.809Z] CPU family: 23 [2023-04-18T17:43:17.809Z] Model: 49 [2023-04-18T17:43:17.809Z] Model name: AMD EPYC-Rome Processor [2023-04-18T17:43:17.809Z] Stepping: 0 [2023-04-18T17:43:17.809Z] CPU MHz: 2800.000 [2023-04-18T17:43:17.809Z] BogoMIPS: 5600.00 [2023-04-18T17:43:17.809Z] Virtualization: AMD-V [2023-04-18T17:43:17.809Z] Hypervisor vendor: KVM [2023-04-18T17:43:17.809Z] Virtualization type: full [2023-04-18T17:43:17.809Z] L1d cache: 256 KiB [2023-04-18T17:43:17.809Z] L1i cache: 256 KiB [2023-04-18T17:43:17.809Z] L2 cache: 4 MiB [2023-04-18T17:43:17.809Z] L3 cache: 128 MiB [2023-04-18T17:43:17.809Z] NUMA node0 CPU(s): 0-7 [2023-04-18T17:43:17.809Z] Vulnerability Itlb multihit: Not affected [2023-04-18T17:43:17.809Z] Vulnerability L1tf: Not affected [2023-04-18T17:43:17.809Z] Vulnerability Mds: Not affected [2023-04-18T17:43:17.809Z] Vulnerability Meltdown: Not affected [2023-04-18T17:43:17.809Z] Vulnerability Mmio stale data: Not affected [2023-04-18T17:43:17.809Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2023-04-18T17:43:17.809Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2023-04-18T17:43:17.810Z] Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2023-04-18T17:43:17.810Z] Vulnerability Srbds: Not affected [2023-04-18T17:43:17.810Z] Vulnerability Tsx async abort: Not affected [2023-04-18T17:43:17.810Z] 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-04-18T17:43:17.810Z] [2023-04-18T17:43:17.810Z] [2023-04-18T17:43:17.810Z] ---> nproc: [2023-04-18T17:43:17.810Z] 8 [2023-04-18T17:43:17.810Z] [2023-04-18T17:43:17.810Z] [2023-04-18T17:43:17.810Z] ---> df -h: [2023-04-18T17:43:17.810Z] Filesystem Size Used Avail Use% Mounted on [2023-04-18T17:43:17.810Z] overlay 155G 12G 144G 8% / [2023-04-18T17:43:17.810Z] tmpfs 64M 0 64M 0% /dev [2023-04-18T17:43:17.810Z] tmpfs 16G 0 16G 0% /sys/fs/cgroup [2023-04-18T17:43:17.810Z] shm 64M 0 64M 0% /dev/shm [2023-04-18T17:43:17.810Z] /dev/vda1 155G 12G 144G 8% /facter-os [2023-04-18T17:43:17.810Z] [2023-04-18T17:43:17.810Z]