Pull request #428 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b6e731b3c53c25acdc7bd1d4da676ffd8fdcdee0+023c845179eab4edd1a7b84d6adc5f1ef146c7eb (c94b76aff5172dc44325d19971535030dbd829a3) 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-ssh14704894502357377700.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-ssh13523287785282748428.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-onvif-camera/branches/PR-428/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-onvif-camera/branches/PR-428/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9427604062775302978.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-onvif-camera/branches/PR-428/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5834418264600721007.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 33739fb647ab338ef2ce3bfc8312bfbcef468f88 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 33739fb647ab338ef2ce3bfc8312bfbcef468f88 # timeout=10 Commit message: "Merge pull request #447 from ernestojeda/fix-release-changelog" > 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-ssh11415435229068474636.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-onvif-camera/branches/PR-428/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-onvif-camera/branches/PR-428/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5160191969441928587.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 33739fb647ab338ef2ce3bfc8312bfbcef468f88 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-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v3]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v3 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2145 in /w/workspace/undry_device-onvif-camera_PR-428 [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-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-428 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.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-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 023c845179eab4edd1a7b84d6adc5f1ef146c7eb into PR head commit b6e731b3c53c25acdc7bd1d4da676ffd8fdcdee0 Merge succeeded, producing b6e731b3c53c25acdc7bd1d4da676ffd8fdcdee0 Checking out Revision b6e731b3c53c25acdc7bd1d4da676ffd8fdcdee0 (PR-428) Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.4 to 1.9.0" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.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-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/428/head:refs/remotes/origin/PR-428 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b6e731b3c53c25acdc7bd1d4da676ffd8fdcdee0 # 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 023c845179eab4edd1a7b84d6adc5f1ef146c7eb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b6e731b3c53c25acdc7bd1d4da676ffd8fdcdee0 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-03-04T03:28:01.035Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-03-04T03:28:01.238Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-03-04T03:28:01.348Z] ========================================================= [2024-03-04T03:28:01.348Z] EdgeX Global Pipelines Version Info [2024-03-04T03:28:01.348Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-03-04T03:28:02.076Z] ------------------- [2024-03-04T03:28:02.076Z] stable info: [2024-03-04T03:28:02.076Z] ------------------- [2024-03-04T03:28:02.076Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2024-03-04T03:28:02.076Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-04T03:28:02.076Z] Message: update stable to v1.0.258 [2024-03-04T03:28:02.648Z] ------------------- [2024-03-04T03:28:02.648Z] experimental info: [2024-03-04T03:28:02.648Z] ------------------- [2024-03-04T03:28:02.648Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-03-04T03:28:02.648Z] Commit SHA: 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-04T03:28:02.648Z] Message: update experimental to v1.0.258 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-03-04T03:28:02.856Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2024-03-04T03:28:02.904Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2024-03-04T03:28:02.954Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-03-04T03:28:03.000Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-03-04T03:28:03.053Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-03-04T03:28:03.114Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-03-04T03:28:03.171Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-03-04T03:28:03.224Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-03-04T03:28:03.280Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-03-04T03:28:03.337Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-03-04T03:28:03.400Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-03-04T03:28:03.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2024-03-04T03:28:03.527Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-03-04T03:28:03.597Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-03-04T03:28:03.658Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-03-04T03:28:03.720Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-03-04T03:28:03.784Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-03-04T03:28:03.850Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-03-04T03:28:03.921Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-03-04T03:28:03.986Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-03-04T03:28:04.053Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2024-03-04T03:28:04.123Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v3 [Pipeline] echo [2024-03-04T03:28:04.190Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-03-04T03:28:04.260Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-03-04T03:28:04.328Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-03-04T03:28:04.412Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-03-04T03:28:04.489Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-03-04T03:28:04.561Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-428 [Pipeline] echo [2024-03-04T03:28:04.627Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-428 [Pipeline] echo [2024-03-04T03:28:04.695Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-428 [Pipeline] echo [2024-03-04T03:28:04.766Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b6e731b3c53c25acdc7bd1d4da676ffd8fdcdee0 [Pipeline] echo [2024-03-04T03:28:04.841Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b6e731b [Pipeline] echo [2024-03-04T03:28:04.917Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-04T03:28:05.095Z] provisioning config files... [2024-03-04T03:28:05.111Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-428@tmp/config4242362949515617955tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-04T03:28:05.522Z] ---> ****-login.sh [2024-03-04T03:28:05.523Z] nexus3.edgexfoundry.org:10001 [2024-03-04T03:28:05.783Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T03:28:06.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T03:28:06.044Z] Configure a credential helper to remove this warning. See [2024-03-04T03:28:06.044Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T03:28:06.044Z] [2024-03-04T03:28:06.044Z] Login Succeeded [2024-03-04T03:28:06.044Z] nexus3.edgexfoundry.org:10002 [2024-03-04T03:28:06.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T03:28:06.044Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T03:28:06.044Z] Configure a credential helper to remove this warning. See [2024-03-04T03:28:06.044Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T03:28:06.044Z] [2024-03-04T03:28:06.044Z] Login Succeeded [2024-03-04T03:28:06.044Z] nexus3.edgexfoundry.org:10003 [2024-03-04T03:28:06.044Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T03:28:06.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T03:28:06.305Z] Configure a credential helper to remove this warning. See [2024-03-04T03:28:06.305Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T03:28:06.305Z] [2024-03-04T03:28:06.305Z] Login Succeeded [2024-03-04T03:28:06.305Z] nexus3.edgexfoundry.org:10004 [2024-03-04T03:28:06.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T03:28:06.305Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T03:28:06.305Z] Configure a credential helper to remove this warning. See [2024-03-04T03:28:06.305Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T03:28:06.305Z] [2024-03-04T03:28:06.305Z] Login Succeeded [2024-03-04T03:28:06.305Z] ****.io [2024-03-04T03:28:06.305Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T03:28:06.565Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T03:28:06.565Z] Configure a credential helper to remove this warning. See [2024-03-04T03:28:06.565Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T03:28:06.565Z] [2024-03-04T03:28:06.565Z] Login Succeeded [2024-03-04T03:28:06.565Z] ---> ****-login.sh ends [Pipeline] } [2024-03-04T03:28:06.594Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-03-04T03:28:07.438Z] + git rev-list -1 --merges b6e731b3c53c25acdc7bd1d4da676ffd8fdcdee0~1..b6e731b3c53c25acdc7bd1d4da676ffd8fdcdee0 [Pipeline] echo [2024-03-04T03:28:07.481Z] -----------> git rev-list -1 --merges b6e731b3c53c25acdc7bd1d4da676ffd8fdcdee0~1..b6e731b3c53c25acdc7bd1d4da676ffd8fdcdee0 b6e731b3c53c25acdc7bd1d4da676ffd8fdcdee0 [false] [Pipeline] sh [2024-03-04T03:28:07.813Z] + git log --format=format:%s -1 b6e731b3c53c25acdc7bd1d4da676ffd8fdcdee0 [Pipeline] echo [2024-03-04T03:28:07.855Z] ========================================================= [2024-03-04T03:28:07.855Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-03-04T03:28:07.855Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-04T03:28:08.345Z] + git log --format=format:%s -1 b6e731b3c53c25acdc7bd1d4da676ffd8fdcdee0 [Pipeline] echo [2024-03-04T03:28:08.384Z] [semverPrep] GIT_COMMIT: b6e731b3c53c25acdc7bd1d4da676ffd8fdcdee0, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 [Pipeline] echo [2024-03-04T03:28:08.434Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-03-04T03:28:08.863Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-03-04T03:28:08.864Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-03-04T03:28:08.864Z] + [ -e /tmp/ssh_known_hosts ] [2024-03-04T03:28:08.864Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-03-04T03:28:08.864Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-03-04T03:28:08.864Z] sudo tee -a /etc/ssh/ssh_known_hosts [2024-03-04T03:28:08.864Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T03:28:09.389Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-04T03:28:09.389Z] [2024-03-04T03:28:09.389Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T03:28:09.798Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-04T03:28:09.798Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-03-04T03:28:09.798Z] b85a868b505f: Pulling fs layer [2024-03-04T03:28:09.798Z] e2be974225ed: Pulling fs layer [2024-03-04T03:28:09.798Z] 339a4e72a1f5: Pulling fs layer [2024-03-04T03:28:09.798Z] 988bab9f4d93: Pulling fs layer [2024-03-04T03:28:09.798Z] 1469e6f7b9e6: Pulling fs layer [2024-03-04T03:28:09.798Z] eaf3925da568: Pulling fs layer [2024-03-04T03:28:09.798Z] bab4dde63d76: Pulling fs layer [2024-03-04T03:28:09.798Z] bde34c3a00c8: Pulling fs layer [2024-03-04T03:28:09.798Z] b352a97aabf1: Pulling fs layer [2024-03-04T03:28:09.798Z] 4872d77fe225: Pulling fs layer [2024-03-04T03:28:09.798Z] 5851b861e8e6: Pulling fs layer [2024-03-04T03:28:09.798Z] bde34c3a00c8: Waiting [2024-03-04T03:28:09.798Z] bab4dde63d76: Waiting [2024-03-04T03:28:09.798Z] b352a97aabf1: Waiting [2024-03-04T03:28:09.798Z] 4872d77fe225: Waiting [2024-03-04T03:28:09.798Z] 1469e6f7b9e6: Waiting [2024-03-04T03:28:09.798Z] eaf3925da568: Waiting [2024-03-04T03:28:09.798Z] e2be974225ed: Download complete [2024-03-04T03:28:09.798Z] 988bab9f4d93: Verifying Checksum [2024-03-04T03:28:09.798Z] 988bab9f4d93: Download complete [2024-03-04T03:28:10.057Z] 339a4e72a1f5: Verifying Checksum [2024-03-04T03:28:10.057Z] 339a4e72a1f5: Download complete [2024-03-04T03:28:10.057Z] 1469e6f7b9e6: Verifying Checksum [2024-03-04T03:28:10.057Z] 1469e6f7b9e6: Download complete [2024-03-04T03:28:10.057Z] eaf3925da568: Download complete [2024-03-04T03:28:10.057Z] bde34c3a00c8: Verifying Checksum [2024-03-04T03:28:10.057Z] bde34c3a00c8: Download complete [2024-03-04T03:28:10.057Z] b352a97aabf1: Verifying Checksum [2024-03-04T03:28:10.057Z] b352a97aabf1: Download complete [2024-03-04T03:28:10.057Z] 4872d77fe225: Verifying Checksum [2024-03-04T03:28:10.057Z] 4872d77fe225: Download complete [2024-03-04T03:28:10.057Z] b85a868b505f: Download complete [2024-03-04T03:28:10.057Z] 5851b861e8e6: Download complete [2024-03-04T03:28:10.316Z] bab4dde63d76: Verifying Checksum [2024-03-04T03:28:10.316Z] bab4dde63d76: Download complete [2024-03-04T03:28:11.255Z] b85a868b505f: Pull complete [2024-03-04T03:28:11.255Z] e2be974225ed: Pull complete [2024-03-04T03:28:11.864Z] 339a4e72a1f5: Pull complete [2024-03-04T03:28:11.864Z] 988bab9f4d93: Pull complete [2024-03-04T03:28:12.130Z] 1469e6f7b9e6: Pull complete [2024-03-04T03:28:12.130Z] eaf3925da568: Pull complete [2024-03-04T03:28:14.052Z] bab4dde63d76: Pull complete [2024-03-04T03:28:14.052Z] bde34c3a00c8: Pull complete [2024-03-04T03:28:14.052Z] b352a97aabf1: Pull complete [2024-03-04T03:28:14.052Z] 4872d77fe225: Pull complete [2024-03-04T03:28:14.052Z] 5851b861e8e6: Pull complete [2024-03-04T03:28:14.052Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-03-04T03:28:14.052Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-03-04T03:28:14.052Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-04T03:28:14.383Z] prd-ubuntu20.04-docker-8c-8g-2145 does not seem to be running inside a container [2024-03-04T03:28:14.417Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-428 -v /w/workspace/undry_device-onvif-camera_PR-428:/w/workspace/undry_device-onvif-camera_PR-428:rw,z -v /w/workspace/undry_device-onvif-camera_PR-428@tmp:/w/workspace/undry_device-onvif-camera_PR-428@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-03-04T03:28:17.702Z] $ docker top 534ccd526d758af3a467f6c488a4c60736d308bcf8ab8a404ae80386b40fb980 -eo pid,comm [2024-03-04T03:28:17.744Z] 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-03-04T03:28:17.744Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-03-04T03:28:17.952Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-04T03:28:17.952Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-04T03:28:18.052Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-04T03:28:18.062Z] $ docker exec 534ccd526d758af3a467f6c488a4c60736d308bcf8ab8a404ae80386b40fb980 ssh-agent [2024-03-04T03:28:18.160Z] SSH_AUTH_SOCK=/tmp/ssh-ZkuqwrGZrqxr/agent.32 [2024-03-04T03:28:18.160Z] SSH_AGENT_PID=38 [2024-03-04T03:28:18.166Z] Running ssh-add (command line suppressed) [2024-03-04T03:28:18.265Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-428@tmp/private_key_12073693793454420121.key (/w/workspace/undry_device-onvif-camera_PR-428@tmp/private_key_12073693793454420121.key) [2024-03-04T03:28:18.269Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-04T03:28:18.630Z] + git tag --points-at HEAD [Pipeline] } [2024-03-04T03:28:18.666Z] $ docker exec --env ******** --env ******** 534ccd526d758af3a467f6c488a4c60736d308bcf8ab8a404ae80386b40fb980 ssh-agent -k [2024-03-04T03:28:18.761Z] unset SSH_AUTH_SOCK; [2024-03-04T03:28:18.762Z] unset SSH_AGENT_PID; [2024-03-04T03:28:18.762Z] echo Agent pid 38 killed; [2024-03-04T03:28:18.768Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-03-04T03:28:18.919Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-03-04T03:28:18.919Z] [ssh-agent] Looking for ssh-agent implementation... [2024-03-04T03:28:19.036Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-03-04T03:28:19.046Z] $ docker exec 534ccd526d758af3a467f6c488a4c60736d308bcf8ab8a404ae80386b40fb980 ssh-agent [2024-03-04T03:28:19.142Z] SSH_AUTH_SOCK=/tmp/ssh-wbor04MGmHM7/agent.71 [2024-03-04T03:28:19.142Z] SSH_AGENT_PID=77 [2024-03-04T03:28:19.147Z] Running ssh-add (command line suppressed) [2024-03-04T03:28:19.254Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-428@tmp/private_key_9114395306089737530.key (/w/workspace/undry_device-onvif-camera_PR-428@tmp/private_key_9114395306089737530.key) [2024-03-04T03:28:19.261Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-03-04T03:28:19.622Z] + git semver init [2024-03-04T03:28:19.884Z] 2024-03-04 03:28:19,801 [run_init] DEBUG init version:0.0.0 force:False [2024-03-04T03:28:19.884Z] 2024-03-04 03:28:19,802 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-428/.semver [2024-03-04T03:28:19.884Z] 2024-03-04 03:28:19,802 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-428/.semver [2024-03-04T03:28:19.884Z] 2024-03-04 03:28:19,802 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-428/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-428, universal_newlines=False, shell=None, istream=None) [2024-03-04T03:28:21.270Z] 2024-03-04 03:28:21,241 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-428/.git/info/exclude [2024-03-04T03:28:21.270Z] 2024-03-04 03:28:21,241 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-428/.semver/PR-428 with force:False [2024-03-04T03:28:21.270Z] 2024-03-04 03:28:21,241 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-428/.semver/PR-428 [2024-03-04T03:28:21.270Z] 2024-03-04 03:28:21,245 [execute] INFO git cat-file --batch-check [2024-03-04T03:28:21.270Z] 2024-03-04 03:28:21,246 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-428/.semver, universal_newlines=False, shell=None, istream=) [2024-03-04T03:28:21.270Z] 2024-03-04 03:28:21,252 [execute] INFO git cat-file --batch [2024-03-04T03:28:21.270Z] 2024-03-04 03:28:21,252 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-428/.semver, universal_newlines=False, shell=None, istream=) [2024-03-04T03:28:21.270Z] 2024-03-04 03:28:21,257 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-428/.semver/PR-428 [2024-03-04T03:28:21.270Z] 0.0.0 [Pipeline] } [2024-03-04T03:28:21.555Z] $ docker exec --env ******** --env ******** 534ccd526d758af3a467f6c488a4c60736d308bcf8ab8a404ae80386b40fb980 ssh-agent -k [2024-03-04T03:28:21.642Z] unset SSH_AUTH_SOCK; [2024-03-04T03:28:21.643Z] unset SSH_AGENT_PID; [2024-03-04T03:28:21.643Z] echo Agent pid 77 killed; [2024-03-04T03:28:21.645Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-03-04T03:28:22.172Z] + git semver [Pipeline] } [2024-03-04T03:28:22.466Z] $ docker stop --time=1 534ccd526d758af3a467f6c488a4c60736d308bcf8ab8a404ae80386b40fb980 [2024-03-04T03:28:23.783Z] $ docker rm -f --volumes 534ccd526d758af3a467f6c488a4c60736d308bcf8ab8a404ae80386b40fb980 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-04T03:28:24.238Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-03-04T03:28:24.579Z] Stashed 1 file(s) [Pipeline] echo [2024-03-04T03:28:24.598Z] [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-03-04T03:28:25.536Z] provisioning config files... [2024-03-04T03:28:25.546Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-428@tmp/config3435235431901090565tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-04T03:28:25.953Z] ---> ****-login.sh [2024-03-04T03:28:25.953Z] nexus3.edgexfoundry.org:10001 [2024-03-04T03:28:25.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T03:28:25.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T03:28:25.953Z] Configure a credential helper to remove this warning. See [2024-03-04T03:28:25.953Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T03:28:25.953Z] [2024-03-04T03:28:25.953Z] Login Succeeded [2024-03-04T03:28:25.953Z] nexus3.edgexfoundry.org:10002 [2024-03-04T03:28:25.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T03:28:26.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T03:28:26.213Z] Configure a credential helper to remove this warning. See [2024-03-04T03:28:26.213Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T03:28:26.213Z] [2024-03-04T03:28:26.213Z] Login Succeeded [2024-03-04T03:28:26.213Z] nexus3.edgexfoundry.org:10003 [2024-03-04T03:28:26.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T03:28:26.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T03:28:26.213Z] Configure a credential helper to remove this warning. See [2024-03-04T03:28:26.213Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T03:28:26.213Z] [2024-03-04T03:28:26.213Z] Login Succeeded [2024-03-04T03:28:26.213Z] nexus3.edgexfoundry.org:10004 [2024-03-04T03:28:26.213Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T03:28:26.213Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T03:28:26.213Z] Configure a credential helper to remove this warning. See [2024-03-04T03:28:26.213Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T03:28:26.213Z] [2024-03-04T03:28:26.213Z] Login Succeeded [2024-03-04T03:28:26.213Z] ****.io [2024-03-04T03:28:26.473Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T03:28:26.473Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T03:28:26.473Z] Configure a credential helper to remove this warning. See [2024-03-04T03:28:26.473Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T03:28:26.473Z] [2024-03-04T03:28:26.473Z] Login Succeeded [2024-03-04T03:28:26.473Z] ---> ****-login.sh ends [Pipeline] } [2024-03-04T03:28:26.505Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-04T03:28:26.809Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-04T03:28:26.875Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-04T03:28:26.937Z] ========================================================= [2024-03-04T03:28:26.937Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2024-03-04T03:28:26.937Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T03:28:27.542Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-03-04T03:28:27.542Z] Sending build context to Docker daemon 34.26MB [2024-03-04T03:28:27.542Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2024-03-04T03:28:27.542Z] Step 2/13 : FROM ${BASE} AS builder [2024-03-04T03:28:27.802Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2024-03-04T03:28:27.802Z] 7264a8db6415: Pulling fs layer [2024-03-04T03:28:27.802Z] c4d48a809fc2: Pulling fs layer [2024-03-04T03:28:27.802Z] 4f1c88b9dad5: Pulling fs layer [2024-03-04T03:28:27.802Z] ad3a456e5733: Pulling fs layer [2024-03-04T03:28:27.802Z] 69c7f0334f64: Pulling fs layer [2024-03-04T03:28:27.802Z] 1f1c1a5573a3: Pulling fs layer [2024-03-04T03:28:27.802Z] ce7588e14bc9: Pulling fs layer [2024-03-04T03:28:27.802Z] b5e4710f87ac: Pulling fs layer [2024-03-04T03:28:27.802Z] 69c7f0334f64: Waiting [2024-03-04T03:28:27.802Z] 1f1c1a5573a3: Waiting [2024-03-04T03:28:27.802Z] ce7588e14bc9: Waiting [2024-03-04T03:28:27.802Z] b5e4710f87ac: Waiting [2024-03-04T03:28:27.802Z] ad3a456e5733: Waiting [2024-03-04T03:28:27.802Z] c4d48a809fc2: Verifying Checksum [2024-03-04T03:28:27.802Z] c4d48a809fc2: Download complete [2024-03-04T03:28:27.802Z] ad3a456e5733: Verifying Checksum [2024-03-04T03:28:27.802Z] ad3a456e5733: Download complete [2024-03-04T03:28:27.802Z] 69c7f0334f64: Download complete [2024-03-04T03:28:27.802Z] 7264a8db6415: Verifying Checksum [2024-03-04T03:28:27.802Z] 7264a8db6415: Download complete [2024-03-04T03:28:27.802Z] 1f1c1a5573a3: Verifying Checksum [2024-03-04T03:28:27.802Z] 1f1c1a5573a3: Download complete [2024-03-04T03:28:28.060Z] 7264a8db6415: Pull complete [2024-03-04T03:28:28.060Z] c4d48a809fc2: Pull complete [2024-03-04T03:28:28.060Z] b5e4710f87ac: Verifying Checksum [2024-03-04T03:28:28.060Z] b5e4710f87ac: Download complete [2024-03-04T03:28:28.318Z] 4f1c88b9dad5: Verifying Checksum [2024-03-04T03:28:28.318Z] 4f1c88b9dad5: Download complete [2024-03-04T03:28:28.577Z] ce7588e14bc9: Verifying Checksum [2024-03-04T03:28:28.577Z] ce7588e14bc9: Download complete [2024-03-04T03:28:31.861Z] 4f1c88b9dad5: Pull complete [2024-03-04T03:28:31.861Z] ad3a456e5733: Pull complete [2024-03-04T03:28:31.861Z] 69c7f0334f64: Pull complete [2024-03-04T03:28:31.861Z] 1f1c1a5573a3: Pull complete [2024-03-04T03:28:33.788Z] ce7588e14bc9: Pull complete [2024-03-04T03:28:34.049Z] b5e4710f87ac: Pull complete [2024-03-04T03:28:34.049Z] Digest: sha256:f80dd7bb8fdf010369d5adb4058a62695265b22e897ca6aac7b42af84fdce50e [2024-03-04T03:28:34.317Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2024-03-04T03:28:34.317Z] ---> 88b5674ff536 [2024-03-04T03:28:34.317Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-03-04T03:28:39.619Z] ---> Running in fedfa53b7ad1 [2024-03-04T03:28:39.620Z] Removing intermediate container fedfa53b7ad1 [2024-03-04T03:28:39.620Z] ---> 132dcf98f37c [2024-03-04T03:28:39.620Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-04T03:28:39.620Z] ---> Running in c751a76880a5 [2024-03-04T03:28:39.620Z] Removing intermediate container c751a76880a5 [2024-03-04T03:28:39.620Z] ---> f3ed28cb8cb4 [2024-03-04T03:28:39.620Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-03-04T03:28:39.620Z] ---> Running in 3999b3ba88eb [2024-03-04T03:28:39.620Z] Removing intermediate container 3999b3ba88eb [2024-03-04T03:28:39.620Z] ---> 0f5ab5d9bdb3 [2024-03-04T03:28:39.620Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-03-04T03:28:39.620Z] ---> Running in c47d85343008 [2024-03-04T03:28:39.620Z] Removing intermediate container c47d85343008 [2024-03-04T03:28:39.620Z] ---> 14ef7eefe5a8 [2024-03-04T03:28:39.620Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-03-04T03:28:39.620Z] ---> Running in 59126f8c79fb [2024-03-04T03:28:39.620Z] Removing intermediate container 59126f8c79fb [2024-03-04T03:28:39.620Z] ---> ac9a48a135d5 [2024-03-04T03:28:39.620Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-04T03:28:39.620Z] ---> Running in 4903aa26875a [2024-03-04T03:28:39.620Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-04T03:28:39.879Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-04T03:28:40.139Z] OK: 264 MiB in 52 packages [2024-03-04T03:28:40.276Z] Still waiting to schedule task [2024-03-04T03:28:40.277Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-03-04T03:28:40.399Z] Removing intermediate container 4903aa26875a [2024-03-04T03:28:40.399Z] ---> d1e49a088232 [2024-03-04T03:28:40.399Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-03-04T03:28:40.399Z] ---> Running in 7d66242121e9 [2024-03-04T03:28:40.399Z] Removing intermediate container 7d66242121e9 [2024-03-04T03:28:40.399Z] ---> cae1417f0dae [2024-03-04T03:28:40.399Z] Step 10/13 : COPY go.mod vendor* ./ [2024-03-04T03:28:40.659Z] ---> 06c34726abb5 [2024-03-04T03:28:40.659Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-04T03:28:40.659Z] ---> Running in f4f5e01ce44d [2024-03-04T03:29:19.417Z] Removing intermediate container f4f5e01ce44d [2024-03-04T03:29:19.417Z] ---> ac0a9565cbb7 [2024-03-04T03:29:19.417Z] Step 12/13 : COPY . . [2024-03-04T03:29:19.417Z] ---> 8ac55eb59dfe [2024-03-04T03:29:19.417Z] Step 13/13 : RUN ${MAKE} [2024-03-04T03:29:19.417Z] ---> Running in bf8d606bf9cf [2024-03-04T03:29:19.417Z] noop [2024-03-04T03:29:19.417Z] Removing intermediate container bf8d606bf9cf [2024-03-04T03:29:19.417Z] ---> 3b251e9a780c [2024-03-04T03:29:19.417Z] Successfully built 3b251e9a780c [2024-03-04T03:29:19.417Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T03:29:19.955Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-04T03:29:19.955Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-04T03:29:20.160Z] prd-ubuntu20.04-docker-8c-8g-2145 does not seem to be running inside a container [2024-03-04T03:29:20.192Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-428 -v /w/workspace/undry_device-onvif-camera_PR-428:/w/workspace/undry_device-onvif-camera_PR-428:rw,z -v /w/workspace/undry_device-onvif-camera_PR-428@tmp:/w/workspace/undry_device-onvif-camera_PR-428@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-03-04T03:29:20.518Z] $ docker top 46f48c385d0c597d29c96b0bb9a163cd59a6345aa1364edcfb3c4b431e67cefd -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-04T03:29:20.953Z] + go version [2024-03-04T03:29:20.953Z] go version go1.21.0 linux/amd64 [Pipeline] } [2024-03-04T03:29:20.994Z] $ docker stop --time=1 46f48c385d0c597d29c96b0bb9a163cd59a6345aa1364edcfb3c4b431e67cefd [2024-03-04T03:29:22.239Z] $ docker rm -f --volumes 46f48c385d0c597d29c96b0bb9a163cd59a6345aa1364edcfb3c4b431e67cefd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T03:29:23.204Z] + docker inspect -f . ci-base-image-x86_64 [2024-03-04T03:29:23.204Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-04T03:29:23.462Z] prd-ubuntu20.04-docker-8c-8g-2145 does not seem to be running inside a container [2024-03-04T03:29:23.525Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-428 -v /w/workspace/undry_device-onvif-camera_PR-428:/w/workspace/undry_device-onvif-camera_PR-428:rw,z -v /w/workspace/undry_device-onvif-camera_PR-428@tmp:/w/workspace/undry_device-onvif-camera_PR-428@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-03-04T03:29:23.853Z] $ docker top d560e56714e94a909ffe1f62e55dbe86f5a0dbe1cd538aeba86c13ce1f1fcfc1 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-04T03:29:24.308Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-428 [Pipeline] fileExists [Pipeline] sh [2024-03-04T03:29:24.693Z] + make test [2024-03-04T03:29:24.693Z] go test ./... -coverprofile=coverage.out ./... [2024-03-04T03:29:26.072Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-03-04T03:29:36.042Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2024-03-04T03:29:36.977Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2024-03-04T03:29:38.878Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.034s coverage: 31.5% of statements [2024-03-04T03:29:39.136Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.141s coverage: 86.5% of statements [2024-03-04T03:29:47.244Z] go vet ./... [2024-03-04T03:29:50.527Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-04T03:29:50.527Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-04T03:29:50.527Z] ./bin/test-attribution-txt.sh [2024-03-04T03:29:50.527Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-04T03:29:50.576Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-04T03:29:50.645Z] $ docker stop --time=1 d560e56714e94a909ffe1f62e55dbe86f5a0dbe1cd538aeba86c13ce1f1fcfc1 [2024-03-04T03:29:53.860Z] $ docker rm -f --volumes d560e56714e94a909ffe1f62e55dbe86f5a0dbe1cd538aeba86c13ce1f1fcfc1 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-04T03:29:54.465Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-04T03:29:54.543Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-03-04T03:29:55.393Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-04T03:29:55.704Z] + ls -al . [2024-03-04T03:29:55.704Z] total 244 [2024-03-04T03:29:55.704Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 4 03:29 . [2024-03-04T03:29:55.704Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 4 03:27 .. [2024-03-04T03:29:55.704Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 4 03:29 .git [2024-03-04T03:29:55.704Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 03:28 .github [2024-03-04T03:29:55.704Z] -rw-rw-r-- 1 jenkins jenkins 493 Mar 4 03:28 .gitignore [2024-03-04T03:29:55.704Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 4 03:28 .golangci.yml [2024-03-04T03:29:55.704Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 4 03:28 .semver [2024-03-04T03:29:55.704Z] -rw-rw-r-- 1 jenkins jenkins 11155 Mar 4 03:28 Attribution.txt [2024-03-04T03:29:55.704Z] -rw-rw-r-- 1 jenkins jenkins 17665 Mar 4 03:28 CHANGELOG.md [2024-03-04T03:29:55.704Z] -rw-rw-r-- 1 jenkins jenkins 1683 Mar 4 03:28 Dockerfile [2024-03-04T03:29:55.704Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 4 03:28 GOVERNANCE.md [2024-03-04T03:29:55.704Z] -rw-rw-r-- 1 jenkins jenkins 739 Mar 4 03:28 Jenkinsfile [2024-03-04T03:29:55.704Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 4 03:28 LICENSE [2024-03-04T03:29:55.704Z] -rw-rw-r-- 1 jenkins jenkins 2883 Mar 4 03:28 Makefile [2024-03-04T03:29:55.704Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 4 03:28 OWNERS.md [2024-03-04T03:29:55.704Z] -rw-rw-r-- 1 jenkins jenkins 2620 Mar 4 03:28 README.md [2024-03-04T03:29:55.704Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 4 03:28 VERSION [2024-03-04T03:29:55.704Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 4 03:28 bin [2024-03-04T03:29:55.704Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 03:28 cmd [2024-03-04T03:29:55.704Z] -rw-r--r-- 1 jenkins jenkins 78456 Mar 4 03:29 coverage.out [2024-03-04T03:29:55.704Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 4 03:28 doc [2024-03-04T03:29:55.704Z] -rw-rw-r-- 1 jenkins jenkins 4131 Mar 4 03:28 go.mod [2024-03-04T03:29:55.704Z] -rw-rw-r-- 1 jenkins jenkins 34928 Mar 4 03:28 go.sum [2024-03-04T03:29:55.704Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 4 03:28 internal [2024-03-04T03:29:55.704Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 4 03:28 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T03:29:56.213Z] + docker build -t device-onvif-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=b6e731b3c53c25acdc7bd1d4da676ffd8fdcdee0 --label arch=amd64 --label version=0.0.0 . [2024-03-04T03:29:56.213Z] Sending build context to Docker daemon 34.34MB [2024-03-04T03:29:56.213Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2024-03-04T03:29:56.213Z] Step 2/27 : FROM ${BASE} AS builder [2024-03-04T03:29:56.213Z] ---> 3b251e9a780c [2024-03-04T03:29:56.213Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-03-04T03:29:56.781Z] ---> Running in c2ec8622c9fc [2024-03-04T03:29:56.781Z] Removing intermediate container c2ec8622c9fc [2024-03-04T03:29:56.781Z] ---> 70641c1395c9 [2024-03-04T03:29:56.781Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-04T03:29:56.781Z] ---> Running in 454d2934ebc0 [2024-03-04T03:29:56.781Z] Removing intermediate container 454d2934ebc0 [2024-03-04T03:29:56.781Z] ---> a884174f91d6 [2024-03-04T03:29:56.781Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-03-04T03:29:56.781Z] ---> Running in 839fb99bd9d9 [2024-03-04T03:29:57.039Z] Removing intermediate container 839fb99bd9d9 [2024-03-04T03:29:57.039Z] ---> 3f7180a9de8d [2024-03-04T03:29:57.039Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-03-04T03:29:57.039Z] ---> Running in f17ff814ea2f [2024-03-04T03:29:57.039Z] Removing intermediate container f17ff814ea2f [2024-03-04T03:29:57.039Z] ---> bd13ad4c6133 [2024-03-04T03:29:57.039Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-03-04T03:29:57.039Z] ---> Running in 47976f4d78bd [2024-03-04T03:29:57.039Z] Removing intermediate container 47976f4d78bd [2024-03-04T03:29:57.039Z] ---> 96e9de165127 [2024-03-04T03:29:57.039Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-04T03:29:57.039Z] ---> Running in 914653d0d877 [2024-03-04T03:29:57.608Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-04T03:29:57.608Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-04T03:29:57.870Z] OK: 264 MiB in 52 packages [2024-03-04T03:29:58.130Z] Removing intermediate container 914653d0d877 [2024-03-04T03:29:58.130Z] ---> 691f8dc6bc57 [2024-03-04T03:29:58.130Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-03-04T03:29:58.130Z] ---> Running in de90549d682e [2024-03-04T03:29:58.390Z] Removing intermediate container de90549d682e [2024-03-04T03:29:58.390Z] ---> 261358228598 [2024-03-04T03:29:58.390Z] Step 10/27 : COPY go.mod vendor* ./ [2024-03-04T03:29:58.390Z] ---> a502ddc186c0 [2024-03-04T03:29:58.390Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-04T03:29:58.390Z] ---> Running in a0af54f951ce [2024-03-04T03:29:59.326Z] Removing intermediate container a0af54f951ce [2024-03-04T03:29:59.326Z] ---> 9e0704060219 [2024-03-04T03:29:59.326Z] Step 12/27 : COPY . . [2024-03-04T03:30:00.265Z] ---> 9e37097f628f [2024-03-04T03:30:00.265Z] Step 13/27 : RUN ${MAKE} [2024-03-04T03:30:00.265Z] ---> Running in eb0a7c74ccee [2024-03-04T03:30:00.265Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.9" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2024-03-04T03:30:22.191Z] Removing intermediate container eb0a7c74ccee [2024-03-04T03:30:22.191Z] ---> cb8bd6222e72 [2024-03-04T03:30:22.191Z] Step 14/27 : FROM alpine:3.18 [2024-03-04T03:30:22.191Z] 3.18: Pulling from library/alpine [2024-03-04T03:30:22.191Z] 619be1103602: Pulling fs layer [2024-03-04T03:30:22.191Z] 619be1103602: Download complete [2024-03-04T03:30:22.191Z] 619be1103602: Pull complete [2024-03-04T03:30:22.191Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-04T03:30:22.191Z] Status: Downloaded newer image for alpine:3.18 [2024-03-04T03:30:22.191Z] ---> d3782b16ccc9 [2024-03-04T03:30:22.191Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-03-04T03:30:22.191Z] ---> Running in c7195a628a28 [2024-03-04T03:30:22.191Z] Removing intermediate container c7195a628a28 [2024-03-04T03:30:22.191Z] ---> 7902047b76fa [2024-03-04T03:30:22.191Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-03-04T03:30:22.191Z] ---> Running in 15ecf63456d9 [2024-03-04T03:30:22.191Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-04T03:30:22.191Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-04T03:30:22.191Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-04T03:30:22.191Z] Executing busybox-1.36.1-r5.trigger [2024-03-04T03:30:22.191Z] OK: 7 MiB in 16 packages [2024-03-04T03:30:22.191Z] Removing intermediate container 15ecf63456d9 [2024-03-04T03:30:22.191Z] ---> e0a7429ad9a0 [2024-03-04T03:30:22.191Z] Step 17/27 : RUN apk --no-cache upgrade [2024-03-04T03:30:22.191Z] ---> Running in df83c2e43934 [2024-03-04T03:30:22.454Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-03-04T03:30:22.454Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-03-04T03:30:22.720Z] OK: 7 MiB in 16 packages [2024-03-04T03:30:23.285Z] Removing intermediate container df83c2e43934 [2024-03-04T03:30:23.285Z] ---> f1479c0dd2c7 [2024-03-04T03:30:23.285Z] Step 18/27 : WORKDIR / [2024-03-04T03:30:23.285Z] ---> Running in 0b0d5cafb9f9 [2024-03-04T03:30:23.285Z] Removing intermediate container 0b0d5cafb9f9 [2024-03-04T03:30:23.285Z] ---> 23e819ba4581 [2024-03-04T03:30:23.285Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-03-04T03:30:23.804Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2146 in /w/workspace/undry_device-onvif-camera_PR-428 [Pipeline] { [Pipeline] ws [2024-03-04T03:30:23.897Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2024-03-04T03:30:24.219Z] ---> deca45129c95 [2024-03-04T03:30:24.219Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-03-04T03:30:24.219Z] ---> 3c18986f07c6 [2024-03-04T03:30:24.219Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-03-04T03:30:24.219Z] ---> f1909415ea9a [2024-03-04T03:30:24.219Z] Step 22/27 : EXPOSE 59984 [2024-03-04T03:30:24.219Z] ---> Running in 1057386b4626 [2024-03-04T03:30:24.219Z] Removing intermediate container 1057386b4626 [2024-03-04T03:30:24.219Z] ---> 6ee350d564bb [2024-03-04T03:30:24.219Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-03-04T03:30:24.219Z] ---> Running in 29088e95bb84 [2024-03-04T03:30:24.478Z] Removing intermediate container 29088e95bb84 [2024-03-04T03:30:24.479Z] ---> c4c18378eaf8 [2024-03-04T03:30:24.479Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-04T03:30:24.479Z] ---> Running in 93ffec33ec68 [2024-03-04T03:30:24.479Z] Removing intermediate container 93ffec33ec68 [2024-03-04T03:30:24.479Z] ---> eeb6c55b8062 [2024-03-04T03:30:24.479Z] Step 25/27 : LABEL arch=amd64 [2024-03-04T03:30:24.479Z] ---> Running in 0560af6df999 [2024-03-04T03:30:24.479Z] Removing intermediate container 0560af6df999 [2024-03-04T03:30:24.479Z] ---> 23fc7b7e5f20 [2024-03-04T03:30:24.479Z] Step 26/27 : LABEL git_sha=b6e731b3c53c25acdc7bd1d4da676ffd8fdcdee0 [2024-03-04T03:30:24.479Z] ---> Running in d4cd0ec6c460 [2024-03-04T03:30:24.739Z] Removing intermediate container d4cd0ec6c460 [2024-03-04T03:30:24.739Z] ---> 79c0b1b5c2d7 [2024-03-04T03:30:24.739Z] Step 27/27 : LABEL version=0.0.0 [2024-03-04T03:30:24.739Z] ---> Running in 384924317c60 [2024-03-04T03:30:24.739Z] Removing intermediate container 384924317c60 [2024-03-04T03:30:24.739Z] ---> 26eadf3c4edd [2024-03-04T03:30:24.739Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-04T03:30:24.739Z] Successfully built 26eadf3c4edd [2024-03-04T03:30:24.739Z] Successfully tagged device-onvif-camera:latest [2024-03-04T03:30:27.023Z] The recommended git tool is: git [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T03:30:28.300Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-04T03:30:28.300Z] [2024-03-04T03:30:28.300Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T03:30:28.691Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-04T03:30:28.691Z] latest: Pulling from edgex-lftools-log-publisher [2024-03-04T03:30:28.691Z] 5eb5b503b376: Pulling fs layer [2024-03-04T03:30:28.691Z] 5c69ac0246d0: Pulling fs layer [2024-03-04T03:30:28.691Z] ec43610c2a17: Pulling fs layer [2024-03-04T03:30:28.691Z] 3a2ae6a8a46f: Pulling fs layer [2024-03-04T03:30:28.691Z] 33b1e0a273af: Pulling fs layer [2024-03-04T03:30:28.691Z] 5d3b04190fa2: Pulling fs layer [2024-03-04T03:30:28.691Z] 2f39f015ded8: Pulling fs layer [2024-03-04T03:30:28.691Z] 33b1e0a273af: Waiting [2024-03-04T03:30:28.691Z] 2f39f015ded8: Waiting [2024-03-04T03:30:28.691Z] 5d3b04190fa2: Waiting [2024-03-04T03:30:28.691Z] 3a2ae6a8a46f: Waiting [2024-03-04T03:30:28.691Z] 5c69ac0246d0: Verifying Checksum [2024-03-04T03:30:28.691Z] 5c69ac0246d0: Download complete [2024-03-04T03:30:28.691Z] 3a2ae6a8a46f: Verifying Checksum [2024-03-04T03:30:28.691Z] 3a2ae6a8a46f: Download complete [2024-03-04T03:30:28.691Z] 33b1e0a273af: Verifying Checksum [2024-03-04T03:30:28.691Z] 33b1e0a273af: Download complete [2024-03-04T03:30:28.691Z] 5d3b04190fa2: Verifying Checksum [2024-03-04T03:30:28.691Z] 5d3b04190fa2: Download complete [2024-03-04T03:30:28.691Z] ec43610c2a17: Verifying Checksum [2024-03-04T03:30:28.691Z] ec43610c2a17: Download complete [2024-03-04T03:30:28.950Z] 5eb5b503b376: Verifying Checksum [2024-03-04T03:30:28.950Z] 5eb5b503b376: Download complete [2024-03-04T03:30:29.517Z] 2f39f015ded8: Download complete [2024-03-04T03:30:30.084Z] 5eb5b503b376: Pull complete [2024-03-04T03:30:30.084Z] 5c69ac0246d0: Pull complete [2024-03-04T03:30:30.661Z] ec43610c2a17: Pull complete [2024-03-04T03:30:30.661Z] 3a2ae6a8a46f: Pull complete [2024-03-04T03:30:30.920Z] 33b1e0a273af: Pull complete [2024-03-04T03:30:30.920Z] 5d3b04190fa2: Pull complete [2024-03-04T03:30:31.889Z] using credential edgex-jenkins-ssh [2024-03-04T03:30:31.909Z] Cloning the remote Git repository [2024-03-04T03:30:31.953Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2024-03-04T03:30:32.034Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2024-03-04T03:30:32.161Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-03-04T03:30:32.162Z] > git --version # timeout=10 [2024-03-04T03:30:32.180Z] > git --version # 'git version 2.25.1' [2024-03-04T03:30:32.182Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-04T03:30:32.317Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-04T03:30:35.109Z] 2f39f015ded8: Pull complete [2024-03-04T03:30:35.109Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-03-04T03:30:35.109Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-04T03:30:35.109Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-04T03:30:35.465Z] prd-ubuntu20.04-docker-8c-8g-2145 does not seem to be running inside a container [2024-03-04T03:30:35.501Z] $ 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/undry_device-onvif-camera_PR-428 -v /w/workspace/undry_device-onvif-camera_PR-428:/w/workspace/undry_device-onvif-camera_PR-428:rw,z -v /w/workspace/undry_device-onvif-camera_PR-428@tmp:/w/workspace/undry_device-onvif-camera_PR-428@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-03-04T03:30:37.590Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-03-04T03:30:37.625Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-03-04T03:30:38.452Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2024-03-04T03:30:38.491Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2024-03-04T03:30:38.492Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-04T03:30:38.507Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/428/head:refs/remotes/origin/PR-428 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2024-03-04T03:30:38.980Z] Merging remotes/origin/main commit 023c845179eab4edd1a7b84d6adc5f1ef146c7eb into PR head commit b6e731b3c53c25acdc7bd1d4da676ffd8fdcdee0 [2024-03-04T03:30:39.346Z] Merge succeeded, producing b6e731b3c53c25acdc7bd1d4da676ffd8fdcdee0 [2024-03-04T03:30:39.346Z] Checking out Revision b6e731b3c53c25acdc7bd1d4da676ffd8fdcdee0 (PR-428) [2024-03-04T03:30:40.074Z] Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.4 to 1.9.0" [2024-03-04T03:30:40.130Z] > git --version # timeout=10 [2024-03-04T03:30:40.141Z] > git --version # 'git version 2.25.1' [2024-03-04T03:30:40.154Z] fatal: bad object 33739fb647ab338ef2ce3bfc8312bfbcef468f88 [2024-03-04T03:30:39.002Z] > git config core.sparsecheckout # timeout=10 [2024-03-04T03:30:39.083Z] > git checkout -f b6e731b3c53c25acdc7bd1d4da676ffd8fdcdee0 # timeout=10 [2024-03-04T03:30:39.253Z] > git remote # timeout=10 [2024-03-04T03:30:39.271Z] > git config --get remote.origin.url # timeout=10 [2024-03-04T03:30:39.292Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-03-04T03:30:39.310Z] > git merge 023c845179eab4edd1a7b84d6adc5f1ef146c7eb # timeout=10 [2024-03-04T03:30:39.334Z] > git rev-parse HEAD^{commit} # timeout=10 [2024-03-04T03:30:39.358Z] > git config core.sparsecheckout # timeout=10 [2024-03-04T03:30:39.373Z] > git checkout -f b6e731b3c53c25acdc7bd1d4da676ffd8fdcdee0 # timeout=10 [2024-03-04T03:30:40.363Z] $ docker top dfb673b1230467b35c5104eeaa3a3e39b8ad539d5ef4ce93250836d3533f80ae -eo pid,comm [Pipeline] { [2024-03-04T03:30:40.607Z] [2024-03-04T03:30:40.607Z] GitHub has been notified of this commit’s build result [2024-03-04T03:30:40.607Z] [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2024-03-04T03:30:40.964Z] ---> job-cost.sh [2024-03-04T03:30:40.964Z] lf-activate-venv: SKIPPING [2024-03-04T03:30:40.964Z] INFO: No Stack... [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-04T03:30:41.223Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-04T03:30:41.712Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-03-04T03:30:41.712Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-04T03:30:41.712Z] Dload Upload Total Spent Left Speed [2024-03-04T03:30:41.712Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 108k 0 --:--:-- --:--:-- --:--:-- 108k [Pipeline] sh [2024-03-04T03:30:41.790Z] INFO: Archiving Costs [Pipeline] sh [2024-03-04T03:30:42.054Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-03-04T03:30:42.171Z] + + cut -d, -f6 [2024-03-04T03:30:42.171Z] cat /w/workspace/undry_device-onvif-camera_PR-428/archives/cost.csv [Pipeline] lock [2024-03-04T03:30:42.235Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-428-1-stack-cost] [2024-03-04T03:30:42.241Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-428-1-stack-cost] did not exist. Created. [2024-03-04T03:30:42.247Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-428-1-stack-cost] [Pipeline] { [Pipeline] unstash [2024-03-04T03:30:42.397Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2024-03-04T03:30:42.397Z] + sudo tee /etc/docker/daemon.new [2024-03-04T03:30:42.397Z] { [2024-03-04T03:30:42.397Z] "registry-mirrors": [ [2024-03-04T03:30:42.397Z] "https://nexus3.edgexfoundry.org:10001" [2024-03-04T03:30:42.397Z] ], [2024-03-04T03:30:42.397Z] "bip": "10.250.0.254/24", [2024-03-04T03:30:42.397Z] "hosts": [ [2024-03-04T03:30:42.397Z] "tcp://0.0.0.0:5555", [2024-03-04T03:30:42.397Z] "unix:///var/run/docker.sock" [2024-03-04T03:30:42.397Z] ], [2024-03-04T03:30:42.397Z] "mtu": 1458, [2024-03-04T03:30:42.397Z] "selinux-enabled": true, [2024-03-04T03:30:42.397Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-03-04T03:30:42.397Z] } [Pipeline] sh [Pipeline] sh [2024-03-04T03:30:42.718Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-03-04T03:30:42.778Z] Stashed 1 file(s) [Pipeline] } [2024-03-04T03:30:42.841Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-428-1-stack-cost] [2024-03-04T03:30:42.856Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] // lock [Pipeline] } [2024-03-04T03:30:43.027Z] $ docker stop --time=1 dfb673b1230467b35c5104eeaa3a3e39b8ad539d5ef4ce93250836d3533f80ae [2024-03-04T03:30:44.185Z] $ docker rm -f --volumes dfb673b1230467b35c5104eeaa3a3e39b8ad539d5ef4ce93250836d3533f80ae [Pipeline] sh [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [2024-03-04T03:30:44.550Z] + sudo service docker restart [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-04T03:31:03.003Z] provisioning config files... [2024-03-04T03:31:03.031Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config13385943332055788483tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-04T03:31:03.672Z] ---> ****-login.sh [2024-03-04T03:31:03.672Z] nexus3.edgexfoundry.org:10001 [2024-03-04T03:31:03.951Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T03:31:04.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T03:31:04.219Z] Configure a credential helper to remove this warning. See [2024-03-04T03:31:04.219Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T03:31:04.219Z] [2024-03-04T03:31:04.219Z] Login Succeeded [2024-03-04T03:31:04.219Z] nexus3.edgexfoundry.org:10002 [2024-03-04T03:31:04.489Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T03:31:04.758Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T03:31:04.758Z] Configure a credential helper to remove this warning. See [2024-03-04T03:31:04.758Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T03:31:04.758Z] [2024-03-04T03:31:04.758Z] Login Succeeded [2024-03-04T03:31:04.758Z] nexus3.edgexfoundry.org:10003 [2024-03-04T03:31:05.026Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T03:31:05.026Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T03:31:05.026Z] Configure a credential helper to remove this warning. See [2024-03-04T03:31:05.026Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T03:31:05.026Z] [2024-03-04T03:31:05.026Z] Login Succeeded [2024-03-04T03:31:05.026Z] nexus3.edgexfoundry.org:10004 [2024-03-04T03:31:05.296Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T03:31:05.296Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T03:31:05.296Z] Configure a credential helper to remove this warning. See [2024-03-04T03:31:05.296Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T03:31:05.296Z] [2024-03-04T03:31:05.296Z] Login Succeeded [2024-03-04T03:31:05.296Z] ****.io [2024-03-04T03:31:05.565Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-03-04T03:31:06.151Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-03-04T03:31:06.151Z] Configure a credential helper to remove this warning. See [2024-03-04T03:31:06.151Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-03-04T03:31:06.151Z] [2024-03-04T03:31:06.151Z] Login Succeeded [2024-03-04T03:31:06.151Z] ---> ****-login.sh ends [Pipeline] } [2024-03-04T03:31:06.184Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-03-04T03:31:06.779Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-04T03:31:06.928Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-03-04T03:31:07.008Z] ========================================================= [2024-03-04T03:31:07.008Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2024-03-04T03:31:07.008Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T03:31:07.665Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2024-03-04T03:31:08.250Z] Sending build context to Docker daemon 20.49MB [2024-03-04T03:31:08.250Z] Step 1/13 : ARG BASE=golang:1.21-alpine3.18 [2024-03-04T03:31:08.250Z] Step 2/13 : FROM ${BASE} AS builder [2024-03-04T03:31:08.250Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-03-04T03:31:08.250Z] 9fda8d8052c6: Pulling fs layer [2024-03-04T03:31:08.250Z] 5d54e960e981: Pulling fs layer [2024-03-04T03:31:08.250Z] c4a7e357bf2a: Pulling fs layer [2024-03-04T03:31:08.250Z] f0e02332f6b5: Pulling fs layer [2024-03-04T03:31:08.250Z] 872ee5b61b7b: Pulling fs layer [2024-03-04T03:31:08.250Z] f0e02332f6b5: Waiting [2024-03-04T03:31:08.250Z] 872ee5b61b7b: Waiting [2024-03-04T03:31:08.250Z] 0c6a40ed1a82: Pulling fs layer [2024-03-04T03:31:08.250Z] 94ae7d8d031c: Pulling fs layer [2024-03-04T03:31:08.250Z] 0c6a40ed1a82: Waiting [2024-03-04T03:31:08.250Z] 94ae7d8d031c: Waiting [2024-03-04T03:31:08.519Z] 5d54e960e981: Verifying Checksum [2024-03-04T03:31:08.519Z] 5d54e960e981: Download complete [2024-03-04T03:31:08.519Z] f0e02332f6b5: Download complete [2024-03-04T03:31:08.519Z] 872ee5b61b7b: Download complete [2024-03-04T03:31:08.519Z] 9fda8d8052c6: Verifying Checksum [2024-03-04T03:31:08.519Z] 9fda8d8052c6: Download complete [2024-03-04T03:31:09.104Z] 94ae7d8d031c: Verifying Checksum [2024-03-04T03:31:09.104Z] 94ae7d8d031c: Download complete [2024-03-04T03:31:09.371Z] 9fda8d8052c6: Pull complete [2024-03-04T03:31:09.954Z] 5d54e960e981: Pull complete [2024-03-04T03:31:10.221Z] c4a7e357bf2a: Verifying Checksum [2024-03-04T03:31:10.221Z] c4a7e357bf2a: Download complete [2024-03-04T03:31:11.178Z] 0c6a40ed1a82: Verifying Checksum [2024-03-04T03:31:11.178Z] 0c6a40ed1a82: Download complete [2024-03-04T03:31:23.475Z] c4a7e357bf2a: Pull complete [2024-03-04T03:31:23.475Z] f0e02332f6b5: Pull complete [2024-03-04T03:31:23.475Z] 872ee5b61b7b: Pull complete [2024-03-04T03:31:30.110Z] 0c6a40ed1a82: Pull complete [2024-03-04T03:31:31.084Z] 94ae7d8d031c: Pull complete [2024-03-04T03:31:31.085Z] Digest: sha256:bced28d2139e98291f6f5222245e06760ce829f55f75386c6c13bfabca1016f1 [2024-03-04T03:31:31.085Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2024-03-04T03:31:31.085Z] ---> 86de565de09d [2024-03-04T03:31:31.085Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2024-03-04T03:31:33.028Z] ---> Running in e8df99502ad4 [2024-03-04T03:31:33.028Z] Removing intermediate container e8df99502ad4 [2024-03-04T03:31:33.028Z] ---> 9805374ca77c [2024-03-04T03:31:33.028Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-04T03:31:33.028Z] ---> Running in e2fb61e8dbe8 [2024-03-04T03:31:33.295Z] Removing intermediate container e2fb61e8dbe8 [2024-03-04T03:31:33.295Z] ---> bf331bc89efc [2024-03-04T03:31:33.295Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2024-03-04T03:31:33.563Z] ---> Running in 4d30e1ca7080 [2024-03-04T03:31:33.828Z] Removing intermediate container 4d30e1ca7080 [2024-03-04T03:31:33.828Z] ---> 5e256e93b696 [2024-03-04T03:31:33.828Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2024-03-04T03:31:33.828Z] ---> Running in 8fd12c4e844c [2024-03-04T03:31:34.102Z] Removing intermediate container 8fd12c4e844c [2024-03-04T03:31:34.102Z] ---> ad8f4c8cfcd4 [2024-03-04T03:31:34.102Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2024-03-04T03:31:34.102Z] ---> Running in b1323a46b9b1 [2024-03-04T03:31:34.688Z] Removing intermediate container b1323a46b9b1 [2024-03-04T03:31:34.688Z] ---> 629ae2030561 [2024-03-04T03:31:34.688Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-04T03:31:34.688Z] ---> Running in a3ee33953b60 [2024-03-04T03:31:35.645Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-04T03:31:36.232Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-04T03:31:37.192Z] OK: 266 MiB in 52 packages [2024-03-04T03:31:37.794Z] Removing intermediate container a3ee33953b60 [2024-03-04T03:31:37.794Z] ---> 3ec3e735bed0 [2024-03-04T03:31:37.794Z] Step 9/13 : WORKDIR /device-onvif-camera [2024-03-04T03:31:38.059Z] ---> Running in 6ce1421a2cb0 [2024-03-04T03:31:38.324Z] Removing intermediate container 6ce1421a2cb0 [2024-03-04T03:31:38.324Z] ---> f7ec8e1cfe5b [2024-03-04T03:31:38.324Z] Step 10/13 : COPY go.mod vendor* ./ [2024-03-04T03:31:38.906Z] ---> b6bab08a99f4 [2024-03-04T03:31:38.906Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-04T03:31:38.906Z] ---> Running in 92ed2df628ce [2024-03-04T03:32:46.883Z] Removing intermediate container 92ed2df628ce [2024-03-04T03:32:46.883Z] ---> e04bb891c18e [2024-03-04T03:32:46.883Z] Step 12/13 : COPY . . [2024-03-04T03:32:46.883Z] ---> 7345114554f3 [2024-03-04T03:32:46.883Z] Step 13/13 : RUN ${MAKE} [2024-03-04T03:32:46.883Z] ---> Running in b94db69919b8 [2024-03-04T03:32:46.883Z] noop [2024-03-04T03:32:46.883Z] Removing intermediate container b94db69919b8 [2024-03-04T03:32:46.883Z] ---> df4a472e906f [2024-03-04T03:32:46.883Z] Successfully built df4a472e906f [2024-03-04T03:32:46.883Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T03:32:47.508Z] + docker inspect -f . ci-base-image-arm64 [2024-03-04T03:32:47.508Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-04T03:32:47.867Z] prd-ubuntu20.04-docker-arm64-4c-16g-2146 does not seem to be running inside a container [2024-03-04T03:32:47.950Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/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-03-04T03:32:50.186Z] $ docker top bd80509638cad106efa5102656555f6a50ed3a400787cc19277b924e0d60826f -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-04T03:32:51.222Z] + go version [2024-03-04T03:32:51.222Z] go version go1.21.0 linux/arm64 [Pipeline] } [2024-03-04T03:32:51.262Z] $ docker stop --time=1 bd80509638cad106efa5102656555f6a50ed3a400787cc19277b924e0d60826f [2024-03-04T03:32:52.829Z] $ docker rm -f --volumes bd80509638cad106efa5102656555f6a50ed3a400787cc19277b924e0d60826f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T03:32:54.174Z] + docker inspect -f . ci-base-image-arm64 [2024-03-04T03:32:54.174Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-04T03:32:54.504Z] prd-ubuntu20.04-docker-arm64-4c-16g-2146 does not seem to be running inside a container [2024-03-04T03:32:54.570Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/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-03-04T03:32:55.650Z] $ docker top 0b5e814ca4c5a7680a08e8463f1004352bce940e729ec906af111f9a8ca11150 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-04T03:32:56.281Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2024-03-04T03:32:56.753Z] + make test [2024-03-04T03:32:56.753Z] go test ./... -coverprofile=coverage.out ./... [2024-03-04T03:33:00.093Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2024-03-04T03:34:36.751Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2024-03-04T03:34:36.751Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2024-03-04T03:34:36.751Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.181s coverage: 31.5% of statements [2024-03-04T03:34:58.870Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.586s coverage: 86.5% of statements [2024-03-04T03:34:59.147Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-03-04T03:34:59.147Z] go vet ./... [2024-03-04T03:35:31.431Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-03-04T03:35:31.431Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-03-04T03:35:31.431Z] ./bin/test-attribution-txt.sh [2024-03-04T03:35:32.016Z] An attribution for google.golang.org/genproto/googleapis/rpc is missing from Attribution.txt, please add [Pipeline] echo [2024-03-04T03:35:32.058Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] } [2024-03-04T03:35:32.131Z] $ docker stop --time=1 0b5e814ca4c5a7680a08e8463f1004352bce940e729ec906af111f9a8ca11150 [2024-03-04T03:35:36.546Z] $ docker rm -f --volumes 0b5e814ca4c5a7680a08e8463f1004352bce940e729ec906af111f9a8ca11150 [Pipeline] // withDockerContainer [Pipeline] sh [2024-03-04T03:35:37.975Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-03-04T03:35:38.011Z] Warning: overwriting stash ‘coverage-report’ [2024-03-04T03:35:38.605Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-03-04T03:35:39.449Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-03-04T03:35:39.803Z] + ls -al . [2024-03-04T03:35:39.803Z] total 240 [2024-03-04T03:35:39.803Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 4 03:32 . [2024-03-04T03:35:39.803Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 4 03:30 .. [2024-03-04T03:35:39.803Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 4 03:30 .git [2024-03-04T03:35:39.803Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 03:30 .github [2024-03-04T03:35:39.803Z] -rw-rw-r-- 1 jenkins jenkins 493 Mar 4 03:30 .gitignore [2024-03-04T03:35:39.803Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 4 03:30 .golangci.yml [2024-03-04T03:35:39.803Z] -rw-rw-r-- 1 jenkins jenkins 11155 Mar 4 03:30 Attribution.txt [2024-03-04T03:35:39.803Z] -rw-rw-r-- 1 jenkins jenkins 17665 Mar 4 03:30 CHANGELOG.md [2024-03-04T03:35:39.803Z] -rw-rw-r-- 1 jenkins jenkins 1683 Mar 4 03:30 Dockerfile [2024-03-04T03:35:39.803Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 4 03:30 GOVERNANCE.md [2024-03-04T03:35:39.803Z] -rw-rw-r-- 1 jenkins jenkins 739 Mar 4 03:30 Jenkinsfile [2024-03-04T03:35:39.803Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 4 03:30 LICENSE [2024-03-04T03:35:39.803Z] -rw-rw-r-- 1 jenkins jenkins 2883 Mar 4 03:30 Makefile [2024-03-04T03:35:39.803Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 4 03:30 OWNERS.md [2024-03-04T03:35:39.803Z] -rw-rw-r-- 1 jenkins jenkins 2620 Mar 4 03:30 README.md [2024-03-04T03:35:39.803Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 4 03:28 VERSION [2024-03-04T03:35:39.803Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 4 03:30 bin [2024-03-04T03:35:39.803Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 4 03:30 cmd [2024-03-04T03:35:39.803Z] -rw-r--r-- 1 jenkins jenkins 78456 Mar 4 03:34 coverage.out [2024-03-04T03:35:39.803Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 4 03:30 doc [2024-03-04T03:35:39.803Z] -rw-rw-r-- 1 jenkins jenkins 4131 Mar 4 03:30 go.mod [2024-03-04T03:35:39.803Z] -rw-rw-r-- 1 jenkins jenkins 34928 Mar 4 03:30 go.sum [2024-03-04T03:35:39.803Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 4 03:30 internal [2024-03-04T03:35:39.803Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 4 03:30 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T03:35:40.309Z] + docker build -t device-onvif-camera-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=b6e731b3c53c25acdc7bd1d4da676ffd8fdcdee0 --label arch=arm64 --label version=0.0.0 . [2024-03-04T03:35:40.901Z] Sending build context to Docker daemon 20.57MB [2024-03-04T03:35:40.901Z] Step 1/27 : ARG BASE=golang:1.21-alpine3.18 [2024-03-04T03:35:40.901Z] Step 2/27 : FROM ${BASE} AS builder [2024-03-04T03:35:40.901Z] ---> df4a472e906f [2024-03-04T03:35:40.901Z] Step 3/27 : ARG ADD_BUILD_TAGS="" [2024-03-04T03:35:41.489Z] ---> Running in 950ac987dd89 [2024-03-04T03:35:41.758Z] Removing intermediate container 950ac987dd89 [2024-03-04T03:35:41.758Z] ---> 6a72b30af8a7 [2024-03-04T03:35:41.758Z] Step 4/27 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-03-04T03:35:41.758Z] ---> Running in 0573fb60ad45 [2024-03-04T03:35:42.035Z] Removing intermediate container 0573fb60ad45 [2024-03-04T03:35:42.035Z] ---> c2f77cac76b9 [2024-03-04T03:35:42.035Z] Step 5/27 : ARG ALPINE_PKG_BASE="make git" [2024-03-04T03:35:42.314Z] ---> Running in d4629268b638 [2024-03-04T03:35:42.583Z] Removing intermediate container d4629268b638 [2024-03-04T03:35:42.583Z] ---> 0a4fc26ffd24 [2024-03-04T03:35:42.583Z] Step 6/27 : ARG ALPINE_PKG_EXTRA="" [2024-03-04T03:35:42.583Z] ---> Running in 15c5f7f20f3a [2024-03-04T03:35:43.169Z] Removing intermediate container 15c5f7f20f3a [2024-03-04T03:35:43.169Z] ---> a0aee4100d89 [2024-03-04T03:35:43.169Z] Step 7/27 : LABEL Name=edgex-device-onvif-camera [2024-03-04T03:35:43.169Z] ---> Running in 6aacf17838a5 [2024-03-04T03:35:43.436Z] Removing intermediate container 6aacf17838a5 [2024-03-04T03:35:43.436Z] ---> 1d604f0357c1 [2024-03-04T03:35:43.436Z] Step 8/27 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-03-04T03:35:43.436Z] ---> Running in afb5dde42afa [2024-03-04T03:35:44.848Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-04T03:35:45.115Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-04T03:35:46.078Z] OK: 266 MiB in 52 packages [2024-03-04T03:35:50.324Z] Removing intermediate container afb5dde42afa [2024-03-04T03:35:50.324Z] ---> d9ccca6152fd [2024-03-04T03:35:50.324Z] Step 9/27 : WORKDIR /device-onvif-camera [2024-03-04T03:35:50.324Z] ---> Running in 1cc02b133084 [2024-03-04T03:35:51.288Z] Removing intermediate container 1cc02b133084 [2024-03-04T03:35:51.288Z] ---> c119dba1a611 [2024-03-04T03:35:51.288Z] Step 10/27 : COPY go.mod vendor* ./ [2024-03-04T03:35:51.878Z] ---> 763d11b81e8a [2024-03-04T03:35:51.878Z] Step 11/27 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-03-04T03:35:51.878Z] ---> Running in 015507877e3b [2024-03-04T03:35:56.140Z] Removing intermediate container 015507877e3b [2024-03-04T03:35:56.140Z] ---> 2b2919d315d7 [2024-03-04T03:35:56.140Z] Step 12/27 : COPY . . [2024-03-04T03:35:58.719Z] ---> fae6d7168c46 [2024-03-04T03:35:58.719Z] Step 13/27 : RUN ${MAKE} [2024-03-04T03:35:58.719Z] ---> Running in b3c71414529f [2024-03-04T03:36:00.132Z] CGO_ENABLED=0 go build -tags "" -ldflags "-s -w -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.2.0-dev.9" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2024-03-04T03:37:51.786Z] Removing intermediate container b3c71414529f [2024-03-04T03:37:51.786Z] ---> 3c0d53359cb7 [2024-03-04T03:37:51.786Z] Step 14/27 : FROM alpine:3.18 [2024-03-04T03:37:51.786Z] 3.18: Pulling from library/alpine [2024-03-04T03:37:51.786Z] c6b39de5b339: Pulling fs layer [2024-03-04T03:37:51.786Z] c6b39de5b339: Verifying Checksum [2024-03-04T03:37:51.786Z] c6b39de5b339: Download complete [2024-03-04T03:37:51.786Z] c6b39de5b339: Pull complete [2024-03-04T03:37:51.786Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-03-04T03:37:51.786Z] Status: Downloaded newer image for alpine:3.18 [2024-03-04T03:37:51.786Z] ---> 33abbf032149 [2024-03-04T03:37:51.786Z] Step 15/27 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel Corporation' [2024-03-04T03:37:51.786Z] ---> Running in 47d4df5da90d [2024-03-04T03:37:51.786Z] Removing intermediate container 47d4df5da90d [2024-03-04T03:37:51.786Z] ---> 9093aa16ed16 [2024-03-04T03:37:51.786Z] Step 16/27 : RUN apk add --update --no-cache dumb-init [2024-03-04T03:37:51.786Z] ---> Running in 9bff5c22cb72 [2024-03-04T03:37:51.786Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-04T03:37:51.786Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-04T03:37:51.786Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-03-04T03:37:51.786Z] Executing busybox-1.36.1-r5.trigger [2024-03-04T03:37:51.786Z] OK: 8 MiB in 16 packages [2024-03-04T03:37:51.786Z] Removing intermediate container 9bff5c22cb72 [2024-03-04T03:37:51.786Z] ---> 91274b56814e [2024-03-04T03:37:51.786Z] Step 17/27 : RUN apk --no-cache upgrade [2024-03-04T03:37:51.786Z] ---> Running in 0bf371c1c46a [2024-03-04T03:37:52.371Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-03-04T03:37:52.954Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-03-04T03:37:53.911Z] OK: 8 MiB in 16 packages [2024-03-04T03:37:54.494Z] Removing intermediate container 0bf371c1c46a [2024-03-04T03:37:54.494Z] ---> 04ab38ddf4a1 [2024-03-04T03:37:54.494Z] Step 18/27 : WORKDIR / [2024-03-04T03:37:54.761Z] ---> Running in 49ef7ddd4404 [2024-03-04T03:37:55.028Z] Removing intermediate container 49ef7ddd4404 [2024-03-04T03:37:55.028Z] ---> fa3527be5fcb [2024-03-04T03:37:55.028Z] Step 19/27 : COPY --from=builder /device-onvif-camera/cmd / [2024-03-04T03:37:56.446Z] ---> b23cf5d37c76 [2024-03-04T03:37:56.446Z] Step 20/27 : COPY --from=builder /device-onvif-camera/LICENSE / [2024-03-04T03:38:00.705Z] ---> 6f9945e918da [2024-03-04T03:38:00.705Z] Step 21/27 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2024-03-04T03:38:00.972Z] ---> 4a55fa25b88f [2024-03-04T03:38:00.972Z] Step 22/27 : EXPOSE 59984 [2024-03-04T03:38:00.972Z] ---> Running in 956339cd1b3c [2024-03-04T03:38:01.238Z] Removing intermediate container 956339cd1b3c [2024-03-04T03:38:01.238Z] ---> 637fb9085e00 [2024-03-04T03:38:01.238Z] Step 23/27 : ENTRYPOINT ["/device-onvif-camera"] [2024-03-04T03:38:01.504Z] ---> Running in 7c59c6fd59a3 [2024-03-04T03:38:01.772Z] Removing intermediate container 7c59c6fd59a3 [2024-03-04T03:38:01.772Z] ---> 2bdaecf6c80b [2024-03-04T03:38:01.772Z] Step 24/27 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2024-03-04T03:38:01.772Z] ---> Running in bb9f6f80404b [2024-03-04T03:38:02.037Z] Removing intermediate container bb9f6f80404b [2024-03-04T03:38:02.037Z] ---> 35c5caf7c484 [2024-03-04T03:38:02.037Z] Step 25/27 : LABEL arch=arm64 [2024-03-04T03:38:02.037Z] ---> Running in 765052866f53 [2024-03-04T03:38:02.303Z] Removing intermediate container 765052866f53 [2024-03-04T03:38:02.303Z] ---> cb57925d7a67 [2024-03-04T03:38:02.303Z] Step 26/27 : LABEL git_sha=b6e731b3c53c25acdc7bd1d4da676ffd8fdcdee0 [2024-03-04T03:38:02.572Z] ---> Running in dae313fb8569 [2024-03-04T03:38:02.838Z] Removing intermediate container dae313fb8569 [2024-03-04T03:38:02.838Z] ---> fcb28c08846d [2024-03-04T03:38:02.838Z] Step 27/27 : LABEL version=0.0.0 [2024-03-04T03:38:02.838Z] ---> Running in 57394c7cf26d [2024-03-04T03:38:03.102Z] Removing intermediate container 57394c7cf26d [2024-03-04T03:38:03.102Z] ---> a5abe6c2cc02 [2024-03-04T03:38:03.102Z] [Warning] One or more build-args [ARCH] were not consumed [2024-03-04T03:38:03.102Z] Successfully built a5abe6c2cc02 [2024-03-04T03:38:03.102Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T03:38:04.353Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-04T03:38:04.353Z] [2024-03-04T03:38:04.353Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T03:38:04.844Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-04T03:38:05.116Z] arm64: Pulling from edgex-lftools-log-publisher [2024-03-04T03:38:05.116Z] 8998bd30e6a1: Pulling fs layer [2024-03-04T03:38:05.116Z] 04944245beec: Pulling fs layer [2024-03-04T03:38:05.116Z] 699f458cf7ca: Pulling fs layer [2024-03-04T03:38:05.116Z] 765212b225bb: Pulling fs layer [2024-03-04T03:38:05.116Z] f23df028b6ca: Pulling fs layer [2024-03-04T03:38:05.116Z] d65c8cfc05b1: Pulling fs layer [2024-03-04T03:38:05.116Z] 2437ff75d9bd: Pulling fs layer [2024-03-04T03:38:05.116Z] f23df028b6ca: Waiting [2024-03-04T03:38:05.116Z] d65c8cfc05b1: Waiting [2024-03-04T03:38:05.116Z] 2437ff75d9bd: Waiting [2024-03-04T03:38:05.116Z] 765212b225bb: Waiting [2024-03-04T03:38:05.116Z] 04944245beec: Verifying Checksum [2024-03-04T03:38:05.116Z] 04944245beec: Download complete [2024-03-04T03:38:05.116Z] 765212b225bb: Verifying Checksum [2024-03-04T03:38:05.116Z] 765212b225bb: Download complete [2024-03-04T03:38:05.116Z] f23df028b6ca: Verifying Checksum [2024-03-04T03:38:05.116Z] f23df028b6ca: Download complete [2024-03-04T03:38:05.116Z] d65c8cfc05b1: Verifying Checksum [2024-03-04T03:38:05.116Z] d65c8cfc05b1: Download complete [2024-03-04T03:38:05.387Z] 699f458cf7ca: Verifying Checksum [2024-03-04T03:38:05.387Z] 699f458cf7ca: Download complete [2024-03-04T03:38:05.657Z] 8998bd30e6a1: Verifying Checksum [2024-03-04T03:38:05.657Z] 8998bd30e6a1: Download complete [2024-03-04T03:38:08.276Z] 2437ff75d9bd: Verifying Checksum [2024-03-04T03:38:08.276Z] 2437ff75d9bd: Download complete [2024-03-04T03:38:10.850Z] 8998bd30e6a1: Pull complete [2024-03-04T03:38:16.187Z] 04944245beec: Pull complete [2024-03-04T03:38:17.147Z] 699f458cf7ca: Pull complete [2024-03-04T03:38:17.414Z] 765212b225bb: Pull complete [2024-03-04T03:38:18.373Z] f23df028b6ca: Pull complete [2024-03-04T03:38:18.373Z] d65c8cfc05b1: Pull complete [2024-03-04T03:38:36.589Z] 2437ff75d9bd: Pull complete [2024-03-04T03:38:36.589Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-03-04T03:38:36.589Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-03-04T03:38:36.589Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-04T03:38:37.072Z] prd-ubuntu20.04-docker-arm64-4c-16g-2146 does not seem to be running inside a container [2024-03-04T03:38:37.137Z] $ 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-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/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-03-04T03:38:39.649Z] $ docker top 9778cda6ac11065a5a85578a27d2c49f397f682945a435fd90be07aa7429ade4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-03-04T03:38:40.622Z] ---> job-cost.sh [2024-03-04T03:38:40.622Z] lf-activate-venv: SKIPPING [2024-03-04T03:38:40.622Z] INFO: No Stack... [2024-03-04T03:38:40.887Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-03-04T03:38:41.845Z] INFO: Archiving Costs [Pipeline] sh [2024-03-04T03:38:42.501Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2024-03-04T03:38:42.501Z] + cut -d, -f6 [Pipeline] lock [2024-03-04T03:38:42.580Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-428-1-stack-cost] [2024-03-04T03:38:42.586Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-428-1-stack-cost] did not exist. Created. [2024-03-04T03:38:42.590Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-428-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-03-04T03:38:46.167Z] /w/workspace/device-onvif-camera/1@tmp/durable-61cbb608/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-03-04T03:38:46.509Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-03-04T03:38:46.547Z] Warning: overwriting stash ‘stack-cost’ [2024-03-04T03:38:46.602Z] Stashed 1 file(s) [Pipeline] } [2024-03-04T03:38:46.636Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-428-1-stack-cost] [Pipeline] // lock [Pipeline] } [2024-03-04T03:38:46.808Z] $ docker stop --time=1 9778cda6ac11065a5a85578a27d2c49f397f682945a435fd90be07aa7429ade4 [2024-03-04T03:38:48.310Z] $ docker rm -f --volumes 9778cda6ac11065a5a85578a27d2c49f397f682945a435fd90be07aa7429ade4 [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-03-04T03:38:50.291Z] provisioning config files... [2024-03-04T03:38:50.300Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-428@tmp/config2470229352228409559tmp [Pipeline] { [Pipeline] sh [2024-03-04T03:38:50.726Z] + set +x [2024-03-04T03:38:50.726Z] + bash -s -- [2024-03-04T03:38:50.726Z] + curl -s https://codecov.io/bash [2024-03-04T03:38:50.726Z] [2024-03-04T03:38:50.726Z] _____ _ [2024-03-04T03:38:50.726Z] / ____| | | [2024-03-04T03:38:50.726Z] | | ___ __| | ___ ___ _____ __ [2024-03-04T03:38:50.726Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-03-04T03:38:50.726Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-03-04T03:38:50.726Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-03-04T03:38:50.726Z] Bash-1.0.6 [2024-03-04T03:38:50.726Z] [2024-03-04T03:38:50.726Z] [2024-03-04T03:38:50.726Z] ==> git version 2.25.1 found [2024-03-04T03:38:50.726Z] ==> 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-03-04T03:38:50.726Z] Release-Date: 2020-01-08 [2024-03-04T03:38:50.726Z] 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-03-04T03:38:50.726Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-03-04T03:38:50.726Z] ==> Jenkins CI detected. [2024-03-04T03:38:50.726Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-428 [2024-03-04T03:38:50.726Z] project root: . [2024-03-04T03:38:50.726Z] --> token set from env [2024-03-04T03:38:50.726Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2024-03-04T03:38:50.986Z] ==> Running gcov in . (disable via -X gcov) [2024-03-04T03:38:50.986Z] ==> Python coveragepy not found [2024-03-04T03:38:50.986Z] ==> Searching for coverage reports in: [2024-03-04T03:38:50.986Z] + . [2024-03-04T03:38:50.986Z] -> Found 1 reports [2024-03-04T03:38:50.986Z] ==> Detecting git/mercurial file structure [2024-03-04T03:38:50.986Z] ==> Reading reports [2024-03-04T03:38:50.986Z] + ./coverage.out bytes=78456 [2024-03-04T03:38:50.986Z] ==> Appending adjustments [2024-03-04T03:38:50.986Z] https://docs.codecov.io/docs/fixing-reports [2024-03-04T03:38:50.986Z] + Found adjustments [2024-03-04T03:38:50.986Z] ==> Gzipping contents [2024-03-04T03:38:50.986Z] 12K /tmp/codecov.IeHzDR.gz [2024-03-04T03:38:50.986Z] ==> Uploading reports [2024-03-04T03:38:50.986Z] url: https://codecov.io [2024-03-04T03:38:50.987Z] query: branch=PR-428&commit=b6e731b3c53c25acdc7bd1d4da676ffd8fdcdee0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-428%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=428&job=&cmd_args= [2024-03-04T03:38:50.987Z] -> Pinging Codecov [2024-03-04T03:38:50.987Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=PR-428&commit=b6e731b3c53c25acdc7bd1d4da676ffd8fdcdee0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-428%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=428&job=&cmd_args= [2024-03-04T03:38:51.246Z] -> Uploading to [2024-03-04T03:38:51.246Z] https://storage.googleapis.com/codecov/v4/raw/2024-03-04/F29A59C45E3A92E06B3E522C9905F8EF/b6e731b3c53c25acdc7bd1d4da676ffd8fdcdee0/9dd38552-7c7c-4867-9557-388540547fb0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240304%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20240304T033851Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b9de08950b69535aa4d2ae2072b79bbb82dd01f0b09b9b6155482fe5414cfa98 [2024-03-04T03:38:51.246Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-03-04T03:38:51.246Z] Dload Upload Total Spent Left Speed [2024-03-04T03:38:51.506Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10378 0 0 100 10378 0 38579 --:--:-- --:--:-- --:--:-- 38579 [2024-03-04T03:38:51.506Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/b6e731b3c53c25acdc7bd1d4da676ffd8fdcdee0 [Pipeline] } [2024-03-04T03:38:51.533Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-03-04T03:38:54.712Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-428/archives ] [2024-03-04T03:38:54.712Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-428/archives [2024-03-04T03:38:54.712Z] total 16 [2024-03-04T03:38:54.712Z] drwxr-xr-x 3 root root 4096 Mar 4 03:30 . [2024-03-04T03:38:54.712Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 4 03:30 .. [2024-03-04T03:38:54.712Z] drwxr-xr-x 2 root root 4096 Mar 4 03:30 cost [2024-03-04T03:38:54.712Z] -rw-r--r-- 1 root root 91 Mar 4 03:30 cost.csv [2024-03-04T03:38:54.712Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-428/archives [2024-03-04T03:38:54.712Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-428/archives [2024-03-04T03:38:54.712Z] total 16 [2024-03-04T03:38:54.712Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 4 03:30 . [2024-03-04T03:38:54.712Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 4 03:30 .. [2024-03-04T03:38:54.712Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 4 03:30 cost [2024-03-04T03:38:54.712Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 4 03:30 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-03-04T03:38:55.034Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-04T03:38:56.085Z] ---> package-listing.sh [2024-03-04T03:38:56.085Z] ++ facter osfamily [2024-03-04T03:38:56.085Z] ++ tr '[:upper:]' '[:lower:]' [2024-03-04T03:38:56.345Z] + OS_FAMILY=debian [2024-03-04T03:38:56.345Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-428 [2024-03-04T03:38:56.345Z] + START_PACKAGES=/tmp/packages_start.txt [2024-03-04T03:38:56.345Z] + END_PACKAGES=/tmp/packages_end.txt [2024-03-04T03:38:56.345Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-03-04T03:38:56.345Z] + PACKAGES=/tmp/packages_start.txt [2024-03-04T03:38:56.345Z] + '[' /w/workspace/undry_device-onvif-camera_PR-428 ']' [2024-03-04T03:38:56.345Z] + PACKAGES=/tmp/packages_end.txt [2024-03-04T03:38:56.345Z] + case "${OS_FAMILY}" in [2024-03-04T03:38:56.345Z] + dpkg -l [2024-03-04T03:38:56.345Z] + grep '^ii' [2024-03-04T03:38:56.345Z] + '[' -f /tmp/packages_start.txt ']' [2024-03-04T03:38:56.345Z] + '[' -f /tmp/packages_end.txt ']' [2024-03-04T03:38:56.345Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-03-04T03:38:56.345Z] + '[' /w/workspace/undry_device-onvif-camera_PR-428 ']' [2024-03-04T03:38:56.345Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-428/archives/ [2024-03-04T03:38:56.345Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-428/archives/ [Pipeline] echo [2024-03-04T03:38:56.496Z] 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/undry_device-onvif-camera_PR-428/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-03-04T03:38:56.794Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-03-04T03:38:57.467Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-03-04T03:38:57.467Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-03-04T03:38:57.718Z] prd-ubuntu20.04-docker-8c-8g-2145 does not seem to be running inside a container [2024-03-04T03:38:57.752Z] $ 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/undry_device-onvif-camera_PR-428/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-428 -v /w/workspace/undry_device-onvif-camera_PR-428:/w/workspace/undry_device-onvif-camera_PR-428:rw,z -v /w/workspace/undry_device-onvif-camera_PR-428@tmp:/w/workspace/undry_device-onvif-camera_PR-428@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-03-04T03:38:57.945Z] $ docker top 35a11c1b8e893e152ed8a717702433096ccc788cd88633bf0398013ee2bae5f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-03-04T03:38:58.418Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-03-04T03:38:58.735Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-03-04T03:38:59.045Z] + ls /var/log/sa-host [2024-03-04T03:38:59.045Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-03-04T03:38:59.321Z] provisioning config files... [2024-03-04T03:38:59.331Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-428@tmp/config17683049049582503581tmp [Pipeline] { [Pipeline] echo [2024-03-04T03:38:59.487Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-04T03:38:59.799Z] ---> create-netrc.sh [Pipeline] } [2024-03-04T03:38:59.829Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-03-04T03:39:00.342Z] ---> python-tools-install.sh [Pipeline] echo [2024-03-04T03:39:00.374Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-04T03:39:00.686Z] ---> sudo-logs.sh [2024-03-04T03:39:00.686Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-03-04T03:39:00.823Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-04T03:39:01.140Z] ---> job-cost.sh [2024-03-04T03:39:01.140Z] lf-activate-venv: SKIPPING [2024-03-04T03:39:01.140Z] DEBUG: total: 0.2199999988079071 [2024-03-04T03:39:01.140Z] INFO: Retrieving Stack Cost... [2024-03-04T03:39:01.399Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-03-04T03:39:01.968Z] INFO: Archiving Costs [Pipeline] echo [2024-03-04T03:39:02.001Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-03-04T03:39:02.306Z] ---> logs-deploy.sh [2024-03-04T03:39:02.306Z] lf-activate-venv: SKIPPING [2024-03-04T03:39:02.306Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-428/1 [2024-03-04T03:39:02.306Z] INFO: archiving workspace using pattern(s): [2024-03-04T03:39:03.260Z] Archives upload complete. [2024-03-04T03:39:03.260Z] INFO: archiving logs to Nexus