Pull request #245 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 32e96771eeacfa7458d4c87772f375c2ba6e5dcb+4a9e67fa37862f83ef90b637e6c765491ff37d3a (6c148d53b2e170cfc6ed589b1056ab82d753516c) 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-ssh9684498742460730860.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-ssh6882439895860483757.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-245/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-245/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11595821125093907343.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-245/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16055375594880228785.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-ssh9987244442149188642.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-245/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-245/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh6255408298401020039.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 ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-7529 in /w/workspace/undry_device-onvif-camera_PR-245 [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-245 # 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/245/head:refs/remotes/origin/PR-245 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4a9e67fa37862f83ef90b637e6c765491ff37d3a into PR head commit 32e96771eeacfa7458d4c87772f375c2ba6e5dcb Merge succeeded, producing 32e96771eeacfa7458d4c87772f375c2ba6e5dcb Checking out Revision 32e96771eeacfa7458d4c87772f375c2ba6e5dcb (PR-245) Commit message: "build(deps): Bump github.com/IOTechSystems/onvif from 0.1.5 to 0.1.6" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-27T04:09:45.823Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 32e96771eeacfa7458d4c87772f375c2ba6e5dcb # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 4a9e67fa37862f83ef90b637e6c765491ff37d3a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 32e96771eeacfa7458d4c87772f375c2ba6e5dcb # timeout=10 [Pipeline] withCredentials [2023-02-27T04:09:45.998Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-27T04:09:46.094Z] ========================================================= [2023-02-27T04:09:46.094Z] EdgeX Global Pipelines Version Info [2023-02-27T04:09:46.094Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-27T04:09:46.825Z] ------------------- [2023-02-27T04:09:46.825Z] stable info: [2023-02-27T04:09:46.825Z] ------------------- [2023-02-27T04:09:46.825Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-27T04:09:46.825Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-27T04:09:46.825Z] Message: update stable to v1.0.244 [2023-02-27T04:09:47.397Z] ------------------- [2023-02-27T04:09:47.397Z] experimental info: [2023-02-27T04:09:47.397Z] ------------------- [2023-02-27T04:09:47.397Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-27T04:09:47.397Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-27T04:09:47.397Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-27T04:09:47.707Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-02-27T04:09:47.747Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-02-27T04:09:47.789Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-27T04:09:47.832Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-27T04:09:47.874Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-27T04:09:47.915Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-27T04:09:47.953Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-27T04:09:47.990Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-27T04:09:48.026Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-27T04:09:48.063Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-27T04:09:48.101Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-27T04:09:48.143Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-02-27T04:09:48.185Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-27T04:09:48.225Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-27T04:09:48.264Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-27T04:09:48.300Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-27T04:09:48.344Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-27T04:09:48.385Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-27T04:09:48.426Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-27T04:09:48.462Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-27T04:09:48.498Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-27T04:09:48.535Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-02-27T04:09:48.573Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-27T04:09:48.612Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-27T04:09:48.659Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-27T04:09:48.700Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-27T04:09:48.738Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-27T04:09:48.775Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-245 [Pipeline] echo [2023-02-27T04:09:48.816Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-245 [Pipeline] echo [2023-02-27T04:09:48.858Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-245 [Pipeline] echo [2023-02-27T04:09:48.899Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 32e96771eeacfa7458d4c87772f375c2ba6e5dcb [Pipeline] echo [2023-02-27T04:09:48.944Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 32e9677 [Pipeline] echo [2023-02-27T04:09:48.983Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-27T04:09:49.101Z] provisioning config files... [2023-02-27T04:09:49.117Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-245@tmp/config15637895309860103237tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T04:09:49.476Z] ---> docker-login.sh [2023-02-27T04:09:49.476Z] nexus3.edgexfoundry.org:10001 [2023-02-27T04:09:49.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T04:09:49.737Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T04:09:49.737Z] Configure a credential helper to remove this warning. See [2023-02-27T04:09:49.737Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T04:09:49.737Z] [2023-02-27T04:09:49.737Z] Login Succeeded [2023-02-27T04:09:49.737Z] nexus3.edgexfoundry.org:10002 [2023-02-27T04:09:49.737Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T04:09:49.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T04:09:49.997Z] Configure a credential helper to remove this warning. See [2023-02-27T04:09:49.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T04:09:49.997Z] [2023-02-27T04:09:49.997Z] Login Succeeded [2023-02-27T04:09:49.997Z] nexus3.edgexfoundry.org:10003 [2023-02-27T04:09:49.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T04:09:49.997Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T04:09:49.997Z] Configure a credential helper to remove this warning. See [2023-02-27T04:09:49.997Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T04:09:49.997Z] [2023-02-27T04:09:49.997Z] Login Succeeded [2023-02-27T04:09:49.997Z] nexus3.edgexfoundry.org:10004 [2023-02-27T04:09:49.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T04:09:50.257Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T04:09:50.257Z] Configure a credential helper to remove this warning. See [2023-02-27T04:09:50.257Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T04:09:50.257Z] [2023-02-27T04:09:50.257Z] Login Succeeded [2023-02-27T04:09:50.257Z] docker.io [2023-02-27T04:09:50.257Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T04:09:50.517Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T04:09:50.517Z] Configure a credential helper to remove this warning. See [2023-02-27T04:09:50.517Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T04:09:50.517Z] [2023-02-27T04:09:50.517Z] Login Succeeded [2023-02-27T04:09:50.517Z] ---> docker-login.sh ends [Pipeline] } [2023-02-27T04:09:50.546Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-27T04:09:51.178Z] + git rev-list -1 --merges 32e96771eeacfa7458d4c87772f375c2ba6e5dcb~1..32e96771eeacfa7458d4c87772f375c2ba6e5dcb [Pipeline] echo [2023-02-27T04:09:51.245Z] -----------> git rev-list -1 --merges 32e96771eeacfa7458d4c87772f375c2ba6e5dcb~1..32e96771eeacfa7458d4c87772f375c2ba6e5dcb 32e96771eeacfa7458d4c87772f375c2ba6e5dcb [false] [Pipeline] sh [2023-02-27T04:09:51.559Z] + git log --format=format:%s -1 32e96771eeacfa7458d4c87772f375c2ba6e5dcb [Pipeline] echo [2023-02-27T04:09:51.603Z] ========================================================= [2023-02-27T04:09:51.603Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-27T04:09:51.603Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-27T04:09:52.056Z] + git log --format=format:%s -1 32e96771eeacfa7458d4c87772f375c2ba6e5dcb [Pipeline] echo [2023-02-27T04:09:52.089Z] [semverPrep] GIT_COMMIT: 32e96771eeacfa7458d4c87772f375c2ba6e5dcb, Commit Message: build(deps): Bump github.com/IOTechSystems/onvif from 0.1.5 to 0.1.6 [Pipeline] echo [2023-02-27T04:09:52.122Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-27T04:09:52.504Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-27T04:09:52.504Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-27T04:09:52.504Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-27T04:09:52.504Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-27T04:09:52.504Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-27T04:09:52.504Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-27T04:09:52.504Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T04:09:52.943Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-27T04:09:52.943Z] [2023-02-27T04:09:52.943Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T04:09:53.338Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-27T04:09:53.339Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-27T04:09:53.339Z] b85a868b505f: Pulling fs layer [2023-02-27T04:09:53.339Z] e2be974225ed: Pulling fs layer [2023-02-27T04:09:53.339Z] 339a4e72a1f5: Pulling fs layer [2023-02-27T04:09:53.339Z] 988bab9f4d93: Pulling fs layer [2023-02-27T04:09:53.339Z] 1469e6f7b9e6: Pulling fs layer [2023-02-27T04:09:53.339Z] eaf3925da568: Pulling fs layer [2023-02-27T04:09:53.339Z] bab4dde63d76: Pulling fs layer [2023-02-27T04:09:53.339Z] bde34c3a00c8: Pulling fs layer [2023-02-27T04:09:53.339Z] b352a97aabf1: Pulling fs layer [2023-02-27T04:09:53.339Z] 4872d77fe225: Pulling fs layer [2023-02-27T04:09:53.339Z] 5851b861e8e6: Pulling fs layer [2023-02-27T04:09:53.339Z] bab4dde63d76: Waiting [2023-02-27T04:09:53.339Z] bde34c3a00c8: Waiting [2023-02-27T04:09:53.339Z] b352a97aabf1: Waiting [2023-02-27T04:09:53.339Z] 4872d77fe225: Waiting [2023-02-27T04:09:53.339Z] 5851b861e8e6: Waiting [2023-02-27T04:09:53.339Z] 988bab9f4d93: Waiting [2023-02-27T04:09:53.339Z] 1469e6f7b9e6: Waiting [2023-02-27T04:09:53.339Z] eaf3925da568: Waiting [2023-02-27T04:09:53.339Z] e2be974225ed: Verifying Checksum [2023-02-27T04:09:53.339Z] e2be974225ed: Download complete [2023-02-27T04:09:53.339Z] 988bab9f4d93: Download complete [2023-02-27T04:09:53.615Z] 1469e6f7b9e6: Verifying Checksum [2023-02-27T04:09:53.615Z] 1469e6f7b9e6: Download complete [2023-02-27T04:09:53.615Z] 339a4e72a1f5: Verifying Checksum [2023-02-27T04:09:53.615Z] 339a4e72a1f5: Download complete [2023-02-27T04:09:53.615Z] eaf3925da568: Download complete [2023-02-27T04:09:53.615Z] bde34c3a00c8: Download complete [2023-02-27T04:09:53.615Z] 4872d77fe225: Download complete [2023-02-27T04:09:53.615Z] 5851b861e8e6: Verifying Checksum [2023-02-27T04:09:53.615Z] 5851b861e8e6: Download complete [2023-02-27T04:09:53.615Z] b85a868b505f: Verifying Checksum [2023-02-27T04:09:53.615Z] b85a868b505f: Download complete [2023-02-27T04:09:53.873Z] bab4dde63d76: Verifying Checksum [2023-02-27T04:09:53.873Z] bab4dde63d76: Download complete [2023-02-27T04:09:54.810Z] b85a868b505f: Pull complete [2023-02-27T04:09:55.070Z] e2be974225ed: Pull complete [2023-02-27T04:09:55.644Z] 339a4e72a1f5: Pull complete [2023-02-27T04:09:55.644Z] 988bab9f4d93: Pull complete [2023-02-27T04:09:55.905Z] 1469e6f7b9e6: Pull complete [2023-02-27T04:09:55.905Z] eaf3925da568: Pull complete [2023-02-27T04:09:57.809Z] bab4dde63d76: Pull complete [2023-02-27T04:09:57.809Z] bde34c3a00c8: Pull complete [2023-02-27T04:09:57.809Z] b352a97aabf1: Pull complete [2023-02-27T04:09:58.068Z] 4872d77fe225: Pull complete [2023-02-27T04:09:58.068Z] 5851b861e8e6: Pull complete [2023-02-27T04:09:58.068Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-27T04:09:58.069Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-27T04:09:58.069Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T04:09:58.276Z] prd-ubuntu20.04-docker-8c-8g-7529 does not seem to be running inside a container [2023-02-27T04:09:58.311Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-245 -v /w/workspace/undry_device-onvif-camera_PR-245:/w/workspace/undry_device-onvif-camera_PR-245:rw,z -v /w/workspace/undry_device-onvif-camera_PR-245@tmp:/w/workspace/undry_device-onvif-camera_PR-245@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-27T04:10:00.507Z] $ docker top 6b81b5561d5bf619709a4130662a1258a48fdc89df7aeca219f5a37da5ff48ff -eo pid,comm [2023-02-27T04:10:00.559Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-27T04:10:00.559Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-27T04:10:00.672Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-27T04:10:00.672Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-27T04:10:00.790Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-27T04:10:00.795Z] $ docker exec 6b81b5561d5bf619709a4130662a1258a48fdc89df7aeca219f5a37da5ff48ff ssh-agent [2023-02-27T04:10:00.906Z] SSH_AUTH_SOCK=/tmp/ssh-snOzUmS88sQQ/agent.32 [2023-02-27T04:10:00.906Z] SSH_AGENT_PID=38 [2023-02-27T04:10:00.914Z] Running ssh-add (command line suppressed) [2023-02-27T04:10:01.028Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-245@tmp/private_key_3550683749959639563.key (/w/workspace/undry_device-onvif-camera_PR-245@tmp/private_key_3550683749959639563.key) [2023-02-27T04:10:01.038Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-27T04:10:01.370Z] + git tag --points-at HEAD [Pipeline] } [2023-02-27T04:10:01.398Z] $ docker exec --env ******** --env ******** 6b81b5561d5bf619709a4130662a1258a48fdc89df7aeca219f5a37da5ff48ff ssh-agent -k [2023-02-27T04:10:01.509Z] unset SSH_AUTH_SOCK; [2023-02-27T04:10:01.509Z] unset SSH_AGENT_PID; [2023-02-27T04:10:01.509Z] echo Agent pid 38 killed; [2023-02-27T04:10:01.517Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-27T04:10:01.606Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-27T04:10:01.606Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-27T04:10:01.712Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-27T04:10:01.717Z] $ docker exec 6b81b5561d5bf619709a4130662a1258a48fdc89df7aeca219f5a37da5ff48ff ssh-agent [2023-02-27T04:10:01.843Z] SSH_AUTH_SOCK=/tmp/ssh-XaguIhctVaFE/agent.70 [2023-02-27T04:10:01.843Z] SSH_AGENT_PID=76 [2023-02-27T04:10:01.847Z] Running ssh-add (command line suppressed) [2023-02-27T04:10:01.950Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-245@tmp/private_key_3683296497870999947.key (/w/workspace/undry_device-onvif-camera_PR-245@tmp/private_key_3683296497870999947.key) [2023-02-27T04:10:01.961Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-27T04:10:02.293Z] + git semver init [2023-02-27T04:10:02.552Z] 2023-02-27 04:10:02,480 [run_init] DEBUG init version:0.0.0 force:False [2023-02-27T04:10:02.553Z] 2023-02-27 04:10:02,481 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-245/.semver [2023-02-27T04:10:02.553Z] 2023-02-27 04:10:02,482 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-245/.semver [2023-02-27T04:10:02.553Z] 2023-02-27 04:10:02,482 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-245/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-245, universal_newlines=False, shell=None, istream=None) [2023-02-27T04:10:03.933Z] 2023-02-27 04:10:03,793 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-245/.git/info/exclude [2023-02-27T04:10:03.933Z] 2023-02-27 04:10:03,794 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-245/.semver/PR-245 with force:False [2023-02-27T04:10:03.933Z] 2023-02-27 04:10:03,794 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-245/.semver/PR-245 [2023-02-27T04:10:03.933Z] 2023-02-27 04:10:03,798 [execute] INFO git cat-file --batch-check [2023-02-27T04:10:03.933Z] 2023-02-27 04:10:03,798 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-245/.semver, universal_newlines=False, shell=None, istream=) [2023-02-27T04:10:03.933Z] 2023-02-27 04:10:03,803 [execute] INFO git cat-file --batch [2023-02-27T04:10:03.933Z] 2023-02-27 04:10:03,804 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-245/.semver, universal_newlines=False, shell=None, istream=) [2023-02-27T04:10:03.933Z] 2023-02-27 04:10:03,808 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-245/.semver/PR-245 [2023-02-27T04:10:03.933Z] 0.0.0 [Pipeline] } [2023-02-27T04:10:03.960Z] $ docker exec --env ******** --env ******** 6b81b5561d5bf619709a4130662a1258a48fdc89df7aeca219f5a37da5ff48ff ssh-agent -k [2023-02-27T04:10:04.064Z] unset SSH_AUTH_SOCK; [2023-02-27T04:10:04.064Z] unset SSH_AGENT_PID; [2023-02-27T04:10:04.064Z] echo Agent pid 76 killed; [2023-02-27T04:10:04.071Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-27T04:10:04.496Z] + git semver [Pipeline] } [2023-02-27T04:10:05.093Z] $ docker stop --time=1 6b81b5561d5bf619709a4130662a1258a48fdc89df7aeca219f5a37da5ff48ff [2023-02-27T04:10:06.398Z] $ docker rm -f --volumes 6b81b5561d5bf619709a4130662a1258a48fdc89df7aeca219f5a37da5ff48ff [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-27T04:10:06.800Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-27T04:10:07.067Z] Stashed 1 file(s) [Pipeline] echo [2023-02-27T04:10:07.084Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-27T04:10:07.669Z] provisioning config files... [2023-02-27T04:10:07.684Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-245@tmp/config1600951626171258351tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T04:10:08.028Z] ---> docker-login.sh [2023-02-27T04:10:08.028Z] nexus3.edgexfoundry.org:10001 [2023-02-27T04:10:08.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T04:10:08.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T04:10:08.028Z] Configure a credential helper to remove this warning. See [2023-02-27T04:10:08.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T04:10:08.028Z] [2023-02-27T04:10:08.028Z] Login Succeeded [2023-02-27T04:10:08.028Z] nexus3.edgexfoundry.org:10002 [2023-02-27T04:10:08.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T04:10:08.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T04:10:08.028Z] Configure a credential helper to remove this warning. See [2023-02-27T04:10:08.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T04:10:08.028Z] [2023-02-27T04:10:08.028Z] Login Succeeded [2023-02-27T04:10:08.028Z] nexus3.edgexfoundry.org:10003 [2023-02-27T04:10:08.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T04:10:08.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T04:10:08.286Z] Configure a credential helper to remove this warning. See [2023-02-27T04:10:08.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T04:10:08.286Z] [2023-02-27T04:10:08.286Z] Login Succeeded [2023-02-27T04:10:08.286Z] nexus3.edgexfoundry.org:10004 [2023-02-27T04:10:08.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T04:10:08.286Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T04:10:08.286Z] Configure a credential helper to remove this warning. See [2023-02-27T04:10:08.286Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T04:10:08.286Z] [2023-02-27T04:10:08.286Z] Login Succeeded [2023-02-27T04:10:08.286Z] docker.io [2023-02-27T04:10:08.286Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T04:10:08.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T04:10:08.546Z] Configure a credential helper to remove this warning. See [2023-02-27T04:10:08.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T04:10:08.546Z] [2023-02-27T04:10:08.546Z] Login Succeeded [2023-02-27T04:10:08.546Z] ---> docker-login.sh ends [Pipeline] } [2023-02-27T04:10:08.574Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-27T04:10:08.746Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-27T04:10:08.782Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-27T04:10:08.809Z] ========================================================= [2023-02-27T04:10:08.809Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-27T04:10:08.809Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T04:10:09.284Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-27T04:10:09.284Z] Sending build context to Docker daemon 27.74MB [2023-02-27T04:10:09.284Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-27T04:10:09.284Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-27T04:10:09.546Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-27T04:10:09.546Z] 213ec9aee27d: Pulling fs layer [2023-02-27T04:10:09.546Z] 4583459ba037: Pulling fs layer [2023-02-27T04:10:09.546Z] 93c1e223e6f2: Pulling fs layer [2023-02-27T04:10:09.546Z] 53926ce57604: Pulling fs layer [2023-02-27T04:10:09.546Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-27T04:10:09.546Z] 22ff95d597cd: Pulling fs layer [2023-02-27T04:10:09.546Z] 12d6caf4c0d1: Pulling fs layer [2023-02-27T04:10:09.546Z] 96b7cbca73a9: Pulling fs layer [2023-02-27T04:10:09.546Z] a7acece74701: Pulling fs layer [2023-02-27T04:10:09.546Z] 21b2b0c7a3f4: Waiting [2023-02-27T04:10:09.546Z] 22ff95d597cd: Waiting [2023-02-27T04:10:09.546Z] 12d6caf4c0d1: Waiting [2023-02-27T04:10:09.546Z] 96b7cbca73a9: Waiting [2023-02-27T04:10:09.546Z] a7acece74701: Waiting [2023-02-27T04:10:09.546Z] 53926ce57604: Waiting [2023-02-27T04:10:09.546Z] 93c1e223e6f2: Verifying Checksum [2023-02-27T04:10:09.546Z] 93c1e223e6f2: Download complete [2023-02-27T04:10:09.546Z] 4583459ba037: Verifying Checksum [2023-02-27T04:10:09.546Z] 4583459ba037: Download complete [2023-02-27T04:10:09.546Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-27T04:10:09.546Z] 21b2b0c7a3f4: Download complete [2023-02-27T04:10:09.546Z] 22ff95d597cd: Verifying Checksum [2023-02-27T04:10:09.546Z] 22ff95d597cd: Download complete [2023-02-27T04:10:09.546Z] 213ec9aee27d: Verifying Checksum [2023-02-27T04:10:09.546Z] 213ec9aee27d: Download complete [2023-02-27T04:10:09.546Z] 12d6caf4c0d1: Verifying Checksum [2023-02-27T04:10:09.546Z] 12d6caf4c0d1: Download complete [2023-02-27T04:10:09.812Z] 213ec9aee27d: Pull complete [2023-02-27T04:10:09.812Z] 4583459ba037: Pull complete [2023-02-27T04:10:10.092Z] 93c1e223e6f2: Pull complete [2023-02-27T04:10:10.357Z] a7acece74701: Verifying Checksum [2023-02-27T04:10:10.357Z] a7acece74701: Download complete [2023-02-27T04:10:10.615Z] 53926ce57604: Verifying Checksum [2023-02-27T04:10:10.615Z] 53926ce57604: Download complete [2023-02-27T04:10:10.615Z] 96b7cbca73a9: Verifying Checksum [2023-02-27T04:10:10.615Z] 96b7cbca73a9: Download complete [2023-02-27T04:10:14.797Z] 53926ce57604: Pull complete [2023-02-27T04:10:14.797Z] 21b2b0c7a3f4: Pull complete [2023-02-27T04:10:14.797Z] 22ff95d597cd: Pull complete [2023-02-27T04:10:14.797Z] 12d6caf4c0d1: Pull complete [2023-02-27T04:10:16.698Z] 96b7cbca73a9: Pull complete [2023-02-27T04:10:17.267Z] a7acece74701: Pull complete [2023-02-27T04:10:17.267Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-27T04:10:17.267Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-27T04:10:17.267Z] ---> db6d94c90886 [2023-02-27T04:10:17.267Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-27T04:10:20.559Z] ---> Running in 9869420d098f [2023-02-27T04:10:20.559Z] Removing intermediate container 9869420d098f [2023-02-27T04:10:20.559Z] ---> d82df1fc6526 [2023-02-27T04:10:20.559Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-27T04:10:20.559Z] ---> Running in 15e457ab383d [2023-02-27T04:10:20.559Z] Removing intermediate container 15e457ab383d [2023-02-27T04:10:20.559Z] ---> bb352a8a56eb [2023-02-27T04:10:20.559Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-02-27T04:10:20.559Z] ---> Running in 72db898f3fc8 [2023-02-27T04:10:20.559Z] Removing intermediate container 72db898f3fc8 [2023-02-27T04:10:20.559Z] ---> 6930d03301f6 [2023-02-27T04:10:20.559Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-02-27T04:10:20.818Z] ---> Running in 1882cc66c6ce [2023-02-27T04:10:20.818Z] Removing intermediate container 1882cc66c6ce [2023-02-27T04:10:20.818Z] ---> ea03be98f8c3 [2023-02-27T04:10:20.818Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-02-27T04:10:20.818Z] ---> Running in 2d5bdbee7eec [2023-02-27T04:10:20.818Z] Removing intermediate container 2d5bdbee7eec [2023-02-27T04:10:20.818Z] ---> b2f5694456a7 [2023-02-27T04:10:20.818Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-27T04:10:20.818Z] ---> Running in f9ade5745a57 [2023-02-27T04:10:21.077Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-27T04:10:21.336Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-27T04:10:21.594Z] OK: 211 MiB in 51 packages [2023-02-27T04:10:21.857Z] Removing intermediate container f9ade5745a57 [2023-02-27T04:10:21.858Z] ---> 2612e63aaa48 [2023-02-27T04:10:21.858Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-02-27T04:10:21.858Z] ---> Running in 04bce0a07c8d [2023-02-27T04:10:22.116Z] Removing intermediate container 04bce0a07c8d [2023-02-27T04:10:22.116Z] ---> 6ed062cd1354 [2023-02-27T04:10:22.116Z] Step 10/13 : COPY go.mod vendor* ./ [2023-02-27T04:10:22.116Z] ---> 3ef87112da07 [2023-02-27T04:10:22.116Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-27T04:10:22.116Z] ---> Running in 5b9c816426eb [2023-02-27T04:10:22.494Z] Still waiting to schedule task [2023-02-27T04:10:22.495Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-27T04:11:00.831Z] Removing intermediate container 5b9c816426eb [2023-02-27T04:11:00.831Z] ---> 60178423fa27 [2023-02-27T04:11:00.831Z] Step 12/13 : COPY . . [2023-02-27T04:11:00.831Z] ---> 0a7962868e32 [2023-02-27T04:11:00.831Z] Step 13/13 : RUN ${MAKE} [2023-02-27T04:11:00.831Z] ---> Running in d1d9dc08661c [2023-02-27T04:11:00.831Z] noop [2023-02-27T04:11:00.831Z] Removing intermediate container d1d9dc08661c [2023-02-27T04:11:00.831Z] ---> fae3522aaaf2 [2023-02-27T04:11:00.831Z] Successfully built fae3522aaaf2 [2023-02-27T04:11:00.831Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T04:11:01.273Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-27T04:11:01.273Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T04:11:01.408Z] prd-ubuntu20.04-docker-8c-8g-7529 does not seem to be running inside a container [2023-02-27T04:11:01.438Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-245 -v /w/workspace/undry_device-onvif-camera_PR-245:/w/workspace/undry_device-onvif-camera_PR-245:rw,z -v /w/workspace/undry_device-onvif-camera_PR-245@tmp:/w/workspace/undry_device-onvif-camera_PR-245@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 ******** ci-base-image-x86_64 cat [2023-02-27T04:11:01.797Z] $ docker top 78be7a1297e0c7023a93db019c1acf6f93515adc8c9acc0159f6dc15f463d103 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T04:11:02.180Z] + go version [2023-02-27T04:11:02.180Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-27T04:11:02.212Z] $ docker stop --time=1 78be7a1297e0c7023a93db019c1acf6f93515adc8c9acc0159f6dc15f463d103 [2023-02-27T04:11:03.500Z] $ docker rm -f --volumes 78be7a1297e0c7023a93db019c1acf6f93515adc8c9acc0159f6dc15f463d103 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T04:11:04.185Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-27T04:11:04.185Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T04:11:04.339Z] prd-ubuntu20.04-docker-8c-8g-7529 does not seem to be running inside a container [2023-02-27T04:11:04.365Z] $ 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-245 -v /w/workspace/undry_device-onvif-camera_PR-245:/w/workspace/undry_device-onvif-camera_PR-245:rw,z -v /w/workspace/undry_device-onvif-camera_PR-245@tmp:/w/workspace/undry_device-onvif-camera_PR-245@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 ******** ci-base-image-x86_64 cat [2023-02-27T04:11:04.709Z] $ docker top be0ce649f30f71b507e5af6218c681e1daf89d9fe9a0d61ad2a112c44f83212e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T04:11:05.100Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-245 [Pipeline] fileExists [Pipeline] sh [2023-02-27T04:11:05.456Z] + make test [2023-02-27T04:11:05.456Z] go test ./... -coverprofile=coverage.out ./... [2023-02-27T04:11:05.713Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-02-27T04:11:17.905Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-02-27T04:11:19.815Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.038s coverage: 29.3% of statements [2023-02-27T04:11:19.815Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-02-27T04:11:19.815Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.470s coverage: 86.5% of statements [2023-02-27T04:11:27.932Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-27T04:11:27.932Z] go vet ./... [2023-02-27T04:11:31.215Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-27T04:11:31.215Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-27T04:11:31.215Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-27T04:11:31.251Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-27T04:11:31.282Z] $ docker stop --time=1 be0ce649f30f71b507e5af6218c681e1daf89d9fe9a0d61ad2a112c44f83212e [2023-02-27T04:11:33.610Z] $ docker rm -f --volumes be0ce649f30f71b507e5af6218c681e1daf89d9fe9a0d61ad2a112c44f83212e [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-27T04:11:34.107Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-27T04:11:34.192Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-27T04:11:34.759Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-27T04:11:35.070Z] + ls -al . [2023-02-27T04:11:35.071Z] total 236 [2023-02-27T04:11:35.071Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 27 04:11 . [2023-02-27T04:11:35.071Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 04:09 .. [2023-02-27T04:11:35.071Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 27 04:11 .git [2023-02-27T04:11:35.071Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 04:09 .github [2023-02-27T04:11:35.071Z] -rw-rw-r-- 1 jenkins jenkins 496 Feb 27 04:09 .gitignore [2023-02-27T04:11:35.071Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 27 04:09 .golangci.yml [2023-02-27T04:11:35.071Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 04:10 .semver [2023-02-27T04:11:35.071Z] -rw-rw-r-- 1 jenkins jenkins 9857 Feb 27 04:09 Attribution.txt [2023-02-27T04:11:35.071Z] -rw-rw-r-- 1 jenkins jenkins 6312 Feb 27 04:09 CHANGELOG.md [2023-02-27T04:11:35.071Z] -rw-rw-r-- 1 jenkins jenkins 1574 Feb 27 04:09 Dockerfile [2023-02-27T04:11:35.071Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 27 04:09 GOVERNANCE.md [2023-02-27T04:11:35.071Z] -rw-rw-r-- 1 jenkins jenkins 734 Feb 27 04:09 Jenkinsfile [2023-02-27T04:11:35.071Z] -rw-rw-r-- 1 jenkins jenkins 11348 Feb 27 04:09 LICENSE [2023-02-27T04:11:35.071Z] -rw-rw-r-- 1 jenkins jenkins 2577 Feb 27 04:09 Makefile [2023-02-27T04:11:35.071Z] -rw-rw-r-- 1 jenkins jenkins 625 Feb 27 04:09 OWNERS.md [2023-02-27T04:11:35.071Z] -rw-rw-r-- 1 jenkins jenkins 6595 Feb 27 04:09 README.md [2023-02-27T04:11:35.071Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 27 04:10 VERSION [2023-02-27T04:11:35.071Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 04:09 bin [2023-02-27T04:11:35.071Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 04:09 cmd [2023-02-27T04:11:35.071Z] -rw-r--r-- 1 jenkins jenkins 79184 Feb 27 04:11 coverage.out [2023-02-27T04:11:35.071Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 27 04:09 doc [2023-02-27T04:11:35.071Z] -rw-rw-r-- 1 jenkins jenkins 3600 Feb 27 04:09 go.mod [2023-02-27T04:11:35.071Z] -rw-rw-r-- 1 jenkins jenkins 34701 Feb 27 04:09 go.sum [2023-02-27T04:11:35.071Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 04:09 internal [2023-02-27T04:11:35.071Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 04:09 snap [2023-02-27T04:11:35.071Z] -rw-rw-r-- 1 jenkins jenkins 236 Feb 27 04:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T04:11:35.495Z] + 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=32e96771eeacfa7458d4c87772f375c2ba6e5dcb --label arch=amd64 --label version=0.0.0 . [2023-02-27T04:11:35.495Z] Sending build context to Docker daemon 27.81MB [2023-02-27T04:11:35.495Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-02-27T04:11:35.495Z] Step 2/26 : FROM ${BASE} AS builder [2023-02-27T04:11:35.495Z] ---> fae3522aaaf2 [2023-02-27T04:11:35.495Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-02-27T04:11:35.756Z] ---> Running in d170ca00cd3e [2023-02-27T04:11:35.756Z] Removing intermediate container d170ca00cd3e [2023-02-27T04:11:35.756Z] ---> 99f059c0fddd [2023-02-27T04:11:35.756Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-27T04:11:36.015Z] ---> Running in da9022dd48fa [2023-02-27T04:11:36.015Z] Removing intermediate container da9022dd48fa [2023-02-27T04:11:36.015Z] ---> 5eccbbae665f [2023-02-27T04:11:36.015Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-02-27T04:11:36.015Z] ---> Running in 87ed929b8bf8 [2023-02-27T04:11:36.015Z] Removing intermediate container 87ed929b8bf8 [2023-02-27T04:11:36.015Z] ---> 3d18e9cc5494 [2023-02-27T04:11:36.015Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-02-27T04:11:36.015Z] ---> Running in cb0ab878ca07 [2023-02-27T04:11:36.275Z] Removing intermediate container cb0ab878ca07 [2023-02-27T04:11:36.275Z] ---> 46eeaa872dba [2023-02-27T04:11:36.275Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-02-27T04:11:36.275Z] ---> Running in 56dc7e0ad155 [2023-02-27T04:11:36.275Z] Removing intermediate container 56dc7e0ad155 [2023-02-27T04:11:36.275Z] ---> d72365303998 [2023-02-27T04:11:36.275Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-27T04:11:36.275Z] ---> Running in 8729f7504cdb [2023-02-27T04:11:36.535Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-27T04:11:36.795Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-27T04:11:37.056Z] OK: 211 MiB in 51 packages [2023-02-27T04:11:37.315Z] Removing intermediate container 8729f7504cdb [2023-02-27T04:11:37.315Z] ---> 1d09310838d5 [2023-02-27T04:11:37.315Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-02-27T04:11:37.315Z] ---> Running in 7c9223ae68da [2023-02-27T04:11:37.315Z] Removing intermediate container 7c9223ae68da [2023-02-27T04:11:37.315Z] ---> c22d7d8da5a5 [2023-02-27T04:11:37.315Z] Step 10/26 : COPY go.mod vendor* ./ [2023-02-27T04:11:37.593Z] ---> 8fe969755861 [2023-02-27T04:11:37.593Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-27T04:11:37.593Z] ---> Running in 8236ad7a049c [2023-02-27T04:11:38.596Z] Removing intermediate container 8236ad7a049c [2023-02-27T04:11:38.596Z] ---> e066a0f67ae4 [2023-02-27T04:11:38.596Z] Step 12/26 : COPY . . [2023-02-27T04:11:39.580Z] ---> f761afd3ecc2 [2023-02-27T04:11:39.580Z] Step 13/26 : RUN ${MAKE} [2023-02-27T04:11:39.580Z] ---> Running in 44458662fb1d [2023-02-27T04:11:39.580Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-02-27T04:12:01.506Z] Removing intermediate container 44458662fb1d [2023-02-27T04:12:01.506Z] ---> 123b09b58f63 [2023-02-27T04:12:01.506Z] Step 14/26 : FROM alpine:3.16 [2023-02-27T04:12:01.506Z] 3.16: Pulling from library/alpine [2023-02-27T04:12:01.506Z] ef5531b6e74e: Pulling fs layer [2023-02-27T04:12:01.765Z] ef5531b6e74e: Verifying Checksum [2023-02-27T04:12:01.765Z] ef5531b6e74e: Download complete [2023-02-27T04:12:02.025Z] ef5531b6e74e: Pull complete [2023-02-27T04:12:02.025Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-27T04:12:02.025Z] Status: Downloaded newer image for alpine:3.16 [2023-02-27T04:12:02.025Z] ---> dfd21b5a31f5 [2023-02-27T04:12:02.025Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-02-27T04:12:02.025Z] ---> Running in e7df2da9b05d [2023-02-27T04:12:02.025Z] Removing intermediate container e7df2da9b05d [2023-02-27T04:12:02.025Z] ---> 409590e82ff2 [2023-02-27T04:12:02.025Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-02-27T04:12:02.025Z] ---> Running in ac668f644f41 [2023-02-27T04:12:02.283Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-27T04:12:02.541Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-27T04:12:02.799Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-27T04:12:02.799Z] Executing busybox-1.35.0-r17.trigger [2023-02-27T04:12:02.799Z] OK: 6 MiB in 15 packages [2023-02-27T04:12:03.370Z] Removing intermediate container ac668f644f41 [2023-02-27T04:12:03.370Z] ---> 32407b8c7adf [2023-02-27T04:12:03.370Z] Step 17/26 : WORKDIR / [2023-02-27T04:12:03.370Z] ---> Running in 08593436a740 [2023-02-27T04:12:03.370Z] Removing intermediate container 08593436a740 [2023-02-27T04:12:03.370Z] ---> 8038aee149f1 [2023-02-27T04:12:03.370Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-02-27T04:12:03.983Z] ---> 66ebca903edd [2023-02-27T04:12:03.983Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-02-27T04:12:03.983Z] ---> 83d999b06942 [2023-02-27T04:12:03.983Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-02-27T04:12:04.242Z] ---> dd03a0e261ef [2023-02-27T04:12:04.242Z] Step 21/26 : EXPOSE 59984 [2023-02-27T04:12:04.242Z] ---> Running in f47c3e8cdf88 [2023-02-27T04:12:04.242Z] Removing intermediate container f47c3e8cdf88 [2023-02-27T04:12:04.242Z] ---> 3c02b327e2d8 [2023-02-27T04:12:04.242Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-02-27T04:12:04.242Z] ---> Running in 6b74a8e7ac77 [2023-02-27T04:12:04.500Z] Removing intermediate container 6b74a8e7ac77 [2023-02-27T04:12:04.500Z] ---> 1f39522b0091 [2023-02-27T04:12:04.500Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-27T04:12:04.500Z] ---> Running in 1bbfd217e4c6 [2023-02-27T04:12:04.500Z] Removing intermediate container 1bbfd217e4c6 [2023-02-27T04:12:04.500Z] ---> 4765c6097c32 [2023-02-27T04:12:04.500Z] Step 24/26 : LABEL arch=amd64 [2023-02-27T04:12:04.500Z] ---> Running in 9928765cbcfe [2023-02-27T04:12:04.500Z] Removing intermediate container 9928765cbcfe [2023-02-27T04:12:04.500Z] ---> 650a7aba04c2 [2023-02-27T04:12:04.500Z] Step 25/26 : LABEL git_sha=32e96771eeacfa7458d4c87772f375c2ba6e5dcb [2023-02-27T04:12:04.500Z] ---> Running in 30385a9ea995 [2023-02-27T04:12:04.758Z] Removing intermediate container 30385a9ea995 [2023-02-27T04:12:04.758Z] ---> 8ae6217bcd2e [2023-02-27T04:12:04.758Z] Step 26/26 : LABEL version=0.0.0 [2023-02-27T04:12:04.758Z] ---> Running in 1bf12bc2676a [2023-02-27T04:12:04.758Z] Removing intermediate container 1bf12bc2676a [2023-02-27T04:12:04.758Z] ---> c0b0359c9cc6 [2023-02-27T04:12:04.758Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-27T04:12:04.758Z] Successfully built c0b0359c9cc6 [2023-02-27T04:12:04.758Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T04:12:05.596Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-27T04:12:05.596Z] [2023-02-27T04:12:05.596Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T04:12:05.972Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-27T04:12:05.972Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-27T04:12:05.972Z] 5eb5b503b376: Pulling fs layer [2023-02-27T04:12:05.972Z] 5c69ac0246d0: Pulling fs layer [2023-02-27T04:12:05.972Z] ec43610c2a17: Pulling fs layer [2023-02-27T04:12:05.972Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-27T04:12:05.972Z] 33b1e0a273af: Pulling fs layer [2023-02-27T04:12:05.972Z] 5d3b04190fa2: Pulling fs layer [2023-02-27T04:12:05.972Z] 2f39f015ded8: Pulling fs layer [2023-02-27T04:12:05.972Z] 3a2ae6a8a46f: Waiting [2023-02-27T04:12:05.972Z] 33b1e0a273af: Waiting [2023-02-27T04:12:05.972Z] 5d3b04190fa2: Waiting [2023-02-27T04:12:05.972Z] 2f39f015ded8: Waiting [2023-02-27T04:12:05.972Z] 5c69ac0246d0: Verifying Checksum [2023-02-27T04:12:05.972Z] 5c69ac0246d0: Download complete [2023-02-27T04:12:05.972Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-27T04:12:05.972Z] 3a2ae6a8a46f: Download complete [2023-02-27T04:12:06.231Z] 33b1e0a273af: Verifying Checksum [2023-02-27T04:12:06.231Z] 33b1e0a273af: Download complete [2023-02-27T04:12:06.231Z] 5d3b04190fa2: Verifying Checksum [2023-02-27T04:12:06.231Z] 5d3b04190fa2: Download complete [2023-02-27T04:12:06.231Z] ec43610c2a17: Verifying Checksum [2023-02-27T04:12:06.231Z] ec43610c2a17: Download complete [2023-02-27T04:12:06.231Z] 5eb5b503b376: Verifying Checksum [2023-02-27T04:12:06.231Z] 5eb5b503b376: Download complete [2023-02-27T04:12:06.796Z] 2f39f015ded8: Download complete [2023-02-27T04:12:07.731Z] 5eb5b503b376: Pull complete [2023-02-27T04:12:07.731Z] 5c69ac0246d0: Pull complete [2023-02-27T04:12:08.298Z] ec43610c2a17: Pull complete [2023-02-27T04:12:08.298Z] 3a2ae6a8a46f: Pull complete [2023-02-27T04:12:08.556Z] 33b1e0a273af: Pull complete [2023-02-27T04:12:08.556Z] 5d3b04190fa2: Pull complete [2023-02-27T04:12:12.736Z] 2f39f015ded8: Pull complete [2023-02-27T04:12:12.736Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-27T04:12:12.736Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-27T04:12:12.736Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T04:12:12.931Z] prd-ubuntu20.04-docker-8c-8g-7529 does not seem to be running inside a container [2023-02-27T04:12:12.960Z] $ 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-245 -v /w/workspace/undry_device-onvif-camera_PR-245:/w/workspace/undry_device-onvif-camera_PR-245:rw,z -v /w/workspace/undry_device-onvif-camera_PR-245@tmp:/w/workspace/undry_device-onvif-camera_PR-245@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-27T04:12:15.429Z] $ docker top 3c3c46b5db2b79c374196fda2c4ee69972bba50814f53e980a6f2f76957c8684 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T04:12:15.872Z] ---> job-cost.sh [2023-02-27T04:12:15.872Z] lf-activate-venv: SKIPPING [2023-02-27T04:12:15.872Z] INFO: No Stack... [2023-02-27T04:12:16.132Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-27T04:12:16.698Z] INFO: Archiving Costs [Pipeline] sh [2023-02-27T04:12:17.009Z] + cut -d, -f6 [2023-02-27T04:12:17.009Z] + cat /w/workspace/undry_device-onvif-camera_PR-245/archives/cost.csv [Pipeline] lock [2023-02-27T04:12:17.049Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-245-1-stack-cost] [2023-02-27T04:12:17.054Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-245-1-stack-cost] did not exist. Created. [2023-02-27T04:12:17.054Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-245-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-27T04:12:17.446Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-27T04:12:17.500Z] Stashed 1 file(s) [Pipeline] } [2023-02-27T04:12:17.530Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-245-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-27T04:12:17.621Z] $ docker stop --time=1 3c3c46b5db2b79c374196fda2c4ee69972bba50814f53e980a6f2f76957c8684 [2023-02-27T04:12:18.788Z] $ docker rm -f --volumes 3c3c46b5db2b79c374196fda2c4ee69972bba50814f53e980a6f2f76957c8684 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-27T04:13:33.174Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7530 in /w/workspace/undry_device-onvif-camera_PR-245 [Pipeline] { [Pipeline] ws [2023-02-27T04:13:33.230Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-02-27T04:13:33.311Z] The recommended git tool is: git [2023-02-27T04:13:40.322Z] using credential edgex-jenkins-ssh [2023-02-27T04:13:40.345Z] Cloning the remote Git repository [2023-02-27T04:13:40.412Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-27T04:13:40.510Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-02-27T04:13:40.707Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-27T04:13:40.709Z] > git --version # timeout=10 [2023-02-27T04:13:40.737Z] > git --version # 'git version 2.25.1' [2023-02-27T04:13:40.740Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-27T04:13:40.813Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-27T04:13:42.455Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-02-27T04:13:42.486Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-27T04:13:43.577Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-02-27T04:13:43.637Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-27T04:13:43.639Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-27T04:13:44.316Z] Merging remotes/origin/main commit 4a9e67fa37862f83ef90b637e6c765491ff37d3a into PR head commit 32e96771eeacfa7458d4c87772f375c2ba6e5dcb [2023-02-27T04:13:44.882Z] Merge succeeded, producing 32e96771eeacfa7458d4c87772f375c2ba6e5dcb [2023-02-27T04:13:44.882Z] Checking out Revision 32e96771eeacfa7458d4c87772f375c2ba6e5dcb (PR-245) [2023-02-27T04:13:43.659Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/245/head:refs/remotes/origin/PR-245 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-27T04:13:44.342Z] > git config core.sparsecheckout # timeout=10 [2023-02-27T04:13:44.370Z] > git checkout -f 32e96771eeacfa7458d4c87772f375c2ba6e5dcb # timeout=10 [2023-02-27T04:13:44.770Z] > git remote # timeout=10 [2023-02-27T04:13:44.791Z] > git config --get remote.origin.url # timeout=10 [2023-02-27T04:13:44.815Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-27T04:13:44.832Z] > git merge 4a9e67fa37862f83ef90b637e6c765491ff37d3a # timeout=10 [2023-02-27T04:13:44.863Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-27T04:13:44.892Z] > git config core.sparsecheckout # timeout=10 [2023-02-27T04:13:44.909Z] > git checkout -f 32e96771eeacfa7458d4c87772f375c2ba6e5dcb # timeout=10 [2023-02-27T04:13:46.018Z] Commit message: "build(deps): Bump github.com/IOTechSystems/onvif from 0.1.5 to 0.1.6" [2023-02-27T04:13:46.087Z] > git --version # timeout=10 [2023-02-27T04:13:46.102Z] > git --version # 'git version 2.25.1' [2023-02-27T04:13:46.132Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-27T04:13:47.263Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-27T04:13:47.263Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-27T04:13:47.263Z] Dload Upload Total Spent Left Speed [2023-02-27T04:13:47.263Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 86155 0 --:--:-- --:--:-- --:--:-- 86741 [Pipeline] sh [2023-02-27T04:13:47.938Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-27T04:13:48.291Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-27T04:13:48.291Z] + sudo tee /etc/docker/daemon.new [2023-02-27T04:13:48.291Z] { [2023-02-27T04:13:48.291Z] "registry-mirrors": [ [2023-02-27T04:13:48.291Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-27T04:13:48.291Z] ], [2023-02-27T04:13:48.291Z] "bip": "10.250.0.254/24", [2023-02-27T04:13:48.292Z] "hosts": [ [2023-02-27T04:13:48.292Z] "tcp://0.0.0.0:5555", [2023-02-27T04:13:48.292Z] "unix:///var/run/docker.sock" [2023-02-27T04:13:48.292Z] ], [2023-02-27T04:13:48.292Z] "mtu": 1458, [2023-02-27T04:13:48.292Z] "selinux-enabled": true, [2023-02-27T04:13:48.292Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-27T04:13:48.292Z] } [Pipeline] sh [2023-02-27T04:13:48.657Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-27T04:13:49.024Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-27T04:14:11.269Z] provisioning config files... [2023-02-27T04:14:11.302Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config6784074104165138247tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T04:14:11.713Z] ---> docker-login.sh [2023-02-27T04:14:11.713Z] nexus3.edgexfoundry.org:10001 [2023-02-27T04:14:12.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T04:14:12.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T04:14:12.307Z] Configure a credential helper to remove this warning. See [2023-02-27T04:14:12.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T04:14:12.307Z] [2023-02-27T04:14:12.307Z] Login Succeeded [2023-02-27T04:14:12.585Z] nexus3.edgexfoundry.org:10002 [2023-02-27T04:14:12.858Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T04:14:12.858Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T04:14:12.858Z] Configure a credential helper to remove this warning. See [2023-02-27T04:14:12.858Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T04:14:12.858Z] [2023-02-27T04:14:12.858Z] Login Succeeded [2023-02-27T04:14:12.858Z] nexus3.edgexfoundry.org:10003 [2023-02-27T04:14:13.132Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T04:14:13.407Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T04:14:13.407Z] Configure a credential helper to remove this warning. See [2023-02-27T04:14:13.407Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T04:14:13.407Z] [2023-02-27T04:14:13.407Z] Login Succeeded [2023-02-27T04:14:13.407Z] nexus3.edgexfoundry.org:10004 [2023-02-27T04:14:13.678Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T04:14:13.678Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T04:14:13.678Z] Configure a credential helper to remove this warning. See [2023-02-27T04:14:13.678Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T04:14:13.678Z] [2023-02-27T04:14:13.678Z] Login Succeeded [2023-02-27T04:14:13.678Z] docker.io [2023-02-27T04:14:14.274Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T04:14:14.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T04:14:14.547Z] Configure a credential helper to remove this warning. See [2023-02-27T04:14:14.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T04:14:14.547Z] [2023-02-27T04:14:14.547Z] Login Succeeded [2023-02-27T04:14:14.547Z] ---> docker-login.sh ends [Pipeline] } [2023-02-27T04:14:14.576Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-27T04:14:15.031Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-27T04:14:15.076Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-27T04:14:15.113Z] ========================================================= [2023-02-27T04:14:15.113Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-27T04:14:15.113Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T04:14:15.649Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-27T04:14:16.249Z] Sending build context to Docker daemon 20.56MB [2023-02-27T04:14:16.249Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-27T04:14:16.249Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-27T04:14:16.524Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-27T04:14:16.524Z] 9b18e9b68314: Pulling fs layer [2023-02-27T04:14:16.524Z] 35d82f9e3411: Pulling fs layer [2023-02-27T04:14:16.524Z] e16973657156: Pulling fs layer [2023-02-27T04:14:16.524Z] fc693d55d65f: Pulling fs layer [2023-02-27T04:14:16.524Z] 7e9fc2657dce: Pulling fs layer [2023-02-27T04:14:16.524Z] dda99020689f: Pulling fs layer [2023-02-27T04:14:16.524Z] db1c61fa0a46: Pulling fs layer [2023-02-27T04:14:16.524Z] 891c053d2c06: Pulling fs layer [2023-02-27T04:14:16.524Z] 7e9fc2657dce: Waiting [2023-02-27T04:14:16.524Z] dda99020689f: Waiting [2023-02-27T04:14:16.524Z] db1c61fa0a46: Waiting [2023-02-27T04:14:16.524Z] fc693d55d65f: Waiting [2023-02-27T04:14:16.524Z] 891c053d2c06: Waiting [2023-02-27T04:14:16.524Z] e16973657156: Verifying Checksum [2023-02-27T04:14:16.524Z] e16973657156: Download complete [2023-02-27T04:14:16.524Z] 35d82f9e3411: Verifying Checksum [2023-02-27T04:14:16.524Z] 35d82f9e3411: Download complete [2023-02-27T04:14:16.524Z] 7e9fc2657dce: Verifying Checksum [2023-02-27T04:14:16.524Z] 7e9fc2657dce: Download complete [2023-02-27T04:14:16.524Z] dda99020689f: Verifying Checksum [2023-02-27T04:14:16.524Z] dda99020689f: Download complete [2023-02-27T04:14:16.524Z] 9b18e9b68314: Verifying Checksum [2023-02-27T04:14:16.524Z] 9b18e9b68314: Download complete [2023-02-27T04:14:17.507Z] 9b18e9b68314: Pull complete [2023-02-27T04:14:17.781Z] 891c053d2c06: Verifying Checksum [2023-02-27T04:14:17.781Z] 891c053d2c06: Download complete [2023-02-27T04:14:19.220Z] db1c61fa0a46: Verifying Checksum [2023-02-27T04:14:19.220Z] db1c61fa0a46: Download complete [2023-02-27T04:14:19.827Z] fc693d55d65f: Verifying Checksum [2023-02-27T04:14:19.827Z] fc693d55d65f: Download complete [2023-02-27T04:14:19.827Z] 35d82f9e3411: Pull complete [2023-02-27T04:14:20.100Z] e16973657156: Pull complete [2023-02-27T04:14:35.131Z] fc693d55d65f: Pull complete [2023-02-27T04:14:35.131Z] 7e9fc2657dce: Pull complete [2023-02-27T04:14:35.131Z] dda99020689f: Pull complete [2023-02-27T04:14:40.540Z] db1c61fa0a46: Pull complete [2023-02-27T04:14:42.502Z] 891c053d2c06: Pull complete [2023-02-27T04:14:42.502Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-27T04:14:42.502Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-27T04:14:42.502Z] ---> f96f9c87975a [2023-02-27T04:14:42.502Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-27T04:14:44.465Z] ---> Running in f8497251f0e0 [2023-02-27T04:14:44.744Z] Removing intermediate container f8497251f0e0 [2023-02-27T04:14:44.744Z] ---> 354c79918454 [2023-02-27T04:14:44.744Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-27T04:14:45.080Z] ---> Running in 207958ec66de [2023-02-27T04:14:45.377Z] Removing intermediate container 207958ec66de [2023-02-27T04:14:45.377Z] ---> b8a450c2f667 [2023-02-27T04:14:45.377Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-02-27T04:14:45.377Z] ---> Running in bb91b2b51bae [2023-02-27T04:14:45.990Z] Removing intermediate container bb91b2b51bae [2023-02-27T04:14:45.990Z] ---> d8a6a05e5551 [2023-02-27T04:14:45.990Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-02-27T04:14:45.990Z] ---> Running in f12b4a66140d [2023-02-27T04:14:47.434Z] Removing intermediate container f12b4a66140d [2023-02-27T04:14:47.434Z] ---> 40ee37d03dad [2023-02-27T04:14:47.434Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-02-27T04:14:47.434Z] ---> Running in 5365b24d60cb [2023-02-27T04:14:47.707Z] Removing intermediate container 5365b24d60cb [2023-02-27T04:14:47.707Z] ---> 8f46ec5472fa [2023-02-27T04:14:47.707Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-27T04:14:47.979Z] ---> Running in 15392aaf388a [2023-02-27T04:14:48.964Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-27T04:14:49.554Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-27T04:14:50.524Z] OK: 221 MiB in 51 packages [2023-02-27T04:14:51.514Z] Removing intermediate container 15392aaf388a [2023-02-27T04:14:51.514Z] ---> f5270aab399d [2023-02-27T04:14:51.514Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-02-27T04:14:51.514Z] ---> Running in b48a36889c4d [2023-02-27T04:14:51.789Z] Removing intermediate container b48a36889c4d [2023-02-27T04:14:51.789Z] ---> f6a966f07a1c [2023-02-27T04:14:51.789Z] Step 10/13 : COPY go.mod vendor* ./ [2023-02-27T04:14:52.382Z] ---> 5be6c27216b3 [2023-02-27T04:14:52.382Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-27T04:14:52.382Z] ---> Running in 44b75f0791b4 [2023-02-27T04:16:14.084Z] Removing intermediate container 44b75f0791b4 [2023-02-27T04:16:14.084Z] ---> 868efedc5131 [2023-02-27T04:16:14.084Z] Step 12/13 : COPY . . [2023-02-27T04:16:14.084Z] ---> aa3d3d133b95 [2023-02-27T04:16:14.084Z] Step 13/13 : RUN ${MAKE} [2023-02-27T04:16:14.084Z] ---> Running in d029abc59da9 [2023-02-27T04:16:14.084Z] noop [2023-02-27T04:16:14.084Z] Removing intermediate container d029abc59da9 [2023-02-27T04:16:14.084Z] ---> bccdceab89d0 [2023-02-27T04:16:14.084Z] Successfully built bccdceab89d0 [2023-02-27T04:16:14.084Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T04:16:14.586Z] + docker inspect -f . ci-base-image-arm64 [2023-02-27T04:16:14.586Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T04:16:14.869Z] prd-ubuntu20.04-docker-arm64-4c-16g-7530 does not seem to be running inside a container [2023-02-27T04:16:14.952Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-27T04:16:17.288Z] $ docker top cece9a4b492eb5f23da802ddc9572f9fa51ead763573d167125facc22c21bf9b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T04:16:18.184Z] + go version [2023-02-27T04:16:18.184Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-27T04:16:18.221Z] $ docker stop --time=1 cece9a4b492eb5f23da802ddc9572f9fa51ead763573d167125facc22c21bf9b [2023-02-27T04:16:19.825Z] $ docker rm -f --volumes cece9a4b492eb5f23da802ddc9572f9fa51ead763573d167125facc22c21bf9b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T04:16:20.706Z] + docker inspect -f . ci-base-image-arm64 [2023-02-27T04:16:20.706Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T04:16:20.959Z] prd-ubuntu20.04-docker-arm64-4c-16g-7530 does not seem to be running inside a container [2023-02-27T04:16:21.024Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-27T04:16:22.165Z] $ docker top 1498b558859862d404ef7cd0807d528aa55ec6f263517a4e6f1d212cfa0acb8a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T04:16:23.032Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-02-27T04:16:23.731Z] + make test [2023-02-27T04:16:23.731Z] go test ./... -coverprofile=coverage.out ./... [2023-02-27T04:16:25.685Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-02-27T04:18:17.378Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-02-27T04:18:17.379Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.221s coverage: 29.3% of statements [2023-02-27T04:18:17.379Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-02-27T04:18:29.698Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.564s coverage: 86.5% of statements [2023-02-27T04:18:29.698Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-27T04:18:29.698Z] go vet ./... [2023-02-27T04:19:02.183Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-27T04:19:02.183Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-27T04:19:02.183Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-27T04:19:02.481Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-27T04:19:02.515Z] $ docker stop --time=1 1498b558859862d404ef7cd0807d528aa55ec6f263517a4e6f1d212cfa0acb8a [2023-02-27T04:19:04.252Z] $ docker rm -f --volumes 1498b558859862d404ef7cd0807d528aa55ec6f263517a4e6f1d212cfa0acb8a [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-27T04:19:05.292Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-27T04:19:05.326Z] Warning: overwriting stash ‘coverage-report’ [2023-02-27T04:19:05.866Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-27T04:19:06.465Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-27T04:19:06.810Z] + ls -al . [2023-02-27T04:19:06.810Z] total 232 [2023-02-27T04:19:06.810Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 27 04:16 . [2023-02-27T04:19:06.810Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 04:13 .. [2023-02-27T04:19:06.810Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 27 04:13 .git [2023-02-27T04:19:06.810Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 04:13 .github [2023-02-27T04:19:06.810Z] -rw-rw-r-- 1 jenkins jenkins 496 Feb 27 04:13 .gitignore [2023-02-27T04:19:06.810Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 27 04:13 .golangci.yml [2023-02-27T04:19:06.810Z] -rw-rw-r-- 1 jenkins jenkins 9857 Feb 27 04:13 Attribution.txt [2023-02-27T04:19:06.810Z] -rw-rw-r-- 1 jenkins jenkins 6312 Feb 27 04:13 CHANGELOG.md [2023-02-27T04:19:06.810Z] -rw-rw-r-- 1 jenkins jenkins 1574 Feb 27 04:13 Dockerfile [2023-02-27T04:19:06.810Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 27 04:13 GOVERNANCE.md [2023-02-27T04:19:06.810Z] -rw-rw-r-- 1 jenkins jenkins 734 Feb 27 04:13 Jenkinsfile [2023-02-27T04:19:06.810Z] -rw-rw-r-- 1 jenkins jenkins 11348 Feb 27 04:13 LICENSE [2023-02-27T04:19:06.810Z] -rw-rw-r-- 1 jenkins jenkins 2577 Feb 27 04:13 Makefile [2023-02-27T04:19:06.810Z] -rw-rw-r-- 1 jenkins jenkins 625 Feb 27 04:13 OWNERS.md [2023-02-27T04:19:06.810Z] -rw-rw-r-- 1 jenkins jenkins 6595 Feb 27 04:13 README.md [2023-02-27T04:19:06.810Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 27 04:10 VERSION [2023-02-27T04:19:06.810Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 04:13 bin [2023-02-27T04:19:06.810Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 04:13 cmd [2023-02-27T04:19:06.810Z] -rw-r--r-- 1 jenkins jenkins 79184 Feb 27 04:18 coverage.out [2023-02-27T04:19:06.810Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 27 04:13 doc [2023-02-27T04:19:06.810Z] -rw-rw-r-- 1 jenkins jenkins 3600 Feb 27 04:13 go.mod [2023-02-27T04:19:06.810Z] -rw-rw-r-- 1 jenkins jenkins 34701 Feb 27 04:13 go.sum [2023-02-27T04:19:06.810Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 04:13 internal [2023-02-27T04:19:06.810Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 04:13 snap [2023-02-27T04:19:06.810Z] -rw-rw-r-- 1 jenkins jenkins 236 Feb 27 04:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T04:19:07.232Z] + 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=32e96771eeacfa7458d4c87772f375c2ba6e5dcb --label arch=arm64 --label version=0.0.0 . [2023-02-27T04:19:07.820Z] Sending build context to Docker daemon 20.64MB [2023-02-27T04:19:07.820Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-02-27T04:19:07.820Z] Step 2/26 : FROM ${BASE} AS builder [2023-02-27T04:19:07.820Z] ---> bccdceab89d0 [2023-02-27T04:19:07.820Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-02-27T04:19:09.768Z] ---> Running in ac0ba1d523c1 [2023-02-27T04:19:09.768Z] Removing intermediate container ac0ba1d523c1 [2023-02-27T04:19:09.768Z] ---> 84335850c0f2 [2023-02-27T04:19:09.768Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-27T04:19:10.035Z] ---> Running in ad52ad070f26 [2023-02-27T04:19:10.302Z] Removing intermediate container ad52ad070f26 [2023-02-27T04:19:10.302Z] ---> 1350e4b8e551 [2023-02-27T04:19:10.302Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-02-27T04:19:10.302Z] ---> Running in 6cb63e4666de [2023-02-27T04:19:10.568Z] Removing intermediate container 6cb63e4666de [2023-02-27T04:19:10.568Z] ---> 1ed0fa598083 [2023-02-27T04:19:10.568Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-02-27T04:19:10.568Z] ---> Running in 0bdfe9f05c32 [2023-02-27T04:19:10.838Z] Removing intermediate container 0bdfe9f05c32 [2023-02-27T04:19:10.838Z] ---> 6f015de194c8 [2023-02-27T04:19:10.838Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-02-27T04:19:11.105Z] ---> Running in 2984bfd23ac9 [2023-02-27T04:19:11.373Z] Removing intermediate container 2984bfd23ac9 [2023-02-27T04:19:11.373Z] ---> d72b6349f25c [2023-02-27T04:19:11.373Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-27T04:19:11.373Z] ---> Running in 912c8cdb45e9 [2023-02-27T04:19:12.334Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-27T04:19:12.601Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-27T04:19:13.562Z] OK: 221 MiB in 51 packages [2023-02-27T04:19:14.525Z] Removing intermediate container 912c8cdb45e9 [2023-02-27T04:19:14.525Z] ---> 237299bd7080 [2023-02-27T04:19:14.525Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-02-27T04:19:14.525Z] ---> Running in 219febd5b50d [2023-02-27T04:19:14.794Z] Removing intermediate container 219febd5b50d [2023-02-27T04:19:14.794Z] ---> 8ae3a1013f4d [2023-02-27T04:19:14.794Z] Step 10/26 : COPY go.mod vendor* ./ [2023-02-27T04:19:15.381Z] ---> f359381a6baf [2023-02-27T04:19:15.381Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-27T04:19:15.381Z] ---> Running in 87126e2a3a4c [2023-02-27T04:19:17.960Z] Removing intermediate container 87126e2a3a4c [2023-02-27T04:19:17.960Z] ---> a3aad24ed441 [2023-02-27T04:19:17.960Z] Step 12/26 : COPY . . [2023-02-27T04:19:19.900Z] ---> e1a6d974c722 [2023-02-27T04:19:19.900Z] Step 13/26 : RUN ${MAKE} [2023-02-27T04:19:19.900Z] ---> Running in 609016ca3eef [2023-02-27T04:19:20.490Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-02-27T04:21:27.187Z] Removing intermediate container 609016ca3eef [2023-02-27T04:21:27.187Z] ---> d7cf3442cc75 [2023-02-27T04:21:27.187Z] Step 14/26 : FROM alpine:3.16 [2023-02-27T04:21:27.187Z] 3.16: Pulling from library/alpine [2023-02-27T04:21:27.187Z] 3760b48202b3: Pulling fs layer [2023-02-27T04:21:27.187Z] 3760b48202b3: Verifying Checksum [2023-02-27T04:21:27.187Z] 3760b48202b3: Download complete [2023-02-27T04:21:27.769Z] 3760b48202b3: Pull complete [2023-02-27T04:21:27.769Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-27T04:21:27.769Z] Status: Downloaded newer image for alpine:3.16 [2023-02-27T04:21:27.769Z] ---> 4c81e5bf8899 [2023-02-27T04:21:27.769Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-02-27T04:21:27.769Z] ---> Running in 67917223a5c8 [2023-02-27T04:21:28.035Z] Removing intermediate container 67917223a5c8 [2023-02-27T04:21:28.035Z] ---> 69097a65eb54 [2023-02-27T04:21:28.035Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-02-27T04:21:28.304Z] ---> Running in c42d9f0b860e [2023-02-27T04:21:29.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-27T04:21:29.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-27T04:21:30.225Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-27T04:21:30.225Z] Executing busybox-1.35.0-r17.trigger [2023-02-27T04:21:30.492Z] OK: 5 MiB in 15 packages [2023-02-27T04:21:31.083Z] Removing intermediate container c42d9f0b860e [2023-02-27T04:21:31.083Z] ---> 3fdb3465c6db [2023-02-27T04:21:31.083Z] Step 17/26 : WORKDIR / [2023-02-27T04:21:31.351Z] ---> Running in ceffc6405474 [2023-02-27T04:21:31.619Z] Removing intermediate container ceffc6405474 [2023-02-27T04:21:31.619Z] ---> cd4da7a9cc37 [2023-02-27T04:21:31.619Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-02-27T04:21:33.038Z] ---> 5833a5d59720 [2023-02-27T04:21:33.038Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-02-27T04:21:33.622Z] ---> c196be905bdc [2023-02-27T04:21:33.622Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-02-27T04:21:33.891Z] ---> 012e11c55a4a [2023-02-27T04:21:33.891Z] Step 21/26 : EXPOSE 59984 [2023-02-27T04:21:33.891Z] ---> Running in 27a9ad55e2eb [2023-02-27T04:21:34.476Z] Removing intermediate container 27a9ad55e2eb [2023-02-27T04:21:34.476Z] ---> 4e0f2702e780 [2023-02-27T04:21:34.476Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-02-27T04:21:34.476Z] ---> Running in e7ea413ac636 [2023-02-27T04:21:34.742Z] Removing intermediate container e7ea413ac636 [2023-02-27T04:21:34.742Z] ---> 6622b9c21f12 [2023-02-27T04:21:34.742Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-27T04:21:34.742Z] ---> Running in 47ce1f26a6d2 [2023-02-27T04:21:35.010Z] Removing intermediate container 47ce1f26a6d2 [2023-02-27T04:21:35.010Z] ---> 14521f8a4f29 [2023-02-27T04:21:35.010Z] Step 24/26 : LABEL arch=arm64 [2023-02-27T04:21:35.010Z] ---> Running in ced0875e5fb6 [2023-02-27T04:21:35.289Z] Removing intermediate container ced0875e5fb6 [2023-02-27T04:21:35.289Z] ---> d0009c82b811 [2023-02-27T04:21:35.289Z] Step 25/26 : LABEL git_sha=32e96771eeacfa7458d4c87772f375c2ba6e5dcb [2023-02-27T04:21:35.557Z] ---> Running in 9aeecb02543a [2023-02-27T04:21:35.557Z] Removing intermediate container 9aeecb02543a [2023-02-27T04:21:35.557Z] ---> 31ab4731fb9f [2023-02-27T04:21:35.557Z] Step 26/26 : LABEL version=0.0.0 [2023-02-27T04:21:35.823Z] ---> Running in 9ef0a06de93f [2023-02-27T04:21:36.089Z] Removing intermediate container 9ef0a06de93f [2023-02-27T04:21:36.089Z] ---> da72f978e478 [2023-02-27T04:21:36.089Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-27T04:21:36.089Z] Successfully built da72f978e478 [2023-02-27T04:21:36.089Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T04:21:36.892Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-27T04:21:36.892Z] [2023-02-27T04:21:36.892Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T04:21:37.300Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-27T04:21:37.300Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-27T04:21:37.300Z] 8998bd30e6a1: Pulling fs layer [2023-02-27T04:21:37.300Z] 04944245beec: Pulling fs layer [2023-02-27T04:21:37.300Z] 699f458cf7ca: Pulling fs layer [2023-02-27T04:21:37.300Z] 765212b225bb: Pulling fs layer [2023-02-27T04:21:37.300Z] f23df028b6ca: Pulling fs layer [2023-02-27T04:21:37.300Z] d65c8cfc05b1: Pulling fs layer [2023-02-27T04:21:37.300Z] 2437ff75d9bd: Pulling fs layer [2023-02-27T04:21:37.300Z] 765212b225bb: Waiting [2023-02-27T04:21:37.300Z] f23df028b6ca: Waiting [2023-02-27T04:21:37.300Z] d65c8cfc05b1: Waiting [2023-02-27T04:21:37.300Z] 2437ff75d9bd: Waiting [2023-02-27T04:21:37.570Z] 04944245beec: Verifying Checksum [2023-02-27T04:21:37.570Z] 04944245beec: Download complete [2023-02-27T04:21:37.570Z] 765212b225bb: Verifying Checksum [2023-02-27T04:21:37.570Z] 765212b225bb: Download complete [2023-02-27T04:21:37.570Z] f23df028b6ca: Verifying Checksum [2023-02-27T04:21:37.570Z] f23df028b6ca: Download complete [2023-02-27T04:21:37.570Z] d65c8cfc05b1: Verifying Checksum [2023-02-27T04:21:37.570Z] d65c8cfc05b1: Download complete [2023-02-27T04:21:37.839Z] 699f458cf7ca: Verifying Checksum [2023-02-27T04:21:37.839Z] 699f458cf7ca: Download complete [2023-02-27T04:21:38.107Z] 8998bd30e6a1: Verifying Checksum [2023-02-27T04:21:38.107Z] 8998bd30e6a1: Download complete [2023-02-27T04:21:40.708Z] 2437ff75d9bd: Verifying Checksum [2023-02-27T04:21:40.708Z] 2437ff75d9bd: Download complete [2023-02-27T04:21:42.652Z] 8998bd30e6a1: Pull complete [2023-02-27T04:21:42.652Z] 04944245beec: Pull complete [2023-02-27T04:21:46.904Z] 699f458cf7ca: Pull complete [2023-02-27T04:21:46.904Z] 765212b225bb: Pull complete [2023-02-27T04:21:47.171Z] f23df028b6ca: Pull complete [2023-02-27T04:21:47.439Z] d65c8cfc05b1: Pull complete [2023-02-27T04:22:02.442Z] 2437ff75d9bd: Pull complete [2023-02-27T04:22:02.442Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-27T04:22:02.442Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-27T04:22:02.442Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T04:22:02.762Z] prd-ubuntu20.04-docker-arm64-4c-16g-7530 does not seem to be running inside a container [2023-02-27T04:22:02.824Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-27T04:22:05.370Z] $ docker top b2eecc615439501a551232271472ccc4fa3b7d4438d9dd2e01d852c8c1d19372 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T04:22:06.268Z] ---> job-cost.sh [2023-02-27T04:22:06.268Z] lf-activate-venv: SKIPPING [2023-02-27T04:22:06.268Z] INFO: No Stack... [2023-02-27T04:22:06.534Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-27T04:22:07.490Z] INFO: Archiving Costs [Pipeline] sh [2023-02-27T04:22:07.832Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-02-27T04:22:07.832Z] + cut -d, -f6 [Pipeline] lock [2023-02-27T04:22:07.910Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-245-1-stack-cost] [2023-02-27T04:22:07.915Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-245-1-stack-cost] did not exist. Created. [2023-02-27T04:22:07.916Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-245-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-27T04:22:08.332Z] /w/workspace/device-onvif-camera/1@tmp/durable-ecca7041/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-27T04:22:09.002Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-27T04:22:09.037Z] Warning: overwriting stash ‘stack-cost’ [2023-02-27T04:22:09.098Z] Stashed 1 file(s) [Pipeline] } [2023-02-27T04:22:09.114Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-245-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-27T04:22:09.229Z] $ docker stop --time=1 b2eecc615439501a551232271472ccc4fa3b7d4438d9dd2e01d852c8c1d19372 [2023-02-27T04:22:10.744Z] $ docker rm -f --volumes b2eecc615439501a551232271472ccc4fa3b7d4438d9dd2e01d852c8c1d19372 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-27T04:22:11.679Z] provisioning config files... [2023-02-27T04:22:11.686Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-245@tmp/config6257646934774502177tmp [Pipeline] { [Pipeline] sh [2023-02-27T04:22:12.023Z] + set +x [2023-02-27T04:22:12.023Z] + bash -s -- [2023-02-27T04:22:12.023Z] + curl -s https://codecov.io/bash [2023-02-27T04:22:12.023Z] [2023-02-27T04:22:12.023Z] _____ _ [2023-02-27T04:22:12.023Z] / ____| | | [2023-02-27T04:22:12.023Z] | | ___ __| | ___ ___ _____ __ [2023-02-27T04:22:12.023Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-27T04:22:12.023Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-27T04:22:12.023Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-27T04:22:12.023Z] Bash-1.0.6 [2023-02-27T04:22:12.023Z] [2023-02-27T04:22:12.023Z] [2023-02-27T04:22:12.023Z] ==> git version 2.25.1 found [2023-02-27T04:22:12.023Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-27T04:22:12.023Z] Release-Date: 2020-01-08 [2023-02-27T04:22:12.023Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-27T04:22:12.023Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-27T04:22:12.023Z] ==> Jenkins CI detected. [2023-02-27T04:22:12.023Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-245 [2023-02-27T04:22:12.023Z] project root: . [2023-02-27T04:22:12.023Z] --> token set from env [2023-02-27T04:22:12.023Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-27T04:22:12.023Z] ==> Running gcov in . (disable via -X gcov) [2023-02-27T04:22:12.023Z] ==> Python coveragepy not found [2023-02-27T04:22:12.023Z] ==> Searching for coverage reports in: [2023-02-27T04:22:12.023Z] + . [2023-02-27T04:22:12.023Z] -> Found 1 reports [2023-02-27T04:22:12.024Z] ==> Detecting git/mercurial file structure [2023-02-27T04:22:12.024Z] ==> Reading reports [2023-02-27T04:22:12.282Z] + ./coverage.out bytes=79184 [2023-02-27T04:22:12.282Z] ==> Appending adjustments [2023-02-27T04:22:12.282Z] https://docs.codecov.io/docs/fixing-reports [2023-02-27T04:22:12.282Z] + Found adjustments [2023-02-27T04:22:12.282Z] ==> Gzipping contents [2023-02-27T04:22:12.282Z] 12K /tmp/codecov.qSeuev.gz [2023-02-27T04:22:12.282Z] ==> Uploading reports [2023-02-27T04:22:12.282Z] url: https://codecov.io [2023-02-27T04:22:12.282Z] query: branch=PR-245&commit=32e96771eeacfa7458d4c87772f375c2ba6e5dcb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-245%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=245&job=&cmd_args= [2023-02-27T04:22:12.283Z] -> Pinging Codecov [2023-02-27T04:22:12.283Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-245&commit=32e96771eeacfa7458d4c87772f375c2ba6e5dcb&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-245%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=245&job=&cmd_args= [2023-02-27T04:22:12.542Z] -> Uploading to [2023-02-27T04:22:12.542Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-27/F29A59C45E3A92E06B3E522C9905F8EF/32e96771eeacfa7458d4c87772f375c2ba6e5dcb/b3b1944b-f666-45f3-bd32-657e0b786bb7.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230227%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230227T042212Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=203ab110b6786f634cb413a583ece84f8036797040774bb5d660ba1b6c74d434 [2023-02-27T04:22:12.542Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-27T04:22:12.542Z] Dload Upload Total Spent Left Speed [2023-02-27T04:22:12.802Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10840 0 0 100 10840 0 42677 --:--:-- --:--:-- --:--:-- 42677 [2023-02-27T04:22:12.802Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/32e96771eeacfa7458d4c87772f375c2ba6e5dcb [Pipeline] } [2023-02-27T04:22:12.827Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-27T04:22:14.495Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-245/archives ] [2023-02-27T04:22:14.495Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-245/archives [2023-02-27T04:22:14.495Z] total 16 [2023-02-27T04:22:14.495Z] drwxr-xr-x 3 root root 4096 Feb 27 04:12 . [2023-02-27T04:22:14.495Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 27 04:12 .. [2023-02-27T04:22:14.495Z] drwxr-xr-x 2 root root 4096 Feb 27 04:12 cost [2023-02-27T04:22:14.495Z] -rw-r--r-- 1 root root 91 Feb 27 04:12 cost.csv [2023-02-27T04:22:14.495Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-245/archives [2023-02-27T04:22:14.495Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-245/archives [2023-02-27T04:22:14.495Z] total 16 [2023-02-27T04:22:14.495Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 04:12 . [2023-02-27T04:22:14.495Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 27 04:12 .. [2023-02-27T04:22:14.495Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 27 04:12 cost [2023-02-27T04:22:14.495Z] -rw-r--r-- 1 jenkins jenkins 91 Feb 27 04:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-27T04:22:14.821Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T04:22:15.707Z] ---> package-listing.sh [2023-02-27T04:22:15.708Z] ++ facter osfamily [2023-02-27T04:22:15.708Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-27T04:22:15.967Z] + OS_FAMILY=debian [2023-02-27T04:22:15.967Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-245 [2023-02-27T04:22:15.967Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-27T04:22:15.967Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-27T04:22:15.967Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-27T04:22:15.967Z] + PACKAGES=/tmp/packages_start.txt [2023-02-27T04:22:15.967Z] + '[' /w/workspace/undry_device-onvif-camera_PR-245 ']' [2023-02-27T04:22:15.967Z] + PACKAGES=/tmp/packages_end.txt [2023-02-27T04:22:15.967Z] + case "${OS_FAMILY}" in [2023-02-27T04:22:15.967Z] + dpkg -l [2023-02-27T04:22:15.967Z] + grep '^ii' [2023-02-27T04:22:15.967Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-27T04:22:15.967Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-27T04:22:15.967Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-27T04:22:15.967Z] + '[' /w/workspace/undry_device-onvif-camera_PR-245 ']' [2023-02-27T04:22:15.967Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-245/archives/ [2023-02-27T04:22:15.967Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-245/archives/ [Pipeline] echo [2023-02-27T04:22:16.004Z] 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-245/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-27T04:22:16.298Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T04:22:16.931Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-27T04:22:16.931Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T04:22:17.073Z] prd-ubuntu20.04-docker-8c-8g-7529 does not seem to be running inside a container [2023-02-27T04:22:17.102Z] $ 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-245/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-245 -v /w/workspace/undry_device-onvif-camera_PR-245:/w/workspace/undry_device-onvif-camera_PR-245:rw,z -v /w/workspace/undry_device-onvif-camera_PR-245@tmp:/w/workspace/undry_device-onvif-camera_PR-245@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-27T04:22:17.298Z] $ docker top 27a519b9dac047b535da3d0269e01b74cccc8f4f0c5e9c066ee9dd48c9093d54 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T04:22:17.683Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-27T04:22:17.989Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-27T04:22:18.305Z] + ls /var/log/sa-host [2023-02-27T04:22:18.305Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-27T04:22:18.434Z] provisioning config files... [2023-02-27T04:22:18.444Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-245@tmp/config12971201570019533126tmp [Pipeline] { [Pipeline] echo [2023-02-27T04:22:18.498Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T04:22:18.811Z] ---> create-netrc.sh [Pipeline] } [2023-02-27T04:22:18.838Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-27T04:22:19.240Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-27T04:22:19.272Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T04:22:19.585Z] ---> sudo-logs.sh [2023-02-27T04:22:19.585Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-27T04:22:19.664Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T04:22:19.974Z] ---> job-cost.sh [2023-02-27T04:22:19.975Z] lf-activate-venv: SKIPPING [2023-02-27T04:22:19.975Z] DEBUG: total: 0.2199999988079071 [2023-02-27T04:22:19.975Z] INFO: Retrieving Stack Cost... [2023-02-27T04:22:20.234Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-27T04:22:20.802Z] INFO: Archiving Costs [Pipeline] echo [2023-02-27T04:22:20.838Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T04:22:21.149Z] ---> logs-deploy.sh [2023-02-27T04:22:21.149Z] lf-activate-venv: SKIPPING [2023-02-27T04:22:21.149Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-245/1 [2023-02-27T04:22:21.149Z] INFO: archiving workspace using pattern(s): [2023-02-27T04:22:22.085Z] Archives upload complete. [2023-02-27T04:22:22.085Z] INFO: archiving logs to Nexus