Pull request #1440 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-sdk-go Obtained Jenkinsfile from c599f00cfcc0d3c253e941420666fade27201aa7+3be20837214f17c91cd4eb1e0390870d8b3897f2 (4aa95cd0373975d49f606829598bd97f6f5b7bc3) 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-ssh7373875135924286239.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-ssh13710741565496259570.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-1440/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-1440/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12155796802974148140.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-1440/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12290466736024174017.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-ssh2750578620851964244.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-1440/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-1440/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh17271644460826862746.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 ‘prd-ubuntu20.04-docker-8c-8g-12178’ is offline Running on prd-ubuntu20.04-docker-8c-8g-12182 in /w/workspace/gexfoundry_device-sdk-go_PR-1440 [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-1440 # 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/1440/head:refs/remotes/origin/PR-1440 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 3be20837214f17c91cd4eb1e0390870d8b3897f2 into PR head commit c599f00cfcc0d3c253e941420666fade27201aa7 Merge succeeded, producing c599f00cfcc0d3c253e941420666fade27201aa7 Checking out Revision c599f00cfcc0d3c253e941420666fade27201aa7 (PR-1440) > git config core.sparsecheckout # timeout=10 > git checkout -f c599f00cfcc0d3c253e941420666fade27201aa7 # 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 3be20837214f17c91cd4eb1e0390870d8b3897f2 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c599f00cfcc0d3c253e941420666fade27201aa7 # timeout=10 Commit message: "fix: Fix hang on subscribe errors during bootstrap" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-01T16:39:43.808Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-01T16:39:44.001Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-01T16:39:44.099Z] ========================================================= [2023-05-01T16:39:44.099Z] EdgeX Global Pipelines Version Info [2023-05-01T16:39:44.099Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-01T16:39:44.933Z] ------------------- [2023-05-01T16:39:44.933Z] stable info: [2023-05-01T16:39:44.933Z] ------------------- [2023-05-01T16:39:44.933Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-05-01T16:39:44.933Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-05-01T16:39:44.933Z] Message: update stable to v1.0.248 [2023-05-01T16:39:45.504Z] ------------------- [2023-05-01T16:39:45.504Z] experimental info: [2023-05-01T16:39:45.504Z] ------------------- [2023-05-01T16:39:45.504Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-01T16:39:45.504Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-05-01T16:39:45.504Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-01T16:39:45.786Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2023-05-01T16:39:45.824Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2023-05-01T16:39:45.865Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-01T16:39:45.904Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-01T16:39:45.943Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-01T16:39:45.985Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-01T16:39:46.027Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-01T16:39:46.070Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2023-05-01T16:39:46.107Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-01T16:39:46.149Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-01T16:39:46.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-01T16:39:46.223Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2023-05-01T16:39:46.266Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-01T16:39:46.306Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-01T16:39:46.352Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-01T16:39:46.389Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2023-05-01T16:39:46.427Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-01T16:39:46.464Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-01T16:39:46.505Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-01T16:39:46.542Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-01T16:39:46.580Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-05-01T16:39:46.623Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v3 [Pipeline] echo [2023-05-01T16:39:46.666Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-01T16:39:46.707Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-01T16:39:46.750Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-01T16:39:46.795Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-01T16:39:46.835Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-01T16:39:46.873Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1440 [Pipeline] echo [2023-05-01T16:39:46.915Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1440 [Pipeline] echo [2023-05-01T16:39:46.958Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1440 [Pipeline] echo [2023-05-01T16:39:47.004Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c599f00cfcc0d3c253e941420666fade27201aa7 [Pipeline] echo [2023-05-01T16:39:47.042Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c599f00 [Pipeline] echo [2023-05-01T16:39:47.088Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-01T16:39:47.205Z] provisioning config files... [2023-05-01T16:39:47.218Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1440@tmp/config16089024982525093762tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-01T16:39:47.609Z] ---> docker-login.sh [2023-05-01T16:39:47.609Z] nexus3.edgexfoundry.org:10001 [2023-05-01T16:39:47.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-01T16:39:47.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-01T16:39:47.869Z] Configure a credential helper to remove this warning. See [2023-05-01T16:39:47.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-01T16:39:47.869Z] [2023-05-01T16:39:47.869Z] Login Succeeded [2023-05-01T16:39:47.869Z] nexus3.edgexfoundry.org:10002 [2023-05-01T16:39:48.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-01T16:39:48.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-01T16:39:48.132Z] Configure a credential helper to remove this warning. See [2023-05-01T16:39:48.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-01T16:39:48.132Z] [2023-05-01T16:39:48.132Z] Login Succeeded [2023-05-01T16:39:48.132Z] nexus3.edgexfoundry.org:10003 [2023-05-01T16:39:48.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-01T16:39:48.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-01T16:39:48.132Z] Configure a credential helper to remove this warning. See [2023-05-01T16:39:48.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-01T16:39:48.132Z] [2023-05-01T16:39:48.132Z] Login Succeeded [2023-05-01T16:39:48.132Z] nexus3.edgexfoundry.org:10004 [2023-05-01T16:39:48.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-01T16:39:48.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-01T16:39:48.393Z] Configure a credential helper to remove this warning. See [2023-05-01T16:39:48.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-01T16:39:48.393Z] [2023-05-01T16:39:48.393Z] Login Succeeded [2023-05-01T16:39:48.393Z] docker.io [2023-05-01T16:39:48.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-01T16:39:48.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-01T16:39:48.651Z] Configure a credential helper to remove this warning. See [2023-05-01T16:39:48.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-01T16:39:48.651Z] [2023-05-01T16:39:48.651Z] Login Succeeded [2023-05-01T16:39:48.651Z] ---> docker-login.sh ends [Pipeline] } [2023-05-01T16:39:48.677Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-01T16:39:49.314Z] + git rev-list -1 --merges c599f00cfcc0d3c253e941420666fade27201aa7~1..c599f00cfcc0d3c253e941420666fade27201aa7 [Pipeline] echo [2023-05-01T16:39:49.380Z] -----------> git rev-list -1 --merges c599f00cfcc0d3c253e941420666fade27201aa7~1..c599f00cfcc0d3c253e941420666fade27201aa7 c599f00cfcc0d3c253e941420666fade27201aa7 [false] [Pipeline] sh [2023-05-01T16:39:49.687Z] + git log --format=format:%s -1 c599f00cfcc0d3c253e941420666fade27201aa7 [Pipeline] echo [2023-05-01T16:39:49.722Z] ========================================================= [2023-05-01T16:39:49.722Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-01T16:39:49.722Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-01T16:39:50.156Z] + git log --format=format:%s -1 c599f00cfcc0d3c253e941420666fade27201aa7 [Pipeline] echo [2023-05-01T16:39:50.187Z] [semverPrep] GIT_COMMIT: c599f00cfcc0d3c253e941420666fade27201aa7, Commit Message: fix: Fix hang on subscribe errors during bootstrap [Pipeline] echo [2023-05-01T16:39:50.235Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-01T16:39:50.628Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-01T16:39:50.628Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-01T16:39:50.628Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-01T16:39:50.628Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-01T16:39:50.628Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-01T16:39:50.628Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-01T16:39:50.628Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-01T16:39:51.056Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-01T16:39:51.056Z] [2023-05-01T16:39:51.056Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-01T16:39:51.434Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-01T16:39:51.434Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-01T16:39:51.434Z] b85a868b505f: Pulling fs layer [2023-05-01T16:39:51.434Z] e2be974225ed: Pulling fs layer [2023-05-01T16:39:51.434Z] 339a4e72a1f5: Pulling fs layer [2023-05-01T16:39:51.434Z] 988bab9f4d93: Pulling fs layer [2023-05-01T16:39:51.434Z] 1469e6f7b9e6: Pulling fs layer [2023-05-01T16:39:51.434Z] eaf3925da568: Pulling fs layer [2023-05-01T16:39:51.434Z] bab4dde63d76: Pulling fs layer [2023-05-01T16:39:51.434Z] bde34c3a00c8: Pulling fs layer [2023-05-01T16:39:51.434Z] b352a97aabf1: Pulling fs layer [2023-05-01T16:39:51.434Z] 4872d77fe225: Pulling fs layer [2023-05-01T16:39:51.434Z] 5851b861e8e6: Pulling fs layer [2023-05-01T16:39:51.434Z] 1469e6f7b9e6: Waiting [2023-05-01T16:39:51.434Z] bab4dde63d76: Waiting [2023-05-01T16:39:51.434Z] 5851b861e8e6: Waiting [2023-05-01T16:39:51.434Z] 4872d77fe225: Waiting [2023-05-01T16:39:51.434Z] e2be974225ed: Download complete [2023-05-01T16:39:51.434Z] 988bab9f4d93: Verifying Checksum [2023-05-01T16:39:51.434Z] 988bab9f4d93: Download complete [2023-05-01T16:39:51.434Z] 1469e6f7b9e6: Verifying Checksum [2023-05-01T16:39:51.434Z] 1469e6f7b9e6: Download complete [2023-05-01T16:39:51.434Z] eaf3925da568: Verifying Checksum [2023-05-01T16:39:51.434Z] eaf3925da568: Download complete [2023-05-01T16:39:51.696Z] 339a4e72a1f5: Verifying Checksum [2023-05-01T16:39:51.696Z] 339a4e72a1f5: Download complete [2023-05-01T16:39:51.696Z] bde34c3a00c8: Verifying Checksum [2023-05-01T16:39:51.696Z] bde34c3a00c8: Download complete [2023-05-01T16:39:51.696Z] b352a97aabf1: Download complete [2023-05-01T16:39:51.696Z] 4872d77fe225: Verifying Checksum [2023-05-01T16:39:51.696Z] 4872d77fe225: Download complete [2023-05-01T16:39:51.696Z] 5851b861e8e6: Verifying Checksum [2023-05-01T16:39:51.696Z] 5851b861e8e6: Download complete [2023-05-01T16:39:51.696Z] b85a868b505f: Download complete [2023-05-01T16:39:51.985Z] bab4dde63d76: Verifying Checksum [2023-05-01T16:39:51.985Z] bab4dde63d76: Download complete [2023-05-01T16:39:52.936Z] b85a868b505f: Pull complete [2023-05-01T16:39:53.196Z] e2be974225ed: Pull complete [2023-05-01T16:39:53.764Z] 339a4e72a1f5: Pull complete [2023-05-01T16:39:53.764Z] 988bab9f4d93: Pull complete [2023-05-01T16:39:54.025Z] 1469e6f7b9e6: Pull complete [2023-05-01T16:39:54.285Z] eaf3925da568: Pull complete [2023-05-01T16:39:56.191Z] bab4dde63d76: Pull complete [2023-05-01T16:39:56.191Z] bde34c3a00c8: Pull complete [2023-05-01T16:39:56.462Z] b352a97aabf1: Pull complete [2023-05-01T16:39:56.462Z] 4872d77fe225: Pull complete [2023-05-01T16:39:56.462Z] 5851b861e8e6: Pull complete [2023-05-01T16:39:56.462Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-01T16:39:56.462Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-01T16:39:56.462Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-01T16:39:56.703Z] prd-ubuntu20.04-docker-8c-8g-12182 does not seem to be running inside a container [2023-05-01T16:39:56.739Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1440 -v /w/workspace/gexfoundry_device-sdk-go_PR-1440:/w/workspace/gexfoundry_device-sdk-go_PR-1440:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1440@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1440@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-01T16:40:00.660Z] $ docker top eb52c4aef555903dd16bf6a05dcfaf7001883fa173d01d3a484264ae3a6b2462 -eo pid,comm [2023-05-01T16:40:00.729Z] 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-05-01T16:40:00.729Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-01T16:40:00.856Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-01T16:40:00.856Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-01T16:40:00.985Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-01T16:40:00.990Z] $ docker exec eb52c4aef555903dd16bf6a05dcfaf7001883fa173d01d3a484264ae3a6b2462 ssh-agent [2023-05-01T16:40:01.094Z] SSH_AUTH_SOCK=/tmp/ssh-zQD4e4R2RI43/agent.32 [2023-05-01T16:40:01.094Z] SSH_AGENT_PID=38 [2023-05-01T16:40:01.101Z] Running ssh-add (command line suppressed) [2023-05-01T16:40:01.199Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1440@tmp/private_key_9642212152289389531.key (/w/workspace/gexfoundry_device-sdk-go_PR-1440@tmp/private_key_9642212152289389531.key) [2023-05-01T16:40:01.212Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-01T16:40:01.539Z] + git tag --points-at HEAD [Pipeline] } [2023-05-01T16:40:01.564Z] $ docker exec --env ******** --env ******** eb52c4aef555903dd16bf6a05dcfaf7001883fa173d01d3a484264ae3a6b2462 ssh-agent -k [2023-05-01T16:40:01.668Z] unset SSH_AUTH_SOCK; [2023-05-01T16:40:01.668Z] unset SSH_AGENT_PID; [2023-05-01T16:40:01.668Z] echo Agent pid 38 killed; [2023-05-01T16:40:01.675Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-01T16:40:01.761Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-01T16:40:01.761Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-01T16:40:01.881Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-01T16:40:01.886Z] $ docker exec eb52c4aef555903dd16bf6a05dcfaf7001883fa173d01d3a484264ae3a6b2462 ssh-agent [2023-05-01T16:40:01.985Z] SSH_AUTH_SOCK=/tmp/ssh-U7sOA4B2EfA8/agent.71 [2023-05-01T16:40:01.986Z] SSH_AGENT_PID=77 [2023-05-01T16:40:01.990Z] Running ssh-add (command line suppressed) [2023-05-01T16:40:02.097Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1440@tmp/private_key_9386838582592531200.key (/w/workspace/gexfoundry_device-sdk-go_PR-1440@tmp/private_key_9386838582592531200.key) [2023-05-01T16:40:02.107Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-01T16:40:02.437Z] + git semver init [2023-05-01T16:40:02.695Z] 2023-05-01 16:40:02,632 [run_init] DEBUG init version:0.0.0 force:False [2023-05-01T16:40:02.696Z] 2023-05-01 16:40:02,633 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1440/.semver [2023-05-01T16:40:02.696Z] 2023-05-01 16:40:02,634 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1440/.semver [2023-05-01T16:40:02.696Z] 2023-05-01 16:40:02,634 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1440/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1440, universal_newlines=False, shell=None, istream=None) [2023-05-01T16:40:03.632Z] 2023-05-01 16:40:03,585 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1440/.git/info/exclude [2023-05-01T16:40:03.632Z] 2023-05-01 16:40:03,586 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1440/.semver/PR-1440 with force:False [2023-05-01T16:40:03.632Z] 2023-05-01 16:40:03,586 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1440/.semver/PR-1440 [2023-05-01T16:40:03.632Z] 2023-05-01 16:40:03,590 [execute] INFO git cat-file --batch-check [2023-05-01T16:40:03.632Z] 2023-05-01 16:40:03,591 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1440/.semver, universal_newlines=False, shell=None, istream=) [2023-05-01T16:40:03.632Z] 2023-05-01 16:40:03,597 [execute] INFO git cat-file --batch [2023-05-01T16:40:03.632Z] 2023-05-01 16:40:03,598 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1440/.semver, universal_newlines=False, shell=None, istream=) [2023-05-01T16:40:03.632Z] 2023-05-01 16:40:03,603 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1440/.semver/PR-1440 [2023-05-01T16:40:03.632Z] 0.0.0 [Pipeline] } [2023-05-01T16:40:03.661Z] $ docker exec --env ******** --env ******** eb52c4aef555903dd16bf6a05dcfaf7001883fa173d01d3a484264ae3a6b2462 ssh-agent -k [2023-05-01T16:40:03.761Z] unset SSH_AUTH_SOCK; [2023-05-01T16:40:03.765Z] unset SSH_AGENT_PID; [2023-05-01T16:40:03.765Z] echo Agent pid 77 killed; [2023-05-01T16:40:03.768Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-01T16:40:04.193Z] + git semver [Pipeline] } [2023-05-01T16:40:04.475Z] $ docker stop --time=1 eb52c4aef555903dd16bf6a05dcfaf7001883fa173d01d3a484264ae3a6b2462 [2023-05-01T16:40:05.769Z] $ docker rm -f --volumes eb52c4aef555903dd16bf6a05dcfaf7001883fa173d01d3a484264ae3a6b2462 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-01T16:40:06.181Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-01T16:40:06.495Z] Stashed 1 file(s) [Pipeline] echo [2023-05-01T16:40:06.513Z] [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-05-01T16:40:07.088Z] provisioning config files... [2023-05-01T16:40:07.098Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1440@tmp/config16819528988143385307tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-01T16:40:07.434Z] ---> docker-login.sh [2023-05-01T16:40:07.434Z] nexus3.edgexfoundry.org:10001 [2023-05-01T16:40:07.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-01T16:40:07.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-01T16:40:07.434Z] Configure a credential helper to remove this warning. See [2023-05-01T16:40:07.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-01T16:40:07.434Z] [2023-05-01T16:40:07.434Z] Login Succeeded [2023-05-01T16:40:07.434Z] nexus3.edgexfoundry.org:10002 [2023-05-01T16:40:07.434Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-01T16:40:07.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-01T16:40:07.434Z] Configure a credential helper to remove this warning. See [2023-05-01T16:40:07.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-01T16:40:07.434Z] [2023-05-01T16:40:07.434Z] Login Succeeded [2023-05-01T16:40:07.434Z] nexus3.edgexfoundry.org:10003 [2023-05-01T16:40:07.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-01T16:40:07.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-01T16:40:07.694Z] Configure a credential helper to remove this warning. See [2023-05-01T16:40:07.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-01T16:40:07.694Z] [2023-05-01T16:40:07.694Z] Login Succeeded [2023-05-01T16:40:07.694Z] nexus3.edgexfoundry.org:10004 [2023-05-01T16:40:07.694Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-01T16:40:07.694Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-01T16:40:07.694Z] Configure a credential helper to remove this warning. See [2023-05-01T16:40:07.694Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-01T16:40:07.694Z] [2023-05-01T16:40:07.694Z] Login Succeeded [2023-05-01T16:40:07.694Z] docker.io [2023-05-01T16:40:07.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-01T16:40:07.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-01T16:40:07.953Z] Configure a credential helper to remove this warning. See [2023-05-01T16:40:07.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-01T16:40:07.953Z] [2023-05-01T16:40:07.953Z] Login Succeeded [2023-05-01T16:40:07.953Z] ---> docker-login.sh ends [Pipeline] } [2023-05-01T16:40:07.981Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-01T16:40:08.168Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-01T16:40:08.210Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-01T16:40:08.247Z] ========================================================= [2023-05-01T16:40:08.247Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-01T16:40:08.247Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-01T16:40:08.710Z] + 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-05-01T16:40:08.710Z] Sending build context to Docker daemon 11.06MB [2023-05-01T16:40:08.710Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-01T16:40:08.710Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-01T16:40:08.969Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-01T16:40:08.969Z] f56be85fc22e: Pulling fs layer [2023-05-01T16:40:08.969Z] 85791d961cd3: Pulling fs layer [2023-05-01T16:40:08.969Z] d694b5ae8c79: Pulling fs layer [2023-05-01T16:40:08.969Z] 9f32a84ed3da: Pulling fs layer [2023-05-01T16:40:08.969Z] 4d19c01a9841: Pulling fs layer [2023-05-01T16:40:08.969Z] 9325e15d5711: Pulling fs layer [2023-05-01T16:40:08.969Z] 556b6ee489ea: Pulling fs layer [2023-05-01T16:40:08.969Z] c5a4b2cf53e6: Pulling fs layer [2023-05-01T16:40:08.969Z] 4d19c01a9841: Waiting [2023-05-01T16:40:08.969Z] 9325e15d5711: Waiting [2023-05-01T16:40:08.969Z] 9f32a84ed3da: Waiting [2023-05-01T16:40:08.969Z] 556b6ee489ea: Waiting [2023-05-01T16:40:08.969Z] c5a4b2cf53e6: Waiting [2023-05-01T16:40:08.969Z] 85791d961cd3: Verifying Checksum [2023-05-01T16:40:08.969Z] 85791d961cd3: Download complete [2023-05-01T16:40:08.969Z] 9f32a84ed3da: Verifying Checksum [2023-05-01T16:40:08.969Z] 9f32a84ed3da: Download complete [2023-05-01T16:40:08.969Z] 4d19c01a9841: Verifying Checksum [2023-05-01T16:40:08.969Z] 4d19c01a9841: Download complete [2023-05-01T16:40:08.969Z] f56be85fc22e: Verifying Checksum [2023-05-01T16:40:08.969Z] f56be85fc22e: Download complete [2023-05-01T16:40:08.969Z] 9325e15d5711: Verifying Checksum [2023-05-01T16:40:08.969Z] 9325e15d5711: Download complete [2023-05-01T16:40:09.229Z] f56be85fc22e: Pull complete [2023-05-01T16:40:09.229Z] 85791d961cd3: Pull complete [2023-05-01T16:40:09.488Z] c5a4b2cf53e6: Download complete [2023-05-01T16:40:09.488Z] d694b5ae8c79: Verifying Checksum [2023-05-01T16:40:09.488Z] d694b5ae8c79: Download complete [2023-05-01T16:40:09.745Z] 556b6ee489ea: Download complete [2023-05-01T16:40:13.034Z] d694b5ae8c79: Pull complete [2023-05-01T16:40:13.034Z] 9f32a84ed3da: Pull complete [2023-05-01T16:40:13.034Z] 4d19c01a9841: Pull complete [2023-05-01T16:40:13.034Z] 9325e15d5711: Pull complete [2023-05-01T16:40:15.573Z] 556b6ee489ea: Pull complete [2023-05-01T16:40:16.505Z] c5a4b2cf53e6: Pull complete [2023-05-01T16:40:16.505Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-01T16:40:16.505Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-01T16:40:16.505Z] ---> c4be618373d6 [2023-05-01T16:40:16.505Z] Step 3/10 : ARG MAKE=make build [2023-05-01T16:40:19.082Z] ---> Running in ef94b1058454 [2023-05-01T16:40:19.082Z] Removing intermediate container ef94b1058454 [2023-05-01T16:40:19.082Z] ---> 4342b54b4f2d [2023-05-01T16:40:19.082Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-01T16:40:19.341Z] ---> Running in b84284280192 [2023-05-01T16:40:19.341Z] Removing intermediate container b84284280192 [2023-05-01T16:40:19.341Z] ---> 354d8154a8c6 [2023-05-01T16:40:19.341Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-01T16:40:19.341Z] ---> Running in c5d26b824714 [2023-05-01T16:40:19.341Z] Removing intermediate container c5d26b824714 [2023-05-01T16:40:19.341Z] ---> 3c087d4bfc61 [2023-05-01T16:40:19.341Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-01T16:40:19.341Z] ---> Running in 93cce9674778 [2023-05-01T16:40:19.600Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-01T16:40:19.859Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-01T16:40:20.118Z] OK: 265 MiB in 53 packages [2023-05-01T16:40:20.378Z] Removing intermediate container 93cce9674778 [2023-05-01T16:40:20.378Z] ---> 9d074629c439 [2023-05-01T16:40:20.378Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-01T16:40:20.378Z] ---> 1501456a73f8 [2023-05-01T16:40:20.378Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-01T16:40:20.378Z] ---> Running in 975a748062ba [2023-05-01T16:40:21.905Z] Still waiting to schedule task [2023-05-01T16:40:21.906Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-12180’ is offline [2023-05-01T16:40:47.553Z] Removing intermediate container 975a748062ba [2023-05-01T16:40:47.553Z] ---> 9acd338ec799 [2023-05-01T16:40:47.553Z] Step 9/10 : COPY . . [2023-05-01T16:40:47.553Z] ---> 46050012f214 [2023-05-01T16:40:47.553Z] Step 10/10 : RUN ${MAKE} [2023-05-01T16:40:47.553Z] ---> Running in 2a315e94bb90 [2023-05-01T16:40:47.553Z] noop [2023-05-01T16:40:47.553Z] Removing intermediate container 2a315e94bb90 [2023-05-01T16:40:47.553Z] ---> 712fb96fa906 [2023-05-01T16:40:47.553Z] Successfully built 712fb96fa906 [2023-05-01T16:40:47.553Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-01T16:40:48.093Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-01T16:40:48.093Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-01T16:40:48.283Z] prd-ubuntu20.04-docker-8c-8g-12182 does not seem to be running inside a container [2023-05-01T16:40:48.340Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1440 -v /w/workspace/gexfoundry_device-sdk-go_PR-1440:/w/workspace/gexfoundry_device-sdk-go_PR-1440:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1440@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1440@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-01T16:40:48.728Z] $ docker top 1979b2da55cee126d88768809cf3c53c15f2b5ad5b31db62b3394ebbcf6118b7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-01T16:40:49.153Z] + go version [2023-05-01T16:40:49.153Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-01T16:40:49.189Z] $ docker stop --time=1 1979b2da55cee126d88768809cf3c53c15f2b5ad5b31db62b3394ebbcf6118b7 [2023-05-01T16:40:50.482Z] $ docker rm -f --volumes 1979b2da55cee126d88768809cf3c53c15f2b5ad5b31db62b3394ebbcf6118b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-01T16:40:51.253Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-01T16:40:51.253Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-01T16:40:51.402Z] prd-ubuntu20.04-docker-8c-8g-12182 does not seem to be running inside a container [2023-05-01T16:40:51.429Z] $ 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-1440 -v /w/workspace/gexfoundry_device-sdk-go_PR-1440:/w/workspace/gexfoundry_device-sdk-go_PR-1440:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1440@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1440@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-01T16:40:51.777Z] $ docker top 0b47e2140c927c1cab928a4059ad90d08cb40ce9fc03f34c960165949a169ef7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-01T16:40:52.172Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1440 [Pipeline] fileExists [Pipeline] sh [2023-05-01T16:40:52.530Z] + make test [2023-05-01T16:40:52.530Z] go test -race -coverprofile=coverage.out ./... [2023-05-01T16:40:59.095Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-01T16:41:13.959Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-01T16:41:13.959Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-01T16:41:13.959Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-01T16:41:13.959Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-01T16:41:13.959Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-01T16:41:14.238Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.054s coverage: 27.6% of statements [2023-05-01T16:41:14.238Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.063s coverage: 80.2% of statements [2023-05-01T16:41:14.497Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-01T16:41:14.497Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-01T16:41:14.497Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.082s coverage: 86.0% of statements [2023-05-01T16:41:15.868Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-01T16:41:15.868Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-01T16:41:15.868Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.092s coverage: 77.5% of statements [2023-05-01T16:41:15.868Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-01T16:41:15.868Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-01T16:41:16.803Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-01T16:41:18.711Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.065s coverage: 14.6% of statements [2023-05-01T16:41:18.711Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.090s coverage: 68.5% of statements [2023-05-01T16:41:18.711Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.122s coverage: 89.2% of statements [2023-05-01T16:41:18.711Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.063s coverage: 5.5% of statements [2023-05-01T16:41:40.636Z] GO111MODULE=on go vet ./... [2023-05-01T16:41:43.914Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-01T16:41:43.914Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-01T16:41:43.914Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-01T16:41:43.958Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-01T16:41:43.991Z] $ docker stop --time=1 0b47e2140c927c1cab928a4059ad90d08cb40ce9fc03f34c960165949a169ef7 [2023-05-01T16:41:46.494Z] $ docker rm -f --volumes 0b47e2140c927c1cab928a4059ad90d08cb40ce9fc03f34c960165949a169ef7 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-01T16:41:47.132Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-01T16:41:47.211Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-01T16:41:47.790Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-01T16:41:48.099Z] + ls -al . [2023-05-01T16:41:48.099Z] total 272 [2023-05-01T16:41:48.099Z] drwxrwxr-x 11 jenkins jenkins 4096 May 1 16:40 . [2023-05-01T16:41:48.099Z] drwxrwxr-x 4 jenkins jenkins 4096 May 1 16:39 .. [2023-05-01T16:41:48.099Z] -rw-rw-r-- 1 jenkins jenkins 140 May 1 16:39 .dockerignore [2023-05-01T16:41:48.099Z] drwxrwxr-x 8 jenkins jenkins 4096 May 1 16:40 .git [2023-05-01T16:41:48.099Z] drwxrwxr-x 2 jenkins jenkins 4096 May 1 16:39 .github [2023-05-01T16:41:48.099Z] -rw-rw-r-- 1 jenkins jenkins 131 May 1 16:39 .gitignore [2023-05-01T16:41:48.099Z] -rw-rw-r-- 1 jenkins jenkins 42 May 1 16:39 .golangci.yml [2023-05-01T16:41:48.099Z] drwxr-xr-x 3 jenkins jenkins 4096 May 1 16:40 .semver [2023-05-01T16:41:48.099Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 1 16:39 CHANGELOG.md [2023-05-01T16:41:48.099Z] -rw-rw-r-- 1 jenkins jenkins 677 May 1 16:39 GOVERNANCE.md [2023-05-01T16:41:48.099Z] -rw-rw-r-- 1 jenkins jenkins 885 May 1 16:39 Jenkinsfile [2023-05-01T16:41:48.099Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 1 16:39 LICENSE [2023-05-01T16:41:48.099Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 1 16:39 Makefile [2023-05-01T16:41:48.099Z] -rw-rw-r-- 1 jenkins jenkins 619 May 1 16:39 OWNERS.md [2023-05-01T16:41:48.099Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 1 16:39 README.md [2023-05-01T16:41:48.099Z] -rw-rw-r-- 1 jenkins jenkins 5 May 1 16:40 VERSION [2023-05-01T16:41:48.099Z] drwxrwxr-x 2 jenkins jenkins 4096 May 1 16:39 bin [2023-05-01T16:41:48.099Z] -rw-r--r-- 1 jenkins jenkins 106119 May 1 16:41 coverage.out [2023-05-01T16:41:48.099Z] drwxrwxr-x 5 jenkins jenkins 4096 May 1 16:39 example [2023-05-01T16:41:48.099Z] -rw-rw-r-- 1 jenkins jenkins 3246 May 1 16:39 go.mod [2023-05-01T16:41:48.099Z] -rw-rw-r-- 1 jenkins jenkins 30896 May 1 16:39 go.sum [2023-05-01T16:41:48.099Z] drwxrwxr-x 12 jenkins jenkins 4096 May 1 16:39 internal [2023-05-01T16:41:48.099Z] drwxrwxr-x 3 jenkins jenkins 4096 May 1 16:39 openapi [2023-05-01T16:41:48.099Z] drwxrwxr-x 6 jenkins jenkins 4096 May 1 16:39 pkg [2023-05-01T16:41:48.099Z] drwxrwxr-x 4 jenkins jenkins 4096 May 1 16:39 snap [2023-05-01T16:41:48.099Z] -rw-rw-r-- 1 jenkins jenkins 222 May 1 16:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-01T16:41:48.516Z] + 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=c599f00cfcc0d3c253e941420666fade27201aa7 --label arch=amd64 --label version=0.0.0 . [2023-05-01T16:41:48.516Z] Sending build context to Docker daemon 11.17MB [2023-05-01T16:41:48.516Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-01T16:41:48.516Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-01T16:41:48.516Z] ---> 712fb96fa906 [2023-05-01T16:41:48.516Z] Step 3/23 : ARG MAKE=make build [2023-05-01T16:41:48.775Z] ---> Running in 2d8fb9b3fa5d [2023-05-01T16:41:48.775Z] Removing intermediate container 2d8fb9b3fa5d [2023-05-01T16:41:48.775Z] ---> 0b124ea47a68 [2023-05-01T16:41:48.775Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-01T16:41:48.775Z] ---> Running in 9af9b702810f [2023-05-01T16:41:48.775Z] Removing intermediate container 9af9b702810f [2023-05-01T16:41:48.775Z] ---> d03eb2912716 [2023-05-01T16:41:48.775Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-01T16:41:48.775Z] ---> Running in 61b9f73e5f07 [2023-05-01T16:41:49.033Z] Removing intermediate container 61b9f73e5f07 [2023-05-01T16:41:49.033Z] ---> b2699b65e6e6 [2023-05-01T16:41:49.033Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-01T16:41:49.033Z] ---> Running in 512f452040f0 [2023-05-01T16:41:49.292Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-01T16:41:49.292Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-01T16:41:49.861Z] OK: 265 MiB in 53 packages [2023-05-01T16:41:50.120Z] Removing intermediate container 512f452040f0 [2023-05-01T16:41:50.120Z] ---> a62d8bdde4ee [2023-05-01T16:41:50.120Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-01T16:41:50.120Z] ---> 8812c259d0fd [2023-05-01T16:41:50.120Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-01T16:41:50.120Z] ---> Running in fe5aab150afa [2023-05-01T16:41:51.063Z] Removing intermediate container fe5aab150afa [2023-05-01T16:41:51.064Z] ---> 8b676bab0791 [2023-05-01T16:41:51.064Z] Step 9/23 : COPY . . [2023-05-01T16:41:51.631Z] ---> ebc4cec2753d [2023-05-01T16:41:51.631Z] Step 10/23 : RUN ${MAKE} [2023-05-01T16:41:51.631Z] ---> Running in 597fe7364374 [2023-05-01T16:41:51.889Z] 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-05-01T16:42:01.223Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-12187 in /w/workspace/gexfoundry_device-sdk-go_PR-1440 [Pipeline] { [Pipeline] ws [2023-05-01T16:42:01.283Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2023-05-01T16:42:01.370Z] The recommended git tool is: git [2023-05-01T16:42:06.780Z] using credential edgex-jenkins-ssh [2023-05-01T16:42:06.797Z] Cloning the remote Git repository [2023-05-01T16:42:06.839Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2023-05-01T16:42:06.925Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2023-05-01T16:42:07.060Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-01T16:42:07.060Z] > git --version # timeout=10 [2023-05-01T16:42:07.099Z] > git --version # 'git version 2.25.1' [2023-05-01T16:42:07.101Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-01T16:42:07.248Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-01T16:42:09.999Z] Removing intermediate container 597fe7364374 [2023-05-01T16:42:09.999Z] ---> 743ba632e4f3 [2023-05-01T16:42:09.999Z] Step 11/23 : FROM alpine:3.17 [2023-05-01T16:42:08.934Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-01T16:42:08.963Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-01T16:42:09.828Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2023-05-01T16:42:09.877Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2023-05-01T16:42:09.878Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-01T16:42:09.896Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1440/head:refs/remotes/origin/PR-1440 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-01T16:42:10.566Z] 3.17: Pulling from library/alpine [2023-05-01T16:42:10.566Z] f56be85fc22e: Already exists [2023-05-01T16:42:10.566Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-01T16:42:10.566Z] Status: Downloaded newer image for alpine:3.17 [2023-05-01T16:42:10.566Z] ---> 9ed4aefc74f6 [2023-05-01T16:42:10.566Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-01T16:42:10.566Z] ---> Running in cbd774040549 [2023-05-01T16:42:10.567Z] Merging remotes/origin/main commit 3be20837214f17c91cd4eb1e0390870d8b3897f2 into PR head commit c599f00cfcc0d3c253e941420666fade27201aa7 [2023-05-01T16:42:10.825Z] Removing intermediate container cbd774040549 [2023-05-01T16:42:10.826Z] ---> a01419e6b4f3 [2023-05-01T16:42:10.826Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-01T16:42:10.826Z] ---> Running in 35ed87029725 [2023-05-01T16:42:10.884Z] Merge succeeded, producing c599f00cfcc0d3c253e941420666fade27201aa7 [2023-05-01T16:42:10.884Z] Checking out Revision c599f00cfcc0d3c253e941420666fade27201aa7 (PR-1440) [2023-05-01T16:42:11.083Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-01T16:42:11.083Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-01T16:42:11.342Z] OK: 7 MiB in 15 packages [2023-05-01T16:42:11.600Z] Removing intermediate container 35ed87029725 [2023-05-01T16:42:11.600Z] ---> 0df3b4291b00 [2023-05-01T16:42:11.600Z] Step 14/23 : WORKDIR / [2023-05-01T16:42:11.600Z] ---> Running in 04a422fcf477 [2023-05-01T16:42:11.600Z] Removing intermediate container 04a422fcf477 [2023-05-01T16:42:11.600Z] ---> c93edac81c9f [2023-05-01T16:42:11.600Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-01T16:42:10.585Z] > git config core.sparsecheckout # timeout=10 [2023-05-01T16:42:10.663Z] > git checkout -f c599f00cfcc0d3c253e941420666fade27201aa7 # timeout=10 [2023-05-01T16:42:10.774Z] > git remote # timeout=10 [2023-05-01T16:42:10.793Z] > git config --get remote.origin.url # timeout=10 [2023-05-01T16:42:10.820Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-01T16:42:10.837Z] > git merge 3be20837214f17c91cd4eb1e0390870d8b3897f2 # timeout=10 [2023-05-01T16:42:10.865Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-01T16:42:10.892Z] > git config core.sparsecheckout # timeout=10 [2023-05-01T16:42:10.908Z] > git checkout -f c599f00cfcc0d3c253e941420666fade27201aa7 # timeout=10 [2023-05-01T16:42:11.858Z] ---> 150eb4618b40 [2023-05-01T16:42:11.858Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-01T16:42:12.443Z] ---> 7b2cff4cfd53 [2023-05-01T16:42:12.443Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-01T16:42:12.702Z] ---> fe5e32491ab1 [2023-05-01T16:42:12.702Z] Step 18/23 : EXPOSE 59999 [2023-05-01T16:42:12.702Z] ---> Running in 9d328248f9b2 [2023-05-01T16:42:12.702Z] Removing intermediate container 9d328248f9b2 [2023-05-01T16:42:12.702Z] ---> 8a3717d651e4 [2023-05-01T16:42:12.702Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-01T16:42:12.702Z] ---> Running in b49486486e1a [2023-05-01T16:42:12.702Z] Removing intermediate container b49486486e1a [2023-05-01T16:42:12.702Z] ---> 53c43b816a30 [2023-05-01T16:42:12.702Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-01T16:42:12.702Z] ---> Running in 60f8ca08513b [2023-05-01T16:42:12.961Z] Removing intermediate container 60f8ca08513b [2023-05-01T16:42:12.961Z] ---> 7be90273c141 [2023-05-01T16:42:12.961Z] Step 21/23 : LABEL arch=amd64 [2023-05-01T16:42:12.961Z] ---> Running in 0964a182beaf [2023-05-01T16:42:12.961Z] Removing intermediate container 0964a182beaf [2023-05-01T16:42:12.961Z] ---> b79548fce468 [2023-05-01T16:42:12.961Z] Step 22/23 : LABEL git_sha=c599f00cfcc0d3c253e941420666fade27201aa7 [2023-05-01T16:42:12.961Z] ---> Running in e9b4ab39ce93 [2023-05-01T16:42:12.961Z] Removing intermediate container e9b4ab39ce93 [2023-05-01T16:42:12.961Z] ---> c1a5222b7f46 [2023-05-01T16:42:12.961Z] Step 23/23 : LABEL version=0.0.0 [2023-05-01T16:42:12.961Z] ---> Running in d17eee888df2 [2023-05-01T16:42:13.219Z] Removing intermediate container d17eee888df2 [2023-05-01T16:42:13.219Z] ---> 3d01147ef949 [2023-05-01T16:42:13.219Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-01T16:42:13.219Z] Successfully built 3d01147ef949 [2023-05-01T16:42:13.219Z] 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-05-01T16:42:14.059Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-01T16:42:14.059Z] [2023-05-01T16:42:14.059Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-01T16:42:14.427Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-01T16:42:14.427Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-01T16:42:14.427Z] 5eb5b503b376: Pulling fs layer [2023-05-01T16:42:14.427Z] 5c69ac0246d0: Pulling fs layer [2023-05-01T16:42:14.427Z] ec43610c2a17: Pulling fs layer [2023-05-01T16:42:14.427Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-01T16:42:14.427Z] 33b1e0a273af: Pulling fs layer [2023-05-01T16:42:14.427Z] 5d3b04190fa2: Pulling fs layer [2023-05-01T16:42:14.427Z] 2f39f015ded8: Pulling fs layer [2023-05-01T16:42:14.427Z] 33b1e0a273af: Waiting [2023-05-01T16:42:14.427Z] 5d3b04190fa2: Waiting [2023-05-01T16:42:14.427Z] 2f39f015ded8: Waiting [2023-05-01T16:42:14.427Z] 3a2ae6a8a46f: Waiting [2023-05-01T16:42:14.427Z] 5c69ac0246d0: Download complete [2023-05-01T16:42:14.427Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-01T16:42:14.427Z] 3a2ae6a8a46f: Download complete [2023-05-01T16:42:14.427Z] 33b1e0a273af: Verifying Checksum [2023-05-01T16:42:14.427Z] 33b1e0a273af: Download complete [2023-05-01T16:42:14.427Z] 5d3b04190fa2: Verifying Checksum [2023-05-01T16:42:14.427Z] 5d3b04190fa2: Download complete [2023-05-01T16:42:14.427Z] ec43610c2a17: Verifying Checksum [2023-05-01T16:42:14.427Z] ec43610c2a17: Download complete [2023-05-01T16:42:14.450Z] Commit message: "fix: Fix hang on subscribe errors during bootstrap" [2023-05-01T16:42:14.503Z] > git --version # timeout=10 [2023-05-01T16:42:14.515Z] > git --version # 'git version 2.25.1' [2023-05-01T16:42:14.530Z] fatal: bad object 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-05-01T16:42:14.686Z] 5eb5b503b376: Verifying Checksum [2023-05-01T16:42:14.686Z] 5eb5b503b376: Download complete [2023-05-01T16:42:14.829Z] [2023-05-01T16:42:14.829Z] GitHub has been notified of this commit’s build result [2023-05-01T16:42:14.829Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-01T16:42:15.251Z] 2f39f015ded8: Download complete [2023-05-01T16:42:15.711Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-01T16:42:15.711Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-01T16:42:15.711Z] Dload Upload Total Spent Left Speed [2023-05-01T16:42:15.711Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98844 0 --:--:-- --:--:-- --:--:-- 98844 [2023-05-01T16:42:15.816Z] 5eb5b503b376: Pull complete [Pipeline] sh [2023-05-01T16:42:16.073Z] 5c69ac0246d0: Pull complete [2023-05-01T16:42:16.380Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-01T16:42:16.670Z] ec43610c2a17: Pull complete [2023-05-01T16:42:16.670Z] 3a2ae6a8a46f: Pull complete [2023-05-01T16:42:16.670Z] 33b1e0a273af: Pull complete [2023-05-01T16:42:16.735Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2023-05-01T16:42:16.735Z] /etc/docker/daemon.json [2023-05-01T16:42:16.735Z] { [2023-05-01T16:42:16.735Z] "registry-mirrors": [ [2023-05-01T16:42:16.735Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-01T16:42:16.735Z] ], [2023-05-01T16:42:16.735Z] "bip": "10.250.0.254/24", [2023-05-01T16:42:16.735Z] "hosts": [ [2023-05-01T16:42:16.735Z] "tcp://0.0.0.0:5555", [2023-05-01T16:42:16.735Z] "unix:///var/run/docker.sock" [2023-05-01T16:42:16.735Z] ], [2023-05-01T16:42:16.735Z] "mtu": 1458, [2023-05-01T16:42:16.735Z] "selinux-enabled": true, [2023-05-01T16:42:16.735Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-01T16:42:16.735Z] } [Pipeline] sh [2023-05-01T16:42:16.928Z] 5d3b04190fa2: Pull complete [2023-05-01T16:42:17.080Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-01T16:42:17.429Z] + sudo service docker restart [2023-05-01T16:42:21.109Z] 2f39f015ded8: Pull complete [2023-05-01T16:42:21.109Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-01T16:42:21.109Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-01T16:42:21.109Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-01T16:42:21.326Z] prd-ubuntu20.04-docker-8c-8g-12182 does not seem to be running inside a container [2023-05-01T16:42:21.355Z] $ 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-1440 -v /w/workspace/gexfoundry_device-sdk-go_PR-1440:/w/workspace/gexfoundry_device-sdk-go_PR-1440:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1440@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1440@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-01T16:42:23.307Z] $ docker top 7d0fca4a5c76dfcb14b6d8fb132554d55372400c59fbb1e12afdd1b3cc8a577a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-01T16:42:23.757Z] ---> job-cost.sh [2023-05-01T16:42:23.757Z] lf-activate-venv: SKIPPING [2023-05-01T16:42:23.757Z] INFO: No Stack... [2023-05-01T16:42:24.017Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-01T16:42:24.583Z] INFO: Archiving Costs [Pipeline] sh [2023-05-01T16:42:24.897Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1440/archives/cost.csv [2023-05-01T16:42:24.897Z] + cut -d, -f6 [Pipeline] lock [2023-05-01T16:42:24.932Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1440-1-stack-cost] [2023-05-01T16:42:24.937Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1440-1-stack-cost] did not exist. Created. [2023-05-01T16:42:24.937Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1440-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-01T16:42:25.329Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-01T16:42:25.386Z] Stashed 1 file(s) [Pipeline] } [2023-05-01T16:42:25.415Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1440-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-01T16:42:25.544Z] $ docker stop --time=1 7d0fca4a5c76dfcb14b6d8fb132554d55372400c59fbb1e12afdd1b3cc8a577a [2023-05-01T16:42:26.741Z] $ docker rm -f --volumes 7d0fca4a5c76dfcb14b6d8fb132554d55372400c59fbb1e12afdd1b3cc8a577a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-01T16:42:35.740Z] provisioning config files... [2023-05-01T16:42:35.769Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config5742738430287633385tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-01T16:42:36.164Z] ---> docker-login.sh [2023-05-01T16:42:36.164Z] nexus3.edgexfoundry.org:10001 [2023-05-01T16:42:36.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-01T16:42:36.707Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-01T16:42:36.707Z] Configure a credential helper to remove this warning. See [2023-05-01T16:42:36.707Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-01T16:42:36.707Z] [2023-05-01T16:42:36.707Z] Login Succeeded [2023-05-01T16:42:36.707Z] nexus3.edgexfoundry.org:10002 [2023-05-01T16:42:36.976Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-01T16:42:37.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-01T16:42:37.247Z] Configure a credential helper to remove this warning. See [2023-05-01T16:42:37.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-01T16:42:37.247Z] [2023-05-01T16:42:37.247Z] Login Succeeded [2023-05-01T16:42:37.247Z] nexus3.edgexfoundry.org:10003 [2023-05-01T16:42:37.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-01T16:42:37.519Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-01T16:42:37.519Z] Configure a credential helper to remove this warning. See [2023-05-01T16:42:37.519Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-01T16:42:37.519Z] [2023-05-01T16:42:37.519Z] Login Succeeded [2023-05-01T16:42:37.519Z] nexus3.edgexfoundry.org:10004 [2023-05-01T16:42:37.791Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-01T16:42:37.791Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-01T16:42:37.791Z] Configure a credential helper to remove this warning. See [2023-05-01T16:42:37.791Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-01T16:42:37.791Z] [2023-05-01T16:42:37.791Z] Login Succeeded [2023-05-01T16:42:37.791Z] docker.io [2023-05-01T16:42:38.060Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-01T16:42:38.330Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-01T16:42:38.330Z] Configure a credential helper to remove this warning. See [2023-05-01T16:42:38.330Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-01T16:42:38.330Z] [2023-05-01T16:42:38.330Z] Login Succeeded [2023-05-01T16:42:38.330Z] ---> docker-login.sh ends [Pipeline] } [2023-05-01T16:42:38.358Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-01T16:42:38.711Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-01T16:42:38.749Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-01T16:42:38.779Z] ========================================================= [2023-05-01T16:42:38.779Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-01T16:42:38.779Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-01T16:42:39.285Z] + 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-05-01T16:42:39.554Z] Sending build context to Docker daemon 5.958MB [2023-05-01T16:42:39.830Z] Step 1/10 : ARG BASE=golang:1.20-alpine3.17 [2023-05-01T16:42:39.830Z] Step 2/10 : FROM ${BASE} AS builder [2023-05-01T16:42:39.830Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-01T16:42:39.830Z] c41833b44d91: Pulling fs layer [2023-05-01T16:42:39.830Z] ed15518f5707: Pulling fs layer [2023-05-01T16:42:39.830Z] feae8fd75edb: Pulling fs layer [2023-05-01T16:42:39.830Z] 242c74f7c9fa: Pulling fs layer [2023-05-01T16:42:39.830Z] 3cdef696dda3: Pulling fs layer [2023-05-01T16:42:39.830Z] 2ced38df9373: Pulling fs layer [2023-05-01T16:42:39.830Z] 58f1dce35555: Pulling fs layer [2023-05-01T16:42:39.830Z] 242c74f7c9fa: Waiting [2023-05-01T16:42:39.830Z] 3cdef696dda3: Waiting [2023-05-01T16:42:39.830Z] 2ced38df9373: Waiting [2023-05-01T16:42:39.830Z] 58f1dce35555: Waiting [2023-05-01T16:42:39.830Z] ed15518f5707: Verifying Checksum [2023-05-01T16:42:39.830Z] ed15518f5707: Download complete [2023-05-01T16:42:39.830Z] 242c74f7c9fa: Verifying Checksum [2023-05-01T16:42:39.830Z] 242c74f7c9fa: Download complete [2023-05-01T16:42:40.100Z] 3cdef696dda3: Verifying Checksum [2023-05-01T16:42:40.100Z] 3cdef696dda3: Download complete [2023-05-01T16:42:40.100Z] c41833b44d91: Verifying Checksum [2023-05-01T16:42:40.100Z] c41833b44d91: Download complete [2023-05-01T16:42:41.079Z] c41833b44d91: Pull complete [2023-05-01T16:42:41.350Z] 58f1dce35555: Verifying Checksum [2023-05-01T16:42:41.622Z] ed15518f5707: Pull complete [2023-05-01T16:42:42.588Z] feae8fd75edb: Verifying Checksum [2023-05-01T16:42:42.588Z] feae8fd75edb: Download complete [2023-05-01T16:42:42.588Z] 2ced38df9373: Verifying Checksum [2023-05-01T16:42:42.588Z] 2ced38df9373: Download complete [2023-05-01T16:42:54.923Z] feae8fd75edb: Pull complete [2023-05-01T16:42:54.923Z] 242c74f7c9fa: Pull complete [2023-05-01T16:42:54.923Z] 3cdef696dda3: Pull complete [2023-05-01T16:43:00.312Z] 2ced38df9373: Pull complete [2023-05-01T16:43:02.913Z] 58f1dce35555: Pull complete [2023-05-01T16:43:02.913Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-01T16:43:02.913Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-01T16:43:02.913Z] ---> fadd8f120f05 [2023-05-01T16:43:02.913Z] Step 3/10 : ARG MAKE=make build [2023-05-01T16:43:04.875Z] ---> Running in ef318186e44e [2023-05-01T16:43:05.144Z] Removing intermediate container ef318186e44e [2023-05-01T16:43:05.144Z] ---> 6e944159711d [2023-05-01T16:43:05.144Z] Step 4/10 : WORKDIR /device-sdk-go [2023-05-01T16:43:05.144Z] ---> Running in d124c545c3a5 [2023-05-01T16:43:05.414Z] Removing intermediate container d124c545c3a5 [2023-05-01T16:43:05.415Z] ---> f8c0dd3c1fd7 [2023-05-01T16:43:05.415Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-01T16:43:05.415Z] ---> Running in fdd6ef594eb1 [2023-05-01T16:43:06.003Z] Removing intermediate container fdd6ef594eb1 [2023-05-01T16:43:06.003Z] ---> 57f028f65602 [2023-05-01T16:43:06.003Z] Step 6/10 : RUN apk add --update --no-cache make git [2023-05-01T16:43:06.003Z] ---> Running in e8192eb52983 [2023-05-01T16:43:06.966Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-01T16:43:07.560Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-01T16:43:08.527Z] OK: 263 MiB in 53 packages [2023-05-01T16:43:09.493Z] Removing intermediate container e8192eb52983 [2023-05-01T16:43:09.493Z] ---> 38af79dd6438 [2023-05-01T16:43:09.493Z] Step 7/10 : COPY go.mod vendor* ./ [2023-05-01T16:43:09.765Z] ---> a0b89c3a04ed [2023-05-01T16:43:09.765Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-01T16:43:10.035Z] ---> Running in bc579c2c16f9 [2023-05-01T16:44:17.910Z] Removing intermediate container bc579c2c16f9 [2023-05-01T16:44:17.910Z] ---> bff4d2615a78 [2023-05-01T16:44:17.910Z] Step 9/10 : COPY . . [2023-05-01T16:44:17.910Z] ---> 4acd77e8c220 [2023-05-01T16:44:17.910Z] Step 10/10 : RUN ${MAKE} [2023-05-01T16:44:17.910Z] ---> Running in afbeb11a6124 [2023-05-01T16:44:17.910Z] noop [2023-05-01T16:44:17.910Z] Removing intermediate container afbeb11a6124 [2023-05-01T16:44:17.910Z] ---> 78039c7b3abb [2023-05-01T16:44:17.910Z] Successfully built 78039c7b3abb [2023-05-01T16:44:17.910Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-01T16:44:18.392Z] + docker inspect -f . ci-base-image-arm64 [2023-05-01T16:44:18.392Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-01T16:44:18.677Z] prd-ubuntu20.04-docker-arm64-4c-16g-12187 does not seem to be running inside a container [2023-05-01T16:44:18.742Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-01T16:44:19.934Z] $ docker top ece1ef3b5a94afb8b18875e4c52331e1174975a000d2517b46718152afe2aa67 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-01T16:44:20.810Z] + go version [2023-05-01T16:44:20.810Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-01T16:44:20.848Z] $ docker stop --time=1 ece1ef3b5a94afb8b18875e4c52331e1174975a000d2517b46718152afe2aa67 [2023-05-01T16:44:22.499Z] $ docker rm -f --volumes ece1ef3b5a94afb8b18875e4c52331e1174975a000d2517b46718152afe2aa67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-01T16:44:23.345Z] + docker inspect -f . ci-base-image-arm64 [2023-05-01T16:44:23.345Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-01T16:44:23.601Z] prd-ubuntu20.04-docker-arm64-4c-16g-12187 does not seem to be running inside a container [2023-05-01T16:44:23.665Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-01T16:44:24.849Z] $ docker top aca31315a2286da78a1c33e0394309774bb8462ef5cc89790c6ff2356d1aa7ec -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-01T16:44:25.720Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2023-05-01T16:44:26.110Z] + make test [2023-05-01T16:44:26.379Z] go test -race -coverprofile=coverage.out ./... [2023-05-01T16:45:05.435Z] ? github.com/edgexfoundry/device-sdk-go/v3 [no test files] [2023-05-01T16:47:12.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/cmd/device-simple [no test files] [2023-05-01T16:47:12.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/config [no test files] [2023-05-01T16:47:12.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/application [no test files] [2023-05-01T16:47:12.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/autodiscovery [no test files] [2023-05-01T16:47:12.132Z] ? github.com/edgexfoundry/device-sdk-go/v3/example/driver [no test files] [2023-05-01T16:47:12.132Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/autoevent 0.197s coverage: 27.6% of statements [2023-05-01T16:47:13.556Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/cache 0.291s coverage: 80.2% of statements [2023-05-01T16:47:23.667Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/config [no test files] [2023-05-01T16:47:23.667Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/container [no test files] [2023-05-01T16:47:24.252Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/common 0.707s coverage: 86.0% of statements [2023-05-01T16:47:29.599Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http/correlation [no test files] [2023-05-01T16:47:29.866Z] ? github.com/edgexfoundry/device-sdk-go/v3/internal/provision [no test files] [2023-05-01T16:47:30.135Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/http 0.507s coverage: 77.5% of statements [2023-05-01T16:47:33.496Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/controller/messaging 3.298s coverage: 14.6% of statements [2023-05-01T16:47:35.548Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces [no test files] [2023-05-01T16:47:35.548Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces/mocks [no test files] [2023-05-01T16:47:35.548Z] ok github.com/edgexfoundry/device-sdk-go/v3/internal/transformer 0.468s coverage: 68.5% of statements [2023-05-01T16:47:38.284Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/models 0.489s coverage: 89.2% of statements [2023-05-01T16:47:40.261Z] ? github.com/edgexfoundry/device-sdk-go/v3/pkg/startup [no test files] [2023-05-01T16:47:40.531Z] ok github.com/edgexfoundry/device-sdk-go/v3/pkg/service 0.255s coverage: 5.5% of statements [2023-05-01T16:47:41.495Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-01T16:47:41.495Z] GO111MODULE=on go vet ./... [2023-05-01T16:50:03.239Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-01T16:50:03.239Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-01T16:50:03.239Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-01T16:50:03.282Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-01T16:50:03.312Z] $ docker stop --time=1 aca31315a2286da78a1c33e0394309774bb8462ef5cc89790c6ff2356d1aa7ec [2023-05-01T16:50:06.556Z] $ docker rm -f --volumes aca31315a2286da78a1c33e0394309774bb8462ef5cc89790c6ff2356d1aa7ec [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-01T16:50:08.094Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-01T16:50:08.129Z] Warning: overwriting stash ‘coverage-report’ [2023-05-01T16:50:08.620Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-01T16:50:09.226Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-01T16:50:09.566Z] + ls -al . [2023-05-01T16:50:09.567Z] total 268 [2023-05-01T16:50:09.567Z] drwxrwxr-x 10 jenkins jenkins 4096 May 1 16:44 . [2023-05-01T16:50:09.567Z] drwxrwxr-x 4 jenkins jenkins 4096 May 1 16:42 .. [2023-05-01T16:50:09.567Z] -rw-rw-r-- 1 jenkins jenkins 140 May 1 16:42 .dockerignore [2023-05-01T16:50:09.567Z] drwxrwxr-x 8 jenkins jenkins 4096 May 1 16:42 .git [2023-05-01T16:50:09.567Z] drwxrwxr-x 2 jenkins jenkins 4096 May 1 16:42 .github [2023-05-01T16:50:09.567Z] -rw-rw-r-- 1 jenkins jenkins 131 May 1 16:42 .gitignore [2023-05-01T16:50:09.567Z] -rw-rw-r-- 1 jenkins jenkins 42 May 1 16:42 .golangci.yml [2023-05-01T16:50:09.567Z] -rw-rw-r-- 1 jenkins jenkins 31677 May 1 16:42 CHANGELOG.md [2023-05-01T16:50:09.567Z] -rw-rw-r-- 1 jenkins jenkins 677 May 1 16:42 GOVERNANCE.md [2023-05-01T16:50:09.567Z] -rw-rw-r-- 1 jenkins jenkins 885 May 1 16:42 Jenkinsfile [2023-05-01T16:50:09.567Z] -rw-rw-r-- 1 jenkins jenkins 11341 May 1 16:42 LICENSE [2023-05-01T16:50:09.567Z] -rw-rw-r-- 1 jenkins jenkins 1714 May 1 16:42 Makefile [2023-05-01T16:50:09.567Z] -rw-rw-r-- 1 jenkins jenkins 619 May 1 16:42 OWNERS.md [2023-05-01T16:50:09.567Z] -rw-rw-r-- 1 jenkins jenkins 4891 May 1 16:42 README.md [2023-05-01T16:50:09.567Z] -rw-rw-r-- 1 jenkins jenkins 5 May 1 16:40 VERSION [2023-05-01T16:50:09.567Z] drwxrwxr-x 2 jenkins jenkins 4096 May 1 16:42 bin [2023-05-01T16:50:09.567Z] -rw-r--r-- 1 jenkins jenkins 106119 May 1 16:47 coverage.out [2023-05-01T16:50:09.567Z] drwxrwxr-x 5 jenkins jenkins 4096 May 1 16:42 example [2023-05-01T16:50:09.567Z] -rw-rw-r-- 1 jenkins jenkins 3246 May 1 16:42 go.mod [2023-05-01T16:50:09.567Z] -rw-rw-r-- 1 jenkins jenkins 30896 May 1 16:42 go.sum [2023-05-01T16:50:09.567Z] drwxrwxr-x 12 jenkins jenkins 4096 May 1 16:42 internal [2023-05-01T16:50:09.567Z] drwxrwxr-x 3 jenkins jenkins 4096 May 1 16:42 openapi [2023-05-01T16:50:09.567Z] drwxrwxr-x 6 jenkins jenkins 4096 May 1 16:42 pkg [2023-05-01T16:50:09.567Z] drwxrwxr-x 4 jenkins jenkins 4096 May 1 16:42 snap [2023-05-01T16:50:09.567Z] -rw-rw-r-- 1 jenkins jenkins 222 May 1 16:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-01T16:50:10.028Z] + 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=c599f00cfcc0d3c253e941420666fade27201aa7 --label arch=arm64 --label version=0.0.0 . [2023-05-01T16:50:10.296Z] Sending build context to Docker daemon 6.065MB [2023-05-01T16:50:10.561Z] Step 1/23 : ARG BASE=golang:1.20-alpine3.17 [2023-05-01T16:50:10.561Z] Step 2/23 : FROM ${BASE} AS builder [2023-05-01T16:50:10.561Z] ---> 78039c7b3abb [2023-05-01T16:50:10.561Z] Step 3/23 : ARG MAKE=make build [2023-05-01T16:50:10.561Z] ---> Running in 42a02db5ff07 [2023-05-01T16:50:10.829Z] Removing intermediate container 42a02db5ff07 [2023-05-01T16:50:10.829Z] ---> ab3d21b87fc6 [2023-05-01T16:50:10.829Z] Step 4/23 : WORKDIR /device-sdk-go [2023-05-01T16:50:10.829Z] ---> Running in 1733f55ce867 [2023-05-01T16:50:11.414Z] Removing intermediate container 1733f55ce867 [2023-05-01T16:50:11.414Z] ---> ebd9860e69c7 [2023-05-01T16:50:11.414Z] Step 5/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-05-01T16:50:11.414Z] ---> Running in 3dcaa78aa163 [2023-05-01T16:50:11.683Z] Removing intermediate container 3dcaa78aa163 [2023-05-01T16:50:11.683Z] ---> 4eea46781050 [2023-05-01T16:50:11.683Z] Step 6/23 : RUN apk add --update --no-cache make git [2023-05-01T16:50:11.683Z] ---> Running in 3ae6ce1dd29a [2023-05-01T16:50:12.644Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-01T16:50:13.227Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-01T16:50:14.190Z] OK: 263 MiB in 53 packages [2023-05-01T16:50:15.156Z] Removing intermediate container 3ae6ce1dd29a [2023-05-01T16:50:15.156Z] ---> 819f0af0d7a3 [2023-05-01T16:50:15.156Z] Step 7/23 : COPY go.mod vendor* ./ [2023-05-01T16:50:15.422Z] ---> 2798626e2171 [2023-05-01T16:50:15.423Z] Step 8/23 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-01T16:50:15.699Z] ---> Running in 88d646518e5b [2023-05-01T16:50:21.034Z] Removing intermediate container 88d646518e5b [2023-05-01T16:50:21.034Z] ---> ffc7f6f9b441 [2023-05-01T16:50:21.034Z] Step 9/23 : COPY . . [2023-05-01T16:50:21.613Z] ---> f01886076c4f [2023-05-01T16:50:21.613Z] Step 10/23 : RUN ${MAKE} [2023-05-01T16:50:21.613Z] ---> Running in de13d7373fed [2023-05-01T16:50:22.568Z] 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-05-01T16:52:29.215Z] Removing intermediate container de13d7373fed [2023-05-01T16:52:29.215Z] ---> 69a9e7cdeeb3 [2023-05-01T16:52:29.215Z] Step 11/23 : FROM alpine:3.17 [2023-05-01T16:52:29.215Z] 3.17: Pulling from library/alpine [2023-05-01T16:52:29.215Z] c41833b44d91: Already exists [2023-05-01T16:52:29.215Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-01T16:52:29.215Z] Status: Downloaded newer image for alpine:3.17 [2023-05-01T16:52:29.215Z] ---> 51e60588ff2c [2023-05-01T16:52:29.215Z] Step 12/23 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-01T16:52:29.215Z] ---> Running in 9609d5144785 [2023-05-01T16:52:29.215Z] Removing intermediate container 9609d5144785 [2023-05-01T16:52:29.215Z] ---> d8dd59ff2a91 [2023-05-01T16:52:29.215Z] Step 13/23 : RUN apk add --update --no-cache [2023-05-01T16:52:29.215Z] ---> Running in 63904fd428c1 [2023-05-01T16:52:29.215Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-01T16:52:29.215Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-01T16:52:29.215Z] OK: 7 MiB in 15 packages [2023-05-01T16:52:29.215Z] Removing intermediate container 63904fd428c1 [2023-05-01T16:52:29.215Z] ---> b5783249f074 [2023-05-01T16:52:29.215Z] Step 14/23 : WORKDIR / [2023-05-01T16:52:29.215Z] ---> Running in b2640d98eb46 [2023-05-01T16:52:29.215Z] Removing intermediate container b2640d98eb46 [2023-05-01T16:52:29.215Z] ---> dac2314e6c7a [2023-05-01T16:52:29.215Z] Step 15/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2023-05-01T16:52:29.802Z] ---> c5812ab4b602 [2023-05-01T16:52:29.802Z] Step 16/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2023-05-01T16:52:31.211Z] ---> d5c6015f4f62 [2023-05-01T16:52:31.211Z] Step 17/23 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2023-05-01T16:52:31.479Z] ---> 3d9b2661b551 [2023-05-01T16:52:31.479Z] Step 18/23 : EXPOSE 59999 [2023-05-01T16:52:31.479Z] ---> Running in 09d8051a4dfb [2023-05-01T16:52:31.756Z] Removing intermediate container 09d8051a4dfb [2023-05-01T16:52:31.756Z] ---> e539e9d6d01d [2023-05-01T16:52:31.756Z] Step 19/23 : ENTRYPOINT ["/device-simple"] [2023-05-01T16:52:31.756Z] ---> Running in 4fbb09bfc9ff [2023-05-01T16:52:32.028Z] Removing intermediate container 4fbb09bfc9ff [2023-05-01T16:52:32.028Z] ---> dc47b4a29050 [2023-05-01T16:52:32.028Z] Step 20/23 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-05-01T16:52:32.303Z] ---> Running in 40f42be8e173 [2023-05-01T16:52:32.572Z] Removing intermediate container 40f42be8e173 [2023-05-01T16:52:32.572Z] ---> 1c97116b579b [2023-05-01T16:52:32.572Z] Step 21/23 : LABEL arch=arm64 [2023-05-01T16:52:32.572Z] ---> Running in 1c973db7c50d [2023-05-01T16:52:32.838Z] Removing intermediate container 1c973db7c50d [2023-05-01T16:52:32.838Z] ---> d83c92d15c2c [2023-05-01T16:52:32.838Z] Step 22/23 : LABEL git_sha=c599f00cfcc0d3c253e941420666fade27201aa7 [2023-05-01T16:52:32.838Z] ---> Running in 1bb9c2571b80 [2023-05-01T16:52:33.104Z] Removing intermediate container 1bb9c2571b80 [2023-05-01T16:52:33.104Z] ---> c6c06ee42829 [2023-05-01T16:52:33.104Z] Step 23/23 : LABEL version=0.0.0 [2023-05-01T16:52:33.369Z] ---> Running in 6a2ff11b0688 [2023-05-01T16:52:33.634Z] Removing intermediate container 6a2ff11b0688 [2023-05-01T16:52:33.634Z] ---> 3d4bafebb74c [2023-05-01T16:52:33.634Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-01T16:52:33.634Z] Successfully built 3d4bafebb74c [2023-05-01T16:52:33.634Z] 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-05-01T16:52:34.453Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-01T16:52:34.453Z] [2023-05-01T16:52:34.453Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-01T16:52:34.857Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-01T16:52:34.857Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-01T16:52:34.857Z] 8998bd30e6a1: Pulling fs layer [2023-05-01T16:52:34.857Z] 04944245beec: Pulling fs layer [2023-05-01T16:52:34.857Z] 699f458cf7ca: Pulling fs layer [2023-05-01T16:52:34.857Z] 765212b225bb: Pulling fs layer [2023-05-01T16:52:34.857Z] f23df028b6ca: Pulling fs layer [2023-05-01T16:52:34.857Z] d65c8cfc05b1: Pulling fs layer [2023-05-01T16:52:34.857Z] 2437ff75d9bd: Pulling fs layer [2023-05-01T16:52:34.857Z] 765212b225bb: Waiting [2023-05-01T16:52:34.857Z] f23df028b6ca: Waiting [2023-05-01T16:52:34.857Z] d65c8cfc05b1: Waiting [2023-05-01T16:52:34.857Z] 2437ff75d9bd: Waiting [2023-05-01T16:52:35.124Z] 04944245beec: Verifying Checksum [2023-05-01T16:52:35.124Z] 04944245beec: Download complete [2023-05-01T16:52:35.124Z] 765212b225bb: Verifying Checksum [2023-05-01T16:52:35.124Z] 765212b225bb: Download complete [2023-05-01T16:52:35.124Z] f23df028b6ca: Verifying Checksum [2023-05-01T16:52:35.124Z] f23df028b6ca: Download complete [2023-05-01T16:52:35.124Z] d65c8cfc05b1: Verifying Checksum [2023-05-01T16:52:35.124Z] d65c8cfc05b1: Download complete [2023-05-01T16:52:35.124Z] 699f458cf7ca: Verifying Checksum [2023-05-01T16:52:35.124Z] 699f458cf7ca: Download complete [2023-05-01T16:52:35.705Z] 8998bd30e6a1: Verifying Checksum [2023-05-01T16:52:35.705Z] 8998bd30e6a1: Download complete [2023-05-01T16:52:37.671Z] 2437ff75d9bd: Verifying Checksum [2023-05-01T16:52:37.671Z] 2437ff75d9bd: Download complete [2023-05-01T16:52:39.612Z] 8998bd30e6a1: Pull complete [2023-05-01T16:52:40.196Z] 04944245beec: Pull complete [2023-05-01T16:52:42.786Z] 699f458cf7ca: Pull complete [2023-05-01T16:52:43.058Z] 765212b225bb: Pull complete [2023-05-01T16:52:44.024Z] f23df028b6ca: Pull complete [2023-05-01T16:52:44.024Z] d65c8cfc05b1: Pull complete [2023-05-01T16:52:59.020Z] 2437ff75d9bd: Pull complete [2023-05-01T16:52:59.020Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-01T16:52:59.020Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-01T16:52:59.020Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-01T16:52:59.334Z] prd-ubuntu20.04-docker-arm64-4c-16g-12187 does not seem to be running inside a container [2023-05-01T16:52:59.399Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-01T16:53:01.816Z] $ docker top bb023c0b907d3ca66944813d0bdd99f8076b9b2da011a16c870417607f9b4e49 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-01T16:53:02.395Z] ---> job-cost.sh [2023-05-01T16:53:02.668Z] lf-activate-venv: SKIPPING [2023-05-01T16:53:02.668Z] INFO: No Stack... [2023-05-01T16:53:03.251Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-01T16:53:03.833Z] INFO: Archiving Costs [Pipeline] sh [2023-05-01T16:53:04.175Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv+ [2023-05-01T16:53:04.175Z] cut -d, -f6 [Pipeline] lock [2023-05-01T16:53:04.248Z] Trying to acquire lock on [jenkins-edgexfoundry-device-sdk-go-PR-1440-1-stack-cost] [2023-05-01T16:53:04.253Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1440-1-stack-cost] did not exist. Created. [2023-05-01T16:53:04.253Z] Lock acquired on [jenkins-edgexfoundry-device-sdk-go-PR-1440-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-01T16:53:04.672Z] /w/workspace/device-sdk-go/1@tmp/durable-82703187/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-01T16:53:05.030Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-01T16:53:05.065Z] Warning: overwriting stash ‘stack-cost’ [2023-05-01T16:53:05.117Z] Stashed 1 file(s) [Pipeline] } [2023-05-01T16:53:05.132Z] Lock released on resource [jenkins-edgexfoundry-device-sdk-go-PR-1440-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-01T16:53:05.203Z] $ docker stop --time=1 bb023c0b907d3ca66944813d0bdd99f8076b9b2da011a16c870417607f9b4e49 [2023-05-01T16:53:06.696Z] $ docker rm -f --volumes bb023c0b907d3ca66944813d0bdd99f8076b9b2da011a16c870417607f9b4e49 [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-05-01T16:53:07.726Z] provisioning config files... [2023-05-01T16:53:07.734Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1440@tmp/config3415506306103099717tmp [Pipeline] { [Pipeline] sh [2023-05-01T16:53:08.069Z] + set +x [2023-05-01T16:53:08.069Z] + + curl -s https://codecov.io/bashbash [2023-05-01T16:53:08.069Z] -s -- [2023-05-01T16:53:08.069Z] [2023-05-01T16:53:08.069Z] _____ _ [2023-05-01T16:53:08.069Z] / ____| | | [2023-05-01T16:53:08.069Z] | | ___ __| | ___ ___ _____ __ [2023-05-01T16:53:08.069Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-01T16:53:08.069Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-01T16:53:08.069Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-01T16:53:08.069Z] Bash-1.0.6 [2023-05-01T16:53:08.069Z] [2023-05-01T16:53:08.069Z] [2023-05-01T16:53:08.069Z] ==> git version 2.25.1 found [2023-05-01T16:53:08.069Z] ==> 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-05-01T16:53:08.069Z] Release-Date: 2020-01-08 [2023-05-01T16:53:08.069Z] 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-05-01T16:53:08.069Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-01T16:53:08.069Z] ==> Jenkins CI detected. [2023-05-01T16:53:08.069Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1440 [2023-05-01T16:53:08.069Z] project root: . [2023-05-01T16:53:08.069Z] --> token set from env [2023-05-01T16:53:08.069Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-01T16:53:08.069Z] ==> Running gcov in . (disable via -X gcov) [2023-05-01T16:53:08.069Z] ==> Python coveragepy not found [2023-05-01T16:53:08.069Z] ==> Searching for coverage reports in: [2023-05-01T16:53:08.069Z] + . [2023-05-01T16:53:08.327Z] -> Found 1 reports [2023-05-01T16:53:08.327Z] ==> Detecting git/mercurial file structure [2023-05-01T16:53:08.327Z] ==> Reading reports [2023-05-01T16:53:08.327Z] + ./coverage.out bytes=106119 [2023-05-01T16:53:08.327Z] ==> Appending adjustments [2023-05-01T16:53:08.327Z] https://docs.codecov.io/docs/fixing-reports [2023-05-01T16:53:08.587Z] + Found adjustments [2023-05-01T16:53:08.587Z] ==> Gzipping contents [2023-05-01T16:53:08.587Z] 16K /tmp/codecov.cwMMNq.gz [2023-05-01T16:53:08.587Z] ==> Uploading reports [2023-05-01T16:53:08.587Z] url: https://codecov.io [2023-05-01T16:53:08.587Z] query: branch=PR-1440&commit=c599f00cfcc0d3c253e941420666fade27201aa7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1440%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1440&job=&cmd_args= [2023-05-01T16:53:08.587Z] -> Pinging Codecov [2023-05-01T16:53:08.587Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=6fc62cd9-fce6-47f0-85f4-af589338491a&branch=PR-1440&commit=c599f00cfcc0d3c253e941420666fade27201aa7&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1440%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1440&job=&cmd_args= [2023-05-01T16:53:08.847Z] -> Uploading to [2023-05-01T16:53:08.847Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-01/7E55EF52A471D76F132DFD9A03CDDE97/c599f00cfcc0d3c253e941420666fade27201aa7/bb840316-1977-42e2-b195-2ae2bacd2fc7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230501%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230501T165308Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=29c9156817987e4478530130a69717be20cfdd0e7defe658696eaecdd13bb70c [2023-05-01T16:53:08.847Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-01T16:53:08.847Z] Dload Upload Total Spent Left Speed [2023-05-01T16:53:09.108Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14999 0 0 100 14999 0 64930 --:--:-- --:--:-- --:--:-- 64930 [2023-05-01T16:53:09.108Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/c599f00cfcc0d3c253e941420666fade27201aa7 [Pipeline] } [2023-05-01T16:53:09.132Z] 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-05-01T16:53:10.877Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1440/archives ] [2023-05-01T16:53:10.877Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1440/archives [2023-05-01T16:53:10.877Z] total 16 [2023-05-01T16:53:10.877Z] drwxr-xr-x 3 root root 4096 May 1 16:42 . [2023-05-01T16:53:10.877Z] drwxrwxr-x 12 jenkins jenkins 4096 May 1 16:42 .. [2023-05-01T16:53:10.877Z] drwxr-xr-x 2 root root 4096 May 1 16:42 cost [2023-05-01T16:53:10.877Z] -rw-r--r-- 1 root root 86 May 1 16:42 cost.csv [2023-05-01T16:53:10.877Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1440/archives [2023-05-01T16:53:10.877Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1440/archives [2023-05-01T16:53:10.877Z] total 16 [2023-05-01T16:53:10.877Z] drwxr-xr-x 3 jenkins jenkins 4096 May 1 16:42 . [2023-05-01T16:53:10.877Z] drwxrwxr-x 12 jenkins jenkins 4096 May 1 16:42 .. [2023-05-01T16:53:10.877Z] drwxr-xr-x 2 jenkins jenkins 4096 May 1 16:42 cost [2023-05-01T16:53:10.877Z] -rw-r--r-- 1 jenkins jenkins 86 May 1 16:42 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-01T16:53:11.207Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-01T16:53:12.099Z] ---> package-listing.sh [2023-05-01T16:53:12.099Z] ++ facter osfamily [2023-05-01T16:53:12.099Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-01T16:53:12.358Z] + OS_FAMILY=debian [2023-05-01T16:53:12.358Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1440 [2023-05-01T16:53:12.358Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-01T16:53:12.358Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-01T16:53:12.358Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-01T16:53:12.358Z] + PACKAGES=/tmp/packages_start.txt [2023-05-01T16:53:12.358Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1440 ']' [2023-05-01T16:53:12.358Z] + PACKAGES=/tmp/packages_end.txt [2023-05-01T16:53:12.358Z] + case "${OS_FAMILY}" in [2023-05-01T16:53:12.358Z] + dpkg -l [2023-05-01T16:53:12.358Z] + grep '^ii' [2023-05-01T16:53:12.358Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-01T16:53:12.358Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-01T16:53:12.358Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-01T16:53:12.358Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1440 ']' [2023-05-01T16:53:12.358Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1440/archives/ [2023-05-01T16:53:12.358Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1440/archives/ [Pipeline] echo [2023-05-01T16:53:12.390Z] 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-1440/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-01T16:53:12.680Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-01T16:53:13.301Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-01T16:53:13.301Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-01T16:53:13.455Z] prd-ubuntu20.04-docker-8c-8g-12182 does not seem to be running inside a container [2023-05-01T16:53:13.485Z] $ 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-1440/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-1440 -v /w/workspace/gexfoundry_device-sdk-go_PR-1440:/w/workspace/gexfoundry_device-sdk-go_PR-1440:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1440@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1440@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-01T16:53:13.745Z] $ docker top 13ec79deb8945b76615151523328b38f9d0cb4f82a464928ec951ef0c939ff0b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-01T16:53:14.139Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-01T16:53:14.446Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-01T16:53:14.754Z] + ls /var/log/sa-host [2023-05-01T16:53:14.754Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-01T16:53:14.984Z] provisioning config files... [2023-05-01T16:53:14.993Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1440@tmp/config14285424455287486856tmp [Pipeline] { [Pipeline] echo [2023-05-01T16:53:15.048Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-01T16:53:15.357Z] ---> create-netrc.sh [Pipeline] } [2023-05-01T16:53:15.389Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-01T16:53:15.806Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-01T16:53:15.837Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-01T16:53:16.146Z] ---> sudo-logs.sh [2023-05-01T16:53:16.146Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-01T16:53:16.235Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-01T16:53:16.549Z] ---> job-cost.sh [2023-05-01T16:53:16.549Z] lf-activate-venv: SKIPPING [2023-05-01T16:53:16.549Z] DEBUG: total: 0.2199999988079071 [2023-05-01T16:53:16.549Z] INFO: Retrieving Stack Cost... [2023-05-01T16:53:17.118Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-01T16:53:17.379Z] INFO: Archiving Costs [Pipeline] echo [2023-05-01T16:53:17.414Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-01T16:53:17.726Z] ---> logs-deploy.sh [2023-05-01T16:53:17.726Z] lf-activate-venv: SKIPPING [2023-05-01T16:53:17.726Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1440/1 [2023-05-01T16:53:17.726Z] INFO: archiving workspace using pattern(s): [2023-05-01T16:53:18.665Z] Archives upload complete. [2023-05-01T16:53:18.924Z] INFO: archiving logs to Nexus