Pull request #1649 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a5d00c1dab23f4666809e705931b48d7392bf3c1+7f77e0e62202159fe6913cf9abaefab1a89f7492 (347b85f70491635b7f52fa615ef01cd7e1ec17a1) 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-ssh9041311654381585462.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-ssh6362650825223200789.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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-1649/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-1649/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16046504821704438921.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-1649/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14638830393795177932.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 0b81fa10a7dd14683a964f04f411324fe83f93ac (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 0b81fa10a7dd14683a964f04f411324fe83f93ac # timeout=10 Commit message: "Merge pull request #457 from jinlinGuan/golang-1.23" > 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-ssh4945920466602633533.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-1649/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-1649/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18045218310665868543.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 0b81fa10a7dd14683a964f04f411324fe83f93ac 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]] ========================================================= [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.23 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 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-26105 in /w/workspace/gexfoundry_device-sdk-go_PR-1649 [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-1649 # 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/1649/head:refs/remotes/origin/PR-1649 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7f77e0e62202159fe6913cf9abaefab1a89f7492 into PR head commit a5d00c1dab23f4666809e705931b48d7392bf3c1 Merge succeeded, producing a5d00c1dab23f4666809e705931b48d7392bf3c1 Checking out Revision a5d00c1dab23f4666809e705931b48d7392bf3c1 (PR-1649) Commit message: "build(deps): bump golang.org/x/net from 0.30.0 to 0.31.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac > git config core.sparsecheckout # timeout=10 > git checkout -f a5d00c1dab23f4666809e705931b48d7392bf3c1 # 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 7f77e0e62202159fe6913cf9abaefab1a89f7492 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a5d00c1dab23f4666809e705931b48d7392bf3c1 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-11-11T04:18:41.649Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-11-11T04:18:41.868Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-11-11T04:18:41.998Z] ========================================================= [2024-11-11T04:18:41.999Z] EdgeX Global Pipelines Version Info [2024-11-11T04:18:41.999Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:18:42.768Z] ------------------- [2024-11-11T04:18:42.768Z] stable info: [2024-11-11T04:18:42.768Z] ------------------- [2024-11-11T04:18:42.768Z] Commited By: Ginny Guan ginny@iotechsys.com [2024-11-11T04:18:42.768Z] Commit SHA: 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-11T04:18:42.768Z] Message: update stable to v1.0.265 [2024-11-11T04:18:43.338Z] ------------------- [2024-11-11T04:18:43.338Z] experimental info: [2024-11-11T04:18:43.338Z] ------------------- [2024-11-11T04:18:43.338Z] Commited By: Cherry Wang cherry@iotechsys.com [2024-11-11T04:18:43.338Z] Commit SHA: b5a5e52272fc4198cf3754284eedf36dbf0baa35 [2024-11-11T04:18:43.338Z] Message: update experimental to v1.0.264 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-11-11T04:18:43.561Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-sdk-go-settings [Pipeline] echo [2024-11-11T04:18:43.631Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-sdk-go [Pipeline] echo [2024-11-11T04:18:43.694Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-11-11T04:18:43.757Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-11-11T04:18:43.817Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-11-11T04:18:43.873Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.23 [Pipeline] echo [2024-11-11T04:18:43.934Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-11-11T04:18:43.998Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = example/cmd/device-simple/Dockerfile [Pipeline] echo [2024-11-11T04:18:44.060Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-11-11T04:18:44.121Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-11-11T04:18:44.181Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-11-11T04:18:44.244Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-sdk-simple [Pipeline] echo [2024-11-11T04:18:44.304Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-11-11T04:18:44.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-11-11T04:18:44.415Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-11-11T04:18:44.474Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = false [Pipeline] echo [2024-11-11T04:18:44.532Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-11-11T04:18:44.589Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-11-11T04:18:44.645Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-11-11T04:18:44.712Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-11-11T04:18:44.776Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-11-11T04:18:44.827Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi [Pipeline] echo [2024-11-11T04:18:44.892Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-11-11T04:18:44.952Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-11-11T04:18:45.010Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-11-11T04:18:45.067Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-11-11T04:18:45.118Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-11-11T04:18:45.175Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-1649 [Pipeline] echo [2024-11-11T04:18:45.228Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-1649 [Pipeline] echo [2024-11-11T04:18:45.293Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-1649 [Pipeline] echo [2024-11-11T04:18:45.355Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a5d00c1dab23f4666809e705931b48d7392bf3c1 [Pipeline] echo [2024-11-11T04:18:45.417Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a5d00c1 [Pipeline] echo [2024-11-11T04:18:45.481Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-11T04:18:45.633Z] provisioning config files... [2024-11-11T04:18:45.650Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp/config17983215661209702241tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:18:46.051Z] ---> ****-login.sh [2024-11-11T04:18:46.051Z] nexus3.edgexfoundry.org:10001 [2024-11-11T04:18:46.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:18:46.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:18:46.347Z] Configure a credential helper to remove this warning. See [2024-11-11T04:18:46.347Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:18:46.347Z] [2024-11-11T04:18:46.347Z] Login Succeeded [2024-11-11T04:18:46.347Z] nexus3.edgexfoundry.org:10002 [2024-11-11T04:18:46.347Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:18:46.347Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:18:46.347Z] Configure a credential helper to remove this warning. See [2024-11-11T04:18:46.347Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:18:46.347Z] [2024-11-11T04:18:46.347Z] Login Succeeded [2024-11-11T04:18:46.347Z] nexus3.edgexfoundry.org:10003 [2024-11-11T04:18:46.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:18:46.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:18:46.614Z] Configure a credential helper to remove this warning. See [2024-11-11T04:18:46.614Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:18:46.614Z] [2024-11-11T04:18:46.614Z] Login Succeeded [2024-11-11T04:18:46.614Z] nexus3.edgexfoundry.org:10004 [2024-11-11T04:18:46.614Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:18:46.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:18:46.614Z] Configure a credential helper to remove this warning. See [2024-11-11T04:18:46.614Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:18:46.614Z] [2024-11-11T04:18:46.614Z] Login Succeeded [2024-11-11T04:18:46.614Z] ****.io [2024-11-11T04:18:46.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:18:46.876Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:18:46.876Z] Configure a credential helper to remove this warning. See [2024-11-11T04:18:46.876Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:18:46.876Z] [2024-11-11T04:18:46.876Z] Login Succeeded [2024-11-11T04:18:46.876Z] ---> ****-login.sh ends [Pipeline] } [2024-11-11T04:18:46.906Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-11-11T04:18:47.573Z] + git rev-list -1 --merges a5d00c1dab23f4666809e705931b48d7392bf3c1~1..a5d00c1dab23f4666809e705931b48d7392bf3c1 [Pipeline] echo [2024-11-11T04:18:47.622Z] -----------> git rev-list -1 --merges a5d00c1dab23f4666809e705931b48d7392bf3c1~1..a5d00c1dab23f4666809e705931b48d7392bf3c1 a5d00c1dab23f4666809e705931b48d7392bf3c1 [false] [Pipeline] sh [2024-11-11T04:18:47.944Z] + git log --format=format:%s -1 a5d00c1dab23f4666809e705931b48d7392bf3c1 [Pipeline] echo [2024-11-11T04:18:47.989Z] ========================================================= [2024-11-11T04:18:47.989Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-11-11T04:18:47.989Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-11T04:18:48.447Z] + git log --format=format:%s -1 a5d00c1dab23f4666809e705931b48d7392bf3c1 [Pipeline] echo [2024-11-11T04:18:48.484Z] [semverPrep] GIT_COMMIT: a5d00c1dab23f4666809e705931b48d7392bf3c1, Commit Message: build(deps): bump golang.org/x/net from 0.30.0 to 0.31.0 [Pipeline] echo [2024-11-11T04:18:48.528Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-11-11T04:18:48.952Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-11-11T04:18:48.952Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-11-11T04:18:48.952Z] + [ -e /tmp/ssh_known_hosts ] [2024-11-11T04:18:48.952Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-11-11T04:18:48.952Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-11-11T04:18:48.952Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-11-11T04:18:48.952Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:18:49.469Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-11T04:18:49.469Z] [2024-11-11T04:18:49.469Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:18:49.874Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-11T04:18:49.874Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-11-11T04:18:49.874Z] b85a868b505f: Pulling fs layer [2024-11-11T04:18:49.874Z] e2be974225ed: Pulling fs layer [2024-11-11T04:18:49.874Z] 339a4e72a1f5: Pulling fs layer [2024-11-11T04:18:49.874Z] 988bab9f4d93: Pulling fs layer [2024-11-11T04:18:49.874Z] 1469e6f7b9e6: Pulling fs layer [2024-11-11T04:18:49.874Z] eaf3925da568: Pulling fs layer [2024-11-11T04:18:49.874Z] bab4dde63d76: Pulling fs layer [2024-11-11T04:18:49.874Z] bde34c3a00c8: Pulling fs layer [2024-11-11T04:18:49.874Z] b352a97aabf1: Pulling fs layer [2024-11-11T04:18:49.874Z] bab4dde63d76: Waiting [2024-11-11T04:18:49.874Z] bde34c3a00c8: Waiting [2024-11-11T04:18:49.874Z] 1469e6f7b9e6: Waiting [2024-11-11T04:18:49.874Z] eaf3925da568: Waiting [2024-11-11T04:18:49.874Z] b352a97aabf1: Waiting [2024-11-11T04:18:49.874Z] 4872d77fe225: Pulling fs layer [2024-11-11T04:18:49.874Z] 5851b861e8e6: Pulling fs layer [2024-11-11T04:18:49.874Z] 5851b861e8e6: Waiting [2024-11-11T04:18:49.874Z] 988bab9f4d93: Waiting [2024-11-11T04:18:49.874Z] e2be974225ed: Verifying Checksum [2024-11-11T04:18:49.874Z] e2be974225ed: Download complete [2024-11-11T04:18:49.874Z] 988bab9f4d93: Verifying Checksum [2024-11-11T04:18:49.874Z] 988bab9f4d93: Download complete [2024-11-11T04:18:50.135Z] 1469e6f7b9e6: Verifying Checksum [2024-11-11T04:18:50.135Z] 1469e6f7b9e6: Download complete [2024-11-11T04:18:50.135Z] eaf3925da568: Verifying Checksum [2024-11-11T04:18:50.135Z] eaf3925da568: Download complete [2024-11-11T04:18:50.135Z] 339a4e72a1f5: Verifying Checksum [2024-11-11T04:18:50.135Z] 339a4e72a1f5: Download complete [2024-11-11T04:18:50.135Z] bde34c3a00c8: Download complete [2024-11-11T04:18:50.135Z] b352a97aabf1: Download complete [2024-11-11T04:18:50.135Z] 4872d77fe225: Download complete [2024-11-11T04:18:50.135Z] 5851b861e8e6: Verifying Checksum [2024-11-11T04:18:50.135Z] 5851b861e8e6: Download complete [2024-11-11T04:18:50.135Z] b85a868b505f: Verifying Checksum [2024-11-11T04:18:50.135Z] b85a868b505f: Download complete [2024-11-11T04:18:50.396Z] bab4dde63d76: Verifying Checksum [2024-11-11T04:18:50.396Z] bab4dde63d76: Download complete [2024-11-11T04:18:51.778Z] b85a868b505f: Pull complete [2024-11-11T04:18:51.778Z] e2be974225ed: Pull complete [2024-11-11T04:18:52.349Z] 339a4e72a1f5: Pull complete [2024-11-11T04:18:52.610Z] 988bab9f4d93: Pull complete [2024-11-11T04:18:52.875Z] 1469e6f7b9e6: Pull complete [2024-11-11T04:18:53.135Z] eaf3925da568: Pull complete [2024-11-11T04:18:55.041Z] bab4dde63d76: Pull complete [2024-11-11T04:18:55.041Z] bde34c3a00c8: Pull complete [2024-11-11T04:18:55.041Z] b352a97aabf1: Pull complete [2024-11-11T04:18:55.041Z] 4872d77fe225: Pull complete [2024-11-11T04:18:55.302Z] 5851b861e8e6: Pull complete [2024-11-11T04:18:55.302Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-11-11T04:18:55.302Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-11-11T04:18:55.302Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T04:18:55.619Z] prd-ubuntu20.04-docker-8c-8g-26105 does not seem to be running inside a container [2024-11-11T04:18:55.651Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-sdk-go_PR-1649 -v /w/workspace/gexfoundry_device-sdk-go_PR-1649:/w/workspace/gexfoundry_device-sdk-go_PR-1649:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-11-11T04:18:58.739Z] $ docker top 6b8587b336a838fb0dbb2ebda45ab150adff5dedad36a862a2667e2b1cc38b22 -eo pid,comm [2024-11-11T04:18:58.802Z] 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). [2024-11-11T04:18:58.802Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-11-11T04:18:58.988Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-11T04:18:58.988Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-11T04:18:59.112Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-11T04:18:59.115Z] $ docker exec 6b8587b336a838fb0dbb2ebda45ab150adff5dedad36a862a2667e2b1cc38b22 ssh-agent [2024-11-11T04:18:59.228Z] SSH_AUTH_SOCK=/tmp/ssh-O0bqCzxWnzhQ/agent.31 [2024-11-11T04:18:59.228Z] SSH_AGENT_PID=37 [2024-11-11T04:18:59.236Z] Running ssh-add (command line suppressed) [2024-11-11T04:18:59.334Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp/private_key_6918222064009365949.key (/w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp/private_key_6918222064009365949.key) [2024-11-11T04:18:59.347Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-11T04:18:59.700Z] + git tag --points-at HEAD [Pipeline] } [2024-11-11T04:18:59.729Z] $ docker exec --env ******** --env ******** 6b8587b336a838fb0dbb2ebda45ab150adff5dedad36a862a2667e2b1cc38b22 ssh-agent -k [2024-11-11T04:18:59.823Z] unset SSH_AUTH_SOCK; [2024-11-11T04:18:59.823Z] unset SSH_AGENT_PID; [2024-11-11T04:18:59.823Z] echo Agent pid 37 killed; [2024-11-11T04:18:59.831Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-11-11T04:18:59.948Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-11-11T04:18:59.948Z] [ssh-agent] Looking for ssh-agent implementation... [2024-11-11T04:19:00.068Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-11-11T04:19:00.071Z] $ docker exec 6b8587b336a838fb0dbb2ebda45ab150adff5dedad36a862a2667e2b1cc38b22 ssh-agent [2024-11-11T04:19:00.185Z] SSH_AUTH_SOCK=/tmp/ssh-vjezk2kQi5zm/agent.70 [2024-11-11T04:19:00.185Z] SSH_AGENT_PID=76 [2024-11-11T04:19:00.191Z] Running ssh-add (command line suppressed) [2024-11-11T04:19:00.295Z] Identity added: /w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp/private_key_7104272311081540050.key (/w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp/private_key_7104272311081540050.key) [2024-11-11T04:19:00.312Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-11-11T04:19:00.670Z] + git semver init [2024-11-11T04:19:00.930Z] 2024-11-11 04:19:00,850 [run_init] DEBUG init version:0.0.0 force:False [2024-11-11T04:19:00.930Z] 2024-11-11 04:19:00,851 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-sdk-go_PR-1649/.semver [2024-11-11T04:19:00.930Z] 2024-11-11 04:19:00,852 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-sdk-go.git /w/workspace/gexfoundry_device-sdk-go_PR-1649/.semver [2024-11-11T04:19:00.930Z] 2024-11-11 04:19:00,852 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-sdk-go.git', '/w/workspace/gexfoundry_device-sdk-go_PR-1649/.semver'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1649, universal_newlines=False, shell=None, istream=None) [2024-11-11T04:19:02.844Z] 2024-11-11 04:19:02,826 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-sdk-go_PR-1649/.git/info/exclude [2024-11-11T04:19:02.844Z] 2024-11-11 04:19:02,827 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-sdk-go_PR-1649/.semver/PR-1649 with force:False [2024-11-11T04:19:02.844Z] 2024-11-11 04:19:02,827 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-sdk-go_PR-1649/.semver/PR-1649 [2024-11-11T04:19:02.844Z] 2024-11-11 04:19:02,831 [execute] INFO git cat-file --batch-check [2024-11-11T04:19:02.844Z] 2024-11-11 04:19:02,832 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1649/.semver, universal_newlines=False, shell=None, istream=) [2024-11-11T04:19:02.844Z] 2024-11-11 04:19:02,838 [execute] INFO git cat-file --batch [2024-11-11T04:19:02.844Z] 2024-11-11 04:19:02,839 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-sdk-go_PR-1649/.semver, universal_newlines=False, shell=None, istream=) [2024-11-11T04:19:03.104Z] 2024-11-11 04:19:02,844 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-sdk-go_PR-1649/.semver/PR-1649 [2024-11-11T04:19:03.104Z] 0.0.0 [Pipeline] } [2024-11-11T04:19:03.136Z] $ docker exec --env ******** --env ******** 6b8587b336a838fb0dbb2ebda45ab150adff5dedad36a862a2667e2b1cc38b22 ssh-agent -k [2024-11-11T04:19:03.241Z] unset SSH_AUTH_SOCK; [2024-11-11T04:19:03.242Z] unset SSH_AGENT_PID; [2024-11-11T04:19:03.242Z] echo Agent pid 76 killed; [2024-11-11T04:19:03.253Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-11-11T04:19:03.713Z] + git semver [Pipeline] } [2024-11-11T04:19:04.004Z] $ docker stop --time=1 6b8587b336a838fb0dbb2ebda45ab150adff5dedad36a862a2667e2b1cc38b22 [2024-11-11T04:19:05.309Z] $ docker rm -f --volumes 6b8587b336a838fb0dbb2ebda45ab150adff5dedad36a862a2667e2b1cc38b22 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-11T04:19:05.744Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-11-11T04:19:06.086Z] Stashed 1 file(s) [Pipeline] echo [2024-11-11T04:19:06.114Z] [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 [2024-11-11T04:19:06.851Z] provisioning config files... [2024-11-11T04:19:06.863Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp/config10550587595495797041tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:19:07.233Z] ---> ****-login.sh [2024-11-11T04:19:07.233Z] nexus3.edgexfoundry.org:10001 [2024-11-11T04:19:07.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:19:07.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:19:07.234Z] Configure a credential helper to remove this warning. See [2024-11-11T04:19:07.234Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:19:07.234Z] [2024-11-11T04:19:07.234Z] Login Succeeded [2024-11-11T04:19:07.234Z] nexus3.edgexfoundry.org:10002 [2024-11-11T04:19:07.234Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:19:07.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:19:07.234Z] Configure a credential helper to remove this warning. See [2024-11-11T04:19:07.234Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:19:07.234Z] [2024-11-11T04:19:07.234Z] Login Succeeded [2024-11-11T04:19:07.234Z] nexus3.edgexfoundry.org:10003 [2024-11-11T04:19:07.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:19:07.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:19:07.493Z] Configure a credential helper to remove this warning. See [2024-11-11T04:19:07.493Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:19:07.493Z] [2024-11-11T04:19:07.493Z] Login Succeeded [2024-11-11T04:19:07.493Z] nexus3.edgexfoundry.org:10004 [2024-11-11T04:19:07.493Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:19:07.493Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:19:07.493Z] Configure a credential helper to remove this warning. See [2024-11-11T04:19:07.493Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:19:07.493Z] [2024-11-11T04:19:07.493Z] Login Succeeded [2024-11-11T04:19:07.493Z] ****.io [2024-11-11T04:19:07.755Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:19:07.755Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:19:07.755Z] Configure a credential helper to remove this warning. See [2024-11-11T04:19:07.755Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:19:07.755Z] [2024-11-11T04:19:07.755Z] Login Succeeded [2024-11-11T04:19:07.755Z] ---> ****-login.sh ends [Pipeline] } [2024-11-11T04:19:07.781Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-11T04:19:08.017Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-11T04:19:08.063Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-11T04:19:08.110Z] ========================================================= [2024-11-11T04:19:08.110Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine] [2024-11-11T04:19:08.110Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:19:08.669Z] + 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.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-11T04:19:08.669Z] Sending build context to Docker daemon 25.61MB [2024-11-11T04:19:08.669Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-11-11T04:19:08.669Z] Step 2/10 : FROM ${BASE} AS builder [2024-11-11T04:19:08.972Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base [2024-11-11T04:19:08.972Z] 43c4264eed91: Pulling fs layer [2024-11-11T04:19:08.972Z] 4cc291be95ef: Pulling fs layer [2024-11-11T04:19:08.972Z] 2ac1f1163629: Pulling fs layer [2024-11-11T04:19:08.972Z] 5c3c966382ef: Pulling fs layer [2024-11-11T04:19:08.972Z] 4f4fb700ef54: Pulling fs layer [2024-11-11T04:19:08.972Z] 5d5c8e513c77: Pulling fs layer [2024-11-11T04:19:08.972Z] 9f66e0745190: Pulling fs layer [2024-11-11T04:19:08.972Z] f49a43e4bbc0: Pulling fs layer [2024-11-11T04:19:08.972Z] 561ebcabdf7f: Pulling fs layer [2024-11-11T04:19:08.972Z] 5d5c8e513c77: Waiting [2024-11-11T04:19:08.972Z] 561ebcabdf7f: Waiting [2024-11-11T04:19:08.972Z] 9f66e0745190: Waiting [2024-11-11T04:19:08.972Z] f49a43e4bbc0: Waiting [2024-11-11T04:19:08.972Z] 5c3c966382ef: Waiting [2024-11-11T04:19:08.972Z] 4f4fb700ef54: Waiting [2024-11-11T04:19:08.972Z] 4cc291be95ef: Verifying Checksum [2024-11-11T04:19:08.972Z] 4cc291be95ef: Download complete [2024-11-11T04:19:08.972Z] 5c3c966382ef: Verifying Checksum [2024-11-11T04:19:08.972Z] 5c3c966382ef: Download complete [2024-11-11T04:19:08.972Z] 4f4fb700ef54: Download complete [2024-11-11T04:19:08.972Z] 43c4264eed91: Download complete [2024-11-11T04:19:08.972Z] 9f66e0745190: Verifying Checksum [2024-11-11T04:19:08.972Z] 9f66e0745190: Download complete [2024-11-11T04:19:08.972Z] 43c4264eed91: Pull complete [2024-11-11T04:19:09.235Z] 4cc291be95ef: Pull complete [2024-11-11T04:19:09.235Z] 561ebcabdf7f: Verifying Checksum [2024-11-11T04:19:09.235Z] 561ebcabdf7f: Download complete [2024-11-11T04:19:09.494Z] 2ac1f1163629: Verifying Checksum [2024-11-11T04:19:09.494Z] 2ac1f1163629: Download complete [2024-11-11T04:19:09.752Z] f49a43e4bbc0: Verifying Checksum [2024-11-11T04:19:09.752Z] f49a43e4bbc0: Download complete [2024-11-11T04:19:13.041Z] 2ac1f1163629: Pull complete [2024-11-11T04:19:13.299Z] 5c3c966382ef: Pull complete [2024-11-11T04:19:13.299Z] 4f4fb700ef54: Pull complete [2024-11-11T04:19:13.299Z] 5d5c8e513c77: Pull complete [2024-11-11T04:19:13.558Z] 9f66e0745190: Pull complete [2024-11-11T04:19:16.090Z] f49a43e4bbc0: Pull complete [2024-11-11T04:19:16.351Z] 561ebcabdf7f: Pull complete [2024-11-11T04:19:16.351Z] Digest: sha256:0719486ae9a24b675ee3acaa2cfd867e7a981f2ef22b41d166c62d936fe8de2d [2024-11-11T04:19:16.351Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.23-alpine [2024-11-11T04:19:16.351Z] ---> 3a752c3f9dda [2024-11-11T04:19:16.351Z] Step 3/10 : ARG MAKE=make build [2024-11-11T04:19:20.612Z] ---> Running in 9bc7332cbaa9 [2024-11-11T04:19:20.612Z] Removing intermediate container 9bc7332cbaa9 [2024-11-11T04:19:20.612Z] ---> 63e36e5b4031 [2024-11-11T04:19:20.612Z] Step 4/10 : WORKDIR /device-sdk-go [2024-11-11T04:19:20.612Z] ---> Running in 7b2e249b03ac [2024-11-11T04:19:20.612Z] Removing intermediate container 7b2e249b03ac [2024-11-11T04:19:20.612Z] ---> e1eaa722b903 [2024-11-11T04:19:20.612Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-11T04:19:20.612Z] ---> Running in 01e87b347386 [2024-11-11T04:19:20.612Z] Removing intermediate container 01e87b347386 [2024-11-11T04:19:20.612Z] ---> 38d7ca345ad0 [2024-11-11T04:19:20.612Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-11-11T04:19:20.612Z] ---> Running in 7b9aa41e2836 [2024-11-11T04:19:20.872Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T04:19:20.872Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T04:19:21.133Z] OK: 246 MiB in 54 packages [2024-11-11T04:19:21.632Z] Still waiting to schedule task [2024-11-11T04:19:21.632Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2024-11-11T04:19:21.700Z] Removing intermediate container 7b9aa41e2836 [2024-11-11T04:19:21.701Z] ---> e2874698cc8b [2024-11-11T04:19:21.701Z] Step 7/10 : COPY go.mod vendor* ./ [2024-11-11T04:19:21.701Z] ---> 03304df007b5 [2024-11-11T04:19:21.701Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-11T04:19:21.701Z] ---> Running in 792466d97404 [2024-11-11T04:20:08.488Z] Removing intermediate container 792466d97404 [2024-11-11T04:20:08.488Z] ---> 7f31f60c9db9 [2024-11-11T04:20:08.488Z] Step 9/10 : COPY . . [2024-11-11T04:20:08.488Z] ---> e03c32d875fe [2024-11-11T04:20:08.488Z] Step 10/10 : RUN ${MAKE} [2024-11-11T04:20:08.488Z] ---> Running in f12693693631 [2024-11-11T04:20:08.488Z] noop [2024-11-11T04:20:08.488Z] Removing intermediate container f12693693631 [2024-11-11T04:20:08.488Z] ---> 2d6689c5733d [2024-11-11T04:20:08.488Z] Successfully built 2d6689c5733d [2024-11-11T04:20:08.488Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:20:08.999Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-11T04:20:08.999Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T04:20:09.176Z] prd-ubuntu20.04-docker-8c-8g-26105 does not seem to be running inside a container [2024-11-11T04:20:09.207Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-sdk-go_PR-1649 -v /w/workspace/gexfoundry_device-sdk-go_PR-1649:/w/workspace/gexfoundry_device-sdk-go_PR-1649:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-11T04:20:09.553Z] $ docker top c1035c00646d223f4bc9953a755ffef46df667f94aa163f8b342567fcaf63599 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T04:20:09.973Z] + go version [2024-11-11T04:20:09.973Z] go version go1.23.2 linux/amd64 [Pipeline] } [2024-11-11T04:20:10.009Z] $ docker stop --time=1 c1035c00646d223f4bc9953a755ffef46df667f94aa163f8b342567fcaf63599 [2024-11-11T04:20:11.270Z] $ docker rm -f --volumes c1035c00646d223f4bc9953a755ffef46df667f94aa163f8b342567fcaf63599 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:20:12.093Z] + docker inspect -f . ci-base-image-x86_64 [2024-11-11T04:20:12.093Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T04:20:12.260Z] prd-ubuntu20.04-docker-8c-8g-26105 does not seem to be running inside a container [2024-11-11T04:20:12.296Z] $ 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-1649 -v /w/workspace/gexfoundry_device-sdk-go_PR-1649:/w/workspace/gexfoundry_device-sdk-go_PR-1649:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2024-11-11T04:20:12.627Z] $ docker top c2ae8af3879964f0cf8a190590e5e6590ddc887174c2c796462feda11e5b6630 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T04:20:13.036Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-sdk-go_PR-1649 [Pipeline] fileExists [Pipeline] sh [2024-11-11T04:20:13.419Z] + make test [2024-11-11T04:20:13.419Z] go test -race -coverprofile=coverage.out ./... [2024-11-11T04:20:21.532Z] ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] [2024-11-11T04:21:02.545Z] github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements [2024-11-11T04:21:02.545Z] github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements [2024-11-11T04:21:02.545Z] github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements [2024-11-11T04:21:02.545Z] github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements [2024-11-11T04:21:02.545Z] github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements [2024-11-11T04:21:02.545Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.036s coverage: 28.7% of statements [2024-11-11T04:21:02.545Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.031s coverage: 79.4% of statements [2024-11-11T04:21:02.545Z] github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements [2024-11-11T04:21:02.545Z] github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements [2024-11-11T04:21:02.545Z] github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements [2024-11-11T04:21:02.545Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.043s coverage: 86.0% of statements [2024-11-11T04:21:02.545Z] ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] [2024-11-11T04:21:02.545Z] github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements [2024-11-11T04:21:02.545Z] github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements [2024-11-11T04:21:02.545Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.088s coverage: 45.2% of statements [2024-11-11T04:21:02.545Z] github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements [2024-11-11T04:21:03.922Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.047s coverage: 14.1% of statements [2024-11-11T04:21:03.922Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 1.798s coverage: 44.6% of statements [2024-11-11T04:21:03.922Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.056s coverage: 68.4% of statements [2024-11-11T04:21:03.922Z] ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.082s coverage: 88.3% of statements [2024-11-11T04:21:03.922Z] ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.051s coverage: 5.3% of statements [2024-11-11T04:21:52.831Z] GO111MODULE=on go vet ./... [2024-11-11T04:21:54.733Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-11T04:21:54.733Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-11T04:21:54.733Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-11T04:21:54.783Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-11T04:21:54.822Z] $ docker stop --time=1 c2ae8af3879964f0cf8a190590e5e6590ddc887174c2c796462feda11e5b6630 [2024-11-11T04:22:00.169Z] $ docker rm -f --volumes c2ae8af3879964f0cf8a190590e5e6590ddc887174c2c796462feda11e5b6630 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-11T04:22:00.995Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-11T04:22:01.134Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-11-11T04:22:01.879Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-11T04:22:02.196Z] + ls -al . [2024-11-11T04:22:02.196Z] total 704 [2024-11-11T04:22:02.196Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 11 04:20 . [2024-11-11T04:22:02.196Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 04:18 .. [2024-11-11T04:22:02.196Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 11 04:18 .dockerignore [2024-11-11T04:22:02.196Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 04:21 .git [2024-11-11T04:22:02.196Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 04:18 .github [2024-11-11T04:22:02.196Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 11 04:18 .gitignore [2024-11-11T04:22:02.196Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 11 04:18 .golangci.yml [2024-11-11T04:22:02.196Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 04:19 .semver [2024-11-11T04:22:02.196Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 11 04:18 CHANGELOG.md [2024-11-11T04:22:02.196Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 04:18 GOVERNANCE.md [2024-11-11T04:22:02.196Z] -rw-rw-r-- 1 jenkins jenkins 882 Nov 11 04:18 Jenkinsfile [2024-11-11T04:22:02.196Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 11 04:18 LICENSE [2024-11-11T04:22:02.196Z] -rw-rw-r-- 1 jenkins jenkins 2424 Nov 11 04:18 Makefile [2024-11-11T04:22:02.196Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 11 04:18 OWNERS.md [2024-11-11T04:22:02.196Z] -rw-rw-r-- 1 jenkins jenkins 4937 Nov 11 04:18 README.md [2024-11-11T04:22:02.196Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 04:19 VERSION [2024-11-11T04:22:02.196Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 04:18 bin [2024-11-11T04:22:02.196Z] -rw-r--r-- 1 jenkins jenkins 468089 Nov 11 04:21 coverage.out [2024-11-11T04:22:02.196Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 11 04:18 example [2024-11-11T04:22:02.196Z] -rw-rw-r-- 1 jenkins jenkins 6278 Nov 11 04:18 go.mod [2024-11-11T04:22:02.196Z] -rw-rw-r-- 1 jenkins jenkins 87873 Nov 11 04:18 go.sum [2024-11-11T04:22:02.196Z] drwxrwxr-x 13 jenkins jenkins 4096 Nov 11 04:18 internal [2024-11-11T04:22:02.196Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 04:18 openapi [2024-11-11T04:22:02.196Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 11 04:18 pkg [2024-11-11T04:22:02.196Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 04:18 snap [2024-11-11T04:22:02.196Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 11 04:18 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:22:02.609Z] + 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=a5d00c1dab23f4666809e705931b48d7392bf3c1 --label arch=amd64 --label version=0.0.0 . [2024-11-11T04:22:02.609Z] Sending build context to Docker daemon 26.08MB [2024-11-11T04:22:02.609Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-11-11T04:22:02.609Z] Step 2/24 : FROM ${BASE} AS builder [2024-11-11T04:22:02.609Z] ---> 2d6689c5733d [2024-11-11T04:22:02.609Z] Step 3/24 : ARG MAKE=make build [2024-11-11T04:22:03.177Z] ---> Running in 28a801bebac2 [2024-11-11T04:22:03.177Z] Removing intermediate container 28a801bebac2 [2024-11-11T04:22:03.177Z] ---> 1dd2ea345dd6 [2024-11-11T04:22:03.177Z] Step 4/24 : WORKDIR /device-sdk-go [2024-11-11T04:22:03.177Z] ---> Running in dfb04d76b7b4 [2024-11-11T04:22:03.177Z] Removing intermediate container dfb04d76b7b4 [2024-11-11T04:22:03.177Z] ---> 2345a6327af1 [2024-11-11T04:22:03.177Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-11T04:22:03.435Z] ---> Running in bc99d5bca31f [2024-11-11T04:22:03.435Z] Removing intermediate container bc99d5bca31f [2024-11-11T04:22:03.435Z] ---> ff3530fd8236 [2024-11-11T04:22:03.435Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-11-11T04:22:03.435Z] ---> Running in 4d65f5ec7825 [2024-11-11T04:22:03.697Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T04:22:03.697Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T04:22:03.956Z] OK: 246 MiB in 54 packages [2024-11-11T04:22:04.524Z] Removing intermediate container 4d65f5ec7825 [2024-11-11T04:22:04.524Z] ---> 90cdc925e61d [2024-11-11T04:22:04.524Z] Step 7/24 : COPY go.mod vendor* ./ [2024-11-11T04:22:04.524Z] ---> 9121b20c7df0 [2024-11-11T04:22:04.524Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-11T04:22:04.524Z] ---> Running in 20fd3ca88222 [2024-11-11T04:22:05.090Z] Removing intermediate container 20fd3ca88222 [2024-11-11T04:22:05.090Z] ---> 81a09f6e2ab5 [2024-11-11T04:22:05.090Z] Step 9/24 : COPY . . [2024-11-11T04:22:06.023Z] ---> 6f9711f2a7c9 [2024-11-11T04:22:06.023Z] Step 10/24 : RUN ${MAKE} [2024-11-11T04:22:06.283Z] ---> Running in 33c4190869ed [2024-11-11T04:22:06.541Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v4.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=0.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-11-11T04:22:38.611Z] Removing intermediate container 33c4190869ed [2024-11-11T04:22:38.611Z] ---> 8cbce3a73984 [2024-11-11T04:22:38.611Z] Step 11/24 : FROM alpine:3.20 [2024-11-11T04:22:38.870Z] 3.20: Pulling from library/alpine [2024-11-11T04:22:39.130Z] 43c4264eed91: Already exists [2024-11-11T04:22:39.130Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-11T04:22:39.130Z] Status: Downloaded newer image for alpine:3.20 [2024-11-11T04:22:39.130Z] ---> 91ef0af61f39 [2024-11-11T04:22:39.130Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-11-11T04:22:39.130Z] ---> Running in 1839c56a6beb [2024-11-11T04:22:39.388Z] Removing intermediate container 1839c56a6beb [2024-11-11T04:22:39.388Z] ---> 02b3048927db [2024-11-11T04:22:39.388Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-11-11T04:22:39.388Z] ---> Running in 78083bc2c130 [2024-11-11T04:22:39.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T04:22:39.647Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T04:22:39.905Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-11T04:22:39.905Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T04:22:39.905Z] OK: 8 MiB in 15 packages [2024-11-11T04:22:40.472Z] Removing intermediate container 78083bc2c130 [2024-11-11T04:22:40.472Z] ---> 0ecd2b7fa37a [2024-11-11T04:22:40.472Z] Step 14/24 : RUN apk --no-cache upgrade [2024-11-11T04:22:40.472Z] ---> Running in 0044e2f98991 [2024-11-11T04:22:40.730Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T04:22:40.730Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T04:22:40.989Z] Upgrading critical system libraries and apk-tools: [2024-11-11T04:22:40.989Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-11T04:22:40.989Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T04:22:40.989Z] Continuing the upgrade transaction with new apk-tools: [2024-11-11T04:22:40.989Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/x86_64/APKINDEX.tar.gz [2024-11-11T04:22:40.989Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz [2024-11-11T04:22:41.247Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-11T04:22:41.247Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-11T04:22:41.551Z] OK: 8 MiB in 15 packages [2024-11-11T04:22:42.149Z] Removing intermediate container 0044e2f98991 [2024-11-11T04:22:42.149Z] ---> 649b4dfede87 [2024-11-11T04:22:42.149Z] Step 15/24 : WORKDIR / [2024-11-11T04:22:42.149Z] ---> Running in fd703adfd0a1 [2024-11-11T04:22:42.149Z] Removing intermediate container fd703adfd0a1 [2024-11-11T04:22:42.149Z] ---> 40b5673a8831 [2024-11-11T04:22:42.149Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-11-11T04:22:42.149Z] ---> 8f30e8e090de [2024-11-11T04:22:42.149Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-11-11T04:22:44.053Z] ---> 020214b3103e [2024-11-11T04:22:44.053Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-11-11T04:22:44.312Z] ---> 2731288afe49 [2024-11-11T04:22:44.312Z] Step 19/24 : EXPOSE 59999 [2024-11-11T04:22:44.312Z] ---> Running in c45a013d89ca [2024-11-11T04:22:44.312Z] Removing intermediate container c45a013d89ca [2024-11-11T04:22:44.312Z] ---> c0d6ef2df3fa [2024-11-11T04:22:44.312Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-11-11T04:22:44.312Z] ---> Running in f445ffe59883 [2024-11-11T04:22:44.312Z] Removing intermediate container f445ffe59883 [2024-11-11T04:22:44.312Z] ---> e4871a1a1466 [2024-11-11T04:22:44.312Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-11-11T04:22:44.572Z] ---> Running in 5f02cf560444 [2024-11-11T04:22:44.572Z] Removing intermediate container 5f02cf560444 [2024-11-11T04:22:44.572Z] ---> 7b9bc65fa6e2 [2024-11-11T04:22:44.572Z] Step 22/24 : LABEL arch=amd64 [2024-11-11T04:22:44.572Z] ---> Running in 2361e96e93fe [2024-11-11T04:22:44.572Z] Removing intermediate container 2361e96e93fe [2024-11-11T04:22:44.572Z] ---> ab5b9fd68eb0 [2024-11-11T04:22:44.572Z] Step 23/24 : LABEL git_sha=a5d00c1dab23f4666809e705931b48d7392bf3c1 [2024-11-11T04:22:44.572Z] ---> Running in ba288a857a3b [2024-11-11T04:22:44.830Z] Removing intermediate container ba288a857a3b [2024-11-11T04:22:44.830Z] ---> 11d3731f85ee [2024-11-11T04:22:44.830Z] Step 24/24 : LABEL version=0.0.0 [2024-11-11T04:22:44.830Z] ---> Running in 582afa339307 [2024-11-11T04:22:44.830Z] Removing intermediate container 582afa339307 [2024-11-11T04:22:44.830Z] ---> 47bda75f6be7 [2024-11-11T04:22:44.830Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-11T04:22:44.830Z] Successfully built 47bda75f6be7 [2024-11-11T04:22:44.830Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:22:45.833Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-11T04:22:45.834Z] [2024-11-11T04:22:45.834Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:22:46.222Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-11T04:22:46.222Z] latest: Pulling from edgex-lftools-log-publisher [2024-11-11T04:22:46.222Z] 5eb5b503b376: Pulling fs layer [2024-11-11T04:22:46.222Z] 5c69ac0246d0: Pulling fs layer [2024-11-11T04:22:46.222Z] ec43610c2a17: Pulling fs layer [2024-11-11T04:22:46.222Z] 3a2ae6a8a46f: Pulling fs layer [2024-11-11T04:22:46.222Z] 33b1e0a273af: Pulling fs layer [2024-11-11T04:22:46.222Z] 5d3b04190fa2: Pulling fs layer [2024-11-11T04:22:46.222Z] 2f39f015ded8: Pulling fs layer [2024-11-11T04:22:46.222Z] 33b1e0a273af: Waiting [2024-11-11T04:22:46.222Z] 5d3b04190fa2: Waiting [2024-11-11T04:22:46.222Z] 2f39f015ded8: Waiting [2024-11-11T04:22:46.222Z] 3a2ae6a8a46f: Waiting [2024-11-11T04:22:46.222Z] 5c69ac0246d0: Verifying Checksum [2024-11-11T04:22:46.222Z] 5c69ac0246d0: Download complete [2024-11-11T04:22:46.222Z] 3a2ae6a8a46f: Verifying Checksum [2024-11-11T04:22:46.222Z] 3a2ae6a8a46f: Download complete [2024-11-11T04:22:46.222Z] 33b1e0a273af: Verifying Checksum [2024-11-11T04:22:46.222Z] 33b1e0a273af: Download complete [2024-11-11T04:22:46.222Z] 5d3b04190fa2: Download complete [2024-11-11T04:22:46.222Z] ec43610c2a17: Verifying Checksum [2024-11-11T04:22:46.222Z] ec43610c2a17: Download complete [2024-11-11T04:22:46.478Z] 5eb5b503b376: Download complete [2024-11-11T04:22:47.042Z] 2f39f015ded8: Download complete [2024-11-11T04:22:47.606Z] 5eb5b503b376: Pull complete [2024-11-11T04:22:47.864Z] 5c69ac0246d0: Pull complete [2024-11-11T04:22:48.428Z] ec43610c2a17: Pull complete [2024-11-11T04:22:48.428Z] 3a2ae6a8a46f: Pull complete [2024-11-11T04:22:48.686Z] 33b1e0a273af: Pull complete [2024-11-11T04:22:48.686Z] 5d3b04190fa2: Pull complete [2024-11-11T04:22:51.608Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-26107 in /w/workspace/gexfoundry_device-sdk-go_PR-1649 [Pipeline] { [Pipeline] ws [2024-11-11T04:22:51.694Z] Running in /w/workspace/device-sdk-go/1 [Pipeline] { [Pipeline] checkout [2024-11-11T04:22:53.947Z] 2f39f015ded8: Pull complete [2024-11-11T04:22:53.947Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-11-11T04:22:53.947Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-11T04:22:53.947Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-11T04:22:54.817Z] The recommended git tool is: git [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T04:22:55.098Z] prd-ubuntu20.04-docker-8c-8g-26105 does not seem to be running inside a container [2024-11-11T04:22:55.126Z] $ 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-1649 -v /w/workspace/gexfoundry_device-sdk-go_PR-1649:/w/workspace/gexfoundry_device-sdk-go_PR-1649:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-11T04:22:59.240Z] $ docker top db5bbaaaf6e4098f38015c1eb8cd26077cbf39bb30af28ede6c292d7d5c051bf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:22:59.732Z] ---> job-cost.sh [2024-11-11T04:22:59.732Z] lf-activate-venv: SKIPPING [2024-11-11T04:22:59.732Z] INFO: No Stack... [2024-11-11T04:22:59.991Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-11T04:23:00.559Z] INFO: Archiving Costs [Pipeline] sh [2024-11-11T04:23:00.877Z] + cat /w/workspace/gexfoundry_device-sdk-go_PR-1649/archives/cost.csv [2024-11-11T04:23:00.877Z] + cut -d, -f6 [Pipeline] lock [2024-11-11T04:23:00.920Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1649-1-stack-cost] [2024-11-11T04:23:00.927Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1649-1-stack-cost] did not exist. Created. [2024-11-11T04:23:00.932Z] using credential edgex-jenkins-ssh [2024-11-11T04:23:00.934Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1649-1-stack-cost] [Pipeline] { [2024-11-11T04:23:00.958Z] Cloning the remote Git repository [Pipeline] unstash [Pipeline] sh [2024-11-11T04:23:01.036Z] Cloning repository git@github.com:edgexfoundry/device-sdk-go.git [2024-11-11T04:23:01.345Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-11-11T04:23:01.411Z] Stashed 1 file(s) [Pipeline] } [2024-11-11T04:23:01.445Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1649-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-11T04:23:01.536Z] $ docker stop --time=1 db5bbaaaf6e4098f38015c1eb8cd26077cbf39bb30af28ede6c292d7d5c051bf [2024-11-11T04:23:01.197Z] > git init /w/workspace/device-sdk-go/1 # timeout=10 [2024-11-11T04:23:01.412Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-11-11T04:23:01.413Z] > git --version # timeout=10 [2024-11-11T04:23:01.437Z] > git --version # 'git version 2.25.1' [2024-11-11T04:23:01.440Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-11T04:23:01.662Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-11T04:23:03.002Z] $ docker rm -f --volumes db5bbaaaf6e4098f38015c1eb8cd26077cbf39bb30af28ede6c292d7d5c051bf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-11-11T04:23:05.849Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-11-11T04:23:05.875Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-11-11T04:23:07.962Z] Merging remotes/origin/main commit 7f77e0e62202159fe6913cf9abaefab1a89f7492 into PR head commit a5d00c1dab23f4666809e705931b48d7392bf3c1 [2024-11-11T04:23:07.235Z] > git config remote.origin.url git@github.com:edgexfoundry/device-sdk-go.git # timeout=10 [2024-11-11T04:23:07.301Z] Fetching upstream changes from git@github.com:edgexfoundry/device-sdk-go.git [2024-11-11T04:23:07.303Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-11T04:23:07.335Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-sdk-go.git +refs/pull/1649/head:refs/remotes/origin/PR-1649 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-11-11T04:23:07.987Z] > git config core.sparsecheckout # timeout=10 [2024-11-11T04:23:08.076Z] > git checkout -f a5d00c1dab23f4666809e705931b48d7392bf3c1 # timeout=10 [2024-11-11T04:23:08.369Z] Merge succeeded, producing a5d00c1dab23f4666809e705931b48d7392bf3c1 [2024-11-11T04:23:08.370Z] Checking out Revision a5d00c1dab23f4666809e705931b48d7392bf3c1 (PR-1649) [2024-11-11T04:23:09.135Z] Commit message: "build(deps): bump golang.org/x/net from 0.30.0 to 0.31.0" [2024-11-11T04:23:09.206Z] > git --version # timeout=10 [2024-11-11T04:23:09.219Z] > git --version # 'git version 2.25.1' [2024-11-11T04:23:09.236Z] fatal: bad object 0b81fa10a7dd14683a964f04f411324fe83f93ac [2024-11-11T04:23:08.230Z] > git remote # timeout=10 [2024-11-11T04:23:08.251Z] > git config --get remote.origin.url # timeout=10 [2024-11-11T04:23:08.276Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-11-11T04:23:08.304Z] > git merge 7f77e0e62202159fe6913cf9abaefab1a89f7492 # timeout=10 [2024-11-11T04:23:08.341Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-11-11T04:23:08.378Z] > git config core.sparsecheckout # timeout=10 [2024-11-11T04:23:08.401Z] > git checkout -f a5d00c1dab23f4666809e705931b48d7392bf3c1 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-11T04:23:14.487Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-11-11T04:23:14.487Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-11T04:23:14.487Z] Dload Upload Total Spent Left Speed [2024-11-11T04:23:14.487Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 189k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh [2024-11-11T04:23:14.844Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-11-11T04:23:15.209Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2024-11-11T04:23:15.209Z] sudo tee /etc/docker/daemon.new [2024-11-11T04:23:15.209Z] { [2024-11-11T04:23:15.209Z] "registry-mirrors": [ [2024-11-11T04:23:15.209Z] "https://nexus3.edgexfoundry.org:10001" [2024-11-11T04:23:15.209Z] ], [2024-11-11T04:23:15.209Z] "bip": "10.250.0.254/24", [2024-11-11T04:23:15.209Z] "hosts": [ [2024-11-11T04:23:15.209Z] "tcp://0.0.0.0:5555", [2024-11-11T04:23:15.209Z] "unix:///var/run/docker.sock" [2024-11-11T04:23:15.209Z] ], [2024-11-11T04:23:15.209Z] "mtu": 1458, [2024-11-11T04:23:15.209Z] "selinux-enabled": true, [2024-11-11T04:23:15.209Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-11-11T04:23:15.209Z] } [Pipeline] sh [2024-11-11T04:23:15.577Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-11-11T04:23:15.946Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-11T04:23:34.369Z] provisioning config files... [2024-11-11T04:23:34.412Z] copy managed file [device-sdk-go-settings] to file:/w/workspace/device-sdk-go/1@tmp/config6386177850980450744tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:23:34.945Z] ---> ****-login.sh [2024-11-11T04:23:34.945Z] nexus3.edgexfoundry.org:10001 [2024-11-11T04:23:35.534Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:23:35.534Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:23:35.534Z] Configure a credential helper to remove this warning. See [2024-11-11T04:23:35.534Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:23:35.534Z] [2024-11-11T04:23:35.534Z] Login Succeeded [2024-11-11T04:23:35.534Z] nexus3.edgexfoundry.org:10002 [2024-11-11T04:23:35.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:23:36.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:23:36.073Z] Configure a credential helper to remove this warning. See [2024-11-11T04:23:36.073Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:23:36.073Z] [2024-11-11T04:23:36.073Z] Login Succeeded [2024-11-11T04:23:36.073Z] nexus3.edgexfoundry.org:10003 [2024-11-11T04:23:36.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:23:36.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:23:36.345Z] Configure a credential helper to remove this warning. See [2024-11-11T04:23:36.345Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:23:36.345Z] [2024-11-11T04:23:36.345Z] Login Succeeded [2024-11-11T04:23:36.345Z] nexus3.edgexfoundry.org:10004 [2024-11-11T04:23:36.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:23:36.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:23:36.620Z] Configure a credential helper to remove this warning. See [2024-11-11T04:23:36.620Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:23:36.620Z] [2024-11-11T04:23:36.620Z] Login Succeeded [2024-11-11T04:23:36.620Z] ****.io [2024-11-11T04:23:36.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-11-11T04:23:37.167Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-11-11T04:23:37.167Z] Configure a credential helper to remove this warning. See [2024-11-11T04:23:37.167Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-11-11T04:23:37.167Z] [2024-11-11T04:23:37.167Z] Login Succeeded [2024-11-11T04:23:37.167Z] ---> ****-login.sh ends [Pipeline] } [2024-11-11T04:23:37.203Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-11-11T04:23:37.795Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-11T04:23:37.848Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-11-11T04:23:37.897Z] ========================================================= [2024-11-11T04:23:37.897Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine] [2024-11-11T04:23:37.897Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:23:38.466Z] + 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.23-alpine --build-arg MAKE=echo noop --target=builder . [2024-11-11T04:23:39.066Z] Sending build context to Docker daemon 13.27MB [2024-11-11T04:23:39.066Z] Step 1/10 : ARG BASE=golang:1.23-alpine3.20 [2024-11-11T04:23:39.066Z] Step 2/10 : FROM ${BASE} AS builder [2024-11-11T04:23:39.361Z] 1.23-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-11-11T04:23:39.361Z] cf04c63912e1: Pulling fs layer [2024-11-11T04:23:39.361Z] 55b35a11ae5e: Pulling fs layer [2024-11-11T04:23:39.361Z] a37a00ec5f00: Pulling fs layer [2024-11-11T04:23:39.361Z] 50b3750afda1: Pulling fs layer [2024-11-11T04:23:39.361Z] 4f4fb700ef54: Pulling fs layer [2024-11-11T04:23:39.361Z] 80978eb59214: Pulling fs layer [2024-11-11T04:23:39.361Z] c9f46d7d2bd2: Pulling fs layer [2024-11-11T04:23:39.361Z] c5a475d317c9: Pulling fs layer [2024-11-11T04:23:39.361Z] 4f4fb700ef54: Waiting [2024-11-11T04:23:39.361Z] 50b3750afda1: Waiting [2024-11-11T04:23:39.361Z] 80978eb59214: Waiting [2024-11-11T04:23:39.361Z] c9f46d7d2bd2: Waiting [2024-11-11T04:23:39.361Z] c5a475d317c9: Waiting [2024-11-11T04:23:39.361Z] 55b35a11ae5e: Verifying Checksum [2024-11-11T04:23:39.361Z] 55b35a11ae5e: Download complete [2024-11-11T04:23:39.361Z] 50b3750afda1: Verifying Checksum [2024-11-11T04:23:39.361Z] 50b3750afda1: Download complete [2024-11-11T04:23:39.361Z] 4f4fb700ef54: Verifying Checksum [2024-11-11T04:23:39.361Z] 4f4fb700ef54: Download complete [2024-11-11T04:23:39.361Z] 80978eb59214: Verifying Checksum [2024-11-11T04:23:39.361Z] 80978eb59214: Download complete [2024-11-11T04:23:39.361Z] cf04c63912e1: Verifying Checksum [2024-11-11T04:23:39.361Z] cf04c63912e1: Download complete [2024-11-11T04:23:39.975Z] c5a475d317c9: Verifying Checksum [2024-11-11T04:23:39.975Z] c5a475d317c9: Download complete [2024-11-11T04:23:40.584Z] cf04c63912e1: Pull complete [2024-11-11T04:23:41.182Z] 55b35a11ae5e: Pull complete [2024-11-11T04:23:41.780Z] a37a00ec5f00: Download complete [2024-11-11T04:23:42.766Z] c9f46d7d2bd2: Verifying Checksum [2024-11-11T04:23:42.766Z] c9f46d7d2bd2: Download complete [2024-11-11T04:23:55.100Z] a37a00ec5f00: Pull complete [2024-11-11T04:23:55.370Z] 50b3750afda1: Pull complete [2024-11-11T04:23:55.640Z] 4f4fb700ef54: Pull complete [2024-11-11T04:23:55.908Z] 80978eb59214: Pull complete [2024-11-11T04:24:04.132Z] c9f46d7d2bd2: Pull complete [2024-11-11T04:24:05.097Z] c5a475d317c9: Pull complete [2024-11-11T04:24:05.097Z] Digest: sha256:2391c17ca386d1fbfa331956bd558234564149703727e64d3c69580d84b42a9b [2024-11-11T04:24:05.097Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.23-alpine [2024-11-11T04:24:05.097Z] ---> be29e6b0f0d4 [2024-11-11T04:24:05.097Z] Step 3/10 : ARG MAKE=make build [2024-11-11T04:24:06.058Z] ---> Running in b819d6718bc0 [2024-11-11T04:24:06.326Z] Removing intermediate container b819d6718bc0 [2024-11-11T04:24:06.326Z] ---> 02d84294d653 [2024-11-11T04:24:06.326Z] Step 4/10 : WORKDIR /device-sdk-go [2024-11-11T04:24:06.326Z] ---> Running in c647140ab140 [2024-11-11T04:24:06.912Z] Removing intermediate container c647140ab140 [2024-11-11T04:24:06.912Z] ---> be8c3ccaca51 [2024-11-11T04:24:06.912Z] Step 5/10 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-11T04:24:06.912Z] ---> Running in 77cb2012c1f9 [2024-11-11T04:24:07.182Z] Removing intermediate container 77cb2012c1f9 [2024-11-11T04:24:07.182Z] ---> ff6a44cb3a95 [2024-11-11T04:24:07.182Z] Step 6/10 : RUN apk add --update --no-cache make git [2024-11-11T04:24:07.182Z] ---> Running in 2f10a0857cc7 [2024-11-11T04:24:08.604Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T04:24:08.872Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T04:24:10.298Z] OK: 238 MiB in 54 packages [2024-11-11T04:24:11.272Z] Removing intermediate container 2f10a0857cc7 [2024-11-11T04:24:11.272Z] ---> 7d4bda048542 [2024-11-11T04:24:11.272Z] Step 7/10 : COPY go.mod vendor* ./ [2024-11-11T04:24:11.540Z] ---> 30ed4d1bcf99 [2024-11-11T04:24:11.540Z] Step 8/10 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-11T04:24:11.808Z] ---> Running in 651e8b63bbac [2024-11-11T04:26:04.991Z] Removing intermediate container 651e8b63bbac [2024-11-11T04:26:04.991Z] ---> aec6c39af2db [2024-11-11T04:26:04.991Z] Step 9/10 : COPY . . [2024-11-11T04:26:04.991Z] ---> 9afe6af503fc [2024-11-11T04:26:04.991Z] Step 10/10 : RUN ${MAKE} [2024-11-11T04:26:04.992Z] ---> Running in 57d036d214c4 [2024-11-11T04:26:05.579Z] noop [2024-11-11T04:26:06.171Z] Removing intermediate container 57d036d214c4 [2024-11-11T04:26:06.171Z] ---> e64b455e3e2c [2024-11-11T04:26:06.171Z] Successfully built e64b455e3e2c [2024-11-11T04:26:06.171Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:26:06.716Z] + docker inspect -f . ci-base-image-arm64 [2024-11-11T04:26:06.716Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T04:26:07.069Z] prd-ubuntu20.04-docker-arm64-4c-16g-26107 does not seem to be running inside a container [2024-11-11T04:26:07.141Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-11T04:26:08.523Z] $ docker top 7b98926e4f7b5e863db0eef046ca010988107a8636a77e6c8a80e20ea4e626ed -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T04:26:09.478Z] + go version [2024-11-11T04:26:09.478Z] go version go1.23.2 linux/arm64 [Pipeline] } [2024-11-11T04:26:09.511Z] $ docker stop --time=1 7b98926e4f7b5e863db0eef046ca010988107a8636a77e6c8a80e20ea4e626ed [2024-11-11T04:26:11.255Z] $ docker rm -f --volumes 7b98926e4f7b5e863db0eef046ca010988107a8636a77e6c8a80e20ea4e626ed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:26:12.230Z] + docker inspect -f . ci-base-image-arm64 [2024-11-11T04:26:12.230Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T04:26:12.538Z] prd-ubuntu20.04-docker-arm64-4c-16g-26107 does not seem to be running inside a container [2024-11-11T04:26:12.611Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2024-11-11T04:26:13.939Z] $ docker top 6d22953412cde387c554006796006e43ef999f69721226a55648b62e39fb3026 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T04:26:14.883Z] + git config --global --add safe.directory /w/workspace/device-sdk-go/1 [Pipeline] fileExists [Pipeline] sh [2024-11-11T04:26:15.618Z] + make test [2024-11-11T04:26:15.618Z] go test -race -coverprofile=coverage.out ./... [2024-11-11T04:27:12.054Z] ? github.com/edgexfoundry/device-sdk-go/v4 [no test files] [2024-11-11T04:31:19.175Z] github.com/edgexfoundry/device-sdk-go/v4/example/cmd/device-simple coverage: 0.0% of statements [2024-11-11T04:31:19.175Z] github.com/edgexfoundry/device-sdk-go/v4/example/driver coverage: 0.0% of statements [2024-11-11T04:31:19.175Z] github.com/edgexfoundry/device-sdk-go/v4/internal/application coverage: 0.0% of statements [2024-11-11T04:31:19.175Z] github.com/edgexfoundry/device-sdk-go/v4/example/config coverage: 0.0% of statements [2024-11-11T04:31:19.175Z] github.com/edgexfoundry/device-sdk-go/v4/internal/autodiscovery coverage: 0.0% of statements [2024-11-11T04:31:25.874Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/autoevent 1.182s coverage: 28.7% of statements [2024-11-11T04:31:29.249Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/cache 1.189s coverage: 79.4% of statements [2024-11-11T04:31:41.630Z] github.com/edgexfoundry/device-sdk-go/v4/internal/container coverage: 0.0% of statements [2024-11-11T04:31:41.630Z] github.com/edgexfoundry/device-sdk-go/v4/internal/config coverage: 0.0% of statements [2024-11-11T04:31:42.220Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/common 1.320s coverage: 86.0% of statements [2024-11-11T04:31:57.274Z] github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http/correlation coverage: 0.0% of statements [2024-11-11T04:31:57.274Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/http 1.601s coverage: 45.2% of statements [2024-11-11T04:31:59.865Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/controller/messaging 4.290s coverage: 14.1% of statements [2024-11-11T04:31:59.865Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/provision 2.874s coverage: 44.6% of statements [2024-11-11T04:32:05.612Z] ? github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces [no test files] [2024-11-11T04:32:05.612Z] github.com/edgexfoundry/device-sdk-go/v4/internal/utils coverage: 0.0% of statements [2024-11-11T04:32:05.612Z] github.com/edgexfoundry/device-sdk-go/v4/pkg/interfaces/mocks coverage: 0.0% of statements [2024-11-11T04:32:06.200Z] ok github.com/edgexfoundry/device-sdk-go/v4/internal/transformer 1.397s coverage: 68.4% of statements [2024-11-11T04:32:11.576Z] ok github.com/edgexfoundry/device-sdk-go/v4/pkg/models 1.384s coverage: 88.3% of statements [2024-11-11T04:32:18.233Z] github.com/edgexfoundry/device-sdk-go/v4/pkg/startup coverage: 0.0% of statements [2024-11-11T04:32:19.638Z] ok github.com/edgexfoundry/device-sdk-go/v4/pkg/service 1.300s coverage: 5.3% of statements [2024-11-11T04:32:21.062Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-11-11T04:32:21.062Z] GO111MODULE=on go vet ./... [2024-11-11T04:36:13.725Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-11-11T04:36:13.725Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-11-11T04:36:13.725Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-11-11T04:36:13.776Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-11-11T04:36:13.790Z] $ docker stop --time=1 6d22953412cde387c554006796006e43ef999f69721226a55648b62e39fb3026 [2024-11-11T04:36:15.654Z] $ docker rm -f --volumes 6d22953412cde387c554006796006e43ef999f69721226a55648b62e39fb3026 [Pipeline] // withDockerContainer [Pipeline] sh [2024-11-11T04:36:18.072Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-11-11T04:36:18.117Z] Warning: overwriting stash ‘coverage-report’ [2024-11-11T04:36:18.828Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-11-11T04:36:19.441Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-11-11T04:36:19.795Z] + ls -al . [2024-11-11T04:36:19.795Z] total 700 [2024-11-11T04:36:19.795Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 11 04:26 . [2024-11-11T04:36:19.795Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 04:23 .. [2024-11-11T04:36:19.795Z] -rw-rw-r-- 1 jenkins jenkins 140 Nov 11 04:23 .dockerignore [2024-11-11T04:36:19.795Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 11 04:23 .git [2024-11-11T04:36:19.795Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 11 04:23 .github [2024-11-11T04:36:19.795Z] -rw-rw-r-- 1 jenkins jenkins 137 Nov 11 04:23 .gitignore [2024-11-11T04:36:19.795Z] -rw-rw-r-- 1 jenkins jenkins 199 Nov 11 04:23 .golangci.yml [2024-11-11T04:36:19.795Z] -rw-rw-r-- 1 jenkins jenkins 48109 Nov 11 04:23 CHANGELOG.md [2024-11-11T04:36:19.795Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 11 04:23 GOVERNANCE.md [2024-11-11T04:36:19.795Z] -rw-rw-r-- 1 jenkins jenkins 882 Nov 11 04:23 Jenkinsfile [2024-11-11T04:36:19.795Z] -rw-rw-r-- 1 jenkins jenkins 11341 Nov 11 04:23 LICENSE [2024-11-11T04:36:19.795Z] -rw-rw-r-- 1 jenkins jenkins 2424 Nov 11 04:23 Makefile [2024-11-11T04:36:19.795Z] -rw-rw-r-- 1 jenkins jenkins 619 Nov 11 04:23 OWNERS.md [2024-11-11T04:36:19.795Z] -rw-rw-r-- 1 jenkins jenkins 4937 Nov 11 04:23 README.md [2024-11-11T04:36:19.795Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 11 04:19 VERSION [2024-11-11T04:36:19.795Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 04:23 bin [2024-11-11T04:36:19.795Z] -rw-r--r-- 1 jenkins jenkins 468088 Nov 11 04:32 coverage.out [2024-11-11T04:36:19.795Z] drwxrwxr-x 5 jenkins jenkins 4096 Nov 11 04:23 example [2024-11-11T04:36:19.795Z] -rw-rw-r-- 1 jenkins jenkins 6278 Nov 11 04:23 go.mod [2024-11-11T04:36:19.795Z] -rw-rw-r-- 1 jenkins jenkins 87873 Nov 11 04:23 go.sum [2024-11-11T04:36:19.795Z] drwxrwxr-x 13 jenkins jenkins 4096 Nov 11 04:23 internal [2024-11-11T04:36:19.795Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 11 04:23 openapi [2024-11-11T04:36:19.795Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 11 04:23 pkg [2024-11-11T04:36:19.795Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 11 04:23 snap [2024-11-11T04:36:19.795Z] -rw-rw-r-- 1 jenkins jenkins 222 Nov 11 04:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:36:20.257Z] + 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=a5d00c1dab23f4666809e705931b48d7392bf3c1 --label arch=arm64 --label version=0.0.0 . [2024-11-11T04:36:20.843Z] Sending build context to Docker daemon 13.74MB [2024-11-11T04:36:20.843Z] Step 1/24 : ARG BASE=golang:1.23-alpine3.20 [2024-11-11T04:36:20.843Z] Step 2/24 : FROM ${BASE} AS builder [2024-11-11T04:36:20.843Z] ---> e64b455e3e2c [2024-11-11T04:36:20.843Z] Step 3/24 : ARG MAKE=make build [2024-11-11T04:36:21.108Z] ---> Running in 7384bbbc1881 [2024-11-11T04:36:21.375Z] Removing intermediate container 7384bbbc1881 [2024-11-11T04:36:21.375Z] ---> b511857fbb11 [2024-11-11T04:36:21.375Z] Step 4/24 : WORKDIR /device-sdk-go [2024-11-11T04:36:21.659Z] ---> Running in bf6d7db5e1c5 [2024-11-11T04:36:21.925Z] Removing intermediate container bf6d7db5e1c5 [2024-11-11T04:36:21.925Z] ---> 18975d8c5612 [2024-11-11T04:36:21.925Z] Step 5/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-11-11T04:36:21.925Z] ---> Running in 223337abe254 [2024-11-11T04:36:22.509Z] Removing intermediate container 223337abe254 [2024-11-11T04:36:22.509Z] ---> fceff5310ab3 [2024-11-11T04:36:22.509Z] Step 6/24 : RUN apk add --update --no-cache make git [2024-11-11T04:36:22.509Z] ---> Running in 5b55431aa43b [2024-11-11T04:36:23.471Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T04:36:23.740Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T04:36:25.689Z] OK: 238 MiB in 54 packages [2024-11-11T04:36:26.278Z] Removing intermediate container 5b55431aa43b [2024-11-11T04:36:26.278Z] ---> 0041e1232f96 [2024-11-11T04:36:26.278Z] Step 7/24 : COPY go.mod vendor* ./ [2024-11-11T04:36:27.236Z] ---> 56285581ad2a [2024-11-11T04:36:27.236Z] Step 8/24 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-11-11T04:36:27.236Z] ---> Running in c91a763c22f9 [2024-11-11T04:36:29.814Z] Removing intermediate container c91a763c22f9 [2024-11-11T04:36:29.814Z] ---> d5c4ca4b5cba [2024-11-11T04:36:29.814Z] Step 9/24 : COPY . . [2024-11-11T04:36:31.220Z] ---> 442524e4f258 [2024-11-11T04:36:31.220Z] Step 10/24 : RUN ${MAKE} [2024-11-11T04:36:31.220Z] ---> Running in f385faeebea3 [2024-11-11T04:36:32.186Z] CGO_ENABLED=0 go build -ldflags "-X github.com/edgexfoundry/device-sdk-go/v4.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v4/internal/common.SDKVersion=0.0.0 -bindnow" -trimpath -mod=readonly -buildmode=pie -o example/cmd/device-simple/device-simple ./example/cmd/device-simple [2024-11-11T04:40:23.970Z] Removing intermediate container f385faeebea3 [2024-11-11T04:40:23.970Z] ---> bf84e47343f8 [2024-11-11T04:40:23.970Z] Step 11/24 : FROM alpine:3.20 [2024-11-11T04:40:23.970Z] 3.20: Pulling from library/alpine [2024-11-11T04:40:23.970Z] cf04c63912e1: Already exists [2024-11-11T04:40:23.970Z] Digest: sha256:beefdbd8a1da6d2915566fde36db9db0b524eb737fc57cd1367effd16dc0d06d [2024-11-11T04:40:23.970Z] Status: Downloaded newer image for alpine:3.20 [2024-11-11T04:40:23.970Z] ---> c157a85ed455 [2024-11-11T04:40:23.970Z] Step 12/24 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2024-11-11T04:40:23.970Z] ---> Running in d84448865214 [2024-11-11T04:40:23.970Z] Removing intermediate container d84448865214 [2024-11-11T04:40:23.970Z] ---> e2d25a418ddb [2024-11-11T04:40:23.970Z] Step 13/24 : RUN apk add --update --no-cache dumb-init [2024-11-11T04:40:23.970Z] ---> Running in d2b3768bd90e [2024-11-11T04:40:23.970Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T04:40:23.970Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T04:40:23.970Z] (1/1) Installing dumb-init (1.2.5-r3) [2024-11-11T04:40:23.970Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T04:40:23.970Z] OK: 9 MiB in 15 packages [2024-11-11T04:40:23.970Z] Removing intermediate container d2b3768bd90e [2024-11-11T04:40:23.970Z] ---> 26359c82e98a [2024-11-11T04:40:23.970Z] Step 14/24 : RUN apk --no-cache upgrade [2024-11-11T04:40:23.970Z] ---> Running in cff989af50d6 [2024-11-11T04:40:23.970Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T04:40:23.970Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T04:40:25.383Z] Upgrading critical system libraries and apk-tools: [2024-11-11T04:40:25.384Z] (1/1) Upgrading apk-tools (2.14.4-r0 -> 2.14.4-r1) [2024-11-11T04:40:25.384Z] Executing busybox-1.36.1-r29.trigger [2024-11-11T04:40:25.651Z] Continuing the upgrade transaction with new apk-tools: [2024-11-11T04:40:25.651Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/main/aarch64/APKINDEX.tar.gz [2024-11-11T04:40:25.918Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.20/community/aarch64/APKINDEX.tar.gz [2024-11-11T04:40:27.329Z] (1/2) Upgrading libcrypto3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-11T04:40:27.329Z] (2/2) Upgrading libssl3 (3.3.2-r0 -> 3.3.2-r1) [2024-11-11T04:40:27.329Z] OK: 9 MiB in 15 packages [2024-11-11T04:40:28.286Z] Removing intermediate container cff989af50d6 [2024-11-11T04:40:28.286Z] ---> 7fa9dd614e6d [2024-11-11T04:40:28.286Z] Step 15/24 : WORKDIR / [2024-11-11T04:40:28.286Z] ---> Running in d8d584954207 [2024-11-11T04:40:28.867Z] Removing intermediate container d8d584954207 [2024-11-11T04:40:28.867Z] ---> 6d0fc7fe4993 [2024-11-11T04:40:28.867Z] Step 16/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/Attribution.txt /Attribution.txt [2024-11-11T04:40:29.132Z] ---> 42e8b4eac921 [2024-11-11T04:40:29.132Z] Step 17/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/device-simple /device-simple [2024-11-11T04:40:31.703Z] ---> ea6c44fedd23 [2024-11-11T04:40:31.703Z] Step 18/24 : COPY --from=builder /device-sdk-go/example/cmd/device-simple/res/ /res [2024-11-11T04:40:31.703Z] ---> 2e5b323ecc7f [2024-11-11T04:40:31.703Z] Step 19/24 : EXPOSE 59999 [2024-11-11T04:40:31.970Z] ---> Running in ebfdd3e10311 [2024-11-11T04:40:32.238Z] Removing intermediate container ebfdd3e10311 [2024-11-11T04:40:32.238Z] ---> 75a074a417b8 [2024-11-11T04:40:32.238Z] Step 20/24 : ENTRYPOINT ["/device-simple"] [2024-11-11T04:40:32.238Z] ---> Running in e1f15a39486d [2024-11-11T04:40:32.505Z] Removing intermediate container e1f15a39486d [2024-11-11T04:40:32.505Z] ---> 29d12134e730 [2024-11-11T04:40:32.505Z] Step 21/24 : CMD ["-cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-11-11T04:40:32.772Z] ---> Running in d72684d24d25 [2024-11-11T04:40:33.039Z] Removing intermediate container d72684d24d25 [2024-11-11T04:40:33.039Z] ---> 99444838dc3a [2024-11-11T04:40:33.039Z] Step 22/24 : LABEL arch=arm64 [2024-11-11T04:40:33.039Z] ---> Running in 0e5f38cf25d5 [2024-11-11T04:40:33.320Z] Removing intermediate container 0e5f38cf25d5 [2024-11-11T04:40:33.320Z] ---> 51796f51ff58 [2024-11-11T04:40:33.320Z] Step 23/24 : LABEL git_sha=a5d00c1dab23f4666809e705931b48d7392bf3c1 [2024-11-11T04:40:33.320Z] ---> Running in dafc03ac16b2 [2024-11-11T04:40:33.587Z] Removing intermediate container dafc03ac16b2 [2024-11-11T04:40:33.587Z] ---> 5b8bb3882145 [2024-11-11T04:40:33.587Z] Step 24/24 : LABEL version=0.0.0 [2024-11-11T04:40:33.853Z] ---> Running in 039f9d7bf3bf [2024-11-11T04:40:34.120Z] Removing intermediate container 039f9d7bf3bf [2024-11-11T04:40:34.120Z] ---> 6ef4ead5f8cc [2024-11-11T04:40:34.120Z] [Warning] One or more build-args [ARCH] were not consumed [2024-11-11T04:40:34.120Z] Successfully built 6ef4ead5f8cc [2024-11-11T04:40:34.120Z] 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] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:40:35.087Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-11T04:40:35.087Z] [2024-11-11T04:40:35.087Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:40:35.518Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-11T04:40:35.518Z] arm64: Pulling from edgex-lftools-log-publisher [2024-11-11T04:40:35.518Z] 8998bd30e6a1: Pulling fs layer [2024-11-11T04:40:35.518Z] 04944245beec: Pulling fs layer [2024-11-11T04:40:35.518Z] 699f458cf7ca: Pulling fs layer [2024-11-11T04:40:35.518Z] 765212b225bb: Pulling fs layer [2024-11-11T04:40:35.518Z] f23df028b6ca: Pulling fs layer [2024-11-11T04:40:35.518Z] d65c8cfc05b1: Pulling fs layer [2024-11-11T04:40:35.518Z] 2437ff75d9bd: Pulling fs layer [2024-11-11T04:40:35.518Z] f23df028b6ca: Waiting [2024-11-11T04:40:35.518Z] 765212b225bb: Waiting [2024-11-11T04:40:35.518Z] 2437ff75d9bd: Waiting [2024-11-11T04:40:35.786Z] 04944245beec: Verifying Checksum [2024-11-11T04:40:35.786Z] 04944245beec: Download complete [2024-11-11T04:40:35.786Z] 765212b225bb: Verifying Checksum [2024-11-11T04:40:35.786Z] 765212b225bb: Download complete [2024-11-11T04:40:35.786Z] f23df028b6ca: Download complete [2024-11-11T04:40:35.786Z] d65c8cfc05b1: Verifying Checksum [2024-11-11T04:40:35.786Z] d65c8cfc05b1: Download complete [2024-11-11T04:40:35.786Z] 699f458cf7ca: Verifying Checksum [2024-11-11T04:40:35.786Z] 699f458cf7ca: Download complete [2024-11-11T04:40:36.369Z] 8998bd30e6a1: Verifying Checksum [2024-11-11T04:40:36.369Z] 8998bd30e6a1: Download complete [2024-11-11T04:40:38.942Z] 2437ff75d9bd: Verifying Checksum [2024-11-11T04:40:38.942Z] 2437ff75d9bd: Download complete [2024-11-11T04:40:40.565Z] 8998bd30e6a1: Pull complete [2024-11-11T04:40:41.148Z] 04944245beec: Pull complete [2024-11-11T04:40:42.553Z] 699f458cf7ca: Pull complete [2024-11-11T04:40:42.819Z] 765212b225bb: Pull complete [2024-11-11T04:40:43.398Z] f23df028b6ca: Pull complete [2024-11-11T04:40:43.663Z] d65c8cfc05b1: Pull complete [2024-11-11T04:41:01.874Z] 2437ff75d9bd: Pull complete [2024-11-11T04:41:01.874Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-11-11T04:41:01.874Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-11-11T04:41:01.874Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T04:41:02.261Z] prd-ubuntu20.04-docker-arm64-4c-16g-26107 does not seem to be running inside a container [2024-11-11T04:41:02.296Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-sdk-go/1 -v /w/workspace/device-sdk-go/1:/w/workspace/device-sdk-go/1:rw,z -v /w/workspace/device-sdk-go/1@tmp:/w/workspace/device-sdk-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-11-11T04:41:05.440Z] $ docker top 574b68117af7fb2b4aab7d82a0edbac622dfb155f87f37cf5602296ee5d48229 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:41:06.465Z] ---> job-cost.sh [2024-11-11T04:41:06.465Z] lf-activate-venv: SKIPPING [2024-11-11T04:41:06.465Z] INFO: No Stack... [2024-11-11T04:41:07.063Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-11-11T04:41:07.651Z] INFO: Archiving Costs [Pipeline] sh [2024-11-11T04:41:08.333Z] + cat /w/workspace/device-sdk-go/1/archives/cost.csv [2024-11-11T04:41:08.333Z] + cut -d, -f6 [Pipeline] lock [2024-11-11T04:41:08.437Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1649-1-stack-cost] [2024-11-11T04:41:08.444Z] Resource [jenkins-edgexfoundry-device-sdk-go-PR-1649-1-stack-cost] did not exist. Created. [2024-11-11T04:41:08.454Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1649-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-11-11T04:41:09.205Z] /w/workspace/device-sdk-go/1@tmp/durable-77fd2d69/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-11-11T04:41:09.880Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-11-11T04:41:09.924Z] Warning: overwriting stash ‘stack-cost’ [2024-11-11T04:41:10.009Z] Stashed 1 file(s) [Pipeline] } [2024-11-11T04:41:10.031Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-sdk-go-PR-1649-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-11-11T04:41:10.081Z] $ docker stop --time=1 574b68117af7fb2b4aab7d82a0edbac622dfb155f87f37cf5602296ee5d48229 [2024-11-11T04:41:11.578Z] $ docker rm -f --volumes 574b68117af7fb2b4aab7d82a0edbac622dfb155f87f37cf5602296ee5d48229 [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 [2024-11-11T04:41:14.124Z] provisioning config files... [2024-11-11T04:41:14.132Z] copy managed file [device-sdk-go-codecov-token] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp/config11361172569972449883tmp [Pipeline] { [Pipeline] sh [2024-11-11T04:41:14.490Z] + set +x [2024-11-11T04:41:14.490Z] + curl -s https://codecov.io/bash [2024-11-11T04:41:14.490Z] + bash -s -- [2024-11-11T04:41:14.490Z] [2024-11-11T04:41:14.490Z] _____ _ [2024-11-11T04:41:14.490Z] / ____| | | [2024-11-11T04:41:14.490Z] | | ___ __| | ___ ___ _____ __ [2024-11-11T04:41:14.490Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-11-11T04:41:14.490Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-11-11T04:41:14.490Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-11-11T04:41:14.490Z] Bash-1.0.6 [2024-11-11T04:41:14.490Z] [2024-11-11T04:41:14.490Z] [2024-11-11T04:41:14.490Z] ==> git version 2.25.1 found [2024-11-11T04:41:14.490Z] ==> 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 [2024-11-11T04:41:14.490Z] Release-Date: 2020-01-08 [2024-11-11T04:41:14.490Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-11-11T04:41:14.490Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-11-11T04:41:14.490Z] ==> Jenkins CI detected. [2024-11-11T04:41:14.490Z] current dir:  /w/workspace/gexfoundry_device-sdk-go_PR-1649 [2024-11-11T04:41:14.490Z] project root: . [2024-11-11T04:41:14.490Z] --> token set from env [2024-11-11T04:41:14.490Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-11-11T04:41:14.490Z] ==> Running gcov in . (disable via -X gcov) [2024-11-11T04:41:14.490Z] ==> Python coveragepy not found [2024-11-11T04:41:14.490Z] ==> Searching for coverage reports in: [2024-11-11T04:41:14.490Z] + . [2024-11-11T04:41:14.490Z] -> Found 1 reports [2024-11-11T04:41:14.490Z] ==> Detecting git/mercurial file structure [2024-11-11T04:41:14.490Z] ==> Reading reports [2024-11-11T04:41:14.490Z] + ./coverage.out bytes=468088 [2024-11-11T04:41:14.490Z] ==> Appending adjustments [2024-11-11T04:41:14.490Z] https://docs.codecov.io/docs/fixing-reports [2024-11-11T04:41:15.058Z] + Found adjustments [2024-11-11T04:41:15.058Z] ==> Gzipping contents [2024-11-11T04:41:15.058Z] 44K /tmp/codecov.qrMSLg.gz [2024-11-11T04:41:15.058Z] ==> Uploading reports [2024-11-11T04:41:15.058Z] url: https://codecov.io [2024-11-11T04:41:15.059Z] query: branch=PR-1649&commit=a5d00c1dab23f4666809e705931b48d7392bf3c1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1649%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1649&job=&cmd_args= [2024-11-11T04:41:15.059Z] -> Pinging Codecov [2024-11-11T04:41:15.059Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-1649&commit=a5d00c1dab23f4666809e705931b48d7392bf3c1&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-sdk-go%2Fjob%2FPR-1649%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-sdk-go&service=jenkins&flags=&pr=1649&job=&cmd_args= [2024-11-11T04:41:15.059Z] -> Uploading to [2024-11-11T04:41:15.059Z] https://storage.googleapis.com/codecov/shelter/v4/github/edgexfoundry/device-sdk-go/a5d00c1dab23f4666809e705931b48d7392bf3c1/84de7d39-ce31-4241-bd34-2034dacc9428.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJWQHUGIBILH4J7Q6ZUSCIFNEOLYSNDS7L3B4N5SIBQ2J4YLYE5CRFCD%2F20241111%2Fus%2Fs3%2Faws4_request&X-Amz-Date=20241111T044114Z&X-Amz-Expires=30&X-Amz-SignedHeaders=host&X-Amz-Signature=6dec370e958f8b6b86ebed8ae729074a015c375cc57bf197712362921746c6f0 [2024-11-11T04:41:15.059Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-11-11T04:41:15.059Z] Dload Upload Total Spent Left Speed [2024-11-11T04:41:15.319Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 44775 0 0 100 44775 0 175k --:--:-- --:--:-- --:--:-- 175k [2024-11-11T04:41:15.319Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-sdk-go/commit/a5d00c1dab23f4666809e705931b48d7392bf3c1 [Pipeline] } [2024-11-11T04:41:15.352Z] 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] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-11-11T04:41:17.612Z] + [ -d /w/workspace/gexfoundry_device-sdk-go_PR-1649/archives ] [2024-11-11T04:41:17.612Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1649/archives [2024-11-11T04:41:17.612Z] total 16 [2024-11-11T04:41:17.612Z] drwxr-xr-x 3 root root 4096 Nov 11 04:23 . [2024-11-11T04:41:17.612Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 11 04:23 .. [2024-11-11T04:41:17.612Z] drwxr-xr-x 2 root root 4096 Nov 11 04:23 cost [2024-11-11T04:41:17.613Z] -rw-r--r-- 1 root root 86 Nov 11 04:23 cost.csv [2024-11-11T04:41:17.613Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-sdk-go_PR-1649/archives [2024-11-11T04:41:17.613Z] + ls -al /w/workspace/gexfoundry_device-sdk-go_PR-1649/archives [2024-11-11T04:41:17.613Z] total 16 [2024-11-11T04:41:17.613Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 11 04:23 . [2024-11-11T04:41:17.613Z] drwxrwxr-x 12 jenkins jenkins 4096 Nov 11 04:23 .. [2024-11-11T04:41:17.613Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 11 04:23 cost [2024-11-11T04:41:17.613Z] -rw-r--r-- 1 jenkins jenkins 86 Nov 11 04:23 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:41:17.959Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:41:18.863Z] ---> package-listing.sh [2024-11-11T04:41:18.863Z] ++ facter osfamily [2024-11-11T04:41:18.863Z] ++ tr '[:upper:]' '[:lower:]' [2024-11-11T04:41:19.125Z] + OS_FAMILY=debian [2024-11-11T04:41:19.125Z] + workspace=/w/workspace/gexfoundry_device-sdk-go_PR-1649 [2024-11-11T04:41:19.125Z] + START_PACKAGES=/tmp/packages_start.txt [2024-11-11T04:41:19.125Z] + END_PACKAGES=/tmp/packages_end.txt [2024-11-11T04:41:19.125Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-11-11T04:41:19.125Z] + PACKAGES=/tmp/packages_start.txt [2024-11-11T04:41:19.125Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1649 ']' [2024-11-11T04:41:19.125Z] + PACKAGES=/tmp/packages_end.txt [2024-11-11T04:41:19.125Z] + case "${OS_FAMILY}" in [2024-11-11T04:41:19.125Z] + dpkg -l [2024-11-11T04:41:19.125Z] + grep '^ii' [2024-11-11T04:41:19.125Z] + '[' -f /tmp/packages_start.txt ']' [2024-11-11T04:41:19.125Z] + '[' -f /tmp/packages_end.txt ']' [2024-11-11T04:41:19.125Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-11-11T04:41:19.125Z] + '[' /w/workspace/gexfoundry_device-sdk-go_PR-1649 ']' [2024-11-11T04:41:19.125Z] + mkdir -p /w/workspace/gexfoundry_device-sdk-go_PR-1649/archives/ [2024-11-11T04:41:19.125Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-sdk-go_PR-1649/archives/ [Pipeline] echo [2024-11-11T04:41:19.172Z] 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-1649/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-11-11T04:41:19.471Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-11-11T04:41:20.132Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-11-11T04:41:20.132Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-11-11T04:41:20.293Z] prd-ubuntu20.04-docker-8c-8g-26105 does not seem to be running inside a container [2024-11-11T04:41:20.294Z] $ 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-1649/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-1649 -v /w/workspace/gexfoundry_device-sdk-go_PR-1649:/w/workspace/gexfoundry_device-sdk-go_PR-1649:rw,z -v /w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp:/w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-11-11T04:41:20.534Z] $ docker top 8618fafb12a27bd462c60261eaba1d54ae2221318ce06760df4f122813ea9eed -eo pid,comm [Pipeline] { [Pipeline] sh [2024-11-11T04:41:20.973Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-11-11T04:41:21.289Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-11-11T04:41:21.610Z] + ls /var/log/sa-host [2024-11-11T04:41:21.610Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-11-11T04:41:21.787Z] provisioning config files... [2024-11-11T04:41:21.798Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-sdk-go_PR-1649@tmp/config17361412537723498121tmp [Pipeline] { [Pipeline] echo [2024-11-11T04:41:21.876Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:41:22.225Z] ---> create-netrc.sh [Pipeline] } [2024-11-11T04:41:22.267Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:41:22.671Z] ---> python-tools-install.sh [Pipeline] echo [2024-11-11T04:41:22.715Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:41:23.042Z] ---> sudo-logs.sh [2024-11-11T04:41:23.042Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-11-11T04:41:23.163Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:41:23.530Z] ---> job-cost.sh [2024-11-11T04:41:23.530Z] lf-activate-venv: SKIPPING [2024-11-11T04:41:23.530Z] DEBUG: total: 0.2199999988079071 [2024-11-11T04:41:23.530Z] INFO: Retrieving Stack Cost... [2024-11-11T04:41:24.140Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-11-11T04:41:24.422Z] INFO: Archiving Costs [Pipeline] echo [2024-11-11T04:41:24.490Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-11-11T04:41:24.831Z] ---> logs-deploy.sh [2024-11-11T04:41:24.831Z] lf-activate-venv: SKIPPING [2024-11-11T04:41:24.831Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-sdk-go/PR-1649/1 [2024-11-11T04:41:24.831Z] INFO: archiving workspace using pattern(s): [2024-11-11T04:41:25.767Z] Archives upload complete. [2024-11-11T04:41:25.767Z] INFO: archiving logs to Nexus