Pull request #209 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 848d5d618f3ca3205f9827ec1c0cd48d03305e40 rather than 0fb21387cb8d5a766d9eb95475eed14f3b06cd7f Obtained Jenkinsfile from 848d5d618f3ca3205f9827ec1c0cd48d03305e40 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-ssh10379100607136448449.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-ssh8485432867598063653.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-209/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-209/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh658292395913012526.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-209/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6488117069672348472.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-ssh4485717686125321516.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-209/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-209/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh13885955813240303329.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-1738’ Running on prd-ubuntu20.04-docker-8c-8g-1740 in /w/workspace/undry_device-onvif-camera_PR-209 [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-209 # 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/209/head:refs/remotes/origin/PR-209 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 848d5d618f3ca3205f9827ec1c0cd48d03305e40 into PR head commit 0fb21387cb8d5a766d9eb95475eed14f3b06cd7f Merge succeeded, producing 0fb21387cb8d5a766d9eb95475eed14f3b06cd7f Checking out Revision 0fb21387cb8d5a766d9eb95475eed14f3b06cd7f (PR-209) > git config core.sparsecheckout # timeout=10 > git checkout -f 0fb21387cb8d5a766d9eb95475eed14f3b06cd7f # 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 848d5d618f3ca3205f9827ec1c0cd48d03305e40 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0fb21387cb8d5a766d9eb95475eed14f3b06cd7f # timeout=10 Commit message: "build: fixed small issue in makefile" 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-01-10T22:31:31.012Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-10T22:31:31.167Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-10T22:31:31.253Z] ========================================================= [2023-01-10T22:31:31.253Z] EdgeX Global Pipelines Version Info [2023-01-10T22:31:31.253Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-10T22:31:31.990Z] ------------------- [2023-01-10T22:31:31.990Z] stable info: [2023-01-10T22:31:31.990Z] ------------------- [2023-01-10T22:31:31.990Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-10T22:31:31.990Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T22:31:31.990Z] Message: update stable to v1.0.244 [2023-01-10T22:31:32.560Z] ------------------- [2023-01-10T22:31:32.560Z] experimental info: [2023-01-10T22:31:32.560Z] ------------------- [2023-01-10T22:31:32.560Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-10T22:31:32.560Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-10T22:31:32.560Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-10T22:31:32.860Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-01-10T22:31:32.898Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-01-10T22:31:32.934Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-10T22:31:32.972Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-10T22:31:33.010Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-10T22:31:33.049Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-10T22:31:33.100Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-10T22:31:33.141Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-10T22:31:33.178Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-10T22:31:33.215Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-10T22:31:33.255Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-10T22:31:33.293Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-01-10T22:31:33.371Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-10T22:31:33.407Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-10T22:31:33.442Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T22:31:33.481Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-10T22:31:33.518Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T22:31:33.559Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-10T22:31:33.597Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-10T22:31:33.635Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-10T22:31:33.680Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-10T22:31:33.724Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-01-10T22:31:33.765Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-10T22:31:33.800Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-10T22:31:33.835Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-10T22:31:33.875Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-10T22:31:33.918Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-10T22:31:33.958Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-209 [Pipeline] echo [2023-01-10T22:31:33.996Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-209 [Pipeline] echo [2023-01-10T22:31:34.033Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-209 [Pipeline] echo [2023-01-10T22:31:34.068Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0fb21387cb8d5a766d9eb95475eed14f3b06cd7f [Pipeline] echo [2023-01-10T22:31:34.106Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0fb2138 [Pipeline] echo [2023-01-10T22:31:34.144Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T22:31:34.252Z] provisioning config files... [2023-01-10T22:31:34.265Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-209@tmp/config7471357115716699220tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T22:31:34.609Z] ---> docker-login.sh [2023-01-10T22:31:34.609Z] nexus3.edgexfoundry.org:10001 [2023-01-10T22:31:34.869Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T22:31:34.869Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T22:31:34.869Z] Configure a credential helper to remove this warning. See [2023-01-10T22:31:34.869Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T22:31:34.869Z] [2023-01-10T22:31:34.869Z] Login Succeeded [2023-01-10T22:31:34.869Z] nexus3.edgexfoundry.org:10002 [2023-01-10T22:31:35.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T22:31:35.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T22:31:35.129Z] Configure a credential helper to remove this warning. See [2023-01-10T22:31:35.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T22:31:35.129Z] [2023-01-10T22:31:35.129Z] Login Succeeded [2023-01-10T22:31:35.129Z] nexus3.edgexfoundry.org:10003 [2023-01-10T22:31:35.129Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T22:31:35.129Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T22:31:35.129Z] Configure a credential helper to remove this warning. See [2023-01-10T22:31:35.129Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T22:31:35.129Z] [2023-01-10T22:31:35.129Z] Login Succeeded [2023-01-10T22:31:35.129Z] nexus3.edgexfoundry.org:10004 [2023-01-10T22:31:35.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T22:31:35.390Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T22:31:35.390Z] Configure a credential helper to remove this warning. See [2023-01-10T22:31:35.390Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T22:31:35.390Z] [2023-01-10T22:31:35.390Z] Login Succeeded [2023-01-10T22:31:35.390Z] docker.io [2023-01-10T22:31:35.390Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T22:31:35.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T22:31:35.651Z] Configure a credential helper to remove this warning. See [2023-01-10T22:31:35.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T22:31:35.651Z] [2023-01-10T22:31:35.651Z] Login Succeeded [2023-01-10T22:31:35.651Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T22:31:35.680Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-10T22:31:36.311Z] + git rev-list -1 --merges 0fb21387cb8d5a766d9eb95475eed14f3b06cd7f~1..0fb21387cb8d5a766d9eb95475eed14f3b06cd7f [Pipeline] echo [2023-01-10T22:31:36.381Z] -----------> git rev-list -1 --merges 0fb21387cb8d5a766d9eb95475eed14f3b06cd7f~1..0fb21387cb8d5a766d9eb95475eed14f3b06cd7f 0fb21387cb8d5a766d9eb95475eed14f3b06cd7f [false] [Pipeline] sh [2023-01-10T22:31:36.689Z] + git log --format=format:%s -1 0fb21387cb8d5a766d9eb95475eed14f3b06cd7f [Pipeline] echo [2023-01-10T22:31:36.724Z] ========================================================= [2023-01-10T22:31:36.724Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-10T22:31:36.724Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T22:31:37.145Z] + git log --format=format:%s -1 0fb21387cb8d5a766d9eb95475eed14f3b06cd7f [Pipeline] echo [2023-01-10T22:31:37.178Z] [semverPrep] GIT_COMMIT: 0fb21387cb8d5a766d9eb95475eed14f3b06cd7f, Commit Message: build: fixed small issue in makefile [Pipeline] echo [2023-01-10T22:31:37.209Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-10T22:31:37.589Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-10T22:31:37.589Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-10T22:31:37.589Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-10T22:31:37.590Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-10T22:31:37.590Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ [2023-01-10T22:31:37.590Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-10T22:31:37.590Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T22:31:38.027Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T22:31:38.027Z] [2023-01-10T22:31:38.027Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T22:31:38.404Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T22:31:38.404Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-10T22:31:38.404Z] b85a868b505f: Pulling fs layer [2023-01-10T22:31:38.404Z] e2be974225ed: Pulling fs layer [2023-01-10T22:31:38.404Z] 339a4e72a1f5: Pulling fs layer [2023-01-10T22:31:38.404Z] 988bab9f4d93: Pulling fs layer [2023-01-10T22:31:38.404Z] 1469e6f7b9e6: Pulling fs layer [2023-01-10T22:31:38.404Z] eaf3925da568: Pulling fs layer [2023-01-10T22:31:38.404Z] bab4dde63d76: Pulling fs layer [2023-01-10T22:31:38.404Z] bde34c3a00c8: Pulling fs layer [2023-01-10T22:31:38.404Z] b352a97aabf1: Pulling fs layer [2023-01-10T22:31:38.404Z] 4872d77fe225: Pulling fs layer [2023-01-10T22:31:38.404Z] 5851b861e8e6: Pulling fs layer [2023-01-10T22:31:38.404Z] b352a97aabf1: Waiting [2023-01-10T22:31:38.404Z] 988bab9f4d93: Waiting [2023-01-10T22:31:38.404Z] 1469e6f7b9e6: Waiting [2023-01-10T22:31:38.404Z] bde34c3a00c8: Waiting [2023-01-10T22:31:38.404Z] bab4dde63d76: Waiting [2023-01-10T22:31:38.404Z] eaf3925da568: Waiting [2023-01-10T22:31:38.404Z] 4872d77fe225: Waiting [2023-01-10T22:31:38.404Z] e2be974225ed: Download complete [2023-01-10T22:31:38.404Z] 988bab9f4d93: Verifying Checksum [2023-01-10T22:31:38.404Z] 988bab9f4d93: Download complete [2023-01-10T22:31:38.671Z] 1469e6f7b9e6: Verifying Checksum [2023-01-10T22:31:38.671Z] 1469e6f7b9e6: Download complete [2023-01-10T22:31:38.671Z] eaf3925da568: Verifying Checksum [2023-01-10T22:31:38.671Z] eaf3925da568: Download complete [2023-01-10T22:31:38.671Z] 339a4e72a1f5: Verifying Checksum [2023-01-10T22:31:38.671Z] 339a4e72a1f5: Download complete [2023-01-10T22:31:38.671Z] bde34c3a00c8: Download complete [2023-01-10T22:31:38.671Z] b352a97aabf1: Verifying Checksum [2023-01-10T22:31:38.671Z] b352a97aabf1: Download complete [2023-01-10T22:31:38.671Z] 4872d77fe225: Verifying Checksum [2023-01-10T22:31:38.671Z] 4872d77fe225: Download complete [2023-01-10T22:31:38.671Z] 5851b861e8e6: Verifying Checksum [2023-01-10T22:31:38.671Z] 5851b861e8e6: Download complete [2023-01-10T22:31:38.671Z] b85a868b505f: Verifying Checksum [2023-01-10T22:31:38.671Z] b85a868b505f: Download complete [2023-01-10T22:31:38.931Z] bab4dde63d76: Verifying Checksum [2023-01-10T22:31:38.931Z] bab4dde63d76: Download complete [2023-01-10T22:31:40.308Z] b85a868b505f: Pull complete [2023-01-10T22:31:40.308Z] e2be974225ed: Pull complete [2023-01-10T22:31:40.568Z] 339a4e72a1f5: Pull complete [2023-01-10T22:31:40.828Z] 988bab9f4d93: Pull complete [2023-01-10T22:31:41.088Z] 1469e6f7b9e6: Pull complete [2023-01-10T22:31:41.088Z] eaf3925da568: Pull complete [2023-01-10T22:31:43.018Z] bab4dde63d76: Pull complete [2023-01-10T22:31:43.018Z] bde34c3a00c8: Pull complete [2023-01-10T22:31:43.279Z] b352a97aabf1: Pull complete [2023-01-10T22:31:43.279Z] 4872d77fe225: Pull complete [2023-01-10T22:31:43.279Z] 5851b861e8e6: Pull complete [2023-01-10T22:31:43.539Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-10T22:31:43.539Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-10T22:31:43.539Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T22:31:43.886Z] prd-ubuntu20.04-docker-8c-8g-1740 does not seem to be running inside a container [2023-01-10T22:31:43.908Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-209 -v /w/workspace/undry_device-onvif-camera_PR-209:/w/workspace/undry_device-onvif-camera_PR-209:rw,z -v /w/workspace/undry_device-onvif-camera_PR-209@tmp:/w/workspace/undry_device-onvif-camera_PR-209@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-devops/py-git-semver:0.1.4 cat [2023-01-10T22:31:46.329Z] $ docker top d5263dcb3431e82eb2e9f1d9c8660429528fc83d77c2da65f2114fc7ed3725e3 -eo pid,comm [2023-01-10T22:31:46.397Z] 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-01-10T22:31:46.397Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-10T22:31:46.520Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T22:31:46.520Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T22:31:46.636Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T22:31:46.634Z] $ docker exec d5263dcb3431e82eb2e9f1d9c8660429528fc83d77c2da65f2114fc7ed3725e3 ssh-agent [2023-01-10T22:31:46.763Z] SSH_AUTH_SOCK=/tmp/ssh-pR3FOxTdcQOW/agent.34 [2023-01-10T22:31:46.763Z] SSH_AGENT_PID=40 [2023-01-10T22:31:46.770Z] Running ssh-add (command line suppressed) [2023-01-10T22:31:46.868Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-209@tmp/private_key_3897833450816843079.key (/w/workspace/undry_device-onvif-camera_PR-209@tmp/private_key_3897833450816843079.key) [2023-01-10T22:31:46.886Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T22:31:47.223Z] + git tag --points-at HEAD [Pipeline] } [2023-01-10T22:31:47.245Z] $ docker exec --env ******** --env ******** d5263dcb3431e82eb2e9f1d9c8660429528fc83d77c2da65f2114fc7ed3725e3 ssh-agent -k [2023-01-10T22:31:47.341Z] unset SSH_AUTH_SOCK; [2023-01-10T22:31:47.342Z] unset SSH_AGENT_PID; [2023-01-10T22:31:47.342Z] echo Agent pid 40 killed; [2023-01-10T22:31:47.360Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-10T22:31:47.464Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-10T22:31:47.464Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-10T22:31:47.579Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-10T22:31:47.577Z] $ docker exec d5263dcb3431e82eb2e9f1d9c8660429528fc83d77c2da65f2114fc7ed3725e3 ssh-agent [2023-01-10T22:31:47.689Z] SSH_AUTH_SOCK=/tmp/ssh-0UpfqMHAOlKz/agent.72 [2023-01-10T22:31:47.689Z] SSH_AGENT_PID=79 [2023-01-10T22:31:47.694Z] Running ssh-add (command line suppressed) [2023-01-10T22:31:47.794Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-209@tmp/private_key_4967386558465685209.key (/w/workspace/undry_device-onvif-camera_PR-209@tmp/private_key_4967386558465685209.key) [2023-01-10T22:31:47.811Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-10T22:31:48.139Z] + git semver init [2023-01-10T22:31:48.399Z] 2023-01-10 22:31:48,314 [run_init] DEBUG init version:0.0.0 force:False [2023-01-10T22:31:48.399Z] 2023-01-10 22:31:48,315 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-209/.semver [2023-01-10T22:31:48.399Z] 2023-01-10 22:31:48,315 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-209/.semver [2023-01-10T22:31:48.399Z] 2023-01-10 22:31:48,315 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-209/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-209, universal_newlines=False, shell=None, istream=None) [2023-01-10T22:31:49.338Z] 2023-01-10 22:31:49,273 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-209/.git/info/exclude [2023-01-10T22:31:49.338Z] 2023-01-10 22:31:49,274 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-209/.semver/PR-209 with force:False [2023-01-10T22:31:49.338Z] 2023-01-10 22:31:49,274 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-209/.semver/PR-209 [2023-01-10T22:31:49.338Z] 2023-01-10 22:31:49,279 [execute] INFO git cat-file --batch-check [2023-01-10T22:31:49.338Z] 2023-01-10 22:31:49,279 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-209/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T22:31:49.338Z] 2023-01-10 22:31:49,286 [execute] INFO git cat-file --batch [2023-01-10T22:31:49.338Z] 2023-01-10 22:31:49,286 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-209/.semver, universal_newlines=False, shell=None, istream=) [2023-01-10T22:31:49.338Z] 2023-01-10 22:31:49,292 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-209/.semver/PR-209 [2023-01-10T22:31:49.338Z] 0.0.0 [Pipeline] } [2023-01-10T22:31:49.365Z] $ docker exec --env ******** --env ******** d5263dcb3431e82eb2e9f1d9c8660429528fc83d77c2da65f2114fc7ed3725e3 ssh-agent -k [2023-01-10T22:31:49.471Z] unset SSH_AUTH_SOCK; [2023-01-10T22:31:49.472Z] unset SSH_AGENT_PID; [2023-01-10T22:31:49.472Z] echo Agent pid 79 killed; [2023-01-10T22:31:49.487Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-10T22:31:49.917Z] + git semver [Pipeline] } [2023-01-10T22:31:50.196Z] $ docker stop --time=1 d5263dcb3431e82eb2e9f1d9c8660429528fc83d77c2da65f2114fc7ed3725e3 [2023-01-10T22:31:51.494Z] $ docker rm -f --volumes d5263dcb3431e82eb2e9f1d9c8660429528fc83d77c2da65f2114fc7ed3725e3 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T22:31:51.898Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-10T22:31:52.159Z] Stashed 1 file(s) [Pipeline] echo [2023-01-10T22:31:52.177Z] [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-01-10T22:31:52.750Z] provisioning config files... [2023-01-10T22:31:52.760Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-209@tmp/config13191219221747430764tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T22:31:53.102Z] ---> docker-login.sh [2023-01-10T22:31:53.102Z] nexus3.edgexfoundry.org:10001 [2023-01-10T22:31:53.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T22:31:53.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T22:31:53.102Z] Configure a credential helper to remove this warning. See [2023-01-10T22:31:53.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T22:31:53.102Z] [2023-01-10T22:31:53.102Z] Login Succeeded [2023-01-10T22:31:53.102Z] nexus3.edgexfoundry.org:10002 [2023-01-10T22:31:53.102Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T22:31:53.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T22:31:53.102Z] Configure a credential helper to remove this warning. See [2023-01-10T22:31:53.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T22:31:53.102Z] [2023-01-10T22:31:53.102Z] Login Succeeded [2023-01-10T22:31:53.102Z] nexus3.edgexfoundry.org:10003 [2023-01-10T22:31:53.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T22:31:53.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T22:31:53.362Z] Configure a credential helper to remove this warning. See [2023-01-10T22:31:53.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T22:31:53.362Z] [2023-01-10T22:31:53.362Z] Login Succeeded [2023-01-10T22:31:53.362Z] nexus3.edgexfoundry.org:10004 [2023-01-10T22:31:53.362Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T22:31:53.362Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T22:31:53.362Z] Configure a credential helper to remove this warning. See [2023-01-10T22:31:53.362Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T22:31:53.362Z] [2023-01-10T22:31:53.362Z] Login Succeeded [2023-01-10T22:31:53.362Z] docker.io [2023-01-10T22:31:53.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T22:31:53.620Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T22:31:53.620Z] Configure a credential helper to remove this warning. See [2023-01-10T22:31:53.620Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T22:31:53.620Z] [2023-01-10T22:31:53.620Z] Login Succeeded [2023-01-10T22:31:53.620Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T22:31:53.654Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T22:31:53.846Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T22:31:53.882Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T22:31:53.910Z] ========================================================= [2023-01-10T22:31:53.910Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-10T22:31:53.910Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T22:31:54.367Z] + 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-01-10T22:31:54.367Z] Sending build context to Docker daemon 27.65MB [2023-01-10T22:31:54.367Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T22:31:54.367Z] Step 2/13 : FROM ${BASE} AS builder [2023-01-10T22:31:54.629Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-10T22:31:54.629Z] 213ec9aee27d: Pulling fs layer [2023-01-10T22:31:54.629Z] 4583459ba037: Pulling fs layer [2023-01-10T22:31:54.629Z] 93c1e223e6f2: Pulling fs layer [2023-01-10T22:31:54.629Z] 53926ce57604: Pulling fs layer [2023-01-10T22:31:54.629Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-10T22:31:54.629Z] 22ff95d597cd: Pulling fs layer [2023-01-10T22:31:54.629Z] 12d6caf4c0d1: Pulling fs layer [2023-01-10T22:31:54.629Z] 96b7cbca73a9: Pulling fs layer [2023-01-10T22:31:54.629Z] a7acece74701: Pulling fs layer [2023-01-10T22:31:54.629Z] 12d6caf4c0d1: Waiting [2023-01-10T22:31:54.629Z] 96b7cbca73a9: Waiting [2023-01-10T22:31:54.629Z] 21b2b0c7a3f4: Waiting [2023-01-10T22:31:54.629Z] a7acece74701: Waiting [2023-01-10T22:31:54.629Z] 22ff95d597cd: Waiting [2023-01-10T22:31:54.629Z] 53926ce57604: Waiting [2023-01-10T22:31:54.629Z] 93c1e223e6f2: Verifying Checksum [2023-01-10T22:31:54.629Z] 93c1e223e6f2: Download complete [2023-01-10T22:31:54.629Z] 4583459ba037: Verifying Checksum [2023-01-10T22:31:54.629Z] 4583459ba037: Download complete [2023-01-10T22:31:54.629Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-10T22:31:54.629Z] 21b2b0c7a3f4: Download complete [2023-01-10T22:31:54.630Z] 22ff95d597cd: Verifying Checksum [2023-01-10T22:31:54.630Z] 22ff95d597cd: Download complete [2023-01-10T22:31:54.630Z] 213ec9aee27d: Verifying Checksum [2023-01-10T22:31:54.630Z] 213ec9aee27d: Download complete [2023-01-10T22:31:54.630Z] 12d6caf4c0d1: Verifying Checksum [2023-01-10T22:31:54.630Z] 12d6caf4c0d1: Download complete [2023-01-10T22:31:54.630Z] 213ec9aee27d: Pull complete [2023-01-10T22:31:54.903Z] 4583459ba037: Pull complete [2023-01-10T22:31:54.903Z] 93c1e223e6f2: Pull complete [2023-01-10T22:31:55.536Z] a7acece74701: Verifying Checksum [2023-01-10T22:31:55.536Z] a7acece74701: Download complete [2023-01-10T22:31:55.800Z] 53926ce57604: Verifying Checksum [2023-01-10T22:31:55.800Z] 53926ce57604: Download complete [2023-01-10T22:31:55.800Z] 96b7cbca73a9: Verifying Checksum [2023-01-10T22:31:55.800Z] 96b7cbca73a9: Download complete [2023-01-10T22:31:59.987Z] 53926ce57604: Pull complete [2023-01-10T22:31:59.987Z] 21b2b0c7a3f4: Pull complete [2023-01-10T22:31:59.987Z] 22ff95d597cd: Pull complete [2023-01-10T22:31:59.987Z] 12d6caf4c0d1: Pull complete [2023-01-10T22:32:02.523Z] 96b7cbca73a9: Pull complete [2023-01-10T22:32:02.785Z] a7acece74701: Pull complete [2023-01-10T22:32:02.785Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-10T22:32:02.785Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-10T22:32:02.785Z] ---> db6d94c90886 [2023-01-10T22:32:02.785Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-01-10T22:32:06.975Z] ---> Running in 1d85db00614b [2023-01-10T22:32:06.975Z] Removing intermediate container 1d85db00614b [2023-01-10T22:32:06.975Z] ---> 85b439fa8581 [2023-01-10T22:32:06.975Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T22:32:06.975Z] ---> Running in ec5d2a51d687 [2023-01-10T22:32:06.975Z] Removing intermediate container ec5d2a51d687 [2023-01-10T22:32:06.975Z] ---> 5b62adaaa079 [2023-01-10T22:32:06.975Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-01-10T22:32:06.975Z] ---> Running in c8fb03ed8410 [2023-01-10T22:32:06.975Z] Removing intermediate container c8fb03ed8410 [2023-01-10T22:32:06.975Z] ---> 20a206a4ccfb [2023-01-10T22:32:06.975Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T22:32:06.975Z] ---> Running in ded21f20fc95 [2023-01-10T22:32:06.975Z] Removing intermediate container ded21f20fc95 [2023-01-10T22:32:06.975Z] ---> e4194924db00 [2023-01-10T22:32:06.975Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-01-10T22:32:06.975Z] ---> Running in 279a38a02464 [2023-01-10T22:32:06.975Z] Removing intermediate container 279a38a02464 [2023-01-10T22:32:06.975Z] ---> 16fbac55115e [2023-01-10T22:32:06.975Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T22:32:06.975Z] ---> Running in 05035ba3ce6b [2023-01-10T22:32:07.234Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T22:32:07.234Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T22:32:07.496Z] OK: 211 MiB in 51 packages [2023-01-10T22:32:07.584Z] Still waiting to schedule task [2023-01-10T22:32:07.584Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-10T22:32:07.756Z] Removing intermediate container 05035ba3ce6b [2023-01-10T22:32:07.756Z] ---> 92d51978943d [2023-01-10T22:32:07.756Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-01-10T22:32:08.014Z] ---> Running in e20f06dff892 [2023-01-10T22:32:08.015Z] Removing intermediate container e20f06dff892 [2023-01-10T22:32:08.015Z] ---> 1c618614b441 [2023-01-10T22:32:08.015Z] Step 10/13 : COPY go.mod vendor* ./ [2023-01-10T22:32:08.015Z] ---> 429ae5abe979 [2023-01-10T22:32:08.015Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T22:32:08.015Z] ---> Running in cec5b3376b94 [2023-01-10T22:32:34.612Z] Removing intermediate container cec5b3376b94 [2023-01-10T22:32:34.612Z] ---> e9dcc623b9c0 [2023-01-10T22:32:34.612Z] Step 12/13 : COPY . . [2023-01-10T22:32:34.612Z] ---> fe18ec957693 [2023-01-10T22:32:34.612Z] Step 13/13 : RUN ${MAKE} [2023-01-10T22:32:34.612Z] ---> Running in c29c0a5669e8 [2023-01-10T22:32:34.612Z] noop [2023-01-10T22:32:34.612Z] Removing intermediate container c29c0a5669e8 [2023-01-10T22:32:34.612Z] ---> af6ec9cba89c [2023-01-10T22:32:34.612Z] Successfully built af6ec9cba89c [2023-01-10T22:32:34.612Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T22:32:35.075Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T22:32:35.075Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T22:32:35.220Z] prd-ubuntu20.04-docker-8c-8g-1740 does not seem to be running inside a container [2023-01-10T22:32:35.256Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-209 -v /w/workspace/undry_device-onvif-camera_PR-209:/w/workspace/undry_device-onvif-camera_PR-209:rw,z -v /w/workspace/undry_device-onvif-camera_PR-209@tmp:/w/workspace/undry_device-onvif-camera_PR-209@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-10T22:32:35.590Z] $ docker top c86008a5423ef790371e6a8a526903a3840e36f504f64f06b98ebdd29ba2b7e8 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T22:32:35.984Z] + go version [2023-01-10T22:32:35.984Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-10T22:32:36.025Z] $ docker stop --time=1 c86008a5423ef790371e6a8a526903a3840e36f504f64f06b98ebdd29ba2b7e8 [2023-01-10T22:32:37.280Z] $ docker rm -f --volumes c86008a5423ef790371e6a8a526903a3840e36f504f64f06b98ebdd29ba2b7e8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T22:32:37.958Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-10T22:32:37.958Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T22:32:38.108Z] prd-ubuntu20.04-docker-8c-8g-1740 does not seem to be running inside a container [2023-01-10T22:32:38.150Z] $ 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-209 -v /w/workspace/undry_device-onvif-camera_PR-209:/w/workspace/undry_device-onvif-camera_PR-209:rw,z -v /w/workspace/undry_device-onvif-camera_PR-209@tmp:/w/workspace/undry_device-onvif-camera_PR-209@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-10T22:32:38.471Z] $ docker top d61c76465484bff848d4e04038dfa5a862c5df3f329ad1b63ebef7d210ea6c6a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T22:32:38.856Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-209 [Pipeline] fileExists [Pipeline] sh [2023-01-10T22:32:39.206Z] + make test [2023-01-10T22:32:39.206Z] go test ./... -coverprofile=coverage.out ./... [2023-01-10T22:32:39.469Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-01-10T22:32:51.675Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-01-10T22:32:53.049Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.040s coverage: 29.3% of statements [2023-01-10T22:32:53.049Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-01-10T22:32:53.049Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.635s coverage: 86.5% of statements [2023-01-10T22:33:01.162Z] 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-01-10T22:33:01.162Z] go vet ./... [2023-01-10T22:33:05.354Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T22:33:05.354Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T22:33:05.354Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T22:33:05.394Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T22:33:05.434Z] $ docker stop --time=1 d61c76465484bff848d4e04038dfa5a862c5df3f329ad1b63ebef7d210ea6c6a [2023-01-10T22:33:07.798Z] $ docker rm -f --volumes d61c76465484bff848d4e04038dfa5a862c5df3f329ad1b63ebef7d210ea6c6a [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T22:33:08.321Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T22:33:08.411Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-10T22:33:09.121Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T22:33:09.435Z] + ls -al . [2023-01-10T22:33:09.435Z] total 248 [2023-01-10T22:33:09.435Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 22:32 . [2023-01-10T22:33:09.435Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 22:31 .. [2023-01-10T22:33:09.435Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 22:32 .git [2023-01-10T22:33:09.435Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 22:31 .github [2023-01-10T22:33:09.435Z] -rw-rw-r-- 1 jenkins jenkins 496 Jan 10 22:31 .gitignore [2023-01-10T22:33:09.435Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 10 22:31 .golangci.yml [2023-01-10T22:33:09.435Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 22:31 .semver [2023-01-10T22:33:09.435Z] -rw-rw-r-- 1 jenkins jenkins 9638 Jan 10 22:31 Attribution.txt [2023-01-10T22:33:09.435Z] -rw-rw-r-- 1 jenkins jenkins 6312 Jan 10 22:31 CHANGELOG.md [2023-01-10T22:33:09.435Z] -rw-rw-r-- 1 jenkins jenkins 1574 Jan 10 22:31 Dockerfile [2023-01-10T22:33:09.435Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 22:31 GOVERNANCE.md [2023-01-10T22:33:09.435Z] -rw-rw-r-- 1 jenkins jenkins 734 Jan 10 22:31 Jenkinsfile [2023-01-10T22:33:09.435Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jan 10 22:31 LICENSE [2023-01-10T22:33:09.435Z] -rw-rw-r-- 1 jenkins jenkins 2577 Jan 10 22:31 Makefile [2023-01-10T22:33:09.435Z] -rw-rw-r-- 1 jenkins jenkins 625 Jan 10 22:31 OWNERS.md [2023-01-10T22:33:09.435Z] -rw-rw-r-- 1 jenkins jenkins 6595 Jan 10 22:31 README.md [2023-01-10T22:33:09.435Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 22:31 VERSION [2023-01-10T22:33:09.435Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 22:31 bin [2023-01-10T22:33:09.435Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 22:31 cmd [2023-01-10T22:33:09.435Z] -rw-r--r-- 1 jenkins jenkins 79184 Jan 10 22:32 coverage.out [2023-01-10T22:33:09.435Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 10 22:31 doc [2023-01-10T22:33:09.435Z] -rw-rw-r-- 1 jenkins jenkins 3688 Jan 10 22:31 go.mod [2023-01-10T22:33:09.435Z] -rw-rw-r-- 1 jenkins jenkins 46249 Jan 10 22:31 go.sum [2023-01-10T22:33:09.435Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 22:31 internal [2023-01-10T22:33:09.435Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 22:31 snap [2023-01-10T22:33:09.435Z] -rw-rw-r-- 1 jenkins jenkins 236 Jan 10 22:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T22:33:09.821Z] + 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=0fb21387cb8d5a766d9eb95475eed14f3b06cd7f --label arch=amd64 --label version=0.0.0 . [2023-01-10T22:33:09.821Z] Sending build context to Docker daemon 27.73MB [2023-01-10T22:33:09.821Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T22:33:09.821Z] Step 2/26 : FROM ${BASE} AS builder [2023-01-10T22:33:09.821Z] ---> af6ec9cba89c [2023-01-10T22:33:09.821Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-01-10T22:33:10.081Z] ---> Running in 8869c47a335b [2023-01-10T22:33:10.340Z] Removing intermediate container 8869c47a335b [2023-01-10T22:33:10.340Z] ---> 71a5dc1bd6ea [2023-01-10T22:33:10.340Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T22:33:10.340Z] ---> Running in abc3f0b28497 [2023-01-10T22:33:10.340Z] Removing intermediate container abc3f0b28497 [2023-01-10T22:33:10.340Z] ---> bfe8130e0dd1 [2023-01-10T22:33:10.340Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-01-10T22:33:10.340Z] ---> Running in 5c1ad7cfbb78 [2023-01-10T22:33:10.340Z] Removing intermediate container 5c1ad7cfbb78 [2023-01-10T22:33:10.340Z] ---> 4f00dbcfc4ef [2023-01-10T22:33:10.340Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T22:33:10.340Z] ---> Running in a2129ebdd1de [2023-01-10T22:33:10.606Z] Removing intermediate container a2129ebdd1de [2023-01-10T22:33:10.606Z] ---> a7b8772d6f61 [2023-01-10T22:33:10.606Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-01-10T22:33:10.606Z] ---> Running in a42d9d2f70f8 [2023-01-10T22:33:10.606Z] Removing intermediate container a42d9d2f70f8 [2023-01-10T22:33:10.606Z] ---> cde8771494c9 [2023-01-10T22:33:10.606Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T22:33:10.606Z] ---> Running in 92c196a5cf39 [2023-01-10T22:33:10.865Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T22:33:11.124Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T22:33:11.385Z] OK: 211 MiB in 51 packages [2023-01-10T22:33:11.955Z] Removing intermediate container 92c196a5cf39 [2023-01-10T22:33:11.955Z] ---> bbd17e6d0c7f [2023-01-10T22:33:11.955Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-01-10T22:33:11.955Z] ---> Running in 81ce411c42a9 [2023-01-10T22:33:11.955Z] Removing intermediate container 81ce411c42a9 [2023-01-10T22:33:11.955Z] ---> b0fe2f2d7072 [2023-01-10T22:33:11.955Z] Step 10/26 : COPY go.mod vendor* ./ [2023-01-10T22:33:11.955Z] ---> 9b1be542e332 [2023-01-10T22:33:11.955Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T22:33:11.955Z] ---> Running in 5f70fb720ec2 [2023-01-10T22:33:12.892Z] Removing intermediate container 5f70fb720ec2 [2023-01-10T22:33:12.892Z] ---> cb29f93d57ce [2023-01-10T22:33:12.892Z] Step 12/26 : COPY . . [2023-01-10T22:33:13.547Z] ---> f6a78449b696 [2023-01-10T22:33:13.547Z] Step 13/26 : RUN ${MAKE} [2023-01-10T22:33:13.547Z] ---> Running in 6522cefb6399 [2023-01-10T22:33:13.806Z] 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-01-10T22:33:35.731Z] Removing intermediate container 6522cefb6399 [2023-01-10T22:33:35.732Z] ---> c14d02ad799b [2023-01-10T22:33:35.732Z] Step 14/26 : FROM alpine:3.16 [2023-01-10T22:33:35.732Z] 3.16: Pulling from library/alpine [2023-01-10T22:33:35.732Z] ca7dd9ec2225: Pulling fs layer [2023-01-10T22:33:35.732Z] ca7dd9ec2225: Verifying Checksum [2023-01-10T22:33:35.732Z] ca7dd9ec2225: Download complete [2023-01-10T22:33:35.990Z] ca7dd9ec2225: Pull complete [2023-01-10T22:33:35.990Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-10T22:33:35.990Z] Status: Downloaded newer image for alpine:3.16 [2023-01-10T22:33:35.990Z] ---> bfe296a52501 [2023-01-10T22:33:35.990Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-01-10T22:33:35.990Z] ---> Running in 601d8201af41 [2023-01-10T22:33:35.990Z] Removing intermediate container 601d8201af41 [2023-01-10T22:33:35.990Z] ---> d72725474ec5 [2023-01-10T22:33:35.990Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-01-10T22:33:35.990Z] ---> Running in f28f50eed76c [2023-01-10T22:33:36.558Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-10T22:33:36.558Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-10T22:33:36.817Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-10T22:33:36.817Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T22:33:36.817Z] OK: 6 MiB in 15 packages [2023-01-10T22:33:37.075Z] Removing intermediate container f28f50eed76c [2023-01-10T22:33:37.075Z] ---> 787f896a726f [2023-01-10T22:33:37.075Z] Step 17/26 : WORKDIR / [2023-01-10T22:33:37.333Z] ---> Running in 88b84f892ffa [2023-01-10T22:33:37.333Z] Removing intermediate container 88b84f892ffa [2023-01-10T22:33:37.333Z] ---> 4c41515eb85b [2023-01-10T22:33:37.333Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-01-10T22:33:37.901Z] ---> 0ec50af8e1f5 [2023-01-10T22:33:37.901Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-01-10T22:33:38.164Z] ---> 4487574f1ce0 [2023-01-10T22:33:38.164Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-01-10T22:33:38.164Z] ---> 8750db50ad98 [2023-01-10T22:33:38.164Z] Step 21/26 : EXPOSE 59984 [2023-01-10T22:33:38.164Z] ---> Running in 54d6de88e520 [2023-01-10T22:33:38.435Z] Removing intermediate container 54d6de88e520 [2023-01-10T22:33:38.435Z] ---> 5eb54e2274ff [2023-01-10T22:33:38.435Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-01-10T22:33:38.435Z] ---> Running in 69ea6b73822e [2023-01-10T22:33:38.435Z] Removing intermediate container 69ea6b73822e [2023-01-10T22:33:38.435Z] ---> ae65f6941ada [2023-01-10T22:33:38.435Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-10T22:33:38.435Z] ---> Running in 50be4b21a18e [2023-01-10T22:33:38.435Z] Removing intermediate container 50be4b21a18e [2023-01-10T22:33:38.435Z] ---> 93fb84b0a9bc [2023-01-10T22:33:38.435Z] Step 24/26 : LABEL arch=amd64 [2023-01-10T22:33:38.695Z] ---> Running in b87b2912ade1 [2023-01-10T22:33:38.695Z] Removing intermediate container b87b2912ade1 [2023-01-10T22:33:38.695Z] ---> 6ee594b6b9c8 [2023-01-10T22:33:38.695Z] Step 25/26 : LABEL git_sha=0fb21387cb8d5a766d9eb95475eed14f3b06cd7f [2023-01-10T22:33:38.695Z] ---> Running in af110472071a [2023-01-10T22:33:38.695Z] Removing intermediate container af110472071a [2023-01-10T22:33:38.695Z] ---> 52fce0a912bb [2023-01-10T22:33:38.695Z] Step 26/26 : LABEL version=0.0.0 [2023-01-10T22:33:38.695Z] ---> Running in 0522e404ea41 [2023-01-10T22:33:38.959Z] Removing intermediate container 0522e404ea41 [2023-01-10T22:33:38.959Z] ---> 28d8ef194ef5 [2023-01-10T22:33:38.959Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T22:33:38.959Z] Successfully built 28d8ef194ef5 [2023-01-10T22:33:38.959Z] 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-01-10T22:33:39.794Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T22:33:39.794Z] [2023-01-10T22:33:39.794Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T22:33:40.179Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T22:33:40.179Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-10T22:33:40.179Z] 5eb5b503b376: Pulling fs layer [2023-01-10T22:33:40.179Z] 5c69ac0246d0: Pulling fs layer [2023-01-10T22:33:40.179Z] ec43610c2a17: Pulling fs layer [2023-01-10T22:33:40.179Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-10T22:33:40.179Z] 33b1e0a273af: Pulling fs layer [2023-01-10T22:33:40.179Z] 5d3b04190fa2: Pulling fs layer [2023-01-10T22:33:40.179Z] 2f39f015ded8: Pulling fs layer [2023-01-10T22:33:40.179Z] 5d3b04190fa2: Waiting [2023-01-10T22:33:40.179Z] 33b1e0a273af: Waiting [2023-01-10T22:33:40.179Z] 2f39f015ded8: Waiting [2023-01-10T22:33:40.179Z] 3a2ae6a8a46f: Waiting [2023-01-10T22:33:40.179Z] 5c69ac0246d0: Verifying Checksum [2023-01-10T22:33:40.179Z] 5c69ac0246d0: Download complete [2023-01-10T22:33:40.179Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-10T22:33:40.179Z] 3a2ae6a8a46f: Download complete [2023-01-10T22:33:40.179Z] 33b1e0a273af: Verifying Checksum [2023-01-10T22:33:40.179Z] 33b1e0a273af: Download complete [2023-01-10T22:33:40.438Z] 5d3b04190fa2: Verifying Checksum [2023-01-10T22:33:40.438Z] 5d3b04190fa2: Download complete [2023-01-10T22:33:40.438Z] ec43610c2a17: Verifying Checksum [2023-01-10T22:33:40.438Z] ec43610c2a17: Download complete [2023-01-10T22:33:40.438Z] 5eb5b503b376: Verifying Checksum [2023-01-10T22:33:40.438Z] 5eb5b503b376: Download complete [2023-01-10T22:33:41.007Z] 2f39f015ded8: Download complete [2023-01-10T22:33:41.942Z] 5eb5b503b376: Pull complete [2023-01-10T22:33:41.942Z] 5c69ac0246d0: Pull complete [2023-01-10T22:33:42.525Z] ec43610c2a17: Pull complete [2023-01-10T22:33:42.525Z] 3a2ae6a8a46f: Pull complete [2023-01-10T22:33:42.525Z] 33b1e0a273af: Pull complete [2023-01-10T22:33:42.787Z] 5d3b04190fa2: Pull complete [2023-01-10T22:33:43.709Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1742 in /w/workspace/undry_device-onvif-camera_PR-209 [Pipeline] { [Pipeline] ws [2023-01-10T22:33:43.766Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-01-10T22:33:43.847Z] The recommended git tool is: git [2023-01-10T22:33:48.057Z] 2f39f015ded8: Pull complete [2023-01-10T22:33:48.057Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-10T22:33:48.057Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T22:33:48.057Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T22:33:48.279Z] prd-ubuntu20.04-docker-8c-8g-1740 does not seem to be running inside a container [2023-01-10T22:33:48.324Z] $ 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-209 -v /w/workspace/undry_device-onvif-camera_PR-209:/w/workspace/undry_device-onvif-camera_PR-209:rw,z -v /w/workspace/undry_device-onvif-camera_PR-209@tmp:/w/workspace/undry_device-onvif-camera_PR-209@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-10T22:33:48.963Z] using credential edgex-jenkins-ssh [2023-01-10T22:33:48.980Z] Cloning the remote Git repository [2023-01-10T22:33:49.029Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-10T22:33:49.110Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-01-10T22:33:49.279Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-10T22:33:49.280Z] > git --version # timeout=10 [2023-01-10T22:33:49.303Z] > git --version # 'git version 2.25.1' [2023-01-10T22:33:49.305Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T22:33:49.370Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T22:33:51.003Z] $ docker top a265a361787111c43a20604959b7fa67bb6b4a4709ba442eac7f20d2218fb493 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T22:33:51.448Z] ---> job-cost.sh [2023-01-10T22:33:51.448Z] lf-activate-venv: SKIPPING [2023-01-10T22:33:51.448Z] INFO: No Stack... [2023-01-10T22:33:51.708Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T22:33:51.968Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T22:33:52.282Z] + cat /w/workspace/undry_device-onvif-camera_PR-209/archives/cost.csv [2023-01-10T22:33:52.282Z] + cut -d, -f6 [Pipeline] lock [2023-01-10T22:33:52.338Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-209-1-stack-cost] [2023-01-10T22:33:52.343Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-209-1-stack-cost] did not exist. Created. [2023-01-10T22:33:52.343Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-209-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T22:33:52.735Z] + echo total: 0.2199999988079071 [2023-01-10T22:33:51.417Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-01-10T22:33:51.441Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-10T22:33:52.266Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-01-10T22:33:52.309Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-10T22:33:52.310Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T22:33:52.327Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/209/head:refs/remotes/origin/PR-209 +refs/heads/main:refs/remotes/origin/main # timeout=10 [Pipeline] stash [2023-01-10T22:33:52.788Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T22:33:52.818Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-209-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T22:33:52.902Z] $ docker stop --time=1 a265a361787111c43a20604959b7fa67bb6b4a4709ba442eac7f20d2218fb493 [2023-01-10T22:33:53.020Z] Merging remotes/origin/main commit 848d5d618f3ca3205f9827ec1c0cd48d03305e40 into PR head commit 0fb21387cb8d5a766d9eb95475eed14f3b06cd7f [2023-01-10T22:33:53.466Z] Merge succeeded, producing 0fb21387cb8d5a766d9eb95475eed14f3b06cd7f [2023-01-10T22:33:53.467Z] Checking out Revision 0fb21387cb8d5a766d9eb95475eed14f3b06cd7f (PR-209) [2023-01-10T22:33:54.066Z] $ docker rm -f --volumes a265a361787111c43a20604959b7fa67bb6b4a4709ba442eac7f20d2218fb493 [2023-01-10T22:33:53.043Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T22:33:53.070Z] > git checkout -f 0fb21387cb8d5a766d9eb95475eed14f3b06cd7f # timeout=10 [2023-01-10T22:33:53.367Z] > git remote # timeout=10 [2023-01-10T22:33:53.387Z] > git config --get remote.origin.url # timeout=10 [2023-01-10T22:33:53.412Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-10T22:33:53.424Z] > git merge 848d5d618f3ca3205f9827ec1c0cd48d03305e40 # timeout=10 [2023-01-10T22:33:53.449Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-10T22:33:53.475Z] > git config core.sparsecheckout # timeout=10 [2023-01-10T22:33:53.489Z] > git checkout -f 0fb21387cb8d5a766d9eb95475eed14f3b06cd7f # timeout=10 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-10T22:33:57.338Z] Commit message: "build: fixed small issue in makefile" [2023-01-10T22:33:57.392Z] > git --version # timeout=10 [2023-01-10T22:33:57.403Z] > git --version # 'git version 2.25.1' [2023-01-10T22:33:57.424Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T22:33:58.544Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-10T22:33:58.544Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T22:33:58.544Z] Dload Upload Total Spent Left Speed [2023-01-10T22:33:58.544Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 89795 [Pipeline] sh [2023-01-10T22:33:59.230Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-10T22:33:59.574Z] + sudo tee /etc/docker/daemon.new [2023-01-10T22:33:59.575Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-10T22:33:59.575Z] { [2023-01-10T22:33:59.575Z] "registry-mirrors": [ [2023-01-10T22:33:59.575Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-10T22:33:59.575Z] ], [2023-01-10T22:33:59.575Z] "bip": "10.250.0.254/24", [2023-01-10T22:33:59.575Z] "hosts": [ [2023-01-10T22:33:59.575Z] "tcp://0.0.0.0:5555", [2023-01-10T22:33:59.575Z] "unix:///var/run/docker.sock" [2023-01-10T22:33:59.575Z] ], [2023-01-10T22:33:59.575Z] "mtu": 1458, [2023-01-10T22:33:59.575Z] "selinux-enabled": true, [2023-01-10T22:33:59.575Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-10T22:33:59.575Z] } [Pipeline] sh [2023-01-10T22:33:59.916Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-10T22:34:00.262Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T22:34:18.592Z] provisioning config files... [2023-01-10T22:34:18.622Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config11430093792758477429tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T22:34:19.004Z] ---> docker-login.sh [2023-01-10T22:34:19.004Z] nexus3.edgexfoundry.org:10001 [2023-01-10T22:34:19.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T22:34:19.595Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T22:34:19.595Z] Configure a credential helper to remove this warning. See [2023-01-10T22:34:19.595Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T22:34:19.595Z] [2023-01-10T22:34:19.595Z] Login Succeeded [2023-01-10T22:34:19.595Z] nexus3.edgexfoundry.org:10002 [2023-01-10T22:34:19.867Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T22:34:19.867Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T22:34:19.867Z] Configure a credential helper to remove this warning. See [2023-01-10T22:34:19.867Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T22:34:19.867Z] [2023-01-10T22:34:19.867Z] Login Succeeded [2023-01-10T22:34:19.867Z] nexus3.edgexfoundry.org:10003 [2023-01-10T22:34:20.137Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T22:34:20.409Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T22:34:20.409Z] Configure a credential helper to remove this warning. See [2023-01-10T22:34:20.409Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T22:34:20.409Z] [2023-01-10T22:34:20.409Z] Login Succeeded [2023-01-10T22:34:20.409Z] nexus3.edgexfoundry.org:10004 [2023-01-10T22:34:20.682Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T22:34:20.682Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T22:34:20.682Z] Configure a credential helper to remove this warning. See [2023-01-10T22:34:20.682Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T22:34:20.682Z] [2023-01-10T22:34:20.682Z] Login Succeeded [2023-01-10T22:34:20.682Z] docker.io [2023-01-10T22:34:20.952Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-10T22:34:21.223Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-10T22:34:21.223Z] Configure a credential helper to remove this warning. See [2023-01-10T22:34:21.223Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-10T22:34:21.223Z] [2023-01-10T22:34:21.223Z] Login Succeeded [2023-01-10T22:34:21.223Z] ---> docker-login.sh ends [Pipeline] } [2023-01-10T22:34:21.254Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-10T22:34:21.614Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T22:34:21.650Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-10T22:34:21.680Z] ========================================================= [2023-01-10T22:34:21.680Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-10T22:34:21.680Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T22:34:22.173Z] + 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-01-10T22:34:22.772Z] Sending build context to Docker daemon 20.52MB [2023-01-10T22:34:22.772Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T22:34:22.772Z] Step 2/13 : FROM ${BASE} AS builder [2023-01-10T22:34:23.042Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-10T22:34:23.042Z] 9b18e9b68314: Pulling fs layer [2023-01-10T22:34:23.042Z] 35d82f9e3411: Pulling fs layer [2023-01-10T22:34:23.042Z] e16973657156: Pulling fs layer [2023-01-10T22:34:23.042Z] fc693d55d65f: Pulling fs layer [2023-01-10T22:34:23.042Z] 7e9fc2657dce: Pulling fs layer [2023-01-10T22:34:23.042Z] dda99020689f: Pulling fs layer [2023-01-10T22:34:23.042Z] db1c61fa0a46: Pulling fs layer [2023-01-10T22:34:23.042Z] 891c053d2c06: Pulling fs layer [2023-01-10T22:34:23.042Z] dda99020689f: Waiting [2023-01-10T22:34:23.042Z] fc693d55d65f: Waiting [2023-01-10T22:34:23.042Z] 7e9fc2657dce: Waiting [2023-01-10T22:34:23.042Z] db1c61fa0a46: Waiting [2023-01-10T22:34:23.042Z] e16973657156: Verifying Checksum [2023-01-10T22:34:23.042Z] e16973657156: Download complete [2023-01-10T22:34:23.042Z] 35d82f9e3411: Verifying Checksum [2023-01-10T22:34:23.042Z] 35d82f9e3411: Download complete [2023-01-10T22:34:23.042Z] 7e9fc2657dce: Verifying Checksum [2023-01-10T22:34:23.042Z] 7e9fc2657dce: Download complete [2023-01-10T22:34:23.042Z] dda99020689f: Download complete [2023-01-10T22:34:23.042Z] 9b18e9b68314: Verifying Checksum [2023-01-10T22:34:23.042Z] 9b18e9b68314: Download complete [2023-01-10T22:34:24.011Z] 9b18e9b68314: Pull complete [2023-01-10T22:34:24.011Z] 891c053d2c06: Verifying Checksum [2023-01-10T22:34:24.011Z] 891c053d2c06: Download complete [2023-01-10T22:34:24.610Z] 35d82f9e3411: Pull complete [2023-01-10T22:34:24.882Z] e16973657156: Pull complete [2023-01-10T22:34:25.486Z] db1c61fa0a46: Verifying Checksum [2023-01-10T22:34:25.486Z] db1c61fa0a46: Download complete [2023-01-10T22:34:26.070Z] fc693d55d65f: Verifying Checksum [2023-01-10T22:34:26.070Z] fc693d55d65f: Download complete [2023-01-10T22:34:38.424Z] fc693d55d65f: Pull complete [2023-01-10T22:34:38.424Z] 7e9fc2657dce: Pull complete [2023-01-10T22:34:38.424Z] dda99020689f: Pull complete [2023-01-10T22:34:45.089Z] db1c61fa0a46: Pull complete [2023-01-10T22:34:46.520Z] 891c053d2c06: Pull complete [2023-01-10T22:34:46.520Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-10T22:34:46.520Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-10T22:34:46.520Z] ---> f96f9c87975a [2023-01-10T22:34:46.520Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-01-10T22:34:48.494Z] ---> Running in 5973abc7b79e [2023-01-10T22:34:48.494Z] Removing intermediate container 5973abc7b79e [2023-01-10T22:34:48.494Z] ---> 86a9cae2c89f [2023-01-10T22:34:48.494Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T22:34:48.764Z] ---> Running in 7c940f65290f [2023-01-10T22:34:49.032Z] Removing intermediate container 7c940f65290f [2023-01-10T22:34:49.032Z] ---> 04942848320d [2023-01-10T22:34:49.032Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-01-10T22:34:49.032Z] ---> Running in a933f48f6c2a [2023-01-10T22:34:49.301Z] Removing intermediate container a933f48f6c2a [2023-01-10T22:34:49.301Z] ---> 5d71eb4df414 [2023-01-10T22:34:49.301Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T22:34:49.301Z] ---> Running in 6aa4debb1d77 [2023-01-10T22:34:49.568Z] Removing intermediate container 6aa4debb1d77 [2023-01-10T22:34:49.568Z] ---> 902fd0335a05 [2023-01-10T22:34:49.568Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-01-10T22:34:49.835Z] ---> Running in ce3963595a21 [2023-01-10T22:34:50.101Z] Removing intermediate container ce3963595a21 [2023-01-10T22:34:50.101Z] ---> 36054c49d63c [2023-01-10T22:34:50.101Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T22:34:50.101Z] ---> Running in 9a96fe6fb16d [2023-01-10T22:34:51.071Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T22:34:51.658Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T22:34:52.245Z] OK: 221 MiB in 51 packages [2023-01-10T22:34:53.212Z] Removing intermediate container 9a96fe6fb16d [2023-01-10T22:34:53.213Z] ---> 3047f55cd67a [2023-01-10T22:34:53.213Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-01-10T22:34:53.213Z] ---> Running in a926dbda954f [2023-01-10T22:34:53.483Z] Removing intermediate container a926dbda954f [2023-01-10T22:34:53.483Z] ---> c45b6284c3ae [2023-01-10T22:34:53.483Z] Step 10/13 : COPY go.mod vendor* ./ [2023-01-10T22:34:55.437Z] ---> 679b0e76792a [2023-01-10T22:34:55.437Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T22:34:55.437Z] ---> Running in 86917c02c779 [2023-01-10T22:35:51.847Z] Removing intermediate container 86917c02c779 [2023-01-10T22:35:51.847Z] ---> e607502a160e [2023-01-10T22:35:51.847Z] Step 12/13 : COPY . . [2023-01-10T22:35:52.114Z] ---> a632fe2bd9a1 [2023-01-10T22:35:52.114Z] Step 13/13 : RUN ${MAKE} [2023-01-10T22:35:52.380Z] ---> Running in e65950eb1dc6 [2023-01-10T22:35:53.342Z] noop [2023-01-10T22:35:53.928Z] Removing intermediate container e65950eb1dc6 [2023-01-10T22:35:53.928Z] ---> 6133d53dea98 [2023-01-10T22:35:53.928Z] Successfully built 6133d53dea98 [2023-01-10T22:35:53.928Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T22:35:54.406Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T22:35:54.406Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T22:35:54.679Z] prd-ubuntu20.04-docker-arm64-4c-16g-1742 does not seem to be running inside a container [2023-01-10T22:35:54.744Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-10T22:35:55.928Z] $ docker top 37e8463d26172f5b030811fb6d7aa55eb7e7c7f1cb5536bc0756146bf21a9624 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T22:35:56.807Z] + go version [2023-01-10T22:35:56.807Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-10T22:35:56.841Z] $ docker stop --time=1 37e8463d26172f5b030811fb6d7aa55eb7e7c7f1cb5536bc0756146bf21a9624 [2023-01-10T22:35:58.437Z] $ docker rm -f --volumes 37e8463d26172f5b030811fb6d7aa55eb7e7c7f1cb5536bc0756146bf21a9624 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T22:35:59.283Z] + docker inspect -f . ci-base-image-arm64 [2023-01-10T22:35:59.283Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T22:35:59.543Z] prd-ubuntu20.04-docker-arm64-4c-16g-1742 does not seem to be running inside a container [2023-01-10T22:35:59.607Z] $ 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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-10T22:36:00.764Z] $ docker top 96ae7cc4a5aae597825a05b0195a82029b36e10d539fcaca4b86fb946031e139 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T22:36:01.647Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-01-10T22:36:02.341Z] + make test [2023-01-10T22:36:02.341Z] go test ./... -coverprofile=coverage.out ./... [2023-01-10T22:36:04.291Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-01-10T22:37:25.922Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-01-10T22:37:32.581Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.190s coverage: 29.3% of statements [2023-01-10T22:37:32.581Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-01-10T22:37:54.659Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.632s coverage: 86.5% of statements [2023-01-10T22:37:54.659Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-10T22:37:54.659Z] go vet ./... [2023-01-10T22:38:21.358Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-10T22:38:21.358Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-10T22:38:21.358Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-10T22:38:21.399Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-10T22:38:21.431Z] $ docker stop --time=1 96ae7cc4a5aae597825a05b0195a82029b36e10d539fcaca4b86fb946031e139 [2023-01-10T22:38:23.622Z] $ docker rm -f --volumes 96ae7cc4a5aae597825a05b0195a82029b36e10d539fcaca4b86fb946031e139 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-10T22:38:24.631Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-10T22:38:24.666Z] Warning: overwriting stash ‘coverage-report’ [2023-01-10T22:38:27.150Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-10T22:38:27.737Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-10T22:38:28.077Z] + ls -al . [2023-01-10T22:38:28.077Z] total 244 [2023-01-10T22:38:28.077Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 22:36 . [2023-01-10T22:38:28.077Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 22:33 .. [2023-01-10T22:38:28.077Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 22:33 .git [2023-01-10T22:38:28.077Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 22:33 .github [2023-01-10T22:38:28.077Z] -rw-rw-r-- 1 jenkins jenkins 496 Jan 10 22:33 .gitignore [2023-01-10T22:38:28.077Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 10 22:33 .golangci.yml [2023-01-10T22:38:28.077Z] -rw-rw-r-- 1 jenkins jenkins 9638 Jan 10 22:33 Attribution.txt [2023-01-10T22:38:28.077Z] -rw-rw-r-- 1 jenkins jenkins 6312 Jan 10 22:33 CHANGELOG.md [2023-01-10T22:38:28.077Z] -rw-rw-r-- 1 jenkins jenkins 1574 Jan 10 22:33 Dockerfile [2023-01-10T22:38:28.077Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 22:33 GOVERNANCE.md [2023-01-10T22:38:28.077Z] -rw-rw-r-- 1 jenkins jenkins 734 Jan 10 22:33 Jenkinsfile [2023-01-10T22:38:28.077Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jan 10 22:33 LICENSE [2023-01-10T22:38:28.077Z] -rw-rw-r-- 1 jenkins jenkins 2577 Jan 10 22:33 Makefile [2023-01-10T22:38:28.077Z] -rw-rw-r-- 1 jenkins jenkins 625 Jan 10 22:33 OWNERS.md [2023-01-10T22:38:28.077Z] -rw-rw-r-- 1 jenkins jenkins 6595 Jan 10 22:33 README.md [2023-01-10T22:38:28.077Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 10 22:31 VERSION [2023-01-10T22:38:28.077Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 22:33 bin [2023-01-10T22:38:28.077Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 22:33 cmd [2023-01-10T22:38:28.077Z] -rw-r--r-- 1 jenkins jenkins 79184 Jan 10 22:37 coverage.out [2023-01-10T22:38:28.077Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 10 22:33 doc [2023-01-10T22:38:28.077Z] -rw-rw-r-- 1 jenkins jenkins 3688 Jan 10 22:33 go.mod [2023-01-10T22:38:28.077Z] -rw-rw-r-- 1 jenkins jenkins 46249 Jan 10 22:33 go.sum [2023-01-10T22:38:28.077Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 22:33 internal [2023-01-10T22:38:28.077Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 22:33 snap [2023-01-10T22:38:28.077Z] -rw-rw-r-- 1 jenkins jenkins 236 Jan 10 22:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T22:38:28.491Z] + 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=0fb21387cb8d5a766d9eb95475eed14f3b06cd7f --label arch=arm64 --label version=0.0.0 . [2023-01-10T22:38:29.075Z] Sending build context to Docker daemon 20.6MB [2023-01-10T22:38:29.075Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-01-10T22:38:29.075Z] Step 2/26 : FROM ${BASE} AS builder [2023-01-10T22:38:29.075Z] ---> 6133d53dea98 [2023-01-10T22:38:29.075Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-01-10T22:38:29.660Z] ---> Running in 6a91b932ad1f [2023-01-10T22:38:29.660Z] Removing intermediate container 6a91b932ad1f [2023-01-10T22:38:29.660Z] ---> 973c0a2e201d [2023-01-10T22:38:29.660Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-10T22:38:30.022Z] ---> Running in 9a51a68aeea8 [2023-01-10T22:38:30.312Z] Removing intermediate container 9a51a68aeea8 [2023-01-10T22:38:30.312Z] ---> 4ae71c85273b [2023-01-10T22:38:30.312Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-01-10T22:38:30.312Z] ---> Running in d7823e00b710 [2023-01-10T22:38:30.608Z] Removing intermediate container d7823e00b710 [2023-01-10T22:38:30.608Z] ---> a8061120bd86 [2023-01-10T22:38:30.608Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-01-10T22:38:30.882Z] ---> Running in e652870e9840 [2023-01-10T22:38:32.323Z] Removing intermediate container e652870e9840 [2023-01-10T22:38:32.323Z] ---> a6cc725a9b3b [2023-01-10T22:38:32.323Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-01-10T22:38:32.323Z] ---> Running in 890ed946d0aa [2023-01-10T22:38:32.603Z] Removing intermediate container 890ed946d0aa [2023-01-10T22:38:32.603Z] ---> 90da45e4256f [2023-01-10T22:38:32.603Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-10T22:38:32.896Z] ---> Running in 5e69cdfe10e3 [2023-01-10T22:38:33.885Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T22:38:34.155Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T22:38:35.580Z] OK: 221 MiB in 51 packages [2023-01-10T22:38:36.165Z] Removing intermediate container 5e69cdfe10e3 [2023-01-10T22:38:36.165Z] ---> b54b06383b86 [2023-01-10T22:38:36.165Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-01-10T22:38:36.433Z] ---> Running in 5f48e3c079de [2023-01-10T22:38:37.018Z] Removing intermediate container 5f48e3c079de [2023-01-10T22:38:37.018Z] ---> 23b131089868 [2023-01-10T22:38:37.018Z] Step 10/26 : COPY go.mod vendor* ./ [2023-01-10T22:38:37.986Z] ---> a3ae9ae79bd9 [2023-01-10T22:38:37.986Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-10T22:38:37.986Z] ---> Running in 18e8080e4cb9 [2023-01-10T22:38:42.257Z] Removing intermediate container 18e8080e4cb9 [2023-01-10T22:38:42.257Z] ---> f9773e1da999 [2023-01-10T22:38:42.257Z] Step 12/26 : COPY . . [2023-01-10T22:38:44.220Z] ---> ab2e9de885c3 [2023-01-10T22:38:44.220Z] Step 13/26 : RUN ${MAKE} [2023-01-10T22:38:44.220Z] ---> Running in bbb84c8044d1 [2023-01-10T22:38:45.184Z] 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-01-10T22:40:51.861Z] Removing intermediate container bbb84c8044d1 [2023-01-10T22:40:51.861Z] ---> dde00c0f78fa [2023-01-10T22:40:51.861Z] Step 14/26 : FROM alpine:3.16 [2023-01-10T22:40:51.861Z] 3.16: Pulling from library/alpine [2023-01-10T22:40:51.861Z] 6875df1f5354: Pulling fs layer [2023-01-10T22:40:51.861Z] 6875df1f5354: Verifying Checksum [2023-01-10T22:40:51.861Z] 6875df1f5354: Pull complete [2023-01-10T22:40:51.861Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-10T22:40:51.861Z] Status: Downloaded newer image for alpine:3.16 [2023-01-10T22:40:51.861Z] ---> 2b4661558fb8 [2023-01-10T22:40:51.861Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-01-10T22:40:51.861Z] ---> Running in fb046effbb92 [2023-01-10T22:40:51.861Z] Removing intermediate container fb046effbb92 [2023-01-10T22:40:51.861Z] ---> 726d77bbaee9 [2023-01-10T22:40:51.861Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-01-10T22:40:51.861Z] ---> Running in 0e8c15353783 [2023-01-10T22:40:51.861Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-10T22:40:51.861Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-10T22:40:51.861Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-10T22:40:51.861Z] Executing busybox-1.35.0-r17.trigger [2023-01-10T22:40:51.861Z] OK: 5 MiB in 15 packages [2023-01-10T22:40:51.861Z] Removing intermediate container 0e8c15353783 [2023-01-10T22:40:51.861Z] ---> 1d83c898839e [2023-01-10T22:40:51.861Z] Step 17/26 : WORKDIR / [2023-01-10T22:40:51.861Z] ---> Running in bfbe89877e5d [2023-01-10T22:40:51.861Z] Removing intermediate container bfbe89877e5d [2023-01-10T22:40:51.861Z] ---> 24fe25221989 [2023-01-10T22:40:51.861Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-01-10T22:40:51.861Z] ---> 169a17e1f995 [2023-01-10T22:40:51.861Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-01-10T22:40:51.861Z] ---> f7e00ca3351f [2023-01-10T22:40:51.861Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-01-10T22:40:52.444Z] ---> fa4ff8b73535 [2023-01-10T22:40:52.444Z] Step 21/26 : EXPOSE 59984 [2023-01-10T22:40:52.444Z] ---> Running in a5e847cc4d99 [2023-01-10T22:40:52.711Z] Removing intermediate container a5e847cc4d99 [2023-01-10T22:40:52.711Z] ---> f155ba1b4580 [2023-01-10T22:40:52.711Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-01-10T22:40:52.711Z] ---> Running in 38839aa64f98 [2023-01-10T22:40:52.981Z] Removing intermediate container 38839aa64f98 [2023-01-10T22:40:52.982Z] ---> b4da597b59e8 [2023-01-10T22:40:52.982Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-10T22:40:53.249Z] ---> Running in 88c6d17e74f1 [2023-01-10T22:40:53.515Z] Removing intermediate container 88c6d17e74f1 [2023-01-10T22:40:53.515Z] ---> 047c01c1c7f9 [2023-01-10T22:40:53.515Z] Step 24/26 : LABEL arch=arm64 [2023-01-10T22:40:53.515Z] ---> Running in 9c66567a2c0a [2023-01-10T22:40:53.781Z] Removing intermediate container 9c66567a2c0a [2023-01-10T22:40:53.781Z] ---> 3cdef6824c47 [2023-01-10T22:40:53.781Z] Step 25/26 : LABEL git_sha=0fb21387cb8d5a766d9eb95475eed14f3b06cd7f [2023-01-10T22:40:53.781Z] ---> Running in 2ddcbbce5703 [2023-01-10T22:40:54.054Z] Removing intermediate container 2ddcbbce5703 [2023-01-10T22:40:54.054Z] ---> cb642a970ce4 [2023-01-10T22:40:54.054Z] Step 26/26 : LABEL version=0.0.0 [2023-01-10T22:40:54.054Z] ---> Running in 5d401d3aa1b7 [2023-01-10T22:40:54.322Z] Removing intermediate container 5d401d3aa1b7 [2023-01-10T22:40:54.322Z] ---> 02f7e8a67c99 [2023-01-10T22:40:54.322Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-10T22:40:54.590Z] Successfully built 02f7e8a67c99 [2023-01-10T22:40:54.590Z] 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-01-10T22:40:55.379Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T22:40:55.379Z] [2023-01-10T22:40:55.379Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T22:40:55.795Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T22:40:55.795Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-10T22:40:55.795Z] 8998bd30e6a1: Pulling fs layer [2023-01-10T22:40:55.795Z] 04944245beec: Pulling fs layer [2023-01-10T22:40:55.795Z] 699f458cf7ca: Pulling fs layer [2023-01-10T22:40:55.795Z] 765212b225bb: Pulling fs layer [2023-01-10T22:40:55.795Z] f23df028b6ca: Pulling fs layer [2023-01-10T22:40:55.795Z] d65c8cfc05b1: Pulling fs layer [2023-01-10T22:40:55.795Z] 2437ff75d9bd: Pulling fs layer [2023-01-10T22:40:55.795Z] f23df028b6ca: Waiting [2023-01-10T22:40:55.795Z] d65c8cfc05b1: Waiting [2023-01-10T22:40:55.795Z] 2437ff75d9bd: Waiting [2023-01-10T22:40:55.795Z] 765212b225bb: Waiting [2023-01-10T22:40:56.072Z] 04944245beec: Verifying Checksum [2023-01-10T22:40:56.072Z] 04944245beec: Download complete [2023-01-10T22:40:56.072Z] 765212b225bb: Download complete [2023-01-10T22:40:56.072Z] f23df028b6ca: Download complete [2023-01-10T22:40:56.072Z] d65c8cfc05b1: Verifying Checksum [2023-01-10T22:40:56.072Z] d65c8cfc05b1: Download complete [2023-01-10T22:40:56.072Z] 699f458cf7ca: Verifying Checksum [2023-01-10T22:40:56.072Z] 699f458cf7ca: Download complete [2023-01-10T22:40:56.661Z] 8998bd30e6a1: Download complete [2023-01-10T22:40:58.600Z] 2437ff75d9bd: Verifying Checksum [2023-01-10T22:41:00.018Z] 8998bd30e6a1: Pull complete [2023-01-10T22:41:00.615Z] 04944245beec: Pull complete [2023-01-10T22:41:02.032Z] 699f458cf7ca: Pull complete [2023-01-10T22:41:02.032Z] 765212b225bb: Pull complete [2023-01-10T22:41:02.619Z] f23df028b6ca: Pull complete [2023-01-10T22:41:02.886Z] d65c8cfc05b1: Pull complete [2023-01-10T22:41:15.186Z] 2437ff75d9bd: Pull complete [2023-01-10T22:41:15.186Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-10T22:41:15.186Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-10T22:41:15.186Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T22:41:15.506Z] prd-ubuntu20.04-docker-arm64-4c-16g-1742 does not seem to be running inside a container [2023-01-10T22:41:15.568Z] $ 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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-10T22:41:18.098Z] $ docker top 43fd05beff8a6b12e58265330c5572acd4bdf2c7efb99d7a3e5506a2625145fb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-10T22:41:19.000Z] ---> job-cost.sh [2023-01-10T22:41:19.000Z] lf-activate-venv: SKIPPING [2023-01-10T22:41:19.000Z] INFO: No Stack... [2023-01-10T22:41:19.583Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-10T22:41:20.540Z] INFO: Archiving Costs [Pipeline] sh [2023-01-10T22:41:21.207Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-01-10T22:41:21.207Z] + cut -d, -f6 [Pipeline] lock [2023-01-10T22:41:21.294Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-209-1-stack-cost] [2023-01-10T22:41:21.299Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-209-1-stack-cost] did not exist. Created. [2023-01-10T22:41:21.300Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-209-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-10T22:41:22.020Z] /w/workspace/device-onvif-camera/1@tmp/durable-8aeeb9f0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-10T22:41:22.691Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-10T22:41:22.734Z] Warning: overwriting stash ‘stack-cost’ [2023-01-10T22:41:22.798Z] Stashed 1 file(s) [Pipeline] } [2023-01-10T22:41:22.813Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-209-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-10T22:41:22.893Z] $ docker stop --time=1 43fd05beff8a6b12e58265330c5572acd4bdf2c7efb99d7a3e5506a2625145fb [2023-01-10T22:41:24.384Z] $ docker rm -f --volumes 43fd05beff8a6b12e58265330c5572acd4bdf2c7efb99d7a3e5506a2625145fb [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-01-10T22:41:25.404Z] provisioning config files... [2023-01-10T22:41:25.411Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-209@tmp/config17838723202104726827tmp [Pipeline] { [Pipeline] sh [2023-01-10T22:41:25.741Z] + set +x [2023-01-10T22:41:25.741Z] + curl -s https://codecov.io/bash [2023-01-10T22:41:25.741Z] + bash -s -- [2023-01-10T22:41:25.741Z] [2023-01-10T22:41:25.741Z] _____ _ [2023-01-10T22:41:25.741Z] / ____| | | [2023-01-10T22:41:25.741Z] | | ___ __| | ___ ___ _____ __ [2023-01-10T22:41:25.741Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-10T22:41:25.741Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-10T22:41:25.741Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-10T22:41:25.741Z] Bash-1.0.6 [2023-01-10T22:41:25.741Z] [2023-01-10T22:41:25.741Z] [2023-01-10T22:41:25.741Z] ==> git version 2.25.1 found [2023-01-10T22:41:25.741Z] ==> 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-01-10T22:41:25.741Z] Release-Date: 2020-01-08 [2023-01-10T22:41:25.741Z] 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-01-10T22:41:25.741Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-10T22:41:25.741Z] ==> Jenkins CI detected. [2023-01-10T22:41:25.741Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-209 [2023-01-10T22:41:25.741Z] project root: . [2023-01-10T22:41:25.741Z] --> token set from env [2023-01-10T22:41:25.741Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-10T22:41:25.741Z] ==> Running gcov in . (disable via -X gcov) [2023-01-10T22:41:25.741Z] ==> Python coveragepy not found [2023-01-10T22:41:25.741Z] ==> Searching for coverage reports in: [2023-01-10T22:41:25.741Z] + . [2023-01-10T22:41:25.741Z] -> Found 1 reports [2023-01-10T22:41:25.741Z] ==> Detecting git/mercurial file structure [2023-01-10T22:41:25.741Z] ==> Reading reports [2023-01-10T22:41:25.741Z] + ./coverage.out bytes=79184 [2023-01-10T22:41:25.741Z] ==> Appending adjustments [2023-01-10T22:41:25.741Z] https://docs.codecov.io/docs/fixing-reports [2023-01-10T22:41:26.002Z] + Found adjustments [2023-01-10T22:41:26.002Z] ==> Gzipping contents [2023-01-10T22:41:26.002Z] 12K /tmp/codecov.5DR70P.gz [2023-01-10T22:41:26.002Z] ==> Uploading reports [2023-01-10T22:41:26.002Z] url: https://codecov.io [2023-01-10T22:41:26.002Z] query: branch=PR-209&commit=0fb21387cb8d5a766d9eb95475eed14f3b06cd7f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-209%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=209&job=&cmd_args= [2023-01-10T22:41:26.002Z] -> Pinging Codecov [2023-01-10T22:41:26.002Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-209&commit=0fb21387cb8d5a766d9eb95475eed14f3b06cd7f&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-209%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=209&job=&cmd_args= [2023-01-10T22:41:26.571Z] -> Uploading to [2023-01-10T22:41:26.571Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-10/F29A59C45E3A92E06B3E522C9905F8EF/0fb21387cb8d5a766d9eb95475eed14f3b06cd7f/12bc5e0d-7f19-4b3a-bae2-3e8c9b984426.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T224126Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ab1dcea6dee9a5a6d9c8d775369bf05c24f1fc967817647292b6b4e733b9caca [2023-01-10T22:41:26.571Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-10T22:41:26.571Z] Dload Upload Total Spent Left Speed [2023-01-10T22:41:26.831Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10878 0 0 100 10878 0 47710 --:--:-- --:--:-- --:--:-- 47710 100 10878 0 0 100 10878 0 38034 --:--:-- --:--:-- --:--:-- 37902 [2023-01-10T22:41:26.831Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/0fb21387cb8d5a766d9eb95475eed14f3b06cd7f [Pipeline] } [2023-01-10T22:41:26.857Z] 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-01-10T22:41:28.614Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-209/archives ] [2023-01-10T22:41:28.614Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-209/archives [2023-01-10T22:41:28.614Z] total 16 [2023-01-10T22:41:28.614Z] drwxr-xr-x 3 root root 4096 Jan 10 22:33 . [2023-01-10T22:41:28.614Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 22:33 .. [2023-01-10T22:41:28.614Z] drwxr-xr-x 2 root root 4096 Jan 10 22:33 cost [2023-01-10T22:41:28.614Z] -rw-r--r-- 1 root root 91 Jan 10 22:33 cost.csv [2023-01-10T22:41:28.614Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-209/archives [2023-01-10T22:41:28.614Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-209/archives [2023-01-10T22:41:28.614Z] total 16 [2023-01-10T22:41:28.614Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 22:33 . [2023-01-10T22:41:28.614Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 10 22:33 .. [2023-01-10T22:41:28.614Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 22:33 cost [2023-01-10T22:41:28.614Z] -rw-r--r-- 1 jenkins jenkins 91 Jan 10 22:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-10T22:41:28.940Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T22:41:29.841Z] ---> package-listing.sh [2023-01-10T22:41:29.841Z] ++ facter osfamily [2023-01-10T22:41:29.841Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-10T22:41:30.101Z] + OS_FAMILY=debian [2023-01-10T22:41:30.101Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-209 [2023-01-10T22:41:30.101Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-10T22:41:30.101Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-10T22:41:30.101Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-10T22:41:30.101Z] + PACKAGES=/tmp/packages_start.txt [2023-01-10T22:41:30.101Z] + '[' /w/workspace/undry_device-onvif-camera_PR-209 ']' [2023-01-10T22:41:30.101Z] + PACKAGES=/tmp/packages_end.txt [2023-01-10T22:41:30.101Z] + case "${OS_FAMILY}" in [2023-01-10T22:41:30.101Z] + dpkg -l [2023-01-10T22:41:30.101Z] + grep '^ii' [2023-01-10T22:41:30.101Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-10T22:41:30.101Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-10T22:41:30.101Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-10T22:41:30.101Z] + '[' /w/workspace/undry_device-onvif-camera_PR-209 ']' [2023-01-10T22:41:30.101Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-209/archives/ [2023-01-10T22:41:30.101Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-209/archives/ [Pipeline] echo [2023-01-10T22:41:30.137Z] 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-209/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-10T22:41:30.431Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-10T22:41:31.059Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-10T22:41:31.059Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-10T22:41:31.207Z] prd-ubuntu20.04-docker-8c-8g-1740 does not seem to be running inside a container [2023-01-10T22:41:31.250Z] $ 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-209/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-209 -v /w/workspace/undry_device-onvif-camera_PR-209:/w/workspace/undry_device-onvif-camera_PR-209:rw,z -v /w/workspace/undry_device-onvif-camera_PR-209@tmp:/w/workspace/undry_device-onvif-camera_PR-209@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-10T22:41:31.447Z] $ docker top 08bfdcd9483364340da324478a551d7ef0fdb494f30f1929d788fbfad0a9c57c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-10T22:41:31.839Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-10T22:41:32.153Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-10T22:41:32.464Z] + ls /var/log/sa-host [2023-01-10T22:41:32.464Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-10T22:41:32.620Z] provisioning config files... [2023-01-10T22:41:32.628Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-209@tmp/config16816746483497210132tmp [Pipeline] { [Pipeline] echo [2023-01-10T22:41:32.682Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T22:41:32.992Z] ---> create-netrc.sh [Pipeline] } [2023-01-10T22:41:33.018Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-10T22:41:33.414Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-10T22:41:33.443Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T22:41:33.753Z] ---> sudo-logs.sh [2023-01-10T22:41:33.753Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-10T22:41:33.837Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T22:41:34.149Z] ---> job-cost.sh [2023-01-10T22:41:34.149Z] lf-activate-venv: SKIPPING [2023-01-10T22:41:34.149Z] DEBUG: total: 0.2199999988079071 [2023-01-10T22:41:34.149Z] INFO: Retrieving Stack Cost... [2023-01-10T22:41:34.718Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-10T22:41:34.977Z] INFO: Archiving Costs [Pipeline] echo [2023-01-10T22:41:35.011Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-10T22:41:35.330Z] ---> logs-deploy.sh [2023-01-10T22:41:35.330Z] lf-activate-venv: SKIPPING [2023-01-10T22:41:35.330Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-209/1 [2023-01-10T22:41:35.330Z] INFO: archiving workspace using pattern(s): [2023-01-10T22:41:36.269Z] Archives upload complete. [2023-01-10T22:41:36.269Z] INFO: archiving logs to Nexus