Pull request #244 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 696fdac509528e6fb2a95555f8cdc9a1f4b8beb6+4a9e67fa37862f83ef90b637e6c765491ff37d3a (c3b120e38c170f8a505a81eb5483c0f446f439e4) 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-ssh6972151755703052386.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-ssh12620367365427002164.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-244/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-244/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh10133924647823867539.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-244/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh567642080631291871.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-ssh12796199041325068007.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-244/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-244/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3913757653272093716.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-7524 in /w/workspace/undry_device-onvif-camera_PR-244 [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-244 # 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/244/head:refs/remotes/origin/PR-244 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4a9e67fa37862f83ef90b637e6c765491ff37d3a into PR head commit 696fdac509528e6fb2a95555f8cdc9a1f4b8beb6 Merge succeeded, producing 696fdac509528e6fb2a95555f8cdc9a1f4b8beb6 Checking out Revision 696fdac509528e6fb2a95555f8cdc9a1f4b8beb6 (PR-244) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-27T04:06:12.285Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f 696fdac509528e6fb2a95555f8cdc9a1f4b8beb6 # 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 696fdac509528e6fb2a95555f8cdc9a1f4b8beb6 # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-27T04:06:12.481Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-27T04:06:12.587Z] ========================================================= [2023-02-27T04:06:12.587Z] EdgeX Global Pipelines Version Info [2023-02-27T04:06:12.587Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-27T04:06:13.349Z] ------------------- [2023-02-27T04:06:13.349Z] stable info: [2023-02-27T04:06:13.349Z] ------------------- [2023-02-27T04:06:13.349Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-27T04:06:13.349Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-27T04:06:13.349Z] Message: update stable to v1.0.244 [2023-02-27T04:06:13.921Z] ------------------- [2023-02-27T04:06:13.921Z] experimental info: [2023-02-27T04:06:13.921Z] ------------------- [2023-02-27T04:06:13.921Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-27T04:06:13.921Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-27T04:06:13.921Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-27T04:06:14.250Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-02-27T04:06:14.293Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-02-27T04:06:14.341Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-27T04:06:14.393Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-27T04:06:14.434Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-27T04:06:14.475Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-27T04:06:14.516Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-27T04:06:14.556Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-27T04:06:14.601Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-27T04:06:14.644Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-27T04:06:14.685Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-27T04:06:14.727Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-02-27T04:06:14.767Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-27T04:06:14.803Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-27T04:06:14.842Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-27T04:06:14.878Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-27T04:06:14.917Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-27T04:06:14.961Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-27T04:06:15.009Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-27T04:06:15.049Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-27T04:06:15.092Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-27T04:06:15.129Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-02-27T04:06:15.167Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-27T04:06:15.206Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-27T04:06:15.251Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-27T04:06:15.291Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-27T04:06:15.328Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-27T04:06:15.366Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-244 [Pipeline] echo [2023-02-27T04:06:15.405Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-244 [Pipeline] echo [2023-02-27T04:06:15.441Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-244 [Pipeline] echo [2023-02-27T04:06:15.483Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 696fdac509528e6fb2a95555f8cdc9a1f4b8beb6 [Pipeline] echo [2023-02-27T04:06:15.524Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 696fdac [Pipeline] echo [2023-02-27T04:06:15.568Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-27T04:06:15.694Z] provisioning config files... [2023-02-27T04:06:15.725Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-244@tmp/config7956532875146281099tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T04:06:16.075Z] ---> docker-login.sh [2023-02-27T04:06:16.076Z] nexus3.edgexfoundry.org:10001 [2023-02-27T04:06:16.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T04:06:16.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T04:06:16.335Z] Configure a credential helper to remove this warning. See [2023-02-27T04:06:16.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T04:06:16.335Z] [2023-02-27T04:06:16.335Z] Login Succeeded [2023-02-27T04:06:16.335Z] nexus3.edgexfoundry.org:10002 [2023-02-27T04:06:16.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T04:06:16.335Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T04:06:16.335Z] Configure a credential helper to remove this warning. See [2023-02-27T04:06:16.335Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T04:06:16.335Z] [2023-02-27T04:06:16.335Z] Login Succeeded [2023-02-27T04:06:16.335Z] nexus3.edgexfoundry.org:10003 [2023-02-27T04:06:16.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T04:06:16.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T04:06:16.594Z] Configure a credential helper to remove this warning. See [2023-02-27T04:06:16.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T04:06:16.594Z] [2023-02-27T04:06:16.594Z] Login Succeeded [2023-02-27T04:06:16.594Z] nexus3.edgexfoundry.org:10004 [2023-02-27T04:06:16.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T04:06:16.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T04:06:16.594Z] Configure a credential helper to remove this warning. See [2023-02-27T04:06:16.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T04:06:16.594Z] [2023-02-27T04:06:16.594Z] Login Succeeded [2023-02-27T04:06:16.594Z] docker.io [2023-02-27T04:06:16.594Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T04:06:16.854Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T04:06:16.854Z] Configure a credential helper to remove this warning. See [2023-02-27T04:06:16.854Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T04:06:16.854Z] [2023-02-27T04:06:16.854Z] Login Succeeded [2023-02-27T04:06:16.854Z] ---> docker-login.sh ends [Pipeline] } [2023-02-27T04:06:16.880Z] 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:06:17.519Z] + git rev-list -1 --merges 696fdac509528e6fb2a95555f8cdc9a1f4b8beb6~1..696fdac509528e6fb2a95555f8cdc9a1f4b8beb6 [Pipeline] echo [2023-02-27T04:06:17.586Z] -----------> git rev-list -1 --merges 696fdac509528e6fb2a95555f8cdc9a1f4b8beb6~1..696fdac509528e6fb2a95555f8cdc9a1f4b8beb6 696fdac509528e6fb2a95555f8cdc9a1f4b8beb6 [false] [Pipeline] sh [2023-02-27T04:06:17.898Z] + git log --format=format:%s -1 696fdac509528e6fb2a95555f8cdc9a1f4b8beb6 [Pipeline] echo [2023-02-27T04:06:17.939Z] ========================================================= [2023-02-27T04:06:17.939Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-27T04:06:17.939Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-27T04:06:18.408Z] + git log --format=format:%s -1 696fdac509528e6fb2a95555f8cdc9a1f4b8beb6 [Pipeline] echo [2023-02-27T04:06:18.475Z] [semverPrep] GIT_COMMIT: 696fdac509528e6fb2a95555f8cdc9a1f4b8beb6, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-02-27T04:06:18.506Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-27T04:06:18.896Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-27T04:06:18.896Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-27T04:06:18.896Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-27T04:06:18.896Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-27T04:06:18.896Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-27T04:06:18.896Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-27T04:06:18.896Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T04:06:19.352Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-27T04:06:19.352Z] [2023-02-27T04:06:19.352Z] 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:06:19.746Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-27T04:06:19.746Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-27T04:06:19.746Z] b85a868b505f: Pulling fs layer [2023-02-27T04:06:19.746Z] e2be974225ed: Pulling fs layer [2023-02-27T04:06:19.746Z] 339a4e72a1f5: Pulling fs layer [2023-02-27T04:06:19.746Z] 988bab9f4d93: Pulling fs layer [2023-02-27T04:06:19.746Z] 1469e6f7b9e6: Pulling fs layer [2023-02-27T04:06:19.746Z] eaf3925da568: Pulling fs layer [2023-02-27T04:06:19.746Z] 988bab9f4d93: Waiting [2023-02-27T04:06:19.746Z] eaf3925da568: Waiting [2023-02-27T04:06:19.746Z] bab4dde63d76: Pulling fs layer [2023-02-27T04:06:19.746Z] bde34c3a00c8: Pulling fs layer [2023-02-27T04:06:19.746Z] b352a97aabf1: Pulling fs layer [2023-02-27T04:06:19.746Z] bde34c3a00c8: Waiting [2023-02-27T04:06:19.746Z] 4872d77fe225: Pulling fs layer [2023-02-27T04:06:19.746Z] b352a97aabf1: Waiting [2023-02-27T04:06:19.746Z] 5851b861e8e6: Pulling fs layer [2023-02-27T04:06:19.746Z] e2be974225ed: Verifying Checksum [2023-02-27T04:06:19.746Z] e2be974225ed: Download complete [2023-02-27T04:06:19.746Z] 988bab9f4d93: Verifying Checksum [2023-02-27T04:06:19.746Z] 988bab9f4d93: Download complete [2023-02-27T04:06:20.008Z] 1469e6f7b9e6: Verifying Checksum [2023-02-27T04:06:20.008Z] 1469e6f7b9e6: Download complete [2023-02-27T04:06:20.008Z] eaf3925da568: Download complete [2023-02-27T04:06:20.008Z] 339a4e72a1f5: Verifying Checksum [2023-02-27T04:06:20.008Z] 339a4e72a1f5: Download complete [2023-02-27T04:06:20.008Z] bde34c3a00c8: Download complete [2023-02-27T04:06:20.008Z] b352a97aabf1: Download complete [2023-02-27T04:06:20.008Z] 4872d77fe225: Verifying Checksum [2023-02-27T04:06:20.008Z] 4872d77fe225: Download complete [2023-02-27T04:06:20.008Z] 5851b861e8e6: Verifying Checksum [2023-02-27T04:06:20.008Z] b85a868b505f: Verifying Checksum [2023-02-27T04:06:20.008Z] b85a868b505f: Download complete [2023-02-27T04:06:20.267Z] bab4dde63d76: Verifying Checksum [2023-02-27T04:06:20.267Z] bab4dde63d76: Download complete [2023-02-27T04:06:21.202Z] b85a868b505f: Pull complete [2023-02-27T04:06:21.202Z] e2be974225ed: Pull complete [2023-02-27T04:06:21.768Z] 339a4e72a1f5: Pull complete [2023-02-27T04:06:21.768Z] 988bab9f4d93: Pull complete [2023-02-27T04:06:22.027Z] 1469e6f7b9e6: Pull complete [2023-02-27T04:06:22.027Z] eaf3925da568: Pull complete [2023-02-27T04:06:23.933Z] bab4dde63d76: Pull complete [2023-02-27T04:06:23.933Z] bde34c3a00c8: Pull complete [2023-02-27T04:06:24.194Z] b352a97aabf1: Pull complete [2023-02-27T04:06:24.194Z] 4872d77fe225: Pull complete [2023-02-27T04:06:24.194Z] 5851b861e8e6: Pull complete [2023-02-27T04:06:24.194Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-27T04:06:24.194Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-27T04:06:24.194Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T04:06:24.438Z] prd-ubuntu20.04-docker-8c-8g-7524 does not seem to be running inside a container [2023-02-27T04:06:24.471Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-244 -v /w/workspace/undry_device-onvif-camera_PR-244:/w/workspace/undry_device-onvif-camera_PR-244:rw,z -v /w/workspace/undry_device-onvif-camera_PR-244@tmp:/w/workspace/undry_device-onvif-camera_PR-244@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-27T04:06:27.110Z] $ docker top 81dc673b56aa94a333d6ccc29cc2604c46cc3988b4351c4469b0caf0e2f5e9cb -eo pid,comm [2023-02-27T04:06:27.165Z] 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:06:27.165Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-27T04:06:27.302Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-27T04:06:27.302Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-27T04:06:27.407Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-27T04:06:27.411Z] $ docker exec 81dc673b56aa94a333d6ccc29cc2604c46cc3988b4351c4469b0caf0e2f5e9cb ssh-agent [2023-02-27T04:06:27.522Z] SSH_AUTH_SOCK=/tmp/ssh-9PXnNmbzzcTx/agent.32 [2023-02-27T04:06:27.523Z] SSH_AGENT_PID=38 [2023-02-27T04:06:27.528Z] Running ssh-add (command line suppressed) [2023-02-27T04:06:27.650Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-244@tmp/private_key_18002104538648457127.key (/w/workspace/undry_device-onvif-camera_PR-244@tmp/private_key_18002104538648457127.key) [2023-02-27T04:06:27.661Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-27T04:06:28.000Z] + git tag --points-at HEAD [Pipeline] } [2023-02-27T04:06:28.031Z] $ docker exec --env ******** --env ******** 81dc673b56aa94a333d6ccc29cc2604c46cc3988b4351c4469b0caf0e2f5e9cb ssh-agent -k [2023-02-27T04:06:28.139Z] unset SSH_AUTH_SOCK; [2023-02-27T04:06:28.139Z] unset SSH_AGENT_PID; [2023-02-27T04:06:28.139Z] echo Agent pid 38 killed; [2023-02-27T04:06:28.144Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-27T04:06:28.231Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-27T04:06:28.231Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-27T04:06:28.348Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-27T04:06:28.353Z] $ docker exec 81dc673b56aa94a333d6ccc29cc2604c46cc3988b4351c4469b0caf0e2f5e9cb ssh-agent [2023-02-27T04:06:28.455Z] SSH_AUTH_SOCK=/tmp/ssh-SFNbdcjtg4qv/agent.70 [2023-02-27T04:06:28.455Z] SSH_AGENT_PID=76 [2023-02-27T04:06:28.461Z] Running ssh-add (command line suppressed) [2023-02-27T04:06:28.562Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-244@tmp/private_key_3489013395835756200.key (/w/workspace/undry_device-onvif-camera_PR-244@tmp/private_key_3489013395835756200.key) [2023-02-27T04:06:28.574Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-27T04:06:28.904Z] + git semver init [2023-02-27T04:06:29.165Z] 2023-02-27 04:06:29,090 [run_init] DEBUG init version:0.0.0 force:False [2023-02-27T04:06:29.165Z] 2023-02-27 04:06:29,090 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-244/.semver [2023-02-27T04:06:29.165Z] 2023-02-27 04:06:29,091 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-244/.semver [2023-02-27T04:06:29.165Z] 2023-02-27 04:06:29,091 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-244/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-244, universal_newlines=False, shell=None, istream=None) [2023-02-27T04:06:30.105Z] 2023-02-27 04:06:30,102 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-244/.git/info/exclude [2023-02-27T04:06:30.105Z] 2023-02-27 04:06:30,102 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-244/.semver/PR-244 with force:False [2023-02-27T04:06:30.105Z] 2023-02-27 04:06:30,102 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-244/.semver/PR-244 [2023-02-27T04:06:30.363Z] 2023-02-27 04:06:30,107 [execute] INFO git cat-file --batch-check [2023-02-27T04:06:30.363Z] 2023-02-27 04:06:30,107 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-244/.semver, universal_newlines=False, shell=None, istream=) [2023-02-27T04:06:30.363Z] 2023-02-27 04:06:30,116 [execute] INFO git cat-file --batch [2023-02-27T04:06:30.364Z] 2023-02-27 04:06:30,116 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-244/.semver, universal_newlines=False, shell=None, istream=) [2023-02-27T04:06:30.364Z] 2023-02-27 04:06:30,123 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-244/.semver/PR-244 [2023-02-27T04:06:30.364Z] 0.0.0 [Pipeline] } [2023-02-27T04:06:30.391Z] $ docker exec --env ******** --env ******** 81dc673b56aa94a333d6ccc29cc2604c46cc3988b4351c4469b0caf0e2f5e9cb ssh-agent -k [2023-02-27T04:06:30.491Z] unset SSH_AUTH_SOCK; [2023-02-27T04:06:30.492Z] unset SSH_AGENT_PID; [2023-02-27T04:06:30.493Z] echo Agent pid 76 killed; [2023-02-27T04:06:30.498Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-27T04:06:30.924Z] + git semver [Pipeline] } [2023-02-27T04:06:31.216Z] $ docker stop --time=1 81dc673b56aa94a333d6ccc29cc2604c46cc3988b4351c4469b0caf0e2f5e9cb [2023-02-27T04:06:32.492Z] $ docker rm -f --volumes 81dc673b56aa94a333d6ccc29cc2604c46cc3988b4351c4469b0caf0e2f5e9cb [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-27T04:06:32.903Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-27T04:06:33.168Z] Stashed 1 file(s) [Pipeline] echo [2023-02-27T04:06:33.188Z] [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:06:33.804Z] provisioning config files... [2023-02-27T04:06:33.815Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-244@tmp/config2115399262458202132tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T04:06:34.161Z] ---> docker-login.sh [2023-02-27T04:06:34.161Z] nexus3.edgexfoundry.org:10001 [2023-02-27T04:06:34.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T04:06:34.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T04:06:34.161Z] Configure a credential helper to remove this warning. See [2023-02-27T04:06:34.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T04:06:34.161Z] [2023-02-27T04:06:34.161Z] Login Succeeded [2023-02-27T04:06:34.161Z] nexus3.edgexfoundry.org:10002 [2023-02-27T04:06:34.161Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T04:06:34.161Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T04:06:34.161Z] Configure a credential helper to remove this warning. See [2023-02-27T04:06:34.161Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T04:06:34.161Z] [2023-02-27T04:06:34.161Z] Login Succeeded [2023-02-27T04:06:34.161Z] nexus3.edgexfoundry.org:10003 [2023-02-27T04:06:34.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T04:06:34.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T04:06:34.421Z] Configure a credential helper to remove this warning. See [2023-02-27T04:06:34.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T04:06:34.421Z] [2023-02-27T04:06:34.421Z] Login Succeeded [2023-02-27T04:06:34.421Z] nexus3.edgexfoundry.org:10004 [2023-02-27T04:06:34.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T04:06:34.421Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T04:06:34.421Z] Configure a credential helper to remove this warning. See [2023-02-27T04:06:34.421Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T04:06:34.421Z] [2023-02-27T04:06:34.421Z] Login Succeeded [2023-02-27T04:06:34.421Z] docker.io [2023-02-27T04:06:34.679Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T04:06:34.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T04:06:34.679Z] Configure a credential helper to remove this warning. See [2023-02-27T04:06:34.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T04:06:34.679Z] [2023-02-27T04:06:34.679Z] Login Succeeded [2023-02-27T04:06:34.938Z] ---> docker-login.sh ends [Pipeline] } [2023-02-27T04:06:34.970Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-27T04:06:35.177Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-27T04:06:35.218Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-27T04:06:35.252Z] ========================================================= [2023-02-27T04:06:35.252Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-27T04:06:35.252Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T04:06:35.720Z] + 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:06:35.720Z] Sending build context to Docker daemon 27.74MB [2023-02-27T04:06:35.720Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-27T04:06:35.720Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-27T04:06:35.981Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-27T04:06:35.981Z] 213ec9aee27d: Pulling fs layer [2023-02-27T04:06:35.981Z] 4583459ba037: Pulling fs layer [2023-02-27T04:06:35.981Z] 93c1e223e6f2: Pulling fs layer [2023-02-27T04:06:35.981Z] 53926ce57604: Pulling fs layer [2023-02-27T04:06:35.981Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-27T04:06:35.981Z] 22ff95d597cd: Pulling fs layer [2023-02-27T04:06:35.981Z] 12d6caf4c0d1: Pulling fs layer [2023-02-27T04:06:35.981Z] 96b7cbca73a9: Pulling fs layer [2023-02-27T04:06:35.981Z] a7acece74701: Pulling fs layer [2023-02-27T04:06:35.981Z] 53926ce57604: Waiting [2023-02-27T04:06:35.981Z] 21b2b0c7a3f4: Waiting [2023-02-27T04:06:35.981Z] 96b7cbca73a9: Waiting [2023-02-27T04:06:35.981Z] a7acece74701: Waiting [2023-02-27T04:06:35.981Z] 22ff95d597cd: Waiting [2023-02-27T04:06:35.981Z] 12d6caf4c0d1: Waiting [2023-02-27T04:06:35.981Z] 93c1e223e6f2: Download complete [2023-02-27T04:06:35.981Z] 4583459ba037: Verifying Checksum [2023-02-27T04:06:35.981Z] 4583459ba037: Download complete [2023-02-27T04:06:35.982Z] 22ff95d597cd: Verifying Checksum [2023-02-27T04:06:35.982Z] 22ff95d597cd: Download complete [2023-02-27T04:06:35.982Z] 213ec9aee27d: Verifying Checksum [2023-02-27T04:06:35.982Z] 213ec9aee27d: Download complete [2023-02-27T04:06:35.982Z] 12d6caf4c0d1: Verifying Checksum [2023-02-27T04:06:35.982Z] 12d6caf4c0d1: Download complete [2023-02-27T04:06:36.246Z] 213ec9aee27d: Pull complete [2023-02-27T04:06:36.246Z] 4583459ba037: Pull complete [2023-02-27T04:06:36.512Z] 93c1e223e6f2: Pull complete [2023-02-27T04:06:36.512Z] a7acece74701: Verifying Checksum [2023-02-27T04:06:36.512Z] a7acece74701: Download complete [2023-02-27T04:06:36.775Z] 96b7cbca73a9: Download complete [2023-02-27T04:06:36.775Z] 53926ce57604: Verifying Checksum [2023-02-27T04:06:36.775Z] 53926ce57604: Download complete [2023-02-27T04:06:40.985Z] 53926ce57604: Pull complete [2023-02-27T04:06:40.985Z] 21b2b0c7a3f4: Pull complete [2023-02-27T04:06:40.985Z] 22ff95d597cd: Pull complete [2023-02-27T04:06:40.985Z] 12d6caf4c0d1: Pull complete [2023-02-27T04:06:42.888Z] 96b7cbca73a9: Pull complete [2023-02-27T04:06:43.824Z] a7acece74701: Pull complete [2023-02-27T04:06:43.824Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-27T04:06:43.824Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-27T04:06:43.824Z] ---> db6d94c90886 [2023-02-27T04:06:43.824Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-27T04:06:47.120Z] ---> Running in 24bd433ca55a [2023-02-27T04:06:47.120Z] Removing intermediate container 24bd433ca55a [2023-02-27T04:06:47.120Z] ---> 661af72393a9 [2023-02-27T04:06:47.120Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-27T04:06:47.120Z] ---> Running in 1a2d0dcc3e79 [2023-02-27T04:06:47.120Z] Removing intermediate container 1a2d0dcc3e79 [2023-02-27T04:06:47.120Z] ---> 29378c8a0dab [2023-02-27T04:06:47.120Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-02-27T04:06:47.120Z] ---> Running in 8d3fa24703da [2023-02-27T04:06:47.120Z] Removing intermediate container 8d3fa24703da [2023-02-27T04:06:47.120Z] ---> 9ed5c2c2fec2 [2023-02-27T04:06:47.120Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-02-27T04:06:47.120Z] ---> Running in e6e695228ba4 [2023-02-27T04:06:47.120Z] Removing intermediate container e6e695228ba4 [2023-02-27T04:06:47.120Z] ---> 60229d0bb0d2 [2023-02-27T04:06:47.120Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-02-27T04:06:47.381Z] ---> Running in 2a064206d0a4 [2023-02-27T04:06:47.381Z] Removing intermediate container 2a064206d0a4 [2023-02-27T04:06:47.381Z] ---> 9f59c6a57d77 [2023-02-27T04:06:47.381Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-27T04:06:47.381Z] ---> Running in 21215961b8dc [2023-02-27T04:06:47.640Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-27T04:06:47.640Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-27T04:06:47.899Z] OK: 211 MiB in 51 packages [2023-02-27T04:06:48.159Z] Removing intermediate container 21215961b8dc [2023-02-27T04:06:48.159Z] ---> 497ebdb4ac7d [2023-02-27T04:06:48.159Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-02-27T04:06:48.159Z] ---> Running in 7984001a25e6 [2023-02-27T04:06:48.418Z] Removing intermediate container 7984001a25e6 [2023-02-27T04:06:48.418Z] ---> 28c02f648b69 [2023-02-27T04:06:48.418Z] Step 10/13 : COPY go.mod vendor* ./ [2023-02-27T04:06:48.418Z] ---> 57d6e512a455 [2023-02-27T04:06:48.418Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-27T04:06:48.418Z] ---> Running in f6e262963b90 [2023-02-27T04:06:48.613Z] Still waiting to schedule task [2023-02-27T04:06:48.614Z] ‘prd-centos7-blackbox-4c-2g-7428’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-27T04:06:48.614Z] ‘prd-centos7-blackbox-4c-2g-7429’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-27T04:06:48.614Z] ‘prd-centos7-docker-4c-2g-7519’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-27T04:06:48.614Z] ‘prd-ubuntu18.04-docker-8c-8g-7363’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-02-27T04:06:48.614Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-7526’ is offline [2023-02-27T04:07:10.425Z] Removing intermediate container f6e262963b90 [2023-02-27T04:07:10.425Z] ---> b441814580ca [2023-02-27T04:07:10.425Z] Step 12/13 : COPY . . [2023-02-27T04:07:10.425Z] ---> 5e1dbbac8a88 [2023-02-27T04:07:10.425Z] Step 13/13 : RUN ${MAKE} [2023-02-27T04:07:10.425Z] ---> Running in 7dafacb9a511 [2023-02-27T04:07:10.425Z] noop [2023-02-27T04:07:10.425Z] Removing intermediate container 7dafacb9a511 [2023-02-27T04:07:10.425Z] ---> b56c2ccc0f55 [2023-02-27T04:07:10.425Z] Successfully built b56c2ccc0f55 [2023-02-27T04:07:10.425Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T04:07:10.872Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-27T04:07:10.872Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T04:07:11.026Z] prd-ubuntu20.04-docker-8c-8g-7524 does not seem to be running inside a container [2023-02-27T04:07:11.058Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-244 -v /w/workspace/undry_device-onvif-camera_PR-244:/w/workspace/undry_device-onvif-camera_PR-244:rw,z -v /w/workspace/undry_device-onvif-camera_PR-244@tmp:/w/workspace/undry_device-onvif-camera_PR-244@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-27T04:07:11.420Z] $ docker top eac2dd8209521a834a25d51a6c6644fb1f45d4cce8b42d676c8334ca6c3105a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T04:07:11.818Z] + go version [2023-02-27T04:07:11.818Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-27T04:07:11.848Z] $ docker stop --time=1 eac2dd8209521a834a25d51a6c6644fb1f45d4cce8b42d676c8334ca6c3105a2 [2023-02-27T04:07:13.146Z] $ docker rm -f --volumes eac2dd8209521a834a25d51a6c6644fb1f45d4cce8b42d676c8334ca6c3105a2 [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:07:13.825Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-27T04:07:13.825Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T04:07:13.975Z] prd-ubuntu20.04-docker-8c-8g-7524 does not seem to be running inside a container [2023-02-27T04:07:14.011Z] $ 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-244 -v /w/workspace/undry_device-onvif-camera_PR-244:/w/workspace/undry_device-onvif-camera_PR-244:rw,z -v /w/workspace/undry_device-onvif-camera_PR-244@tmp:/w/workspace/undry_device-onvif-camera_PR-244@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-27T04:07:14.345Z] $ docker top 936b1c0ff64d13f24250fa615d4b8f9d10620adb4146d929d8c18cc8b453d73b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T04:07:14.742Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-244 [Pipeline] fileExists [Pipeline] sh [2023-02-27T04:07:15.113Z] + make test [2023-02-27T04:07:15.113Z] go test ./... -coverprofile=coverage.out ./... [2023-02-27T04:07:15.371Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-02-27T04:07:27.587Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-02-27T04:07:29.492Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.048s coverage: 29.3% of statements [2023-02-27T04:07:29.492Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-02-27T04:07:29.492Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.523s coverage: 86.5% of statements [2023-02-27T04:07:37.600Z] 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:07:37.600Z] go vet ./... [2023-02-27T04:07:40.882Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-27T04:07:40.882Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-27T04:07:40.882Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-27T04:07:40.922Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-27T04:07:40.952Z] $ docker stop --time=1 936b1c0ff64d13f24250fa615d4b8f9d10620adb4146d929d8c18cc8b453d73b [2023-02-27T04:07:43.720Z] $ docker rm -f --volumes 936b1c0ff64d13f24250fa615d4b8f9d10620adb4146d929d8c18cc8b453d73b [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-27T04:07:44.280Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-27T04:07:44.362Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-27T04:07:44.921Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-27T04:07:45.231Z] + ls -al . [2023-02-27T04:07:45.231Z] total 236 [2023-02-27T04:07:45.231Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 27 04:07 . [2023-02-27T04:07:45.231Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 04:06 .. [2023-02-27T04:07:45.231Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 27 04:07 .git [2023-02-27T04:07:45.231Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 04:06 .github [2023-02-27T04:07:45.231Z] -rw-rw-r-- 1 jenkins jenkins 496 Feb 27 04:06 .gitignore [2023-02-27T04:07:45.231Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 27 04:06 .golangci.yml [2023-02-27T04:07:45.231Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 04:06 .semver [2023-02-27T04:07:45.231Z] -rw-rw-r-- 1 jenkins jenkins 9857 Feb 27 04:06 Attribution.txt [2023-02-27T04:07:45.231Z] -rw-rw-r-- 1 jenkins jenkins 6312 Feb 27 04:06 CHANGELOG.md [2023-02-27T04:07:45.231Z] -rw-rw-r-- 1 jenkins jenkins 1574 Feb 27 04:06 Dockerfile [2023-02-27T04:07:45.231Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 27 04:06 GOVERNANCE.md [2023-02-27T04:07:45.231Z] -rw-rw-r-- 1 jenkins jenkins 734 Feb 27 04:06 Jenkinsfile [2023-02-27T04:07:45.231Z] -rw-rw-r-- 1 jenkins jenkins 11348 Feb 27 04:06 LICENSE [2023-02-27T04:07:45.231Z] -rw-rw-r-- 1 jenkins jenkins 2577 Feb 27 04:06 Makefile [2023-02-27T04:07:45.231Z] -rw-rw-r-- 1 jenkins jenkins 625 Feb 27 04:06 OWNERS.md [2023-02-27T04:07:45.231Z] -rw-rw-r-- 1 jenkins jenkins 6595 Feb 27 04:06 README.md [2023-02-27T04:07:45.231Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 27 04:06 VERSION [2023-02-27T04:07:45.231Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 04:06 bin [2023-02-27T04:07:45.231Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 04:06 cmd [2023-02-27T04:07:45.231Z] -rw-r--r-- 1 jenkins jenkins 79184 Feb 27 04:07 coverage.out [2023-02-27T04:07:45.231Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 27 04:06 doc [2023-02-27T04:07:45.231Z] -rw-rw-r-- 1 jenkins jenkins 3601 Feb 27 04:06 go.mod [2023-02-27T04:07:45.231Z] -rw-rw-r-- 1 jenkins jenkins 34676 Feb 27 04:06 go.sum [2023-02-27T04:07:45.231Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 04:06 internal [2023-02-27T04:07:45.231Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 04:06 snap [2023-02-27T04:07:45.231Z] -rw-rw-r-- 1 jenkins jenkins 236 Feb 27 04:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T04:07:45.618Z] + 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=696fdac509528e6fb2a95555f8cdc9a1f4b8beb6 --label arch=amd64 --label version=0.0.0 . [2023-02-27T04:07:45.618Z] Sending build context to Docker daemon 27.81MB [2023-02-27T04:07:45.618Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-02-27T04:07:45.618Z] Step 2/26 : FROM ${BASE} AS builder [2023-02-27T04:07:45.618Z] ---> b56c2ccc0f55 [2023-02-27T04:07:45.618Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-02-27T04:07:46.187Z] ---> Running in ff3eda9820b5 [2023-02-27T04:07:46.187Z] Removing intermediate container ff3eda9820b5 [2023-02-27T04:07:46.187Z] ---> e65e4fafad0e [2023-02-27T04:07:46.187Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-27T04:07:46.187Z] ---> Running in eab49fe3d21a [2023-02-27T04:07:46.187Z] Removing intermediate container eab49fe3d21a [2023-02-27T04:07:46.187Z] ---> ea8d828ad7e0 [2023-02-27T04:07:46.187Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-02-27T04:07:46.187Z] ---> Running in 235c9d2de070 [2023-02-27T04:07:46.446Z] Removing intermediate container 235c9d2de070 [2023-02-27T04:07:46.446Z] ---> 86b660d621ce [2023-02-27T04:07:46.446Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-02-27T04:07:46.446Z] ---> Running in 27c159568506 [2023-02-27T04:07:46.446Z] Removing intermediate container 27c159568506 [2023-02-27T04:07:46.446Z] ---> f138fe3ae66c [2023-02-27T04:07:46.446Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-02-27T04:07:46.446Z] ---> Running in 8d188916aded [2023-02-27T04:07:46.446Z] Removing intermediate container 8d188916aded [2023-02-27T04:07:46.446Z] ---> f8d5d3ff5c6a [2023-02-27T04:07:46.446Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-27T04:07:46.446Z] ---> Running in 6df3a0764c14 [2023-02-27T04:07:46.704Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-27T04:07:46.960Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-27T04:07:47.219Z] OK: 211 MiB in 51 packages [2023-02-27T04:07:47.479Z] Removing intermediate container 6df3a0764c14 [2023-02-27T04:07:47.479Z] ---> 86d1be1f0204 [2023-02-27T04:07:47.479Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-02-27T04:07:47.479Z] ---> Running in 761ef142b2d6 [2023-02-27T04:07:47.738Z] Removing intermediate container 761ef142b2d6 [2023-02-27T04:07:47.738Z] ---> cb95731830ec [2023-02-27T04:07:47.738Z] Step 10/26 : COPY go.mod vendor* ./ [2023-02-27T04:07:47.738Z] ---> 444043618441 [2023-02-27T04:07:47.738Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-27T04:07:47.738Z] ---> Running in 2a58fbb0604e [2023-02-27T04:07:48.676Z] Removing intermediate container 2a58fbb0604e [2023-02-27T04:07:48.676Z] ---> 74cdf7fd4517 [2023-02-27T04:07:48.676Z] Step 12/26 : COPY . . [2023-02-27T04:07:49.617Z] ---> 6be9c3a9bd7b [2023-02-27T04:07:49.617Z] Step 13/26 : RUN ${MAKE} [2023-02-27T04:07:49.617Z] ---> Running in 6e603830a679 [2023-02-27T04:07:49.875Z] 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:08:11.807Z] Removing intermediate container 6e603830a679 [2023-02-27T04:08:11.807Z] ---> b5556ed9d343 [2023-02-27T04:08:11.807Z] Step 14/26 : FROM alpine:3.16 [2023-02-27T04:08:12.066Z] 3.16: Pulling from library/alpine [2023-02-27T04:08:12.066Z] ef5531b6e74e: Pulling fs layer [2023-02-27T04:08:12.342Z] ef5531b6e74e: Verifying Checksum [2023-02-27T04:08:12.342Z] ef5531b6e74e: Download complete [2023-02-27T04:08:12.601Z] ef5531b6e74e: Pull complete [2023-02-27T04:08:12.601Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-27T04:08:12.601Z] Status: Downloaded newer image for alpine:3.16 [2023-02-27T04:08:12.601Z] ---> dfd21b5a31f5 [2023-02-27T04:08:12.601Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-02-27T04:08:12.601Z] ---> Running in ac5ba61cbb6a [2023-02-27T04:08:12.601Z] Removing intermediate container ac5ba61cbb6a [2023-02-27T04:08:12.601Z] ---> 8b7d3cccd12a [2023-02-27T04:08:12.601Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-02-27T04:08:12.601Z] ---> Running in d120dc30e69e [2023-02-27T04:08:12.861Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-27T04:08:13.121Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-27T04:08:13.381Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-27T04:08:13.381Z] Executing busybox-1.35.0-r17.trigger [2023-02-27T04:08:13.381Z] OK: 6 MiB in 15 packages [2023-02-27T04:08:13.641Z] Removing intermediate container d120dc30e69e [2023-02-27T04:08:13.641Z] ---> e4a4888e797f [2023-02-27T04:08:13.641Z] Step 17/26 : WORKDIR / [2023-02-27T04:08:13.907Z] ---> Running in 37b233e5555f [2023-02-27T04:08:13.907Z] Removing intermediate container 37b233e5555f [2023-02-27T04:08:13.907Z] ---> 622fc3f015cd [2023-02-27T04:08:13.907Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-02-27T04:08:14.857Z] ---> 11e89a372366 [2023-02-27T04:08:14.857Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-02-27T04:08:14.857Z] ---> dfd4eabf547d [2023-02-27T04:08:14.857Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-02-27T04:08:14.857Z] ---> f831478b2f57 [2023-02-27T04:08:14.857Z] Step 21/26 : EXPOSE 59984 [2023-02-27T04:08:14.857Z] ---> Running in 3c423cf6a6a1 [2023-02-27T04:08:15.119Z] Removing intermediate container 3c423cf6a6a1 [2023-02-27T04:08:15.119Z] ---> 015018c3d06d [2023-02-27T04:08:15.119Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-02-27T04:08:15.119Z] ---> Running in f1e0cc238e73 [2023-02-27T04:08:15.119Z] Removing intermediate container f1e0cc238e73 [2023-02-27T04:08:15.119Z] ---> 65191591c591 [2023-02-27T04:08:15.119Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-27T04:08:15.119Z] ---> Running in ee19ad429d20 [2023-02-27T04:08:15.119Z] Removing intermediate container ee19ad429d20 [2023-02-27T04:08:15.119Z] ---> 2b59d3cd0ce4 [2023-02-27T04:08:15.119Z] Step 24/26 : LABEL arch=amd64 [2023-02-27T04:08:15.389Z] ---> Running in 604c60116e2e [2023-02-27T04:08:15.389Z] Removing intermediate container 604c60116e2e [2023-02-27T04:08:15.389Z] ---> b5760cb144cc [2023-02-27T04:08:15.389Z] Step 25/26 : LABEL git_sha=696fdac509528e6fb2a95555f8cdc9a1f4b8beb6 [2023-02-27T04:08:15.389Z] ---> Running in 2ea6f6f2b5a8 [2023-02-27T04:08:15.648Z] Removing intermediate container 2ea6f6f2b5a8 [2023-02-27T04:08:15.648Z] ---> b8d864be984d [2023-02-27T04:08:15.648Z] Step 26/26 : LABEL version=0.0.0 [2023-02-27T04:08:15.648Z] ---> Running in 0334badf1d2b [2023-02-27T04:08:15.648Z] Removing intermediate container 0334badf1d2b [2023-02-27T04:08:15.648Z] ---> 5ecff4c556e7 [2023-02-27T04:08:15.648Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-27T04:08:15.648Z] Successfully built 5ecff4c556e7 [2023-02-27T04:08:15.648Z] 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:08:16.633Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-27T04:08:16.633Z] [2023-02-27T04:08:16.633Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T04:08:17.011Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-27T04:08:17.011Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-27T04:08:17.011Z] 5eb5b503b376: Pulling fs layer [2023-02-27T04:08:17.011Z] 5c69ac0246d0: Pulling fs layer [2023-02-27T04:08:17.011Z] ec43610c2a17: Pulling fs layer [2023-02-27T04:08:17.011Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-27T04:08:17.011Z] 33b1e0a273af: Pulling fs layer [2023-02-27T04:08:17.011Z] 5d3b04190fa2: Pulling fs layer [2023-02-27T04:08:17.011Z] 2f39f015ded8: Pulling fs layer [2023-02-27T04:08:17.011Z] 3a2ae6a8a46f: Waiting [2023-02-27T04:08:17.011Z] 5d3b04190fa2: Waiting [2023-02-27T04:08:17.011Z] 2f39f015ded8: Waiting [2023-02-27T04:08:17.011Z] 33b1e0a273af: Waiting [2023-02-27T04:08:17.011Z] 5c69ac0246d0: Download complete [2023-02-27T04:08:17.011Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-27T04:08:17.011Z] 3a2ae6a8a46f: Download complete [2023-02-27T04:08:17.270Z] 33b1e0a273af: Verifying Checksum [2023-02-27T04:08:17.270Z] 33b1e0a273af: Download complete [2023-02-27T04:08:17.270Z] ec43610c2a17: Verifying Checksum [2023-02-27T04:08:17.270Z] ec43610c2a17: Download complete [2023-02-27T04:08:17.270Z] 5d3b04190fa2: Verifying Checksum [2023-02-27T04:08:17.270Z] 5d3b04190fa2: Download complete [2023-02-27T04:08:17.270Z] 5eb5b503b376: Verifying Checksum [2023-02-27T04:08:17.270Z] 5eb5b503b376: Download complete [2023-02-27T04:08:18.207Z] 2f39f015ded8: Download complete [2023-02-27T04:08:18.467Z] 5eb5b503b376: Pull complete [2023-02-27T04:08:18.726Z] 5c69ac0246d0: Pull complete [2023-02-27T04:08:19.294Z] ec43610c2a17: Pull complete [2023-02-27T04:08:19.294Z] 3a2ae6a8a46f: Pull complete [2023-02-27T04:08:19.554Z] 33b1e0a273af: Pull complete [2023-02-27T04:08:19.554Z] 5d3b04190fa2: Pull complete [2023-02-27T04:08:24.826Z] 2f39f015ded8: Pull complete [2023-02-27T04:08:24.826Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-27T04:08:24.826Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-27T04:08:24.826Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T04:08:25.028Z] prd-ubuntu20.04-docker-8c-8g-7524 does not seem to be running inside a container [2023-02-27T04:08:25.060Z] $ 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-244 -v /w/workspace/undry_device-onvif-camera_PR-244:/w/workspace/undry_device-onvif-camera_PR-244:rw,z -v /w/workspace/undry_device-onvif-camera_PR-244@tmp:/w/workspace/undry_device-onvif-camera_PR-244@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-27T04:08:28.116Z] $ docker top 4c62d87491a96f7cfa8a16a942d28af884614eb21071d0fe870a56dec57d7dd2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T04:08:28.597Z] ---> job-cost.sh [2023-02-27T04:08:28.597Z] lf-activate-venv: SKIPPING [2023-02-27T04:08:28.597Z] INFO: No Stack... [2023-02-27T04:08:28.856Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-27T04:08:29.116Z] INFO: Archiving Costs [Pipeline] sh [2023-02-27T04:08:29.427Z] + cat /w/workspace/undry_device-onvif-camera_PR-244/archives/cost.csv [2023-02-27T04:08:29.427Z] + cut -d, -f6 [Pipeline] lock [2023-02-27T04:08:29.468Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-244-1-stack-cost] [2023-02-27T04:08:29.473Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-244-1-stack-cost] did not exist. Created. [2023-02-27T04:08:29.473Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-244-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-27T04:08:29.869Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-27T04:08:29.939Z] Stashed 1 file(s) [Pipeline] } [2023-02-27T04:08:29.968Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-244-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-27T04:08:30.045Z] $ docker stop --time=1 4c62d87491a96f7cfa8a16a942d28af884614eb21071d0fe870a56dec57d7dd2 [2023-02-27T04:08:31.210Z] $ docker rm -f --volumes 4c62d87491a96f7cfa8a16a942d28af884614eb21071d0fe870a56dec57d7dd2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-27T04:09:24.172Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-7528 in /w/workspace/undry_device-onvif-camera_PR-244 [Pipeline] { [Pipeline] ws [2023-02-27T04:09:24.229Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-02-27T04:09:24.309Z] The recommended git tool is: git [2023-02-27T04:09:30.354Z] using credential edgex-jenkins-ssh [2023-02-27T04:09:30.371Z] Cloning the remote Git repository [2023-02-27T04:09:30.427Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-27T04:09:30.520Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-02-27T04:09:30.697Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-27T04:09:30.698Z] > git --version # timeout=10 [2023-02-27T04:09:30.724Z] > git --version # 'git version 2.25.1' [2023-02-27T04:09:30.727Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-27T04:09:30.797Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-27T04:09:33.563Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-02-27T04:09:33.585Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-27T04:09:35.325Z] Merging remotes/origin/main commit 4a9e67fa37862f83ef90b637e6c765491ff37d3a into PR head commit 696fdac509528e6fb2a95555f8cdc9a1f4b8beb6 [2023-02-27T04:09:35.812Z] Merge succeeded, producing 696fdac509528e6fb2a95555f8cdc9a1f4b8beb6 [2023-02-27T04:09:35.813Z] Checking out Revision 696fdac509528e6fb2a95555f8cdc9a1f4b8beb6 (PR-244) [2023-02-27T04:09:34.597Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-02-27T04:09:34.663Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-27T04:09:34.664Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-27T04:09:34.680Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/244/head:refs/remotes/origin/PR-244 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-27T04:09:35.349Z] > git config core.sparsecheckout # timeout=10 [2023-02-27T04:09:35.374Z] > git checkout -f 696fdac509528e6fb2a95555f8cdc9a1f4b8beb6 # timeout=10 [2023-02-27T04:09:35.708Z] > git remote # timeout=10 [2023-02-27T04:09:35.728Z] > git config --get remote.origin.url # timeout=10 [2023-02-27T04:09:35.746Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-27T04:09:35.763Z] > git merge 4a9e67fa37862f83ef90b637e6c765491ff37d3a # timeout=10 [2023-02-27T04:09:35.791Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-27T04:09:35.821Z] > git config core.sparsecheckout # timeout=10 [2023-02-27T04:09:35.838Z] > git checkout -f 696fdac509528e6fb2a95555f8cdc9a1f4b8beb6 # timeout=10 [2023-02-27T04:09:36.788Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-02-27T04:09:36.851Z] > git --version # timeout=10 [2023-02-27T04:09:36.864Z] > git --version # 'git version 2.25.1' [2023-02-27T04:09:36.879Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-27T04:09:37.956Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-27T04:09:37.956Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-27T04:09:37.956Z] Dload Upload Total Spent Left Speed [2023-02-27T04:09:37.956Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 65 12751 65 8259 0 0 146k 0 --:--:-- --:--:-- --:--:-- 144k 100 12751 100 12751 0 0 218k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh [2023-02-27T04:09:38.638Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-27T04:09:38.986Z] + sudo tee /etc/docker/daemon.new [2023-02-27T04:09:38.986Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-27T04:09:38.986Z] { [2023-02-27T04:09:38.986Z] "registry-mirrors": [ [2023-02-27T04:09:38.986Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-27T04:09:38.986Z] ], [2023-02-27T04:09:38.986Z] "bip": "10.250.0.254/24", [2023-02-27T04:09:38.986Z] "hosts": [ [2023-02-27T04:09:38.986Z] "tcp://0.0.0.0:5555", [2023-02-27T04:09:38.986Z] "unix:///var/run/docker.sock" [2023-02-27T04:09:38.986Z] ], [2023-02-27T04:09:38.986Z] "mtu": 1458, [2023-02-27T04:09:38.986Z] "selinux-enabled": true, [2023-02-27T04:09:38.986Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-27T04:09:38.986Z] } [Pipeline] sh [2023-02-27T04:09:39.340Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-27T04:09:39.688Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-27T04:09:58.252Z] provisioning config files... [2023-02-27T04:09:58.284Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config13095552216632738556tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T04:09:58.691Z] ---> docker-login.sh [2023-02-27T04:09:58.691Z] nexus3.edgexfoundry.org:10001 [2023-02-27T04:09:59.283Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T04:09:59.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T04:09:59.283Z] Configure a credential helper to remove this warning. See [2023-02-27T04:09:59.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T04:09:59.283Z] [2023-02-27T04:09:59.283Z] Login Succeeded [2023-02-27T04:09:59.554Z] nexus3.edgexfoundry.org:10002 [2023-02-27T04:09:59.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T04:09:59.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T04:09:59.831Z] Configure a credential helper to remove this warning. See [2023-02-27T04:09:59.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T04:09:59.831Z] [2023-02-27T04:09:59.831Z] Login Succeeded [2023-02-27T04:09:59.831Z] nexus3.edgexfoundry.org:10003 [2023-02-27T04:10:00.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T04:10:00.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T04:10:00.109Z] Configure a credential helper to remove this warning. See [2023-02-27T04:10:00.109Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T04:10:00.109Z] [2023-02-27T04:10:00.109Z] Login Succeeded [2023-02-27T04:10:00.109Z] nexus3.edgexfoundry.org:10004 [2023-02-27T04:10:00.383Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T04:10:00.653Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T04:10:00.653Z] Configure a credential helper to remove this warning. See [2023-02-27T04:10:00.653Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T04:10:00.653Z] [2023-02-27T04:10:00.653Z] Login Succeeded [2023-02-27T04:10:00.653Z] docker.io [2023-02-27T04:10:00.925Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-27T04:10:01.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-27T04:10:01.197Z] Configure a credential helper to remove this warning. See [2023-02-27T04:10:01.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-27T04:10:01.197Z] [2023-02-27T04:10:01.197Z] Login Succeeded [2023-02-27T04:10:01.197Z] ---> docker-login.sh ends [Pipeline] } [2023-02-27T04:10:01.222Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-27T04:10:01.684Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-27T04:10:01.723Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-27T04:10:01.752Z] ========================================================= [2023-02-27T04:10:01.753Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-27T04:10:01.753Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T04:10:02.258Z] + 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:10:02.852Z] Sending build context to Docker daemon 20.56MB [2023-02-27T04:10:02.852Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-27T04:10:02.852Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-27T04:10:03.124Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-27T04:10:03.124Z] 9b18e9b68314: Pulling fs layer [2023-02-27T04:10:03.124Z] 35d82f9e3411: Pulling fs layer [2023-02-27T04:10:03.124Z] e16973657156: Pulling fs layer [2023-02-27T04:10:03.124Z] fc693d55d65f: Pulling fs layer [2023-02-27T04:10:03.124Z] 7e9fc2657dce: Pulling fs layer [2023-02-27T04:10:03.124Z] dda99020689f: Pulling fs layer [2023-02-27T04:10:03.124Z] db1c61fa0a46: Pulling fs layer [2023-02-27T04:10:03.124Z] 891c053d2c06: Pulling fs layer [2023-02-27T04:10:03.124Z] dda99020689f: Waiting [2023-02-27T04:10:03.124Z] db1c61fa0a46: Waiting [2023-02-27T04:10:03.124Z] 891c053d2c06: Waiting [2023-02-27T04:10:03.124Z] fc693d55d65f: Waiting [2023-02-27T04:10:03.124Z] 7e9fc2657dce: Waiting [2023-02-27T04:10:03.124Z] e16973657156: Verifying Checksum [2023-02-27T04:10:03.124Z] e16973657156: Download complete [2023-02-27T04:10:03.124Z] 35d82f9e3411: Download complete [2023-02-27T04:10:03.124Z] 7e9fc2657dce: Verifying Checksum [2023-02-27T04:10:03.124Z] 7e9fc2657dce: Download complete [2023-02-27T04:10:03.124Z] dda99020689f: Verifying Checksum [2023-02-27T04:10:03.124Z] dda99020689f: Download complete [2023-02-27T04:10:03.124Z] 9b18e9b68314: Verifying Checksum [2023-02-27T04:10:03.730Z] 9b18e9b68314: Pull complete [2023-02-27T04:10:04.706Z] 35d82f9e3411: Pull complete [2023-02-27T04:10:04.706Z] 891c053d2c06: Verifying Checksum [2023-02-27T04:10:04.706Z] 891c053d2c06: Download complete [2023-02-27T04:10:04.982Z] e16973657156: Pull complete [2023-02-27T04:10:05.970Z] db1c61fa0a46: Verifying Checksum [2023-02-27T04:10:05.970Z] db1c61fa0a46: Download complete [2023-02-27T04:10:06.240Z] fc693d55d65f: Verifying Checksum [2023-02-27T04:10:06.240Z] fc693d55d65f: Download complete [2023-02-27T04:10:18.593Z] fc693d55d65f: Pull complete [2023-02-27T04:10:18.593Z] 7e9fc2657dce: Pull complete [2023-02-27T04:10:18.593Z] dda99020689f: Pull complete [2023-02-27T04:10:26.965Z] db1c61fa0a46: Pull complete [2023-02-27T04:10:28.374Z] 891c053d2c06: Pull complete [2023-02-27T04:10:28.374Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-27T04:10:28.374Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-27T04:10:28.374Z] ---> f96f9c87975a [2023-02-27T04:10:28.374Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-27T04:10:30.324Z] ---> Running in c08ac10e4df4 [2023-02-27T04:10:30.603Z] Removing intermediate container c08ac10e4df4 [2023-02-27T04:10:30.603Z] ---> 02625664a37e [2023-02-27T04:10:30.603Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-27T04:10:30.875Z] ---> Running in 2a025ebf37f6 [2023-02-27T04:10:31.144Z] Removing intermediate container 2a025ebf37f6 [2023-02-27T04:10:31.144Z] ---> c0f11f56908e [2023-02-27T04:10:31.144Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-02-27T04:10:31.144Z] ---> Running in dab2ee3d37db [2023-02-27T04:10:31.743Z] Removing intermediate container dab2ee3d37db [2023-02-27T04:10:31.743Z] ---> 50765af27f6b [2023-02-27T04:10:31.743Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-02-27T04:10:31.743Z] ---> Running in 1e5d8717fedf [2023-02-27T04:10:32.018Z] Removing intermediate container 1e5d8717fedf [2023-02-27T04:10:32.018Z] ---> f7ecd2e217d0 [2023-02-27T04:10:32.018Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-02-27T04:10:32.018Z] ---> Running in 8673c9e1d0dd [2023-02-27T04:10:32.610Z] Removing intermediate container 8673c9e1d0dd [2023-02-27T04:10:32.610Z] ---> 5fad5726c99f [2023-02-27T04:10:32.610Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-27T04:10:32.610Z] ---> Running in cbed4f365274 [2023-02-27T04:10:34.034Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-27T04:10:34.301Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-27T04:10:35.270Z] OK: 221 MiB in 51 packages [2023-02-27T04:10:36.241Z] Removing intermediate container cbed4f365274 [2023-02-27T04:10:36.241Z] ---> 3b40ee56283b [2023-02-27T04:10:36.241Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-02-27T04:10:36.241Z] ---> Running in c3d5bfcf3e42 [2023-02-27T04:10:36.511Z] Removing intermediate container c3d5bfcf3e42 [2023-02-27T04:10:36.511Z] ---> 0133b0feb8a5 [2023-02-27T04:10:36.511Z] Step 10/13 : COPY go.mod vendor* ./ [2023-02-27T04:10:39.119Z] ---> ec24bf7043b3 [2023-02-27T04:10:39.119Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-27T04:10:39.119Z] ---> Running in 7b5fb4c23c4b [2023-02-27T04:12:00.824Z] Removing intermediate container 7b5fb4c23c4b [2023-02-27T04:12:00.824Z] ---> 54b2b63702cb [2023-02-27T04:12:00.824Z] Step 12/13 : COPY . . [2023-02-27T04:12:00.824Z] ---> 04abcf943381 [2023-02-27T04:12:00.824Z] Step 13/13 : RUN ${MAKE} [2023-02-27T04:12:00.824Z] ---> Running in 2e87eaa35552 [2023-02-27T04:12:00.824Z] noop [2023-02-27T04:12:00.824Z] Removing intermediate container 2e87eaa35552 [2023-02-27T04:12:00.824Z] ---> d8aed3e09eee [2023-02-27T04:12:00.824Z] Successfully built d8aed3e09eee [2023-02-27T04:12:00.824Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T04:12:01.301Z] + docker inspect -f . ci-base-image-arm64 [2023-02-27T04:12:01.301Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T04:12:01.582Z] prd-ubuntu20.04-docker-arm64-4c-16g-7528 does not seem to be running inside a container [2023-02-27T04:12:01.663Z] $ 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:12:03.102Z] $ docker top c99c9f486a008bbdcfe9500e9a904be253011b683215797ee099329e26f0b721 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T04:12:04.028Z] + go version [2023-02-27T04:12:04.028Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-27T04:12:04.064Z] $ docker stop --time=1 c99c9f486a008bbdcfe9500e9a904be253011b683215797ee099329e26f0b721 [2023-02-27T04:12:05.697Z] $ docker rm -f --volumes c99c9f486a008bbdcfe9500e9a904be253011b683215797ee099329e26f0b721 [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:12:06.525Z] + docker inspect -f . ci-base-image-arm64 [2023-02-27T04:12:06.525Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T04:12:06.781Z] prd-ubuntu20.04-docker-arm64-4c-16g-7528 does not seem to be running inside a container [2023-02-27T04:12:06.855Z] $ 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:12:09.818Z] $ docker top 0a629148753c276d9a4755d2f6c96126ab89689b6a949926b4b00fa6f9c961c0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T04:12:10.365Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-02-27T04:12:11.347Z] + make test [2023-02-27T04:12:11.347Z] go test ./... -coverprofile=coverage.out ./... [2023-02-27T04:12:13.299Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-02-27T04:14:04.985Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-02-27T04:14:09.258Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.203s coverage: 29.3% of statements [2023-02-27T04:14:09.258Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-02-27T04:14:24.282Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.378s coverage: 86.5% of statements [2023-02-27T04:14:24.884Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-27T04:14:24.884Z] go vet ./... [2023-02-27T04:15:03.786Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-27T04:15:03.787Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-27T04:15:03.787Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-27T04:15:03.819Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-27T04:15:03.858Z] $ docker stop --time=1 0a629148753c276d9a4755d2f6c96126ab89689b6a949926b4b00fa6f9c961c0 [2023-02-27T04:15:05.644Z] $ docker rm -f --volumes 0a629148753c276d9a4755d2f6c96126ab89689b6a949926b4b00fa6f9c961c0 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-27T04:15:06.676Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-27T04:15:06.712Z] Warning: overwriting stash ‘coverage-report’ [2023-02-27T04:15:07.270Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-27T04:15:07.840Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-27T04:15:08.188Z] + ls -al . [2023-02-27T04:15:08.188Z] total 232 [2023-02-27T04:15:08.188Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 27 04:12 . [2023-02-27T04:15:08.188Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 04:09 .. [2023-02-27T04:15:08.188Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 27 04:09 .git [2023-02-27T04:15:08.188Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 04:09 .github [2023-02-27T04:15:08.188Z] -rw-rw-r-- 1 jenkins jenkins 496 Feb 27 04:09 .gitignore [2023-02-27T04:15:08.188Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 27 04:09 .golangci.yml [2023-02-27T04:15:08.188Z] -rw-rw-r-- 1 jenkins jenkins 9857 Feb 27 04:09 Attribution.txt [2023-02-27T04:15:08.188Z] -rw-rw-r-- 1 jenkins jenkins 6312 Feb 27 04:09 CHANGELOG.md [2023-02-27T04:15:08.188Z] -rw-rw-r-- 1 jenkins jenkins 1574 Feb 27 04:09 Dockerfile [2023-02-27T04:15:08.188Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 27 04:09 GOVERNANCE.md [2023-02-27T04:15:08.188Z] -rw-rw-r-- 1 jenkins jenkins 734 Feb 27 04:09 Jenkinsfile [2023-02-27T04:15:08.188Z] -rw-rw-r-- 1 jenkins jenkins 11348 Feb 27 04:09 LICENSE [2023-02-27T04:15:08.188Z] -rw-rw-r-- 1 jenkins jenkins 2577 Feb 27 04:09 Makefile [2023-02-27T04:15:08.189Z] -rw-rw-r-- 1 jenkins jenkins 625 Feb 27 04:09 OWNERS.md [2023-02-27T04:15:08.189Z] -rw-rw-r-- 1 jenkins jenkins 6595 Feb 27 04:09 README.md [2023-02-27T04:15:08.189Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 27 04:06 VERSION [2023-02-27T04:15:08.189Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 27 04:09 bin [2023-02-27T04:15:08.189Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 27 04:09 cmd [2023-02-27T04:15:08.189Z] -rw-r--r-- 1 jenkins jenkins 79184 Feb 27 04:14 coverage.out [2023-02-27T04:15:08.189Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 27 04:09 doc [2023-02-27T04:15:08.189Z] -rw-rw-r-- 1 jenkins jenkins 3601 Feb 27 04:09 go.mod [2023-02-27T04:15:08.189Z] -rw-rw-r-- 1 jenkins jenkins 34676 Feb 27 04:09 go.sum [2023-02-27T04:15:08.189Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 04:09 internal [2023-02-27T04:15:08.189Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 27 04:09 snap [2023-02-27T04:15:08.189Z] -rw-rw-r-- 1 jenkins jenkins 236 Feb 27 04:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T04:15:08.610Z] + 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=696fdac509528e6fb2a95555f8cdc9a1f4b8beb6 --label arch=arm64 --label version=0.0.0 . [2023-02-27T04:15:09.198Z] Sending build context to Docker daemon 20.64MB [2023-02-27T04:15:09.198Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-02-27T04:15:09.198Z] Step 2/26 : FROM ${BASE} AS builder [2023-02-27T04:15:09.198Z] ---> d8aed3e09eee [2023-02-27T04:15:09.198Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-02-27T04:15:09.467Z] ---> Running in 89f7bc0a146b [2023-02-27T04:15:09.733Z] Removing intermediate container 89f7bc0a146b [2023-02-27T04:15:09.733Z] ---> d465fe90f14d [2023-02-27T04:15:09.733Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-27T04:15:09.733Z] ---> Running in 8ce1cbd638c8 [2023-02-27T04:15:09.999Z] Removing intermediate container 8ce1cbd638c8 [2023-02-27T04:15:09.999Z] ---> c2b8c4d74dc3 [2023-02-27T04:15:09.999Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-02-27T04:15:09.999Z] ---> Running in 29cdc5fc6509 [2023-02-27T04:15:10.270Z] Removing intermediate container 29cdc5fc6509 [2023-02-27T04:15:10.270Z] ---> 4384a2cff2b4 [2023-02-27T04:15:10.270Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-02-27T04:15:10.537Z] ---> Running in d2f7ce7b325d [2023-02-27T04:15:10.804Z] Removing intermediate container d2f7ce7b325d [2023-02-27T04:15:10.804Z] ---> ffb63abe25b3 [2023-02-27T04:15:10.804Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-02-27T04:15:10.804Z] ---> Running in 35b6d18d704e [2023-02-27T04:15:11.071Z] Removing intermediate container 35b6d18d704e [2023-02-27T04:15:11.071Z] ---> c4a02c4dd755 [2023-02-27T04:15:11.071Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-27T04:15:11.338Z] ---> Running in ed162c98e622 [2023-02-27T04:15:12.298Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-27T04:15:12.567Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-27T04:15:13.525Z] OK: 221 MiB in 51 packages [2023-02-27T04:15:14.489Z] Removing intermediate container ed162c98e622 [2023-02-27T04:15:14.489Z] ---> 5574463bff07 [2023-02-27T04:15:14.489Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-02-27T04:15:14.489Z] ---> Running in b7084b28bd31 [2023-02-27T04:15:14.756Z] Removing intermediate container b7084b28bd31 [2023-02-27T04:15:14.756Z] ---> 538253b316e3 [2023-02-27T04:15:14.756Z] Step 10/26 : COPY go.mod vendor* ./ [2023-02-27T04:15:15.347Z] ---> d541688477c1 [2023-02-27T04:15:15.347Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-27T04:15:15.347Z] ---> Running in c7fa29d71569 [2023-02-27T04:15:18.686Z] Removing intermediate container c7fa29d71569 [2023-02-27T04:15:18.686Z] ---> ea4a7e81f466 [2023-02-27T04:15:18.686Z] Step 12/26 : COPY . . [2023-02-27T04:15:20.101Z] ---> 8e5d4069e671 [2023-02-27T04:15:20.101Z] Step 13/26 : RUN ${MAKE} [2023-02-27T04:15:20.101Z] ---> Running in baa9e3069f89 [2023-02-27T04:15:21.061Z] 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:17:42.747Z] Removing intermediate container baa9e3069f89 [2023-02-27T04:17:42.747Z] ---> 3d945c105d40 [2023-02-27T04:17:42.747Z] Step 14/26 : FROM alpine:3.16 [2023-02-27T04:17:42.747Z] 3.16: Pulling from library/alpine [2023-02-27T04:17:42.747Z] 3760b48202b3: Pulling fs layer [2023-02-27T04:17:42.747Z] 3760b48202b3: Verifying Checksum [2023-02-27T04:17:42.747Z] 3760b48202b3: Download complete [2023-02-27T04:17:42.747Z] 3760b48202b3: Pull complete [2023-02-27T04:17:42.747Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-27T04:17:42.747Z] Status: Downloaded newer image for alpine:3.16 [2023-02-27T04:17:42.747Z] ---> 4c81e5bf8899 [2023-02-27T04:17:42.747Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-02-27T04:17:42.747Z] ---> Running in 0eb2bf40c870 [2023-02-27T04:17:42.747Z] Removing intermediate container 0eb2bf40c870 [2023-02-27T04:17:42.747Z] ---> e5114bb6c3fa [2023-02-27T04:17:42.747Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-02-27T04:17:42.747Z] ---> Running in 2da69c25d4f9 [2023-02-27T04:17:42.747Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-27T04:17:42.747Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-27T04:17:42.747Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-27T04:17:42.747Z] Executing busybox-1.35.0-r17.trigger [2023-02-27T04:17:42.747Z] OK: 5 MiB in 15 packages [2023-02-27T04:17:43.017Z] Removing intermediate container 2da69c25d4f9 [2023-02-27T04:17:43.017Z] ---> 9cd6997c2abd [2023-02-27T04:17:43.017Z] Step 17/26 : WORKDIR / [2023-02-27T04:17:43.286Z] ---> Running in 611a4a1d30b2 [2023-02-27T04:17:43.553Z] Removing intermediate container 611a4a1d30b2 [2023-02-27T04:17:43.553Z] ---> 535096986ad5 [2023-02-27T04:17:43.553Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-02-27T04:17:44.961Z] ---> a305015509eb [2023-02-27T04:17:44.962Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-02-27T04:17:45.241Z] ---> f037c3fc324a [2023-02-27T04:17:45.241Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-02-27T04:17:45.824Z] ---> f39e5bad7594 [2023-02-27T04:17:45.824Z] Step 21/26 : EXPOSE 59984 [2023-02-27T04:17:45.824Z] ---> Running in e3de676fb473 [2023-02-27T04:17:46.090Z] Removing intermediate container e3de676fb473 [2023-02-27T04:17:46.090Z] ---> 0a2ee923cd20 [2023-02-27T04:17:46.090Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-02-27T04:17:46.356Z] ---> Running in d8dc0a056f4e [2023-02-27T04:17:46.625Z] Removing intermediate container d8dc0a056f4e [2023-02-27T04:17:46.625Z] ---> 4dcf86f11340 [2023-02-27T04:17:46.625Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-27T04:17:46.625Z] ---> Running in ff1b3f51e166 [2023-02-27T04:17:49.773Z] Removing intermediate container ff1b3f51e166 [2023-02-27T04:17:49.773Z] ---> f1c985391f25 [2023-02-27T04:17:49.773Z] Step 24/26 : LABEL arch=arm64 [2023-02-27T04:17:50.040Z] ---> Running in f3c83be6db80 [2023-02-27T04:17:50.306Z] Removing intermediate container f3c83be6db80 [2023-02-27T04:17:50.306Z] ---> 877e3b7764e7 [2023-02-27T04:17:50.306Z] Step 25/26 : LABEL git_sha=696fdac509528e6fb2a95555f8cdc9a1f4b8beb6 [2023-02-27T04:17:50.306Z] ---> Running in 1b80a49131ef [2023-02-27T04:17:50.649Z] Removing intermediate container 1b80a49131ef [2023-02-27T04:17:50.649Z] ---> aeaef492a34d [2023-02-27T04:17:50.649Z] Step 26/26 : LABEL version=0.0.0 [2023-02-27T04:17:50.649Z] ---> Running in 2999c407b2e5 [2023-02-27T04:17:50.919Z] Removing intermediate container 2999c407b2e5 [2023-02-27T04:17:50.919Z] ---> 42033cbd1e83 [2023-02-27T04:17:50.919Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-27T04:17:50.919Z] Successfully built 42033cbd1e83 [2023-02-27T04:17:50.919Z] 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:17:51.758Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-27T04:17:51.758Z] [2023-02-27T04:17:51.758Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T04:17:52.168Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-27T04:17:52.168Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-27T04:17:52.168Z] 8998bd30e6a1: Pulling fs layer [2023-02-27T04:17:52.168Z] 04944245beec: Pulling fs layer [2023-02-27T04:17:52.168Z] 699f458cf7ca: Pulling fs layer [2023-02-27T04:17:52.168Z] 765212b225bb: Pulling fs layer [2023-02-27T04:17:52.168Z] f23df028b6ca: Pulling fs layer [2023-02-27T04:17:52.168Z] d65c8cfc05b1: Pulling fs layer [2023-02-27T04:17:52.168Z] 2437ff75d9bd: Pulling fs layer [2023-02-27T04:17:52.168Z] f23df028b6ca: Waiting [2023-02-27T04:17:52.168Z] d65c8cfc05b1: Waiting [2023-02-27T04:17:52.168Z] 2437ff75d9bd: Waiting [2023-02-27T04:17:52.168Z] 765212b225bb: Waiting [2023-02-27T04:17:52.453Z] 04944245beec: Verifying Checksum [2023-02-27T04:17:52.453Z] 04944245beec: Download complete [2023-02-27T04:17:52.453Z] 765212b225bb: Verifying Checksum [2023-02-27T04:17:52.453Z] 765212b225bb: Download complete [2023-02-27T04:17:52.453Z] f23df028b6ca: Download complete [2023-02-27T04:17:52.453Z] d65c8cfc05b1: Verifying Checksum [2023-02-27T04:17:52.453Z] d65c8cfc05b1: Download complete [2023-02-27T04:17:52.453Z] 699f458cf7ca: Verifying Checksum [2023-02-27T04:17:52.453Z] 699f458cf7ca: Download complete [2023-02-27T04:17:53.060Z] 8998bd30e6a1: Verifying Checksum [2023-02-27T04:17:53.060Z] 8998bd30e6a1: Download complete [2023-02-27T04:17:55.009Z] 2437ff75d9bd: Verifying Checksum [2023-02-27T04:17:55.009Z] 2437ff75d9bd: Download complete [2023-02-27T04:17:56.947Z] 8998bd30e6a1: Pull complete [2023-02-27T04:17:57.213Z] 04944245beec: Pull complete [2023-02-27T04:17:58.621Z] 699f458cf7ca: Pull complete [2023-02-27T04:17:58.621Z] 765212b225bb: Pull complete [2023-02-27T04:17:59.206Z] f23df028b6ca: Pull complete [2023-02-27T04:17:59.474Z] d65c8cfc05b1: Pull complete [2023-02-27T04:18:17.690Z] 2437ff75d9bd: Pull complete [2023-02-27T04:18:17.690Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-27T04:18:17.690Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-27T04:18:17.690Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T04:18:18.019Z] prd-ubuntu20.04-docker-arm64-4c-16g-7528 does not seem to be running inside a container [2023-02-27T04:18:18.098Z] $ 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:18:21.155Z] $ docker top f0d655b8816d328f6faf7d5259bfbf78ab2e5dd8784b74eb9568e3b5babc53d2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-27T04:18:22.114Z] ---> job-cost.sh [2023-02-27T04:18:22.114Z] lf-activate-venv: SKIPPING [2023-02-27T04:18:22.114Z] INFO: No Stack... [2023-02-27T04:18:22.699Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-27T04:18:23.290Z] INFO: Archiving Costs [Pipeline] sh [2023-02-27T04:18:23.965Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-02-27T04:18:23.965Z] + cut -d, -f6 [Pipeline] lock [2023-02-27T04:18:24.067Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-244-1-stack-cost] [2023-02-27T04:18:24.072Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-244-1-stack-cost] did not exist. Created. [2023-02-27T04:18:24.072Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-244-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-27T04:18:24.804Z] /w/workspace/device-onvif-camera/1@tmp/durable-cec61efb/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-27T04:18:25.486Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-27T04:18:25.523Z] Warning: overwriting stash ‘stack-cost’ [2023-02-27T04:18:25.605Z] Stashed 1 file(s) [Pipeline] } [2023-02-27T04:18:25.620Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-244-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-27T04:18:25.709Z] $ docker stop --time=1 f0d655b8816d328f6faf7d5259bfbf78ab2e5dd8784b74eb9568e3b5babc53d2 [2023-02-27T04:18:27.253Z] $ docker rm -f --volumes f0d655b8816d328f6faf7d5259bfbf78ab2e5dd8784b74eb9568e3b5babc53d2 [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:18:28.193Z] provisioning config files... [2023-02-27T04:18:28.200Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-244@tmp/config7980655575141755107tmp [Pipeline] { [Pipeline] sh [2023-02-27T04:18:28.530Z] + set +x [2023-02-27T04:18:28.530Z] + curl -s https://codecov.io/bash+ [2023-02-27T04:18:28.530Z] bash -s -- [2023-02-27T04:18:28.530Z] [2023-02-27T04:18:28.530Z] _____ _ [2023-02-27T04:18:28.530Z] / ____| | | [2023-02-27T04:18:28.530Z] | | ___ __| | ___ ___ _____ __ [2023-02-27T04:18:28.530Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-27T04:18:28.530Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-27T04:18:28.530Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-27T04:18:28.530Z] Bash-1.0.6 [2023-02-27T04:18:28.530Z] [2023-02-27T04:18:28.530Z] [2023-02-27T04:18:28.530Z] ==> git version 2.25.1 found [2023-02-27T04:18:28.530Z] ==> 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:18:28.530Z] Release-Date: 2020-01-08 [2023-02-27T04:18:28.530Z] 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:18:28.530Z] 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:18:28.530Z] ==> Jenkins CI detected. [2023-02-27T04:18:28.530Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-244 [2023-02-27T04:18:28.530Z] project root: . [2023-02-27T04:18:28.530Z] --> token set from env [2023-02-27T04:18:28.530Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-27T04:18:28.530Z] ==> Running gcov in . (disable via -X gcov) [2023-02-27T04:18:28.530Z] ==> Python coveragepy not found [2023-02-27T04:18:28.530Z] ==> Searching for coverage reports in: [2023-02-27T04:18:28.530Z] + . [2023-02-27T04:18:28.530Z] -> Found 1 reports [2023-02-27T04:18:28.530Z] ==> Detecting git/mercurial file structure [2023-02-27T04:18:28.530Z] ==> Reading reports [2023-02-27T04:18:28.530Z] + ./coverage.out bytes=79184 [2023-02-27T04:18:28.530Z] ==> Appending adjustments [2023-02-27T04:18:28.530Z] https://docs.codecov.io/docs/fixing-reports [2023-02-27T04:18:28.789Z] + Found adjustments [2023-02-27T04:18:28.789Z] ==> Gzipping contents [2023-02-27T04:18:28.789Z] 12K /tmp/codecov.qxrrIS.gz [2023-02-27T04:18:28.789Z] ==> Uploading reports [2023-02-27T04:18:28.789Z] url: https://codecov.io [2023-02-27T04:18:28.789Z] query: branch=PR-244&commit=696fdac509528e6fb2a95555f8cdc9a1f4b8beb6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-244%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=244&job=&cmd_args= [2023-02-27T04:18:28.789Z] -> Pinging Codecov [2023-02-27T04:18:28.789Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-244&commit=696fdac509528e6fb2a95555f8cdc9a1f4b8beb6&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-244%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=244&job=&cmd_args= [2023-02-27T04:18:29.051Z] -> Uploading to [2023-02-27T04:18:29.051Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-27/F29A59C45E3A92E06B3E522C9905F8EF/696fdac509528e6fb2a95555f8cdc9a1f4b8beb6/ee3411ce-969f-4f6d-aa74-999cb736aba6.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230227%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230227T041828Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=635e49de07150af1d57efefbbb2fa8cc6f4a59364451e860f284cc197f399673 [2023-02-27T04:18:29.051Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-27T04:18:29.051Z] Dload Upload Total Spent Left Speed [2023-02-27T04:18:29.310Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10805 0 0 100 10805 0 37517 --:--:-- --:--:-- --:--:-- 37648 [2023-02-27T04:18:29.310Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/696fdac509528e6fb2a95555f8cdc9a1f4b8beb6 [Pipeline] } [2023-02-27T04:18:29.337Z] 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:18:31.101Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-244/archives ] [2023-02-27T04:18:31.101Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-244/archives [2023-02-27T04:18:31.101Z] total 16 [2023-02-27T04:18:31.101Z] drwxr-xr-x 3 root root 4096 Feb 27 04:08 . [2023-02-27T04:18:31.101Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 27 04:08 .. [2023-02-27T04:18:31.101Z] drwxr-xr-x 2 root root 4096 Feb 27 04:08 cost [2023-02-27T04:18:31.101Z] -rw-r--r-- 1 root root 91 Feb 27 04:08 cost.csv [2023-02-27T04:18:31.101Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-244/archives [2023-02-27T04:18:31.101Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-244/archives [2023-02-27T04:18:31.101Z] total 16 [2023-02-27T04:18:31.101Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 27 04:08 . [2023-02-27T04:18:31.101Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 27 04:08 .. [2023-02-27T04:18:31.101Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 27 04:08 cost [2023-02-27T04:18:31.101Z] -rw-r--r-- 1 jenkins jenkins 91 Feb 27 04:08 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-27T04:18:31.431Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T04:18:32.325Z] ---> package-listing.sh [2023-02-27T04:18:32.325Z] ++ facter osfamily [2023-02-27T04:18:32.325Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-27T04:18:32.585Z] + OS_FAMILY=debian [2023-02-27T04:18:32.585Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-244 [2023-02-27T04:18:32.585Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-27T04:18:32.585Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-27T04:18:32.585Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-27T04:18:32.585Z] + PACKAGES=/tmp/packages_start.txt [2023-02-27T04:18:32.585Z] + '[' /w/workspace/undry_device-onvif-camera_PR-244 ']' [2023-02-27T04:18:32.585Z] + PACKAGES=/tmp/packages_end.txt [2023-02-27T04:18:32.585Z] + case "${OS_FAMILY}" in [2023-02-27T04:18:32.585Z] + dpkg -l [2023-02-27T04:18:32.585Z] + grep '^ii' [2023-02-27T04:18:32.585Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-27T04:18:32.585Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-27T04:18:32.585Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-27T04:18:32.585Z] + '[' /w/workspace/undry_device-onvif-camera_PR-244 ']' [2023-02-27T04:18:32.585Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-244/archives/ [2023-02-27T04:18:32.585Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-244/archives/ [Pipeline] echo [2023-02-27T04:18:32.618Z] 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-244/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:18:32.909Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-27T04:18:33.543Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-27T04:18:33.544Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-27T04:18:33.678Z] prd-ubuntu20.04-docker-8c-8g-7524 does not seem to be running inside a container [2023-02-27T04:18:33.711Z] $ 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-244/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-244 -v /w/workspace/undry_device-onvif-camera_PR-244:/w/workspace/undry_device-onvif-camera_PR-244:rw,z -v /w/workspace/undry_device-onvif-camera_PR-244@tmp:/w/workspace/undry_device-onvif-camera_PR-244@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:18:33.892Z] $ docker top 9dea21bd49ab72683bc7e7ac78dbdd1f27383a4045c7a4ec990a98e74764aafc -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-27T04:18:34.277Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-27T04:18:34.589Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-27T04:18:34.897Z] + ls /var/log/sa-host [2023-02-27T04:18:34.897Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-27T04:18:35.032Z] provisioning config files... [2023-02-27T04:18:35.042Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-244@tmp/config2977193449433446033tmp [Pipeline] { [Pipeline] echo [2023-02-27T04:18:35.087Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T04:18:35.410Z] ---> create-netrc.sh [Pipeline] } [2023-02-27T04:18:35.439Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-27T04:18:35.831Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-27T04:18:35.862Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T04:18:36.175Z] ---> sudo-logs.sh [2023-02-27T04:18:36.175Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-27T04:18:36.255Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T04:18:36.571Z] ---> job-cost.sh [2023-02-27T04:18:36.571Z] lf-activate-venv: SKIPPING [2023-02-27T04:18:36.571Z] DEBUG: total: 0.2199999988079071 [2023-02-27T04:18:36.571Z] INFO: Retrieving Stack Cost... [2023-02-27T04:18:36.830Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-27T04:18:37.403Z] INFO: Archiving Costs [Pipeline] echo [2023-02-27T04:18:37.445Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-27T04:18:37.756Z] ---> logs-deploy.sh [2023-02-27T04:18:37.756Z] lf-activate-venv: SKIPPING [2023-02-27T04:18:37.756Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-244/1 [2023-02-27T04:18:37.756Z] INFO: archiving workspace using pattern(s): [2023-02-27T04:18:38.693Z] Archives upload complete. [2023-02-27T04:18:38.693Z] INFO: archiving logs to Nexus