Pull request #235 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 233d6d5c4a139121b4c91c5de102fdbda7adb1c0+4a9e67fa37862f83ef90b637e6c765491ff37d3a (7d1c1d4d485da8e5f48679a812b6491a6e682be3) 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-ssh16882250002882590351.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh14734456037469464144.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-235/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-235/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6408686603280700940.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-235/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2042269633790881476.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh2331363971527317238.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-235/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-235/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6356161780007244791.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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/v2]] ========================================================= [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.18 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/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-5385’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-6516’ is offline Running on prd-ubuntu20.04-docker-8c-8g-6518 in /w/workspace/undry_device-onvif-camera_PR-235 [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-235 # 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 > 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/235/head:refs/remotes/origin/PR-235 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4a9e67fa37862f83ef90b637e6c765491ff37d3a into PR head commit 233d6d5c4a139121b4c91c5de102fdbda7adb1c0 Merge succeeded, producing 233d6d5c4a139121b4c91c5de102fdbda7adb1c0 Checking out Revision 233d6d5c4a139121b4c91c5de102fdbda7adb1c0 (PR-235) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-17T22:43:26.329Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-17T22:43:26.505Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW > git config core.sparsecheckout # timeout=10 > git checkout -f 233d6d5c4a139121b4c91c5de102fdbda7adb1c0 # 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 4a9e67fa37862f83ef90b637e6c765491ff37d3a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 233d6d5c4a139121b4c91c5de102fdbda7adb1c0 # timeout=10 [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-17T22:43:26.599Z] ========================================================= [2023-02-17T22:43:26.599Z] EdgeX Global Pipelines Version Info [2023-02-17T22:43:26.599Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-17T22:43:27.333Z] ------------------- [2023-02-17T22:43:27.333Z] stable info: [2023-02-17T22:43:27.333Z] ------------------- [2023-02-17T22:43:27.333Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-17T22:43:27.333Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T22:43:27.333Z] Message: update stable to v1.0.244 [2023-02-17T22:43:27.904Z] ------------------- [2023-02-17T22:43:27.904Z] experimental info: [2023-02-17T22:43:27.904Z] ------------------- [2023-02-17T22:43:27.904Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-17T22:43:27.904Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T22:43:27.904Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-17T22:43:28.204Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-02-17T22:43:28.239Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-02-17T22:43:28.281Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-17T22:43:28.317Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-17T22:43:28.353Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-17T22:43:28.389Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-17T22:43:28.432Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-17T22:43:28.469Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-17T22:43:28.507Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-17T22:43:28.541Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-17T22:43:28.577Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-17T22:43:28.612Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-02-17T22:43:28.648Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-17T22:43:28.685Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-17T22:43:28.724Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-17T22:43:28.765Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-17T22:43:28.805Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T22:43:28.844Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T22:43:28.878Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-17T22:43:28.923Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-17T22:43:28.962Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-17T22:43:29.001Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-02-17T22:43:29.037Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-17T22:43:29.074Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-17T22:43:29.110Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-17T22:43:29.147Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-17T22:43:29.191Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-17T22:43:29.226Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-235 [Pipeline] echo [2023-02-17T22:43:29.262Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-235 [Pipeline] echo [2023-02-17T22:43:29.300Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-235 [Pipeline] echo [2023-02-17T22:43:29.340Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 233d6d5c4a139121b4c91c5de102fdbda7adb1c0 [Pipeline] echo [2023-02-17T22:43:29.377Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 233d6d5 [Pipeline] echo [2023-02-17T22:43:29.413Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T22:43:29.526Z] provisioning config files... [2023-02-17T22:43:29.540Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-235@tmp/config18034831795292948379tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T22:43:29.876Z] ---> docker-login.sh [2023-02-17T22:43:29.876Z] nexus3.edgexfoundry.org:10001 [2023-02-17T22:43:30.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:43:30.139Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:43:30.139Z] Configure a credential helper to remove this warning. See [2023-02-17T22:43:30.139Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:43:30.139Z] [2023-02-17T22:43:30.139Z] Login Succeeded [2023-02-17T22:43:30.139Z] nexus3.edgexfoundry.org:10002 [2023-02-17T22:43:30.139Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:43:30.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:43:30.399Z] Configure a credential helper to remove this warning. See [2023-02-17T22:43:30.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:43:30.399Z] [2023-02-17T22:43:30.399Z] Login Succeeded [2023-02-17T22:43:30.399Z] nexus3.edgexfoundry.org:10003 [2023-02-17T22:43:30.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:43:30.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:43:30.399Z] Configure a credential helper to remove this warning. See [2023-02-17T22:43:30.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:43:30.399Z] [2023-02-17T22:43:30.399Z] Login Succeeded [2023-02-17T22:43:30.399Z] nexus3.edgexfoundry.org:10004 [2023-02-17T22:43:30.399Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:43:30.399Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:43:30.399Z] Configure a credential helper to remove this warning. See [2023-02-17T22:43:30.399Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:43:30.399Z] [2023-02-17T22:43:30.399Z] Login Succeeded [2023-02-17T22:43:30.399Z] docker.io [2023-02-17T22:43:30.659Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:43:30.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:43:30.920Z] Configure a credential helper to remove this warning. See [2023-02-17T22:43:30.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:43:30.920Z] [2023-02-17T22:43:30.920Z] Login Succeeded [2023-02-17T22:43:30.920Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T22:43:30.944Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-17T22:43:31.552Z] + git rev-list -1 --merges 233d6d5c4a139121b4c91c5de102fdbda7adb1c0~1..233d6d5c4a139121b4c91c5de102fdbda7adb1c0 [Pipeline] echo [2023-02-17T22:43:31.611Z] -----------> git rev-list -1 --merges 233d6d5c4a139121b4c91c5de102fdbda7adb1c0~1..233d6d5c4a139121b4c91c5de102fdbda7adb1c0 233d6d5c4a139121b4c91c5de102fdbda7adb1c0 [false] [Pipeline] sh [2023-02-17T22:43:31.921Z] + git log --format=format:%s -1 233d6d5c4a139121b4c91c5de102fdbda7adb1c0 [Pipeline] echo [2023-02-17T22:43:31.956Z] ========================================================= [2023-02-17T22:43:31.956Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-17T22:43:31.956Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T22:43:32.379Z] + git log --format=format:%s -1 233d6d5c4a139121b4c91c5de102fdbda7adb1c0 [Pipeline] echo [2023-02-17T22:43:32.413Z] [semverPrep] GIT_COMMIT: 233d6d5c4a139121b4c91c5de102fdbda7adb1c0, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3 [Pipeline] echo [2023-02-17T22:43:32.438Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-17T22:43:32.815Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-17T22:43:32.815Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-17T22:43:32.815Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-17T22:43:32.815Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-17T22:43:32.815Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-17T22:43:32.815Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-17T22:43:32.815Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:43:33.242Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T22:43:33.242Z] [2023-02-17T22:43:33.242Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:43:33.622Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T22:43:34.198Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-17T22:43:34.198Z] b85a868b505f: Pulling fs layer [2023-02-17T22:43:34.198Z] e2be974225ed: Pulling fs layer [2023-02-17T22:43:34.198Z] 339a4e72a1f5: Pulling fs layer [2023-02-17T22:43:34.198Z] 988bab9f4d93: Pulling fs layer [2023-02-17T22:43:34.198Z] 1469e6f7b9e6: Pulling fs layer [2023-02-17T22:43:34.198Z] eaf3925da568: Pulling fs layer [2023-02-17T22:43:34.198Z] bab4dde63d76: Pulling fs layer [2023-02-17T22:43:34.198Z] bde34c3a00c8: Pulling fs layer [2023-02-17T22:43:34.198Z] b352a97aabf1: Pulling fs layer [2023-02-17T22:43:34.198Z] 4872d77fe225: Pulling fs layer [2023-02-17T22:43:34.198Z] 5851b861e8e6: Pulling fs layer [2023-02-17T22:43:34.198Z] 988bab9f4d93: Waiting [2023-02-17T22:43:34.198Z] bde34c3a00c8: Waiting [2023-02-17T22:43:34.198Z] 1469e6f7b9e6: Waiting [2023-02-17T22:43:34.198Z] eaf3925da568: Waiting [2023-02-17T22:43:34.198Z] b352a97aabf1: Waiting [2023-02-17T22:43:34.198Z] bab4dde63d76: Waiting [2023-02-17T22:43:34.198Z] 5851b861e8e6: Waiting [2023-02-17T22:43:34.198Z] e2be974225ed: Verifying Checksum [2023-02-17T22:43:34.198Z] e2be974225ed: Download complete [2023-02-17T22:43:34.198Z] 988bab9f4d93: Verifying Checksum [2023-02-17T22:43:34.198Z] 988bab9f4d93: Download complete [2023-02-17T22:43:34.464Z] 1469e6f7b9e6: Download complete [2023-02-17T22:43:34.464Z] eaf3925da568: Download complete [2023-02-17T22:43:34.464Z] 339a4e72a1f5: Verifying Checksum [2023-02-17T22:43:34.464Z] 339a4e72a1f5: Download complete [2023-02-17T22:43:34.464Z] bde34c3a00c8: Download complete [2023-02-17T22:43:34.464Z] b352a97aabf1: Verifying Checksum [2023-02-17T22:43:34.464Z] b352a97aabf1: Download complete [2023-02-17T22:43:34.464Z] 4872d77fe225: Verifying Checksum [2023-02-17T22:43:34.464Z] 4872d77fe225: Download complete [2023-02-17T22:43:34.464Z] 5851b861e8e6: Verifying Checksum [2023-02-17T22:43:34.464Z] 5851b861e8e6: Download complete [2023-02-17T22:43:34.883Z] b85a868b505f: Verifying Checksum [2023-02-17T22:43:34.883Z] b85a868b505f: Download complete [2023-02-17T22:43:35.274Z] bab4dde63d76: Verifying Checksum [2023-02-17T22:43:35.274Z] bab4dde63d76: Download complete [2023-02-17T22:43:35.843Z] b85a868b505f: Pull complete [2023-02-17T22:43:36.101Z] e2be974225ed: Pull complete [2023-02-17T22:43:36.361Z] 339a4e72a1f5: Pull complete [2023-02-17T22:43:36.361Z] 988bab9f4d93: Pull complete [2023-02-17T22:43:36.620Z] 1469e6f7b9e6: Pull complete [2023-02-17T22:43:36.879Z] eaf3925da568: Pull complete [2023-02-17T22:43:38.254Z] bab4dde63d76: Pull complete [2023-02-17T22:43:38.513Z] bde34c3a00c8: Pull complete [2023-02-17T22:43:38.513Z] b352a97aabf1: Pull complete [2023-02-17T22:43:38.777Z] 4872d77fe225: Pull complete [2023-02-17T22:43:38.777Z] 5851b861e8e6: Pull complete [2023-02-17T22:43:38.777Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-17T22:43:38.777Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T22:43:38.777Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T22:43:39.022Z] prd-ubuntu20.04-docker-8c-8g-6518 does not seem to be running inside a container [2023-02-17T22:43:39.182Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-235 -v /w/workspace/undry_device-onvif-camera_PR-235:/w/workspace/undry_device-onvif-camera_PR-235:rw,z -v /w/workspace/undry_device-onvif-camera_PR-235@tmp:/w/workspace/undry_device-onvif-camera_PR-235@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-17T22:43:42.206Z] $ docker top 06a391e7044ba342149e222a72913c88a0ee72162229cef4ba8a42e03c21cbc2 -eo pid,comm [2023-02-17T22:43:42.338Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-17T22:43:42.338Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-17T22:43:42.460Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T22:43:42.460Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T22:43:42.571Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T22:43:42.578Z] $ docker exec 06a391e7044ba342149e222a72913c88a0ee72162229cef4ba8a42e03c21cbc2 ssh-agent [2023-02-17T22:43:42.691Z] SSH_AUTH_SOCK=/tmp/ssh-DIBX9Z5UkAnY/agent.13 [2023-02-17T22:43:42.691Z] SSH_AGENT_PID=19 [2023-02-17T22:43:42.699Z] Running ssh-add (command line suppressed) [2023-02-17T22:43:42.804Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-235@tmp/private_key_12085798085337493322.key (/w/workspace/undry_device-onvif-camera_PR-235@tmp/private_key_12085798085337493322.key) [2023-02-17T22:43:42.812Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T22:43:43.139Z] + git tag --points-at HEAD [Pipeline] } [2023-02-17T22:43:43.167Z] $ docker exec --env ******** --env ******** 06a391e7044ba342149e222a72913c88a0ee72162229cef4ba8a42e03c21cbc2 ssh-agent -k [2023-02-17T22:43:43.257Z] unset SSH_AUTH_SOCK; [2023-02-17T22:43:43.257Z] unset SSH_AGENT_PID; [2023-02-17T22:43:43.258Z] echo Agent pid 19 killed; [2023-02-17T22:43:43.264Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-17T22:43:43.351Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T22:43:43.351Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T22:43:43.446Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T22:43:43.452Z] $ docker exec 06a391e7044ba342149e222a72913c88a0ee72162229cef4ba8a42e03c21cbc2 ssh-agent [2023-02-17T22:43:43.554Z] SSH_AUTH_SOCK=/tmp/ssh-Sqh8ztzMbLo3/agent.69 [2023-02-17T22:43:43.554Z] SSH_AGENT_PID=75 [2023-02-17T22:43:43.559Z] Running ssh-add (command line suppressed) [2023-02-17T22:43:43.662Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-235@tmp/private_key_10589113073406730920.key (/w/workspace/undry_device-onvif-camera_PR-235@tmp/private_key_10589113073406730920.key) [2023-02-17T22:43:43.672Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T22:43:43.999Z] + git semver init [2023-02-17T22:43:44.258Z] 2023-02-17 22:43:44,183 [run_init] DEBUG init version:0.0.0 force:False [2023-02-17T22:43:44.258Z] 2023-02-17 22:43:44,184 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-235/.semver [2023-02-17T22:43:44.258Z] 2023-02-17 22:43:44,184 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-235/.semver [2023-02-17T22:43:44.258Z] 2023-02-17 22:43:44,184 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-235/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-235, universal_newlines=False, shell=None, istream=None) [2023-02-17T22:43:45.863Z] 2023-02-17 22:43:45,265 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-235/.git/info/exclude [2023-02-17T22:43:45.863Z] 2023-02-17 22:43:45,266 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-235/.semver/PR-235 with force:False [2023-02-17T22:43:45.863Z] 2023-02-17 22:43:45,266 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-235/.semver/PR-235 [2023-02-17T22:43:45.863Z] 2023-02-17 22:43:45,270 [execute] INFO git cat-file --batch-check [2023-02-17T22:43:45.863Z] 2023-02-17 22:43:45,271 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-235/.semver, universal_newlines=False, shell=None, istream=) [2023-02-17T22:43:45.863Z] 2023-02-17 22:43:45,277 [execute] INFO git cat-file --batch [2023-02-17T22:43:45.863Z] 2023-02-17 22:43:45,277 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-235/.semver, universal_newlines=False, shell=None, istream=) [2023-02-17T22:43:45.863Z] 2023-02-17 22:43:45,282 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-235/.semver/PR-235 [2023-02-17T22:43:45.863Z] 0.0.0 [Pipeline] } [2023-02-17T22:43:45.892Z] $ docker exec --env ******** --env ******** 06a391e7044ba342149e222a72913c88a0ee72162229cef4ba8a42e03c21cbc2 ssh-agent -k [2023-02-17T22:43:45.981Z] unset SSH_AUTH_SOCK; [2023-02-17T22:43:45.981Z] unset SSH_AGENT_PID; [2023-02-17T22:43:45.981Z] echo Agent pid 75 killed; [2023-02-17T22:43:45.990Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-17T22:43:46.419Z] + git semver [Pipeline] } [2023-02-17T22:43:46.853Z] $ docker stop --time=1 06a391e7044ba342149e222a72913c88a0ee72162229cef4ba8a42e03c21cbc2 [2023-02-17T22:43:48.134Z] $ docker rm -f --volumes 06a391e7044ba342149e222a72913c88a0ee72162229cef4ba8a42e03c21cbc2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T22:43:48.532Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-17T22:43:48.998Z] Stashed 1 file(s) [Pipeline] echo [2023-02-17T22:43:49.019Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T22:43:49.585Z] provisioning config files... [2023-02-17T22:43:49.660Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-235@tmp/config9973390737256175149tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T22:43:50.000Z] ---> docker-login.sh [2023-02-17T22:43:50.000Z] nexus3.edgexfoundry.org:10001 [2023-02-17T22:43:50.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:43:50.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:43:50.000Z] Configure a credential helper to remove this warning. See [2023-02-17T22:43:50.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:43:50.000Z] [2023-02-17T22:43:50.000Z] Login Succeeded [2023-02-17T22:43:50.000Z] nexus3.edgexfoundry.org:10002 [2023-02-17T22:43:50.000Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:43:50.000Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:43:50.000Z] Configure a credential helper to remove this warning. See [2023-02-17T22:43:50.000Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:43:50.000Z] [2023-02-17T22:43:50.000Z] Login Succeeded [2023-02-17T22:43:50.000Z] nexus3.edgexfoundry.org:10003 [2023-02-17T22:43:50.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:43:50.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:43:50.268Z] Configure a credential helper to remove this warning. See [2023-02-17T22:43:50.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:43:50.268Z] [2023-02-17T22:43:50.268Z] Login Succeeded [2023-02-17T22:43:50.268Z] nexus3.edgexfoundry.org:10004 [2023-02-17T22:43:50.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:43:50.268Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:43:50.268Z] Configure a credential helper to remove this warning. See [2023-02-17T22:43:50.268Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:43:50.268Z] [2023-02-17T22:43:50.268Z] Login Succeeded [2023-02-17T22:43:50.268Z] docker.io [2023-02-17T22:43:50.268Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:43:50.529Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:43:50.529Z] Configure a credential helper to remove this warning. See [2023-02-17T22:43:50.529Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:43:50.529Z] [2023-02-17T22:43:50.529Z] Login Succeeded [2023-02-17T22:43:50.529Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T22:43:50.561Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-17T22:43:50.746Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T22:43:50.781Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T22:43:50.813Z] ========================================================= [2023-02-17T22:43:50.813Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-17T22:43:50.813Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:43:51.302Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-17T22:43:51.302Z] Sending build context to Docker daemon 27.72MB [2023-02-17T22:43:51.302Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T22:43:51.302Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-17T22:43:51.945Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-17T22:43:51.945Z] 213ec9aee27d: Pulling fs layer [2023-02-17T22:43:51.945Z] 4583459ba037: Pulling fs layer [2023-02-17T22:43:51.945Z] 93c1e223e6f2: Pulling fs layer [2023-02-17T22:43:51.945Z] 53926ce57604: Pulling fs layer [2023-02-17T22:43:51.945Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-17T22:43:51.945Z] 22ff95d597cd: Pulling fs layer [2023-02-17T22:43:51.945Z] 12d6caf4c0d1: Pulling fs layer [2023-02-17T22:43:51.945Z] 96b7cbca73a9: Pulling fs layer [2023-02-17T22:43:51.945Z] a7acece74701: Pulling fs layer [2023-02-17T22:43:51.945Z] 53926ce57604: Waiting [2023-02-17T22:43:51.946Z] 22ff95d597cd: Waiting [2023-02-17T22:43:51.946Z] 21b2b0c7a3f4: Waiting [2023-02-17T22:43:51.946Z] 12d6caf4c0d1: Waiting [2023-02-17T22:43:51.946Z] a7acece74701: Waiting [2023-02-17T22:43:51.946Z] 93c1e223e6f2: Verifying Checksum [2023-02-17T22:43:51.946Z] 93c1e223e6f2: Download complete [2023-02-17T22:43:51.946Z] 4583459ba037: Verifying Checksum [2023-02-17T22:43:51.946Z] 4583459ba037: Download complete [2023-02-17T22:43:51.946Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-17T22:43:51.946Z] 21b2b0c7a3f4: Download complete [2023-02-17T22:43:51.946Z] 22ff95d597cd: Download complete [2023-02-17T22:43:51.946Z] 213ec9aee27d: Verifying Checksum [2023-02-17T22:43:51.946Z] 213ec9aee27d: Download complete [2023-02-17T22:43:52.220Z] 12d6caf4c0d1: Download complete [2023-02-17T22:43:52.220Z] 213ec9aee27d: Pull complete [2023-02-17T22:43:52.551Z] 4583459ba037: Pull complete [2023-02-17T22:43:52.551Z] 93c1e223e6f2: Pull complete [2023-02-17T22:43:56.202Z] a7acece74701: Verifying Checksum [2023-02-17T22:43:56.202Z] 53926ce57604: Verifying Checksum [2023-02-17T22:43:56.202Z] 53926ce57604: Download complete [2023-02-17T22:43:56.202Z] 96b7cbca73a9: Verifying Checksum [2023-02-17T22:43:56.202Z] 96b7cbca73a9: Download complete [2023-02-17T22:43:59.516Z] 53926ce57604: Pull complete [2023-02-17T22:43:59.516Z] 21b2b0c7a3f4: Pull complete [2023-02-17T22:43:59.516Z] 22ff95d597cd: Pull complete [2023-02-17T22:43:59.885Z] 12d6caf4c0d1: Pull complete [2023-02-17T22:44:01.789Z] 96b7cbca73a9: Pull complete [2023-02-17T22:44:02.722Z] a7acece74701: Pull complete [2023-02-17T22:44:02.722Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-17T22:44:02.722Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-17T22:44:02.722Z] ---> db6d94c90886 [2023-02-17T22:44:02.722Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-17T22:44:04.407Z] Still waiting to schedule task [2023-02-17T22:44:04.407Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-6517’ [2023-02-17T22:44:08.301Z] ---> Running in fe69cd029ed7 [2023-02-17T22:44:08.626Z] Removing intermediate container fe69cd029ed7 [2023-02-17T22:44:08.626Z] ---> 54657100850f [2023-02-17T22:44:08.626Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T22:44:08.626Z] ---> Running in 68792cda9b6c [2023-02-17T22:44:08.626Z] Removing intermediate container 68792cda9b6c [2023-02-17T22:44:08.626Z] ---> 570d41e55626 [2023-02-17T22:44:08.626Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-02-17T22:44:08.626Z] ---> Running in 05e0b5f6d413 [2023-02-17T22:44:08.626Z] Removing intermediate container 05e0b5f6d413 [2023-02-17T22:44:08.626Z] ---> ed582f88d1ae [2023-02-17T22:44:08.626Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-02-17T22:44:08.887Z] ---> Running in ce9d3c65b7be [2023-02-17T22:44:08.887Z] Removing intermediate container ce9d3c65b7be [2023-02-17T22:44:08.887Z] ---> deccdafb8590 [2023-02-17T22:44:08.887Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-02-17T22:44:08.887Z] ---> Running in a2ade02bd3a2 [2023-02-17T22:44:08.887Z] Removing intermediate container a2ade02bd3a2 [2023-02-17T22:44:08.887Z] ---> e8a6f01aa121 [2023-02-17T22:44:08.887Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-17T22:44:08.887Z] ---> Running in 1238547f080b [2023-02-17T22:44:09.146Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T22:44:09.405Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T22:44:09.663Z] OK: 211 MiB in 51 packages [2023-02-17T22:44:09.920Z] Removing intermediate container 1238547f080b [2023-02-17T22:44:09.920Z] ---> 200b6c4d174a [2023-02-17T22:44:09.920Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-02-17T22:44:09.920Z] ---> Running in 0d5bbb0b74a2 [2023-02-17T22:44:10.178Z] Removing intermediate container 0d5bbb0b74a2 [2023-02-17T22:44:10.178Z] ---> 4b333a5eff24 [2023-02-17T22:44:10.178Z] Step 10/13 : COPY go.mod vendor* ./ [2023-02-17T22:44:10.178Z] ---> 68fc9f8639e9 [2023-02-17T22:44:10.178Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T22:44:10.178Z] ---> Running in f695882e5086 [2023-02-17T22:44:48.988Z] Removing intermediate container f695882e5086 [2023-02-17T22:44:48.988Z] ---> c0f07674396e [2023-02-17T22:44:48.988Z] Step 12/13 : COPY . . [2023-02-17T22:44:48.988Z] ---> c67d61ccc7b9 [2023-02-17T22:44:48.988Z] Step 13/13 : RUN ${MAKE} [2023-02-17T22:44:48.988Z] ---> Running in b68e2f50a99a [2023-02-17T22:44:48.988Z] noop [2023-02-17T22:44:49.250Z] Removing intermediate container b68e2f50a99a [2023-02-17T22:44:49.250Z] ---> b557f504f5e2 [2023-02-17T22:44:49.250Z] Successfully built b557f504f5e2 [2023-02-17T22:44:49.250Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:44:49.691Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T22:44:49.691Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T22:44:49.846Z] prd-ubuntu20.04-docker-8c-8g-6518 does not seem to be running inside a container [2023-02-17T22:44:49.875Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-235 -v /w/workspace/undry_device-onvif-camera_PR-235:/w/workspace/undry_device-onvif-camera_PR-235:rw,z -v /w/workspace/undry_device-onvif-camera_PR-235@tmp:/w/workspace/undry_device-onvif-camera_PR-235@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-17T22:44:50.209Z] $ docker top 4daf1c2e50c9746650ad876f96b705368157d3125c391b8dd3976f5824d601dd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T22:44:50.622Z] + go version [2023-02-17T22:44:50.622Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-17T22:44:50.655Z] $ docker stop --time=1 4daf1c2e50c9746650ad876f96b705368157d3125c391b8dd3976f5824d601dd [2023-02-17T22:44:51.948Z] $ docker rm -f --volumes 4daf1c2e50c9746650ad876f96b705368157d3125c391b8dd3976f5824d601dd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:44:52.636Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T22:44:52.636Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T22:44:52.779Z] prd-ubuntu20.04-docker-8c-8g-6518 does not seem to be running inside a container [2023-02-17T22:44:52.810Z] $ 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-235 -v /w/workspace/undry_device-onvif-camera_PR-235:/w/workspace/undry_device-onvif-camera_PR-235:rw,z -v /w/workspace/undry_device-onvif-camera_PR-235@tmp:/w/workspace/undry_device-onvif-camera_PR-235@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-17T22:44:53.117Z] $ docker top eaba013a4ace4fde65e92529ed42c9c509dd2c285e8aa5ead1558eb08fe58640 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T22:44:53.500Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-235 [Pipeline] fileExists [Pipeline] sh [2023-02-17T22:44:53.851Z] + make test [2023-02-17T22:44:53.851Z] go test ./... -coverprofile=coverage.out ./... [2023-02-17T22:44:54.109Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-02-17T22:45:04.077Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-02-17T22:45:07.360Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.036s coverage: 29.3% of statements [2023-02-17T22:45:07.360Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-02-17T22:45:07.360Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.574s coverage: 86.5% of statements [2023-02-17T22:45:13.945Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-17T22:45:13.945Z] go vet ./... [2023-02-17T22:45:17.268Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-17T22:45:17.268Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-17T22:45:17.268Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-17T22:45:17.311Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-17T22:45:17.337Z] $ docker stop --time=1 eaba013a4ace4fde65e92529ed42c9c509dd2c285e8aa5ead1558eb08fe58640 [2023-02-17T22:45:19.609Z] $ docker rm -f --volumes eaba013a4ace4fde65e92529ed42c9c509dd2c285e8aa5ead1558eb08fe58640 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T22:45:20.190Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-17T22:45:20.262Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-17T22:45:20.893Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-17T22:45:21.205Z] + ls -al . [2023-02-17T22:45:21.205Z] total 236 [2023-02-17T22:45:21.205Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 22:44 . [2023-02-17T22:45:21.205Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 22:43 .. [2023-02-17T22:45:21.205Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 22:45 .git [2023-02-17T22:45:21.205Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 22:43 .github [2023-02-17T22:45:21.205Z] -rw-rw-r-- 1 jenkins jenkins 496 Feb 17 22:43 .gitignore [2023-02-17T22:45:21.205Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 17 22:43 .golangci.yml [2023-02-17T22:45:21.205Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 22:43 .semver [2023-02-17T22:45:21.205Z] -rw-rw-r-- 1 jenkins jenkins 9857 Feb 17 22:43 Attribution.txt [2023-02-17T22:45:21.205Z] -rw-rw-r-- 1 jenkins jenkins 6312 Feb 17 22:43 CHANGELOG.md [2023-02-17T22:45:21.205Z] -rw-rw-r-- 1 jenkins jenkins 1574 Feb 17 22:43 Dockerfile [2023-02-17T22:45:21.205Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 22:43 GOVERNANCE.md [2023-02-17T22:45:21.205Z] -rw-rw-r-- 1 jenkins jenkins 734 Feb 17 22:43 Jenkinsfile [2023-02-17T22:45:21.205Z] -rw-rw-r-- 1 jenkins jenkins 11348 Feb 17 22:43 LICENSE [2023-02-17T22:45:21.205Z] -rw-rw-r-- 1 jenkins jenkins 2577 Feb 17 22:43 Makefile [2023-02-17T22:45:21.205Z] -rw-rw-r-- 1 jenkins jenkins 625 Feb 17 22:43 OWNERS.md [2023-02-17T22:45:21.205Z] -rw-rw-r-- 1 jenkins jenkins 6595 Feb 17 22:43 README.md [2023-02-17T22:45:21.205Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 17 22:43 VERSION [2023-02-17T22:45:21.205Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 22:43 bin [2023-02-17T22:45:21.205Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 22:43 cmd [2023-02-17T22:45:21.205Z] -rw-r--r-- 1 jenkins jenkins 79184 Feb 17 22:45 coverage.out [2023-02-17T22:45:21.205Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 17 22:43 doc [2023-02-17T22:45:21.205Z] -rw-rw-r-- 1 jenkins jenkins 3600 Feb 17 22:43 go.mod [2023-02-17T22:45:21.205Z] -rw-rw-r-- 1 jenkins jenkins 34701 Feb 17 22:43 go.sum [2023-02-17T22:45:21.205Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 22:43 internal [2023-02-17T22:45:21.205Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 22:43 snap [2023-02-17T22:45:21.205Z] -rw-rw-r-- 1 jenkins jenkins 236 Feb 17 22:43 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:45:21.597Z] + 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=233d6d5c4a139121b4c91c5de102fdbda7adb1c0 --label arch=amd64 --label version=0.0.0 . [2023-02-17T22:45:21.597Z] Sending build context to Docker daemon 27.8MB [2023-02-17T22:45:21.597Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T22:45:21.597Z] Step 2/26 : FROM ${BASE} AS builder [2023-02-17T22:45:21.597Z] ---> b557f504f5e2 [2023-02-17T22:45:21.597Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-02-17T22:45:21.855Z] ---> Running in d0deb2a2d55c [2023-02-17T22:45:22.114Z] Removing intermediate container d0deb2a2d55c [2023-02-17T22:45:22.114Z] ---> ec0f3a0e094d [2023-02-17T22:45:22.114Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T22:45:22.114Z] ---> Running in bfe565477181 [2023-02-17T22:45:22.114Z] Removing intermediate container bfe565477181 [2023-02-17T22:45:22.114Z] ---> ac30cedc48c1 [2023-02-17T22:45:22.114Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-02-17T22:45:22.114Z] ---> Running in 04ffe565c39c [2023-02-17T22:45:22.114Z] Removing intermediate container 04ffe565c39c [2023-02-17T22:45:22.114Z] ---> 2971b4fe915a [2023-02-17T22:45:22.114Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-02-17T22:45:22.114Z] ---> Running in cea1295f2907 [2023-02-17T22:45:22.372Z] Removing intermediate container cea1295f2907 [2023-02-17T22:45:22.372Z] ---> a08506ba61c6 [2023-02-17T22:45:22.372Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-02-17T22:45:22.372Z] ---> Running in 46d380400bdd [2023-02-17T22:45:22.372Z] Removing intermediate container 46d380400bdd [2023-02-17T22:45:22.372Z] ---> 89148961bc4f [2023-02-17T22:45:22.372Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-17T22:45:22.372Z] ---> Running in 03e4cc5138ac [2023-02-17T22:45:22.631Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T22:45:23.221Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T22:45:24.163Z] OK: 211 MiB in 51 packages [2023-02-17T22:45:24.424Z] Removing intermediate container 03e4cc5138ac [2023-02-17T22:45:24.424Z] ---> 2b9c878727a9 [2023-02-17T22:45:24.424Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-02-17T22:45:24.424Z] ---> Running in 3c70c0ce498b [2023-02-17T22:45:24.424Z] Removing intermediate container 3c70c0ce498b [2023-02-17T22:45:24.424Z] ---> 5fb4a843fde4 [2023-02-17T22:45:24.424Z] Step 10/26 : COPY go.mod vendor* ./ [2023-02-17T22:45:24.682Z] ---> 0d41d611d21d [2023-02-17T22:45:24.682Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T22:45:24.682Z] ---> Running in 4a1842e83c5a [2023-02-17T22:45:25.616Z] Removing intermediate container 4a1842e83c5a [2023-02-17T22:45:25.616Z] ---> 866bd8edda61 [2023-02-17T22:45:25.616Z] Step 12/26 : COPY . . [2023-02-17T22:45:26.190Z] ---> 3a5cfc9e38c6 [2023-02-17T22:45:26.190Z] Step 13/26 : RUN ${MAKE} [2023-02-17T22:45:26.190Z] ---> Running in ee513ee15f04 [2023-02-17T22:45:26.472Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-02-17T22:45:48.478Z] Removing intermediate container ee513ee15f04 [2023-02-17T22:45:48.478Z] ---> ef4b930f6de9 [2023-02-17T22:45:48.478Z] Step 14/26 : FROM alpine:3.16 [2023-02-17T22:45:49.053Z] 3.16: Pulling from library/alpine [2023-02-17T22:45:49.824Z] ef5531b6e74e: Pulling fs layer [2023-02-17T22:45:55.179Z] ef5531b6e74e: Verifying Checksum [2023-02-17T22:45:55.179Z] ef5531b6e74e: Download complete [2023-02-17T22:45:55.179Z] ef5531b6e74e: Pull complete [2023-02-17T22:45:55.179Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-17T22:45:55.179Z] Status: Downloaded newer image for alpine:3.16 [2023-02-17T22:45:55.179Z] ---> dfd21b5a31f5 [2023-02-17T22:45:55.179Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-02-17T22:45:55.179Z] ---> Running in 93fb1925b706 [2023-02-17T22:45:55.179Z] Removing intermediate container 93fb1925b706 [2023-02-17T22:45:55.179Z] ---> 1de2b48a985f [2023-02-17T22:45:55.179Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-02-17T22:45:55.179Z] ---> Running in e89c2849dd91 [2023-02-17T22:45:55.179Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T22:46:00.710Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T22:46:15.592Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-17T22:46:15.592Z] Executing busybox-1.35.0-r17.trigger [2023-02-17T22:46:15.592Z] OK: 6 MiB in 15 packages [2023-02-17T22:46:15.592Z] Removing intermediate container e89c2849dd91 [2023-02-17T22:46:15.592Z] ---> b47d08d59cee [2023-02-17T22:46:15.592Z] Step 17/26 : WORKDIR / [2023-02-17T22:46:15.592Z] ---> Running in 476a561087c8 [2023-02-17T22:46:15.592Z] Removing intermediate container 476a561087c8 [2023-02-17T22:46:15.592Z] ---> 1c5d7fd22218 [2023-02-17T22:46:15.592Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-02-17T22:46:15.853Z] ---> 1f9e822d7bdd [2023-02-17T22:46:15.853Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-02-17T22:46:15.853Z] ---> 0b63069f994e [2023-02-17T22:46:15.853Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-02-17T22:46:16.111Z] ---> 88bce202f7ec [2023-02-17T22:46:16.111Z] Step 21/26 : EXPOSE 59984 [2023-02-17T22:46:16.111Z] ---> Running in 584a9bbe8e39 [2023-02-17T22:46:16.111Z] Removing intermediate container 584a9bbe8e39 [2023-02-17T22:46:16.111Z] ---> 9f16e2d8894b [2023-02-17T22:46:16.111Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-02-17T22:46:16.111Z] ---> Running in 7d34545a52a5 [2023-02-17T22:46:16.111Z] Removing intermediate container 7d34545a52a5 [2023-02-17T22:46:16.111Z] ---> 67e087dde0a5 [2023-02-17T22:46:16.111Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-17T22:46:16.111Z] ---> Running in a793a62068e7 [2023-02-17T22:46:16.424Z] Removing intermediate container a793a62068e7 [2023-02-17T22:46:16.424Z] ---> f19b3f5d027f [2023-02-17T22:46:16.424Z] Step 24/26 : LABEL arch=amd64 [2023-02-17T22:46:16.424Z] ---> Running in ade1be1305fc [2023-02-17T22:46:16.424Z] Removing intermediate container ade1be1305fc [2023-02-17T22:46:16.424Z] ---> fba9a2bb88a0 [2023-02-17T22:46:16.424Z] Step 25/26 : LABEL git_sha=233d6d5c4a139121b4c91c5de102fdbda7adb1c0 [2023-02-17T22:46:16.424Z] ---> Running in 3d1284b75775 [2023-02-17T22:46:16.424Z] Removing intermediate container 3d1284b75775 [2023-02-17T22:46:16.424Z] ---> 00146b72c64f [2023-02-17T22:46:16.424Z] Step 26/26 : LABEL version=0.0.0 [2023-02-17T22:46:16.424Z] ---> Running in d5ed6b96d5b7 [2023-02-17T22:46:16.424Z] Removing intermediate container d5ed6b96d5b7 [2023-02-17T22:46:16.424Z] ---> 138fb23ff86c [2023-02-17T22:46:16.424Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-17T22:46:16.436Z] Successfully built 138fb23ff86c [2023-02-17T22:46:16.436Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:46:17.232Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T22:46:17.232Z] [2023-02-17T22:46:17.232Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:46:17.617Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T22:46:17.617Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-17T22:46:17.617Z] 5eb5b503b376: Pulling fs layer [2023-02-17T22:46:17.617Z] 5c69ac0246d0: Pulling fs layer [2023-02-17T22:46:17.617Z] ec43610c2a17: Pulling fs layer [2023-02-17T22:46:17.617Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-17T22:46:17.617Z] 33b1e0a273af: Pulling fs layer [2023-02-17T22:46:17.617Z] 5d3b04190fa2: Pulling fs layer [2023-02-17T22:46:17.617Z] 2f39f015ded8: Pulling fs layer [2023-02-17T22:46:17.617Z] 2f39f015ded8: Waiting [2023-02-17T22:46:17.617Z] 33b1e0a273af: Waiting [2023-02-17T22:46:17.617Z] 5d3b04190fa2: Waiting [2023-02-17T22:46:17.617Z] 3a2ae6a8a46f: Waiting [2023-02-17T22:46:18.579Z] 5eb5b503b376: Verifying Checksum [2023-02-17T22:46:18.579Z] 5eb5b503b376: Download complete [2023-02-17T22:46:18.579Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-17T22:46:18.579Z] 3a2ae6a8a46f: Download complete [2023-02-17T22:46:18.579Z] 33b1e0a273af: Verifying Checksum [2023-02-17T22:46:18.579Z] 33b1e0a273af: Download complete [2023-02-17T22:46:18.579Z] 5d3b04190fa2: Verifying Checksum [2023-02-17T22:46:18.579Z] 5d3b04190fa2: Download complete [2023-02-17T22:46:18.841Z] 5c69ac0246d0: Verifying Checksum [2023-02-17T22:46:18.841Z] 5c69ac0246d0: Download complete [2023-02-17T22:46:19.103Z] ec43610c2a17: Verifying Checksum [2023-02-17T22:46:19.103Z] ec43610c2a17: Download complete [2023-02-17T22:46:19.362Z] 5eb5b503b376: Pull complete [2023-02-17T22:46:19.621Z] 5c69ac0246d0: Pull complete [2023-02-17T22:46:20.187Z] ec43610c2a17: Pull complete [2023-02-17T22:46:20.187Z] 3a2ae6a8a46f: Pull complete [2023-02-17T22:46:20.187Z] 2f39f015ded8: Download complete [2023-02-17T22:46:20.469Z] 33b1e0a273af: Pull complete [2023-02-17T22:46:20.469Z] 5d3b04190fa2: Pull complete [2023-02-17T22:46:24.784Z] 2f39f015ded8: Pull complete [2023-02-17T22:46:24.784Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-17T22:46:24.784Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T22:46:24.784Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T22:46:25.012Z] prd-ubuntu20.04-docker-8c-8g-6518 does not seem to be running inside a container [2023-02-17T22:46:25.027Z] $ 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-235 -v /w/workspace/undry_device-onvif-camera_PR-235:/w/workspace/undry_device-onvif-camera_PR-235:rw,z -v /w/workspace/undry_device-onvif-camera_PR-235@tmp:/w/workspace/undry_device-onvif-camera_PR-235@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-17T22:46:27.859Z] $ docker top c55d2251a82fd9e776503081c0b133cb38e618246f233a98a78fde550bbd5d2c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T22:46:28.304Z] ---> job-cost.sh [2023-02-17T22:46:28.304Z] lf-activate-venv: SKIPPING [2023-02-17T22:46:28.304Z] INFO: No Stack... [2023-02-17T22:46:29.240Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T22:46:29.807Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T22:46:30.127Z] + cat /w/workspace/undry_device-onvif-camera_PR-235/archives/cost.csv [2023-02-17T22:46:30.127Z] + cut -d, -f6 [Pipeline] lock [2023-02-17T22:46:30.165Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-235-1-stack-cost] [2023-02-17T22:46:30.170Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-235-1-stack-cost] did not exist. Created. [2023-02-17T22:46:30.170Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-235-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-17T22:46:30.562Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-17T22:46:30.615Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T22:46:30.642Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-235-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T22:46:30.701Z] $ docker stop --time=1 c55d2251a82fd9e776503081c0b133cb38e618246f233a98a78fde550bbd5d2c [2023-02-17T22:46:31.861Z] $ docker rm -f --volumes c55d2251a82fd9e776503081c0b133cb38e618246f233a98a78fde550bbd5d2c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-17T22:47:07.033Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6519 in /w/workspace/undry_device-onvif-camera_PR-235 [Pipeline] { [Pipeline] ws [2023-02-17T22:47:07.089Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-02-17T22:47:07.164Z] The recommended git tool is: git [2023-02-17T22:47:13.299Z] using credential edgex-jenkins-ssh [2023-02-17T22:47:13.323Z] Cloning the remote Git repository [2023-02-17T22:47:13.358Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-17T22:47:13.445Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-02-17T22:47:13.634Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-17T22:47:13.635Z] > git --version # timeout=10 [2023-02-17T22:47:13.658Z] > git --version # 'git version 2.25.1' [2023-02-17T22:47:13.661Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T22:47:13.731Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T22:47:27.224Z] Merging remotes/origin/main commit 4a9e67fa37862f83ef90b637e6c765491ff37d3a into PR head commit 233d6d5c4a139121b4c91c5de102fdbda7adb1c0 [2023-02-17T22:47:25.416Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-02-17T22:47:25.435Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T22:47:26.332Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-02-17T22:47:26.381Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-17T22:47:26.382Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T22:47:26.400Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/235/head:refs/remotes/origin/PR-235 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-17T22:47:27.227Z] > git config core.sparsecheckout # timeout=10 [2023-02-17T22:47:27.252Z] > git checkout -f 233d6d5c4a139121b4c91c5de102fdbda7adb1c0 # timeout=10 [2023-02-17T22:47:27.716Z] Merge succeeded, producing 233d6d5c4a139121b4c91c5de102fdbda7adb1c0 [2023-02-17T22:47:27.716Z] Checking out Revision 233d6d5c4a139121b4c91c5de102fdbda7adb1c0 (PR-235) [2023-02-17T22:47:28.632Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-bootstrap/v3" [2023-02-17T22:47:28.668Z] > git --version # timeout=10 [2023-02-17T22:47:28.680Z] > git --version # 'git version 2.25.1' [2023-02-17T22:47:28.698Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T22:47:27.577Z] > git remote # timeout=10 [2023-02-17T22:47:27.597Z] > git config --get remote.origin.url # timeout=10 [2023-02-17T22:47:27.633Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T22:47:27.648Z] > git merge 4a9e67fa37862f83ef90b637e6c765491ff37d3a # timeout=10 [2023-02-17T22:47:27.678Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-17T22:47:27.704Z] > git config core.sparsecheckout # timeout=10 [2023-02-17T22:47:27.721Z] > git checkout -f 233d6d5c4a139121b4c91c5de102fdbda7adb1c0 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T22:47:30.020Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-17T22:47:30.020Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-17T22:47:30.020Z] Dload Upload Total Spent Left Speed [2023-02-17T22:47:30.020Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 97335 0 --:--:-- --:--:-- --:--:-- 97335 [Pipeline] sh [2023-02-17T22:47:30.653Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-17T22:47:30.997Z] + sudo tee /etc/docker/daemon.new [2023-02-17T22:47:30.997Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-17T22:47:30.997Z] { [2023-02-17T22:47:30.997Z] "registry-mirrors": [ [2023-02-17T22:47:30.997Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-17T22:47:30.997Z] ], [2023-02-17T22:47:30.997Z] "bip": "10.250.0.254/24", [2023-02-17T22:47:30.997Z] "hosts": [ [2023-02-17T22:47:30.997Z] "tcp://0.0.0.0:5555", [2023-02-17T22:47:30.997Z] "unix:///var/run/docker.sock" [2023-02-17T22:47:30.997Z] ], [2023-02-17T22:47:30.997Z] "mtu": 1458, [2023-02-17T22:47:30.997Z] "selinux-enabled": true, [2023-02-17T22:47:30.997Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-17T22:47:30.997Z] } [Pipeline] sh [2023-02-17T22:47:31.337Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-17T22:47:31.677Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T22:47:50.059Z] provisioning config files... [2023-02-17T22:47:50.085Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config901226788643348565tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T22:47:50.469Z] ---> docker-login.sh [2023-02-17T22:47:50.469Z] nexus3.edgexfoundry.org:10001 [2023-02-17T22:47:51.058Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:47:51.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:47:51.327Z] Configure a credential helper to remove this warning. See [2023-02-17T22:47:51.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:47:51.327Z] [2023-02-17T22:47:51.327Z] Login Succeeded [2023-02-17T22:47:51.327Z] nexus3.edgexfoundry.org:10002 [2023-02-17T22:47:51.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:47:51.598Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:47:51.598Z] Configure a credential helper to remove this warning. See [2023-02-17T22:47:51.598Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:47:51.598Z] [2023-02-17T22:47:51.598Z] Login Succeeded [2023-02-17T22:47:51.598Z] nexus3.edgexfoundry.org:10003 [2023-02-17T22:47:51.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:47:52.143Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:47:52.143Z] Configure a credential helper to remove this warning. See [2023-02-17T22:47:52.143Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:47:52.143Z] [2023-02-17T22:47:52.143Z] Login Succeeded [2023-02-17T22:47:52.143Z] nexus3.edgexfoundry.org:10004 [2023-02-17T22:47:52.143Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:47:52.412Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:47:52.412Z] Configure a credential helper to remove this warning. See [2023-02-17T22:47:52.412Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:47:52.412Z] [2023-02-17T22:47:52.412Z] Login Succeeded [2023-02-17T22:47:52.412Z] docker.io [2023-02-17T22:47:52.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T22:47:52.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T22:47:52.946Z] Configure a credential helper to remove this warning. See [2023-02-17T22:47:52.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T22:47:52.946Z] [2023-02-17T22:47:52.946Z] Login Succeeded [2023-02-17T22:47:52.946Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T22:47:52.981Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-17T22:47:53.314Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T22:47:53.349Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T22:47:53.380Z] ========================================================= [2023-02-17T22:47:53.380Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-17T22:47:53.380Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:47:53.872Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-17T22:47:54.460Z] Sending build context to Docker daemon 20.54MB [2023-02-17T22:47:54.460Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T22:47:54.460Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-17T22:47:54.730Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-17T22:47:54.730Z] 9b18e9b68314: Pulling fs layer [2023-02-17T22:47:54.730Z] 35d82f9e3411: Pulling fs layer [2023-02-17T22:47:54.730Z] e16973657156: Pulling fs layer [2023-02-17T22:47:54.730Z] fc693d55d65f: Pulling fs layer [2023-02-17T22:47:54.730Z] 7e9fc2657dce: Pulling fs layer [2023-02-17T22:47:54.730Z] dda99020689f: Pulling fs layer [2023-02-17T22:47:54.730Z] db1c61fa0a46: Pulling fs layer [2023-02-17T22:47:54.730Z] 891c053d2c06: Pulling fs layer [2023-02-17T22:47:54.730Z] fc693d55d65f: Waiting [2023-02-17T22:47:54.730Z] 7e9fc2657dce: Waiting [2023-02-17T22:47:54.730Z] dda99020689f: Waiting [2023-02-17T22:47:54.730Z] db1c61fa0a46: Waiting [2023-02-17T22:47:54.730Z] 891c053d2c06: Waiting [2023-02-17T22:47:54.730Z] e16973657156: Download complete [2023-02-17T22:47:54.730Z] 35d82f9e3411: Verifying Checksum [2023-02-17T22:47:54.730Z] 35d82f9e3411: Download complete [2023-02-17T22:47:54.730Z] 7e9fc2657dce: Verifying Checksum [2023-02-17T22:47:54.730Z] 7e9fc2657dce: Download complete [2023-02-17T22:47:54.730Z] 9b18e9b68314: Verifying Checksum [2023-02-17T22:47:54.730Z] dda99020689f: Verifying Checksum [2023-02-17T22:47:54.730Z] dda99020689f: Download complete [2023-02-17T22:47:55.700Z] 9b18e9b68314: Pull complete [2023-02-17T22:47:55.968Z] 891c053d2c06: Verifying Checksum [2023-02-17T22:47:55.968Z] 891c053d2c06: Download complete [2023-02-17T22:47:56.238Z] 35d82f9e3411: Pull complete [2023-02-17T22:47:56.512Z] e16973657156: Pull complete [2023-02-17T22:47:57.105Z] db1c61fa0a46: Verifying Checksum [2023-02-17T22:47:57.105Z] db1c61fa0a46: Download complete [2023-02-17T22:47:57.690Z] fc693d55d65f: Verifying Checksum [2023-02-17T22:47:57.690Z] fc693d55d65f: Download complete [2023-02-17T22:48:10.035Z] fc693d55d65f: Pull complete [2023-02-17T22:48:10.035Z] 7e9fc2657dce: Pull complete [2023-02-17T22:48:10.035Z] dda99020689f: Pull complete [2023-02-17T22:48:16.703Z] db1c61fa0a46: Pull complete [2023-02-17T22:48:18.660Z] 891c053d2c06: Pull complete [2023-02-17T22:48:18.660Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-17T22:48:18.660Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-17T22:48:18.660Z] ---> f96f9c87975a [2023-02-17T22:48:18.660Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-17T22:48:20.611Z] ---> Running in 479242abd797 [2023-02-17T22:48:20.880Z] Removing intermediate container 479242abd797 [2023-02-17T22:48:20.880Z] ---> 114b1566aff4 [2023-02-17T22:48:20.880Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T22:48:21.149Z] ---> Running in db9e13f17731 [2023-02-17T22:48:21.416Z] Removing intermediate container db9e13f17731 [2023-02-17T22:48:21.416Z] ---> 431d9e3f6bdc [2023-02-17T22:48:21.416Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-02-17T22:48:21.416Z] ---> Running in 6385fda602f1 [2023-02-17T22:48:21.684Z] Removing intermediate container 6385fda602f1 [2023-02-17T22:48:21.684Z] ---> 277a78efa5ad [2023-02-17T22:48:21.684Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-02-17T22:48:21.985Z] ---> Running in 916e6742fb37 [2023-02-17T22:48:22.254Z] Removing intermediate container 916e6742fb37 [2023-02-17T22:48:22.254Z] ---> 373ef9663b1e [2023-02-17T22:48:22.254Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-02-17T22:48:22.254Z] ---> Running in f3b8d923f57f [2023-02-17T22:48:22.525Z] Removing intermediate container f3b8d923f57f [2023-02-17T22:48:22.525Z] ---> 1b914daf3845 [2023-02-17T22:48:22.525Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-17T22:48:22.525Z] ---> Running in f8c62bdd0bad [2023-02-17T22:48:23.951Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T22:48:24.229Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T22:48:25.194Z] OK: 221 MiB in 51 packages [2023-02-17T22:48:26.161Z] Removing intermediate container f8c62bdd0bad [2023-02-17T22:48:26.161Z] ---> 5aa28c3dbe33 [2023-02-17T22:48:26.161Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-02-17T22:48:26.161Z] ---> Running in 3371f1fac15f [2023-02-17T22:48:26.430Z] Removing intermediate container 3371f1fac15f [2023-02-17T22:48:26.430Z] ---> e1e2a7cfc439 [2023-02-17T22:48:26.430Z] Step 10/13 : COPY go.mod vendor* ./ [2023-02-17T22:48:26.700Z] ---> 0e8272ffe521 [2023-02-17T22:48:26.700Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T22:48:26.973Z] ---> Running in 128547d76cdf [2023-02-17T22:49:48.619Z] Removing intermediate container 128547d76cdf [2023-02-17T22:49:48.620Z] ---> ccb78c85ab5d [2023-02-17T22:49:48.620Z] Step 12/13 : COPY . . [2023-02-17T22:49:50.574Z] ---> da3c4fc605d9 [2023-02-17T22:49:50.574Z] Step 13/13 : RUN ${MAKE} [2023-02-17T22:49:50.574Z] ---> Running in 5ae85c9461d5 [2023-02-17T22:49:51.542Z] noop [2023-02-17T22:49:52.131Z] Removing intermediate container 5ae85c9461d5 [2023-02-17T22:49:52.131Z] ---> 7be63558b3f1 [2023-02-17T22:49:52.403Z] Successfully built 7be63558b3f1 [2023-02-17T22:49:52.403Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:49:52.894Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T22:49:52.894Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T22:49:53.149Z] prd-ubuntu20.04-docker-arm64-4c-16g-6519 does not seem to be running inside a container [2023-02-17T22:49:53.211Z] $ 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 [2023-02-17T22:49:54.424Z] $ docker top 6d341711ce1d047b58a29b0b1083858f7adbdbef6d5973726134876015603017 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T22:49:55.337Z] + go version [2023-02-17T22:49:55.337Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-17T22:49:55.367Z] $ docker stop --time=1 6d341711ce1d047b58a29b0b1083858f7adbdbef6d5973726134876015603017 [2023-02-17T22:49:56.983Z] $ docker rm -f --volumes 6d341711ce1d047b58a29b0b1083858f7adbdbef6d5973726134876015603017 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:49:57.819Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T22:49:57.819Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T22:49:58.084Z] prd-ubuntu20.04-docker-arm64-4c-16g-6519 does not seem to be running inside a container [2023-02-17T22:49:58.147Z] $ 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 [2023-02-17T22:49:59.532Z] $ docker top b601233f8bd99383dac572aa02ca3071c313f3602b13cca4c6d77e03f348ef56 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T22:50:00.433Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-02-17T22:50:01.159Z] + make test [2023-02-17T22:50:01.159Z] go test ./... -coverprofile=coverage.out ./... [2023-02-17T22:50:03.117Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-02-17T22:51:39.844Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-02-17T22:51:39.844Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.200s coverage: 29.3% of statements [2023-02-17T22:51:39.844Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-02-17T22:51:58.078Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.381s coverage: 86.5% of statements [2023-02-17T22:51:58.078Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-17T22:51:58.078Z] go vet ./... [2023-02-17T22:52:20.151Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-17T22:52:20.151Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-17T22:52:20.151Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-17T22:52:20.193Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-17T22:52:20.221Z] $ docker stop --time=1 b601233f8bd99383dac572aa02ca3071c313f3602b13cca4c6d77e03f348ef56 [2023-02-17T22:52:22.048Z] $ docker rm -f --volumes b601233f8bd99383dac572aa02ca3071c313f3602b13cca4c6d77e03f348ef56 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T22:52:23.085Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-17T22:52:23.117Z] Warning: overwriting stash ‘coverage-report’ [2023-02-17T22:52:23.672Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T22:52:24.264Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-17T22:52:24.601Z] + ls -al . [2023-02-17T22:52:24.601Z] total 232 [2023-02-17T22:52:24.601Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 17 22:50 . [2023-02-17T22:52:24.601Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 22:47 .. [2023-02-17T22:52:24.601Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 22:47 .git [2023-02-17T22:52:24.601Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 22:47 .github [2023-02-17T22:52:24.601Z] -rw-rw-r-- 1 jenkins jenkins 496 Feb 17 22:47 .gitignore [2023-02-17T22:52:24.601Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 17 22:47 .golangci.yml [2023-02-17T22:52:24.601Z] -rw-rw-r-- 1 jenkins jenkins 9857 Feb 17 22:47 Attribution.txt [2023-02-17T22:52:24.601Z] -rw-rw-r-- 1 jenkins jenkins 6312 Feb 17 22:47 CHANGELOG.md [2023-02-17T22:52:24.601Z] -rw-rw-r-- 1 jenkins jenkins 1574 Feb 17 22:47 Dockerfile [2023-02-17T22:52:24.601Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 22:47 GOVERNANCE.md [2023-02-17T22:52:24.601Z] -rw-rw-r-- 1 jenkins jenkins 734 Feb 17 22:47 Jenkinsfile [2023-02-17T22:52:24.601Z] -rw-rw-r-- 1 jenkins jenkins 11348 Feb 17 22:47 LICENSE [2023-02-17T22:52:24.601Z] -rw-rw-r-- 1 jenkins jenkins 2577 Feb 17 22:47 Makefile [2023-02-17T22:52:24.601Z] -rw-rw-r-- 1 jenkins jenkins 625 Feb 17 22:47 OWNERS.md [2023-02-17T22:52:24.601Z] -rw-rw-r-- 1 jenkins jenkins 6595 Feb 17 22:47 README.md [2023-02-17T22:52:24.601Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 17 22:43 VERSION [2023-02-17T22:52:24.601Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 22:47 bin [2023-02-17T22:52:24.601Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 22:47 cmd [2023-02-17T22:52:24.601Z] -rw-r--r-- 1 jenkins jenkins 79184 Feb 17 22:51 coverage.out [2023-02-17T22:52:24.601Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 17 22:47 doc [2023-02-17T22:52:24.601Z] -rw-rw-r-- 1 jenkins jenkins 3600 Feb 17 22:47 go.mod [2023-02-17T22:52:24.601Z] -rw-rw-r-- 1 jenkins jenkins 34701 Feb 17 22:47 go.sum [2023-02-17T22:52:24.601Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 22:47 internal [2023-02-17T22:52:24.601Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 22:47 snap [2023-02-17T22:52:24.601Z] -rw-rw-r-- 1 jenkins jenkins 236 Feb 17 22:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:52:25.023Z] + 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=233d6d5c4a139121b4c91c5de102fdbda7adb1c0 --label arch=arm64 --label version=0.0.0 . [2023-02-17T22:52:25.610Z] Sending build context to Docker daemon 20.62MB [2023-02-17T22:52:25.610Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T22:52:25.610Z] Step 2/26 : FROM ${BASE} AS builder [2023-02-17T22:52:25.610Z] ---> 7be63558b3f1 [2023-02-17T22:52:25.610Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-02-17T22:52:25.881Z] ---> Running in 8e4aca83b677 [2023-02-17T22:52:26.147Z] Removing intermediate container 8e4aca83b677 [2023-02-17T22:52:26.147Z] ---> 6a5fb6735700 [2023-02-17T22:52:26.147Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T22:52:26.147Z] ---> Running in 9a9158f9a214 [2023-02-17T22:52:26.416Z] Removing intermediate container 9a9158f9a214 [2023-02-17T22:52:26.416Z] ---> b2bc82797953 [2023-02-17T22:52:26.416Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-02-17T22:52:26.416Z] ---> Running in ec82f0fbb1c1 [2023-02-17T22:52:27.003Z] Removing intermediate container ec82f0fbb1c1 [2023-02-17T22:52:27.003Z] ---> d639f8d25650 [2023-02-17T22:52:27.003Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-02-17T22:52:27.003Z] ---> Running in 8945b3fb2eb6 [2023-02-17T22:52:27.271Z] Removing intermediate container 8945b3fb2eb6 [2023-02-17T22:52:27.271Z] ---> 24057b7a7697 [2023-02-17T22:52:27.271Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-02-17T22:52:27.271Z] ---> Running in 51469b1cf8ce [2023-02-17T22:52:27.542Z] Removing intermediate container 51469b1cf8ce [2023-02-17T22:52:27.542Z] ---> 6666d6ff3bfa [2023-02-17T22:52:27.542Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-17T22:52:27.542Z] ---> Running in 642ba40364ca [2023-02-17T22:52:28.516Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T22:52:29.101Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T22:52:30.065Z] OK: 221 MiB in 51 packages [2023-02-17T22:52:31.030Z] Removing intermediate container 642ba40364ca [2023-02-17T22:52:31.030Z] ---> 032a6aef5d5c [2023-02-17T22:52:31.030Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-02-17T22:52:31.302Z] ---> Running in 1eb78d92dce5 [2023-02-17T22:52:31.571Z] Removing intermediate container 1eb78d92dce5 [2023-02-17T22:52:31.571Z] ---> f9ea45a0c44f [2023-02-17T22:52:31.571Z] Step 10/26 : COPY go.mod vendor* ./ [2023-02-17T22:52:32.157Z] ---> 58f2f6f50ab8 [2023-02-17T22:52:32.157Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T22:52:32.157Z] ---> Running in 2087bad5d393 [2023-02-17T22:52:34.750Z] Removing intermediate container 2087bad5d393 [2023-02-17T22:52:34.750Z] ---> 5b3d6a894de4 [2023-02-17T22:52:34.750Z] Step 12/26 : COPY . . [2023-02-17T22:52:36.695Z] ---> 965d02776af0 [2023-02-17T22:52:36.695Z] Step 13/26 : RUN ${MAKE} [2023-02-17T22:52:36.695Z] ---> Running in 19a218fce2fb [2023-02-17T22:52:37.283Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-02-17T22:54:59.292Z] Removing intermediate container 19a218fce2fb [2023-02-17T22:54:59.292Z] ---> 0a2ec89eac8b [2023-02-17T22:54:59.292Z] Step 14/26 : FROM alpine:3.16 [2023-02-17T22:54:59.292Z] 3.16: Pulling from library/alpine [2023-02-17T22:54:59.292Z] 3760b48202b3: Pulling fs layer [2023-02-17T22:54:59.292Z] 3760b48202b3: Verifying Checksum [2023-02-17T22:54:59.292Z] 3760b48202b3: Download complete [2023-02-17T22:54:59.292Z] 3760b48202b3: Pull complete [2023-02-17T22:54:59.292Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-17T22:54:59.292Z] Status: Downloaded newer image for alpine:3.16 [2023-02-17T22:54:59.292Z] ---> 4c81e5bf8899 [2023-02-17T22:54:59.292Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-02-17T22:54:59.292Z] ---> Running in b4ef2b597ec5 [2023-02-17T22:54:59.292Z] Removing intermediate container b4ef2b597ec5 [2023-02-17T22:54:59.292Z] ---> 18f3fbd0e4d6 [2023-02-17T22:54:59.292Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-02-17T22:54:59.292Z] ---> Running in d2de16c8a644 [2023-02-17T22:54:59.292Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T22:54:59.292Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T22:54:59.292Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-17T22:54:59.292Z] Executing busybox-1.35.0-r17.trigger [2023-02-17T22:54:59.292Z] OK: 5 MiB in 15 packages [2023-02-17T22:54:59.292Z] Removing intermediate container d2de16c8a644 [2023-02-17T22:54:59.292Z] ---> 2f7e33202d30 [2023-02-17T22:54:59.292Z] Step 17/26 : WORKDIR / [2023-02-17T22:54:59.292Z] ---> Running in 2f965ab21047 [2023-02-17T22:54:59.292Z] Removing intermediate container 2f965ab21047 [2023-02-17T22:54:59.292Z] ---> cfeee3429a79 [2023-02-17T22:54:59.292Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-02-17T22:54:59.292Z] ---> b38ee506ce89 [2023-02-17T22:54:59.292Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-02-17T22:54:59.292Z] ---> 39eac0075c31 [2023-02-17T22:54:59.292Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-02-17T22:54:59.292Z] ---> 740f94b7703c [2023-02-17T22:54:59.292Z] Step 21/26 : EXPOSE 59984 [2023-02-17T22:54:59.292Z] ---> Running in a9b8cc2b9953 [2023-02-17T22:54:59.292Z] Removing intermediate container a9b8cc2b9953 [2023-02-17T22:54:59.292Z] ---> cd09b0eff115 [2023-02-17T22:54:59.292Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-02-17T22:54:59.292Z] ---> Running in 174ee1b46e31 [2023-02-17T22:54:59.292Z] Removing intermediate container 174ee1b46e31 [2023-02-17T22:54:59.292Z] ---> ba750ce814b4 [2023-02-17T22:54:59.292Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-17T22:54:59.292Z] ---> Running in 6e20f3b7ea65 [2023-02-17T22:54:59.292Z] Removing intermediate container 6e20f3b7ea65 [2023-02-17T22:54:59.292Z] ---> 709856599bdf [2023-02-17T22:54:59.292Z] Step 24/26 : LABEL arch=arm64 [2023-02-17T22:54:59.292Z] ---> Running in 7f2f7258274e [2023-02-17T22:54:59.292Z] Removing intermediate container 7f2f7258274e [2023-02-17T22:54:59.292Z] ---> 856e14688ffa [2023-02-17T22:54:59.292Z] Step 25/26 : LABEL git_sha=233d6d5c4a139121b4c91c5de102fdbda7adb1c0 [2023-02-17T22:54:59.292Z] ---> Running in 766db4465ab7 [2023-02-17T22:54:59.292Z] Removing intermediate container 766db4465ab7 [2023-02-17T22:54:59.292Z] ---> b01a9b2b1fdd [2023-02-17T22:54:59.292Z] Step 26/26 : LABEL version=0.0.0 [2023-02-17T22:54:59.292Z] ---> Running in 380d7d6c761f [2023-02-17T22:54:59.292Z] Removing intermediate container 380d7d6c761f [2023-02-17T22:54:59.292Z] ---> ef0a3fa6f678 [2023-02-17T22:54:59.292Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-17T22:54:59.292Z] Successfully built ef0a3fa6f678 [2023-02-17T22:54:59.292Z] 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 [2023-02-17T22:55:00.102Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T22:55:00.102Z] [2023-02-17T22:55:00.102Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:55:00.509Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T22:55:00.509Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-17T22:55:00.509Z] 8998bd30e6a1: Pulling fs layer [2023-02-17T22:55:00.509Z] 04944245beec: Pulling fs layer [2023-02-17T22:55:00.509Z] 699f458cf7ca: Pulling fs layer [2023-02-17T22:55:00.509Z] 765212b225bb: Pulling fs layer [2023-02-17T22:55:00.509Z] f23df028b6ca: Pulling fs layer [2023-02-17T22:55:00.509Z] d65c8cfc05b1: Pulling fs layer [2023-02-17T22:55:00.509Z] 2437ff75d9bd: Pulling fs layer [2023-02-17T22:55:00.509Z] f23df028b6ca: Waiting [2023-02-17T22:55:00.509Z] d65c8cfc05b1: Waiting [2023-02-17T22:55:00.509Z] 2437ff75d9bd: Waiting [2023-02-17T22:55:00.509Z] 765212b225bb: Waiting [2023-02-17T22:55:00.776Z] 04944245beec: Verifying Checksum [2023-02-17T22:55:00.776Z] 04944245beec: Download complete [2023-02-17T22:55:00.776Z] 765212b225bb: Download complete [2023-02-17T22:55:00.776Z] f23df028b6ca: Verifying Checksum [2023-02-17T22:55:00.776Z] f23df028b6ca: Download complete [2023-02-17T22:55:00.776Z] d65c8cfc05b1: Verifying Checksum [2023-02-17T22:55:00.776Z] d65c8cfc05b1: Download complete [2023-02-17T22:55:01.043Z] 699f458cf7ca: Verifying Checksum [2023-02-17T22:55:01.043Z] 699f458cf7ca: Download complete [2023-02-17T22:55:01.310Z] 8998bd30e6a1: Download complete [2023-02-17T22:55:03.248Z] 2437ff75d9bd: Verifying Checksum [2023-02-17T22:55:03.248Z] 2437ff75d9bd: Download complete [2023-02-17T22:55:05.187Z] 8998bd30e6a1: Pull complete [2023-02-17T22:55:05.187Z] 04944245beec: Pull complete [2023-02-17T22:55:06.594Z] 699f458cf7ca: Pull complete [2023-02-17T22:55:06.862Z] 765212b225bb: Pull complete [2023-02-17T22:55:07.443Z] f23df028b6ca: Pull complete [2023-02-17T22:55:07.709Z] d65c8cfc05b1: Pull complete [2023-02-17T22:55:22.694Z] 2437ff75d9bd: Pull complete [2023-02-17T22:55:22.694Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-17T22:55:22.694Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T22:55:22.694Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T22:55:23.018Z] prd-ubuntu20.04-docker-arm64-4c-16g-6519 does not seem to be running inside a container [2023-02-17T22:55:23.069Z] $ 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 [2023-02-17T22:55:25.464Z] $ docker top c7c5f39dc7185d0b0b7bc56ffe6930f56fb4d95c471513933e885184cf680f10 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T22:55:26.027Z] ---> job-cost.sh [2023-02-17T22:55:26.293Z] lf-activate-venv: SKIPPING [2023-02-17T22:55:26.293Z] INFO: No Stack... [2023-02-17T22:55:26.558Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-17T22:55:27.514Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T22:55:27.856Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-02-17T22:55:27.856Z] + cut -d, -f6 [Pipeline] lock [2023-02-17T22:55:28.185Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-235-1-stack-cost] [2023-02-17T22:55:28.193Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-235-1-stack-cost] did not exist. Created. [2023-02-17T22:55:28.193Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-235-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-17T22:55:28.592Z] /w/workspace/device-onvif-camera/1@tmp/durable-7483230d/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-17T22:55:28.940Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-17T22:55:28.975Z] Warning: overwriting stash ‘stack-cost’ [2023-02-17T22:55:29.034Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T22:55:29.047Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-235-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T22:55:29.114Z] $ docker stop --time=1 c7c5f39dc7185d0b0b7bc56ffe6930f56fb4d95c471513933e885184cf680f10 [2023-02-17T22:55:30.594Z] $ docker rm -f --volumes c7c5f39dc7185d0b0b7bc56ffe6930f56fb4d95c471513933e885184cf680f10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-17T22:55:31.567Z] provisioning config files... [2023-02-17T22:55:31.575Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-235@tmp/config1662993284845028302tmp [Pipeline] { [Pipeline] sh [2023-02-17T22:55:31.906Z] + set +x [2023-02-17T22:55:31.906Z] + curl -s https://codecov.io/bash [2023-02-17T22:55:31.906Z] + bash -s -- [2023-02-17T22:55:31.906Z] [2023-02-17T22:55:31.906Z] _____ _ [2023-02-17T22:55:31.906Z] / ____| | | [2023-02-17T22:55:31.906Z] | | ___ __| | ___ ___ _____ __ [2023-02-17T22:55:31.906Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-17T22:55:31.906Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-17T22:55:31.906Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-17T22:55:31.906Z] Bash-1.0.6 [2023-02-17T22:55:31.906Z] [2023-02-17T22:55:31.906Z] [2023-02-17T22:55:31.906Z] ==> git version 2.25.1 found [2023-02-17T22:55:31.906Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-17T22:55:31.906Z] Release-Date: 2020-01-08 [2023-02-17T22:55:31.906Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-17T22:55:31.906Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-17T22:55:31.906Z] ==> Jenkins CI detected. [2023-02-17T22:55:31.906Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-235 [2023-02-17T22:55:31.906Z] project root: . [2023-02-17T22:55:31.906Z] --> token set from env [2023-02-17T22:55:31.906Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-17T22:55:31.906Z] ==> Running gcov in . (disable via -X gcov) [2023-02-17T22:55:31.906Z] ==> Python coveragepy not found [2023-02-17T22:55:31.906Z] ==> Searching for coverage reports in: [2023-02-17T22:55:31.906Z] + . [2023-02-17T22:55:31.906Z] -> Found 1 reports [2023-02-17T22:55:31.906Z] ==> Detecting git/mercurial file structure [2023-02-17T22:55:31.906Z] ==> Reading reports [2023-02-17T22:55:31.906Z] + ./coverage.out bytes=79184 [2023-02-17T22:55:31.906Z] ==> Appending adjustments [2023-02-17T22:55:31.906Z] https://docs.codecov.io/docs/fixing-reports [2023-02-17T22:55:32.164Z] + Found adjustments [2023-02-17T22:55:32.164Z] ==> Gzipping contents [2023-02-17T22:55:32.164Z] 12K /tmp/codecov.I1y2mw.gz [2023-02-17T22:55:32.164Z] ==> Uploading reports [2023-02-17T22:55:32.164Z] url: https://codecov.io [2023-02-17T22:55:32.164Z] query: branch=PR-235&commit=233d6d5c4a139121b4c91c5de102fdbda7adb1c0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-235%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=235&job=&cmd_args= [2023-02-17T22:55:32.164Z] -> Pinging Codecov [2023-02-17T22:55:32.164Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-235&commit=233d6d5c4a139121b4c91c5de102fdbda7adb1c0&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-235%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=235&job=&cmd_args= [2023-02-17T22:55:32.424Z] -> Uploading to [2023-02-17T22:55:32.424Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-17/F29A59C45E3A92E06B3E522C9905F8EF/233d6d5c4a139121b4c91c5de102fdbda7adb1c0/b7dfc78f-e5e9-4657-ac11-774a398b4613.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230217%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230217T225532Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=af18e0fa0b4e62a7d3a23cc9220a15f904b613a7121de518341f6646925c6da0 [2023-02-17T22:55:32.424Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-17T22:55:32.424Z] Dload Upload Total Spent Left Speed [2023-02-17T22:55:32.682Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10863 0 0 100 10863 0 48713 --:--:-- --:--:-- --:--:-- 48495 100 10863 0 0 100 10863 0 40533 --:--:-- --:--:-- --:--:-- 40533 [2023-02-17T22:55:32.683Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/233d6d5c4a139121b4c91c5de102fdbda7adb1c0 [Pipeline] } [2023-02-17T22:55:32.709Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-17T22:55:34.462Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-235/archives ] [2023-02-17T22:55:34.462Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-235/archives [2023-02-17T22:55:34.462Z] total 16 [2023-02-17T22:55:34.462Z] drwxr-xr-x 3 root root 4096 Feb 17 22:46 . [2023-02-17T22:55:34.462Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 17 22:46 .. [2023-02-17T22:55:34.462Z] drwxr-xr-x 2 root root 4096 Feb 17 22:46 cost [2023-02-17T22:55:34.462Z] -rw-r--r-- 1 root root 91 Feb 17 22:46 cost.csv [2023-02-17T22:55:34.462Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-235/archives [2023-02-17T22:55:34.462Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-235/archives [2023-02-17T22:55:34.462Z] total 16 [2023-02-17T22:55:34.462Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 22:46 . [2023-02-17T22:55:34.462Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 17 22:46 .. [2023-02-17T22:55:34.462Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 17 22:46 cost [2023-02-17T22:55:34.462Z] -rw-r--r-- 1 jenkins jenkins 91 Feb 17 22:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-17T22:55:34.788Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T22:55:35.677Z] ---> package-listing.sh [2023-02-17T22:55:35.677Z] ++ facter osfamily [2023-02-17T22:55:35.677Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-17T22:55:35.935Z] + OS_FAMILY=debian [2023-02-17T22:55:35.935Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-235 [2023-02-17T22:55:35.935Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-17T22:55:35.935Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-17T22:55:35.935Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-17T22:55:35.935Z] + PACKAGES=/tmp/packages_start.txt [2023-02-17T22:55:35.935Z] + '[' /w/workspace/undry_device-onvif-camera_PR-235 ']' [2023-02-17T22:55:35.935Z] + PACKAGES=/tmp/packages_end.txt [2023-02-17T22:55:35.935Z] + case "${OS_FAMILY}" in [2023-02-17T22:55:35.935Z] + dpkg -l [2023-02-17T22:55:35.935Z] + grep '^ii' [2023-02-17T22:55:35.935Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-17T22:55:35.935Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-17T22:55:35.935Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-17T22:55:35.935Z] + '[' /w/workspace/undry_device-onvif-camera_PR-235 ']' [2023-02-17T22:55:35.935Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-235/archives/ [2023-02-17T22:55:35.935Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-235/archives/ [Pipeline] echo [2023-02-17T22:55:35.969Z] 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-235/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-17T22:55:36.259Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T22:55:36.891Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T22:55:36.891Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T22:55:37.047Z] prd-ubuntu20.04-docker-8c-8g-6518 does not seem to be running inside a container [2023-02-17T22:55:37.024Z] $ 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-235/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-235 -v /w/workspace/undry_device-onvif-camera_PR-235:/w/workspace/undry_device-onvif-camera_PR-235:rw,z -v /w/workspace/undry_device-onvif-camera_PR-235@tmp:/w/workspace/undry_device-onvif-camera_PR-235@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-17T22:55:37.705Z] $ docker top dc822519013e7b4cf73b4dfb44631a2ec20126cfd4c49974060f8fb7d11aba5c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T22:55:38.150Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-17T22:55:38.461Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-17T22:55:38.769Z] + ls /var/log/sa-host [2023-02-17T22:55:38.769Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T22:55:38.914Z] provisioning config files... [2023-02-17T22:55:38.926Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-235@tmp/config4163221121484854303tmp [Pipeline] { [Pipeline] echo [2023-02-17T22:55:38.974Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T22:55:39.285Z] ---> create-netrc.sh [Pipeline] } [2023-02-17T22:55:39.312Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-17T22:55:39.708Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-17T22:55:39.740Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T22:55:40.047Z] ---> sudo-logs.sh [2023-02-17T22:55:40.047Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-17T22:55:40.126Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T22:55:40.439Z] ---> job-cost.sh [2023-02-17T22:55:40.439Z] lf-activate-venv: SKIPPING [2023-02-17T22:55:40.439Z] DEBUG: total: 0.2199999988079071 [2023-02-17T22:55:40.439Z] INFO: Retrieving Stack Cost... [2023-02-17T22:55:40.700Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T22:55:41.267Z] INFO: Archiving Costs [Pipeline] echo [2023-02-17T22:55:41.302Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T22:55:41.612Z] ---> logs-deploy.sh [2023-02-17T22:55:41.612Z] lf-activate-venv: SKIPPING [2023-02-17T22:55:41.612Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-235/1 [2023-02-17T22:55:41.612Z] INFO: archiving workspace using pattern(s): [2023-02-17T22:55:42.547Z] Archives upload complete. [2023-02-17T22:55:42.547Z] INFO: archiving logs to Nexus