Pull request #143 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at a7f4bbdd92e86766513fcb71b61d6b3a5793edb3 rather than 46ee5504c29a5a897225929f6526b8e74f78971e Obtained Jenkinsfile from a7f4bbdd92e86766513fcb71b61d6b3a5793edb3 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-ssh1184932175246081771.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh13884360382704482795.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-143/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-143/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11115640487259525705.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-143/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9710090041474018313.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh10194286206582697793.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-143/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-143/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9059123163590195050.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 2c432abcf2d142718d3fe157e81a44428d9b823e 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-23378 in /w/workspace/undry_device-onvif-camera_PR-143 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-143 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit a7f4bbdd92e86766513fcb71b61d6b3a5793edb3 into PR head commit 46ee5504c29a5a897225929f6526b8e74f78971e > 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/143/head:refs/remotes/origin/PR-143 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 46ee5504c29a5a897225929f6526b8e74f78971e # timeout=10 Merge succeeded, producing 46ee5504c29a5a897225929f6526b8e74f78971e Checking out Revision 46ee5504c29a5a897225929f6526b8e74f78971e (PR-143) > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge a7f4bbdd92e86766513fcb71b61d6b3a5793edb3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 46ee5504c29a5a897225929f6526b8e74f78971e # timeout=10 Commit message: "docs: fix yaml tag for multicast" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-23T15:04:22.924Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-23T15:04:23.098Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-23T15:04:23.188Z] ========================================================= [2022-08-23T15:04:23.188Z] EdgeX Global Pipelines Version Info [2022-08-23T15:04:23.188Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-23T15:04:23.978Z] ------------------- [2022-08-23T15:04:23.979Z] stable info: [2022-08-23T15:04:23.979Z] ------------------- [2022-08-23T15:04:23.979Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-23T15:04:23.979Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-23T15:04:23.979Z] Message: update stable to v1.0.238 [2022-08-23T15:04:24.930Z] ------------------- [2022-08-23T15:04:24.930Z] experimental info: [2022-08-23T15:04:24.930Z] ------------------- [2022-08-23T15:04:24.930Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-23T15:04:24.930Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-08-23T15:04:24.930Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-23T15:04:25.334Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-23T15:04:25.380Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-23T15:04:25.427Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-23T15:04:25.471Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-23T15:04:25.515Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-23T15:04:25.558Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-23T15:04:25.602Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-23T15:04:25.648Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-23T15:04:25.696Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-23T15:04:25.740Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-23T15:04:25.790Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-23T15:04:25.832Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-23T15:04:25.879Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-23T15:04:25.929Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-23T15:04:25.975Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-23T15:04:26.018Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-23T15:04:26.069Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-23T15:04:26.112Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-23T15:04:26.156Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-23T15:04:26.200Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-23T15:04:26.247Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-08-23T15:04:26.292Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-08-23T15:04:26.336Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-23T15:04:26.381Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-23T15:04:26.427Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-23T15:04:26.473Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-23T15:04:26.520Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-23T15:04:26.561Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-143 [Pipeline] echo [2022-08-23T15:04:26.605Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-143 [Pipeline] echo [2022-08-23T15:04:26.649Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-143 [Pipeline] echo [2022-08-23T15:04:26.696Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 46ee5504c29a5a897225929f6526b8e74f78971e [Pipeline] echo [2022-08-23T15:04:26.741Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 46ee550 [Pipeline] echo [2022-08-23T15:04:26.784Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-23T15:04:26.910Z] provisioning config files... [2022-08-23T15:04:26.927Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-143@tmp/config3775502957988045088tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-23T15:04:27.274Z] ---> docker-login.sh [2022-08-23T15:04:27.274Z] nexus3.edgexfoundry.org:10001 [2022-08-23T15:04:27.539Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-23T15:04:27.801Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-23T15:04:27.801Z] Configure a credential helper to remove this warning. See [2022-08-23T15:04:27.801Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-23T15:04:27.801Z] [2022-08-23T15:04:27.801Z] Login Succeeded [2022-08-23T15:04:27.801Z] nexus3.edgexfoundry.org:10002 [2022-08-23T15:04:27.801Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-23T15:04:28.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-23T15:04:28.063Z] Configure a credential helper to remove this warning. See [2022-08-23T15:04:28.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-23T15:04:28.063Z] [2022-08-23T15:04:28.063Z] Login Succeeded [2022-08-23T15:04:28.063Z] nexus3.edgexfoundry.org:10003 [2022-08-23T15:04:28.063Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-23T15:04:28.063Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-23T15:04:28.063Z] Configure a credential helper to remove this warning. See [2022-08-23T15:04:28.063Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-23T15:04:28.063Z] [2022-08-23T15:04:28.063Z] Login Succeeded [2022-08-23T15:04:28.063Z] nexus3.edgexfoundry.org:10004 [2022-08-23T15:04:28.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-23T15:04:28.329Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-23T15:04:28.329Z] Configure a credential helper to remove this warning. See [2022-08-23T15:04:28.329Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-23T15:04:28.329Z] [2022-08-23T15:04:28.329Z] Login Succeeded [2022-08-23T15:04:28.329Z] docker.io [2022-08-23T15:04:28.329Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-23T15:04:28.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-23T15:04:28.592Z] Configure a credential helper to remove this warning. See [2022-08-23T15:04:28.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-23T15:04:28.592Z] [2022-08-23T15:04:28.592Z] Login Succeeded [2022-08-23T15:04:28.592Z] ---> docker-login.sh ends [Pipeline] } [2022-08-23T15:04:28.620Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-23T15:04:29.268Z] + git rev-list -1 --merges 46ee5504c29a5a897225929f6526b8e74f78971e~1..46ee5504c29a5a897225929f6526b8e74f78971e [Pipeline] echo [2022-08-23T15:04:29.316Z] -----------> git rev-list -1 --merges 46ee5504c29a5a897225929f6526b8e74f78971e~1..46ee5504c29a5a897225929f6526b8e74f78971e 46ee5504c29a5a897225929f6526b8e74f78971e [false] [Pipeline] sh [2022-08-23T15:04:29.632Z] + git log --format=format:%s -1 46ee5504c29a5a897225929f6526b8e74f78971e [Pipeline] echo [2022-08-23T15:04:29.667Z] ========================================================= [2022-08-23T15:04:29.667Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-23T15:04:29.667Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-23T15:04:30.114Z] + git log --format=format:%s -1 46ee5504c29a5a897225929f6526b8e74f78971e [Pipeline] echo [2022-08-23T15:04:30.145Z] [semverPrep] GIT_COMMIT: 46ee5504c29a5a897225929f6526b8e74f78971e, Commit Message: docs: fix yaml tag for multicast [Pipeline] echo [2022-08-23T15:04:30.173Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-23T15:04:30.582Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-23T15:04:30.582Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-23T15:04:30.582Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-23T15:04:30.582Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-23T15:04:30.582Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-23T15:04:30.582Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-23T15:04:30.582Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-23T15:04:31.079Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-23T15:04:31.079Z] [2022-08-23T15:04:31.079Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-23T15:04:31.455Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-23T15:04:31.455Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-23T15:04:31.455Z] b85a868b505f: Pulling fs layer [2022-08-23T15:04:31.455Z] e2be974225ed: Pulling fs layer [2022-08-23T15:04:31.456Z] 339a4e72a1f5: Pulling fs layer [2022-08-23T15:04:31.456Z] 988bab9f4d93: Pulling fs layer [2022-08-23T15:04:31.456Z] 1469e6f7b9e6: Pulling fs layer [2022-08-23T15:04:31.456Z] eaf3925da568: Pulling fs layer [2022-08-23T15:04:31.456Z] bab4dde63d76: Pulling fs layer [2022-08-23T15:04:31.456Z] bde34c3a00c8: Pulling fs layer [2022-08-23T15:04:31.456Z] b352a97aabf1: Pulling fs layer [2022-08-23T15:04:31.456Z] 4872d77fe225: Pulling fs layer [2022-08-23T15:04:31.456Z] 5851b861e8e6: Pulling fs layer [2022-08-23T15:04:31.456Z] 988bab9f4d93: Waiting [2022-08-23T15:04:31.456Z] 1469e6f7b9e6: Waiting [2022-08-23T15:04:31.456Z] eaf3925da568: Waiting [2022-08-23T15:04:31.456Z] bab4dde63d76: Waiting [2022-08-23T15:04:31.456Z] bde34c3a00c8: Waiting [2022-08-23T15:04:31.456Z] b352a97aabf1: Waiting [2022-08-23T15:04:31.456Z] 4872d77fe225: Waiting [2022-08-23T15:04:31.456Z] 5851b861e8e6: Waiting [2022-08-23T15:04:31.456Z] e2be974225ed: Verifying Checksum [2022-08-23T15:04:31.456Z] e2be974225ed: Download complete [2022-08-23T15:04:31.456Z] 988bab9f4d93: Verifying Checksum [2022-08-23T15:04:31.456Z] 988bab9f4d93: Download complete [2022-08-23T15:04:31.716Z] 1469e6f7b9e6: Verifying Checksum [2022-08-23T15:04:31.716Z] 1469e6f7b9e6: Download complete [2022-08-23T15:04:31.716Z] 339a4e72a1f5: Verifying Checksum [2022-08-23T15:04:31.716Z] 339a4e72a1f5: Download complete [2022-08-23T15:04:31.716Z] eaf3925da568: Verifying Checksum [2022-08-23T15:04:31.716Z] eaf3925da568: Download complete [2022-08-23T15:04:31.716Z] bde34c3a00c8: Verifying Checksum [2022-08-23T15:04:31.716Z] bde34c3a00c8: Download complete [2022-08-23T15:04:31.716Z] b352a97aabf1: Verifying Checksum [2022-08-23T15:04:31.716Z] b352a97aabf1: Download complete [2022-08-23T15:04:31.716Z] 4872d77fe225: Download complete [2022-08-23T15:04:31.716Z] 5851b861e8e6: Verifying Checksum [2022-08-23T15:04:31.716Z] 5851b861e8e6: Download complete [2022-08-23T15:04:31.716Z] b85a868b505f: Download complete [2022-08-23T15:04:31.979Z] bab4dde63d76: Verifying Checksum [2022-08-23T15:04:31.979Z] bab4dde63d76: Download complete [2022-08-23T15:04:33.359Z] b85a868b505f: Pull complete [2022-08-23T15:04:33.359Z] e2be974225ed: Pull complete [2022-08-23T15:04:33.931Z] 339a4e72a1f5: Pull complete [2022-08-23T15:04:33.931Z] 988bab9f4d93: Pull complete [2022-08-23T15:04:34.194Z] 1469e6f7b9e6: Pull complete [2022-08-23T15:04:34.194Z] eaf3925da568: Pull complete [2022-08-23T15:04:36.753Z] bab4dde63d76: Pull complete [2022-08-23T15:04:36.753Z] bde34c3a00c8: Pull complete [2022-08-23T15:04:36.753Z] b352a97aabf1: Pull complete [2022-08-23T15:04:36.753Z] 4872d77fe225: Pull complete [2022-08-23T15:04:36.753Z] 5851b861e8e6: Pull complete [2022-08-23T15:04:36.753Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-23T15:04:36.753Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-23T15:04:36.753Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-23T15:04:36.998Z] prd-ubuntu20.04-docker-8c-8g-23378 does not seem to be running inside a container [2022-08-23T15:04:37.044Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-143 -v /w/workspace/undry_device-onvif-camera_PR-143:/w/workspace/undry_device-onvif-camera_PR-143:rw,z -v /w/workspace/undry_device-onvif-camera_PR-143@tmp:/w/workspace/undry_device-onvif-camera_PR-143@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-23T15:04:38.219Z] $ docker top bc529f195f49923f9317f1a689d3b7859af0fa7e9e7f431ff745787868e51762 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-23T15:04:38.433Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-23T15:04:38.433Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-23T15:04:38.578Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-23T15:04:38.585Z] $ docker exec bc529f195f49923f9317f1a689d3b7859af0fa7e9e7f431ff745787868e51762 ssh-agent [2022-08-23T15:04:38.710Z] SSH_AUTH_SOCK=/tmp/ssh-O2vAIjNO3RQl/agent.33 [2022-08-23T15:04:38.710Z] SSH_AGENT_PID=39 [2022-08-23T15:04:38.716Z] Running ssh-add (command line suppressed) [2022-08-23T15:04:38.858Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-143@tmp/private_key_4997809992141801976.key (/w/workspace/undry_device-onvif-camera_PR-143@tmp/private_key_4997809992141801976.key) [2022-08-23T15:04:38.873Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-23T15:04:39.205Z] + git tag --points-at HEAD [Pipeline] } [2022-08-23T15:04:39.234Z] $ docker exec --env ******** --env ******** bc529f195f49923f9317f1a689d3b7859af0fa7e9e7f431ff745787868e51762 ssh-agent -k [2022-08-23T15:04:39.347Z] unset SSH_AUTH_SOCK; [2022-08-23T15:04:39.348Z] unset SSH_AGENT_PID; [2022-08-23T15:04:39.348Z] echo Agent pid 39 killed; [2022-08-23T15:04:39.358Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-23T15:04:39.445Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-23T15:04:39.445Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-23T15:04:39.581Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-23T15:04:39.587Z] $ docker exec bc529f195f49923f9317f1a689d3b7859af0fa7e9e7f431ff745787868e51762 ssh-agent [2022-08-23T15:04:39.716Z] SSH_AUTH_SOCK=/tmp/ssh-6npM1VXasQSr/agent.73 [2022-08-23T15:04:39.716Z] SSH_AGENT_PID=79 [2022-08-23T15:04:39.723Z] Running ssh-add (command line suppressed) [2022-08-23T15:04:39.863Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-143@tmp/private_key_1077253454665496016.key (/w/workspace/undry_device-onvif-camera_PR-143@tmp/private_key_1077253454665496016.key) [2022-08-23T15:04:39.879Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-23T15:04:40.211Z] + git semver init [2022-08-23T15:04:40.472Z] 2022-08-23 15:04:40,410 [run_init] DEBUG init version:0.0.0 force:False [2022-08-23T15:04:40.472Z] 2022-08-23 15:04:40,412 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-143/.semver [2022-08-23T15:04:40.472Z] 2022-08-23 15:04:40,412 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-143/.semver [2022-08-23T15:04:40.472Z] 2022-08-23 15:04:40,413 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-143/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-143, universal_newlines=False, shell=None, istream=None) [2022-08-23T15:04:41.419Z] 2022-08-23 15:04:41,180 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-143/.git/info/exclude [2022-08-23T15:04:41.419Z] 2022-08-23 15:04:41,180 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-143/.semver/PR-143 with force:False [2022-08-23T15:04:41.419Z] 2022-08-23 15:04:41,180 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-143/.semver/PR-143 [2022-08-23T15:04:41.419Z] 2022-08-23 15:04:41,185 [execute] INFO git cat-file --batch-check [2022-08-23T15:04:41.419Z] 2022-08-23 15:04:41,185 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-143/.semver, universal_newlines=False, shell=None, istream=) [2022-08-23T15:04:41.419Z] 2022-08-23 15:04:41,192 [execute] INFO git cat-file --batch [2022-08-23T15:04:41.419Z] 2022-08-23 15:04:41,193 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-143/.semver, universal_newlines=False, shell=None, istream=) [2022-08-23T15:04:41.419Z] 2022-08-23 15:04:41,198 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-143/.semver/PR-143 [2022-08-23T15:04:41.419Z] 0.0.0 [Pipeline] } [2022-08-23T15:04:41.447Z] $ docker exec --env ******** --env ******** bc529f195f49923f9317f1a689d3b7859af0fa7e9e7f431ff745787868e51762 ssh-agent -k [2022-08-23T15:04:41.592Z] unset SSH_AUTH_SOCK; [2022-08-23T15:04:41.592Z] unset SSH_AGENT_PID; [2022-08-23T15:04:41.592Z] echo Agent pid 79 killed; [2022-08-23T15:04:41.601Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-23T15:04:42.028Z] + git semver [Pipeline] } [2022-08-23T15:04:42.319Z] $ docker stop --time=1 bc529f195f49923f9317f1a689d3b7859af0fa7e9e7f431ff745787868e51762 [2022-08-23T15:04:43.643Z] $ docker rm -f bc529f195f49923f9317f1a689d3b7859af0fa7e9e7f431ff745787868e51762 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-23T15:04:44.068Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-23T15:04:44.382Z] Stashed 1 file(s) [Pipeline] echo [2022-08-23T15:04:44.399Z] [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 [2022-08-23T15:04:44.997Z] provisioning config files... [2022-08-23T15:04:45.010Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-143@tmp/config4846493421323962997tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-23T15:04:45.372Z] ---> docker-login.sh [2022-08-23T15:04:45.372Z] nexus3.edgexfoundry.org:10001 [2022-08-23T15:04:45.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-23T15:04:45.372Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-23T15:04:45.372Z] Configure a credential helper to remove this warning. See [2022-08-23T15:04:45.372Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-23T15:04:45.372Z] [2022-08-23T15:04:45.372Z] Login Succeeded [2022-08-23T15:04:45.372Z] nexus3.edgexfoundry.org:10002 [2022-08-23T15:04:45.372Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-23T15:04:45.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-23T15:04:45.634Z] Configure a credential helper to remove this warning. See [2022-08-23T15:04:45.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-23T15:04:45.634Z] [2022-08-23T15:04:45.634Z] Login Succeeded [2022-08-23T15:04:45.634Z] nexus3.edgexfoundry.org:10003 [2022-08-23T15:04:45.634Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-23T15:04:45.634Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-23T15:04:45.634Z] Configure a credential helper to remove this warning. See [2022-08-23T15:04:45.634Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-23T15:04:45.634Z] [2022-08-23T15:04:45.634Z] Login Succeeded [2022-08-23T15:04:45.634Z] nexus3.edgexfoundry.org:10004 [2022-08-23T15:04:45.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-23T15:04:45.895Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-23T15:04:45.895Z] Configure a credential helper to remove this warning. See [2022-08-23T15:04:45.895Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-23T15:04:45.895Z] [2022-08-23T15:04:45.895Z] Login Succeeded [2022-08-23T15:04:45.895Z] docker.io [2022-08-23T15:04:45.895Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-23T15:04:46.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-23T15:04:46.468Z] Configure a credential helper to remove this warning. See [2022-08-23T15:04:46.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-23T15:04:46.468Z] [2022-08-23T15:04:46.468Z] Login Succeeded [2022-08-23T15:04:46.468Z] ---> docker-login.sh ends [Pipeline] } [2022-08-23T15:04:46.498Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-23T15:04:46.699Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-23T15:04:46.736Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-23T15:04:46.767Z] ========================================================= [2022-08-23T15:04:46.767Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-23T15:04:46.767Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-23T15:04:47.239Z] + 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 . [2022-08-23T15:04:47.239Z] Sending build context to Docker daemon 20.53MB [2022-08-23T15:04:47.239Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-23T15:04:47.239Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-23T15:04:47.503Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-23T15:04:47.503Z] 2408cc74d12b: Pulling fs layer [2022-08-23T15:04:47.503Z] ea60b727a1ce: Pulling fs layer [2022-08-23T15:04:47.503Z] 30c4a7721957: Pulling fs layer [2022-08-23T15:04:47.503Z] 370296b7ddb6: Pulling fs layer [2022-08-23T15:04:47.503Z] 7c6cee850709: Pulling fs layer [2022-08-23T15:04:47.503Z] 39a5fcdaea64: Pulling fs layer [2022-08-23T15:04:47.503Z] d94ebbe4e438: Pulling fs layer [2022-08-23T15:04:47.503Z] bcfd1f05c69d: Pulling fs layer [2022-08-23T15:04:47.503Z] 59ccb84bbe0f: Pulling fs layer [2022-08-23T15:04:47.503Z] 370296b7ddb6: Waiting [2022-08-23T15:04:47.503Z] 7c6cee850709: Waiting [2022-08-23T15:04:47.503Z] 39a5fcdaea64: Waiting [2022-08-23T15:04:47.503Z] 59ccb84bbe0f: Waiting [2022-08-23T15:04:47.503Z] d94ebbe4e438: Waiting [2022-08-23T15:04:47.503Z] bcfd1f05c69d: Waiting [2022-08-23T15:04:47.503Z] 30c4a7721957: Verifying Checksum [2022-08-23T15:04:47.503Z] 30c4a7721957: Download complete [2022-08-23T15:04:47.503Z] ea60b727a1ce: Download complete [2022-08-23T15:04:47.503Z] 7c6cee850709: Verifying Checksum [2022-08-23T15:04:47.503Z] 7c6cee850709: Download complete [2022-08-23T15:04:47.503Z] 39a5fcdaea64: Verifying Checksum [2022-08-23T15:04:47.503Z] 39a5fcdaea64: Download complete [2022-08-23T15:04:47.503Z] 2408cc74d12b: Verifying Checksum [2022-08-23T15:04:47.503Z] 2408cc74d12b: Download complete [2022-08-23T15:04:47.503Z] d94ebbe4e438: Verifying Checksum [2022-08-23T15:04:47.503Z] d94ebbe4e438: Download complete [2022-08-23T15:04:47.769Z] 2408cc74d12b: Pull complete [2022-08-23T15:04:47.769Z] ea60b727a1ce: Pull complete [2022-08-23T15:04:47.769Z] 30c4a7721957: Pull complete [2022-08-23T15:04:48.031Z] 59ccb84bbe0f: Verifying Checksum [2022-08-23T15:04:48.031Z] 59ccb84bbe0f: Download complete [2022-08-23T15:04:48.031Z] bcfd1f05c69d: Verifying Checksum [2022-08-23T15:04:48.031Z] bcfd1f05c69d: Download complete [2022-08-23T15:04:48.292Z] 370296b7ddb6: Verifying Checksum [2022-08-23T15:04:48.292Z] 370296b7ddb6: Download complete [2022-08-23T15:04:52.493Z] 370296b7ddb6: Pull complete [2022-08-23T15:04:52.493Z] 7c6cee850709: Pull complete [2022-08-23T15:04:52.753Z] 39a5fcdaea64: Pull complete [2022-08-23T15:04:52.753Z] d94ebbe4e438: Pull complete [2022-08-23T15:04:55.301Z] bcfd1f05c69d: Pull complete [2022-08-23T15:04:55.874Z] 59ccb84bbe0f: Pull complete [2022-08-23T15:04:55.874Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-23T15:04:55.874Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-23T15:04:55.874Z] ---> a4fb48ad2a94 [2022-08-23T15:04:55.874Z] Step 3/13 : ARG MAKE="make build" [2022-08-23T15:04:57.269Z] ---> Running in b0d32da0f028 [2022-08-23T15:04:57.269Z] Removing intermediate container b0d32da0f028 [2022-08-23T15:04:57.269Z] ---> 09209f899365 [2022-08-23T15:04:57.269Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-23T15:04:57.269Z] ---> Running in a3f97e51b9c9 [2022-08-23T15:04:57.530Z] Removing intermediate container a3f97e51b9c9 [2022-08-23T15:04:57.530Z] ---> 552d926dc918 [2022-08-23T15:04:57.530Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-23T15:04:57.530Z] ---> Running in df93875857b5 [2022-08-23T15:04:57.530Z] Removing intermediate container df93875857b5 [2022-08-23T15:04:57.530Z] ---> c613ecf27b9f [2022-08-23T15:04:57.530Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-23T15:04:57.530Z] ---> Running in ae9c41db2d0b [2022-08-23T15:04:57.790Z] Removing intermediate container ae9c41db2d0b [2022-08-23T15:04:57.790Z] ---> 85c7f36d9bf1 [2022-08-23T15:04:57.790Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-23T15:04:57.790Z] ---> Running in 5339e8afa045 [2022-08-23T15:04:58.361Z] Removing intermediate container 5339e8afa045 [2022-08-23T15:04:58.361Z] ---> 461116c82ea3 [2022-08-23T15:04:58.361Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-23T15:04:58.361Z] ---> Running in c125f17fa67e [2022-08-23T15:04:58.630Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-23T15:04:59.572Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-23T15:04:59.824Z] Still waiting to schedule task [2022-08-23T15:04:59.824Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-23T15:04:59.834Z] OK: 211 MiB in 51 packages [2022-08-23T15:05:00.095Z] Removing intermediate container c125f17fa67e [2022-08-23T15:05:00.095Z] ---> bf984fa8e7b4 [2022-08-23T15:05:00.095Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-23T15:05:00.357Z] ---> Running in 7dd89f95a5c2 [2022-08-23T15:05:00.357Z] Removing intermediate container 7dd89f95a5c2 [2022-08-23T15:05:00.357Z] ---> 306affe407f5 [2022-08-23T15:05:00.357Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-23T15:05:00.357Z] ---> 92a54b754b10 [2022-08-23T15:05:00.357Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-23T15:05:00.623Z] ---> Running in ecbb5a8e0040 [2022-08-23T15:05:22.601Z] Removing intermediate container ecbb5a8e0040 [2022-08-23T15:05:22.601Z] ---> 7a12731d3514 [2022-08-23T15:05:22.601Z] Step 12/13 : COPY . . [2022-08-23T15:05:22.601Z] ---> e26fefce9f91 [2022-08-23T15:05:22.601Z] Step 13/13 : RUN ${MAKE} [2022-08-23T15:05:22.601Z] ---> Running in 99ee97af8b23 [2022-08-23T15:05:22.601Z] noop [2022-08-23T15:05:22.601Z] Removing intermediate container 99ee97af8b23 [2022-08-23T15:05:22.601Z] ---> 14333d453e7c [2022-08-23T15:05:22.601Z] Successfully built 14333d453e7c [2022-08-23T15:05:22.601Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-23T15:05:23.050Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-23T15:05:23.051Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-23T15:05:23.218Z] prd-ubuntu20.04-docker-8c-8g-23378 does not seem to be running inside a container [2022-08-23T15:05:23.259Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-143 -v /w/workspace/undry_device-onvif-camera_PR-143:/w/workspace/undry_device-onvif-camera_PR-143:rw,z -v /w/workspace/undry_device-onvif-camera_PR-143@tmp:/w/workspace/undry_device-onvif-camera_PR-143@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-23T15:05:23.653Z] $ docker top a08722020837e5ce0c824f393a0cad94c21db20707f351be0e006938dd2fe480 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-23T15:05:24.063Z] + go version [2022-08-23T15:05:24.063Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-23T15:05:24.104Z] $ docker stop --time=1 a08722020837e5ce0c824f393a0cad94c21db20707f351be0e006938dd2fe480 [2022-08-23T15:05:25.396Z] $ docker rm -f a08722020837e5ce0c824f393a0cad94c21db20707f351be0e006938dd2fe480 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-23T15:05:26.115Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-23T15:05:26.115Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-23T15:05:26.292Z] prd-ubuntu20.04-docker-8c-8g-23378 does not seem to be running inside a container [2022-08-23T15:05:26.346Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/undry_device-onvif-camera_PR-143 -v /w/workspace/undry_device-onvif-camera_PR-143:/w/workspace/undry_device-onvif-camera_PR-143:rw,z -v /w/workspace/undry_device-onvif-camera_PR-143@tmp:/w/workspace/undry_device-onvif-camera_PR-143@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-08-23T15:05:26.729Z] $ docker top f1cd3e94059cc640f793cd706ff79ee8bcb8a115eb4200f073a8e26856226c04 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-23T15:05:27.153Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-143 [Pipeline] fileExists [Pipeline] sh [2022-08-23T15:05:27.518Z] + make test [2022-08-23T15:05:27.518Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-23T15:05:27.778Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-23T15:05:37.768Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-23T15:05:38.341Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.031s coverage: 10.6% of statements [2022-08-23T15:05:38.341Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-23T15:05:41.643Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.016s coverage: 13.8% of statements [2022-08-23T15:05:48.216Z] 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." [2022-08-23T15:05:48.216Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-23T15:05:51.507Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-23T15:05:51.768Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-23T15:05:51.768Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-23T15:05:51.809Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-23T15:05:51.842Z] $ docker stop --time=1 f1cd3e94059cc640f793cd706ff79ee8bcb8a115eb4200f073a8e26856226c04 [2022-08-23T15:05:53.542Z] $ docker rm -f f1cd3e94059cc640f793cd706ff79ee8bcb8a115eb4200f073a8e26856226c04 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-23T15:05:54.100Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-23T15:05:54.179Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-08-23T15:05:54.865Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-23T15:05:55.178Z] + ls -al . [2022-08-23T15:05:55.178Z] total 232 [2022-08-23T15:05:55.178Z] drwxrwxr-x 10 jenkins jenkins 4096 Aug 23 15:05 . [2022-08-23T15:05:55.178Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 15:04 .. [2022-08-23T15:05:55.178Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 15:05 .git [2022-08-23T15:05:55.178Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 15:04 .github [2022-08-23T15:05:55.178Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 23 15:04 .gitignore [2022-08-23T15:05:55.178Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 23 15:04 .golangci.yml [2022-08-23T15:05:55.178Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 23 15:04 .semver [2022-08-23T15:05:55.178Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 23 15:04 Attribution.txt [2022-08-23T15:05:55.178Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 23 15:04 CHANGELOG.md [2022-08-23T15:05:55.178Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 23 15:04 Dockerfile [2022-08-23T15:05:55.178Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 23 15:04 GOVERNANCE.md [2022-08-23T15:05:55.178Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 23 15:04 Jenkinsfile [2022-08-23T15:05:55.178Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 23 15:04 LICENSE [2022-08-23T15:05:55.178Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 23 15:04 Makefile [2022-08-23T15:05:55.178Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 23 15:04 OWNERS.md [2022-08-23T15:05:55.178Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 23 15:04 README.md [2022-08-23T15:05:55.178Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 23 15:04 VERSION [2022-08-23T15:05:55.179Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 15:04 bin [2022-08-23T15:05:55.179Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 15:04 cmd [2022-08-23T15:05:55.179Z] -rw-r--r-- 1 jenkins jenkins 76854 Aug 23 15:05 coverage.out [2022-08-23T15:05:55.179Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 23 15:04 doc [2022-08-23T15:05:55.179Z] -rw-rw-r-- 1 jenkins jenkins 3783 Aug 23 15:04 go.mod [2022-08-23T15:05:55.179Z] -rw-rw-r-- 1 jenkins jenkins 39275 Aug 23 15:04 go.sum [2022-08-23T15:05:55.179Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 15:04 internal [2022-08-23T15:05:55.179Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 15:04 snap [2022-08-23T15:05:55.179Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 23 15:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-23T15:05:55.581Z] + 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=46ee5504c29a5a897225929f6526b8e74f78971e --label arch=amd64 --label version=0.0.0 . [2022-08-23T15:05:55.581Z] Sending build context to Docker daemon 20.61MB [2022-08-23T15:05:55.581Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-23T15:05:55.581Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-23T15:05:55.581Z] ---> 14333d453e7c [2022-08-23T15:05:55.581Z] Step 3/26 : ARG MAKE="make build" [2022-08-23T15:05:55.842Z] ---> Running in d0cb7e8e2a6f [2022-08-23T15:05:55.842Z] Removing intermediate container d0cb7e8e2a6f [2022-08-23T15:05:55.842Z] ---> 46ffeed75d84 [2022-08-23T15:05:55.842Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-23T15:05:55.842Z] ---> Running in a6f26e6e3908 [2022-08-23T15:05:55.842Z] Removing intermediate container a6f26e6e3908 [2022-08-23T15:05:55.842Z] ---> 4e410b3c3201 [2022-08-23T15:05:55.842Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-23T15:05:56.104Z] ---> Running in a71063b1e862 [2022-08-23T15:05:56.104Z] Removing intermediate container a71063b1e862 [2022-08-23T15:05:56.104Z] ---> 718538a9d41c [2022-08-23T15:05:56.104Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-23T15:05:56.104Z] ---> Running in 99d99827947c [2022-08-23T15:05:56.104Z] Removing intermediate container 99d99827947c [2022-08-23T15:05:56.104Z] ---> a5c69d6e255f [2022-08-23T15:05:56.104Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-23T15:05:56.104Z] ---> Running in 3649ee8c6912 [2022-08-23T15:05:57.046Z] Removing intermediate container 3649ee8c6912 [2022-08-23T15:05:57.046Z] ---> 1c6a0a335ada [2022-08-23T15:05:57.046Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-23T15:05:57.046Z] ---> Running in f80a4d68c208 [2022-08-23T15:05:57.046Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-23T15:05:57.989Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-23T15:05:58.249Z] OK: 211 MiB in 51 packages [2022-08-23T15:05:58.820Z] Removing intermediate container f80a4d68c208 [2022-08-23T15:05:58.820Z] ---> e5661b92a381 [2022-08-23T15:05:58.820Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-23T15:05:58.820Z] ---> Running in 9b582ef2c658 [2022-08-23T15:05:58.820Z] Removing intermediate container 9b582ef2c658 [2022-08-23T15:05:58.820Z] ---> b71a18c9a5fb [2022-08-23T15:05:58.820Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-23T15:05:58.820Z] ---> 7a0bc0e7df9d [2022-08-23T15:05:58.820Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-23T15:05:59.084Z] ---> Running in 792e9ea7b27c [2022-08-23T15:05:59.655Z] Removing intermediate container 792e9ea7b27c [2022-08-23T15:05:59.655Z] ---> 61168da27245 [2022-08-23T15:05:59.655Z] Step 12/26 : COPY . . [2022-08-23T15:06:00.226Z] ---> 73aecb60432a [2022-08-23T15:06:00.226Z] Step 13/26 : RUN ${MAKE} [2022-08-23T15:06:00.226Z] ---> Running in b42446371276 [2022-08-23T15:06:00.485Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-23T15:06:22.440Z] Removing intermediate container b42446371276 [2022-08-23T15:06:22.440Z] ---> ab166691c05e [2022-08-23T15:06:22.440Z] Step 14/26 : FROM alpine:3.16 [2022-08-23T15:06:22.440Z] 3.16: Pulling from library/alpine [2022-08-23T15:06:22.440Z] 213ec9aee27d: Pulling fs layer [2022-08-23T15:06:22.440Z] 213ec9aee27d: Verifying Checksum [2022-08-23T15:06:22.440Z] 213ec9aee27d: Download complete [2022-08-23T15:06:22.440Z] 213ec9aee27d: Pull complete [2022-08-23T15:06:22.440Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-23T15:06:22.440Z] Status: Downloaded newer image for alpine:3.16 [2022-08-23T15:06:22.440Z] ---> 9c6f07244728 [2022-08-23T15:06:22.440Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-23T15:06:22.440Z] ---> Running in 72f04ef62594 [2022-08-23T15:06:22.440Z] Removing intermediate container 72f04ef62594 [2022-08-23T15:06:22.440Z] ---> 6ceabbba5245 [2022-08-23T15:06:22.440Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-23T15:06:22.440Z] ---> Running in c3cf745da727 [2022-08-23T15:06:22.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-23T15:06:22.440Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-23T15:06:22.440Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-23T15:06:22.440Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-23T15:06:22.440Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-23T15:06:22.440Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-23T15:06:22.440Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-23T15:06:22.440Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-23T15:06:22.440Z] Executing busybox-1.35.0-r17.trigger [2022-08-23T15:06:22.440Z] OK: 8 MiB in 20 packages [2022-08-23T15:06:22.440Z] Removing intermediate container c3cf745da727 [2022-08-23T15:06:22.440Z] ---> 573065bd9d82 [2022-08-23T15:06:22.440Z] Step 17/26 : WORKDIR / [2022-08-23T15:06:22.701Z] ---> Running in ae0af6c798d4 [2022-08-23T15:06:22.701Z] Removing intermediate container ae0af6c798d4 [2022-08-23T15:06:22.701Z] ---> 8bc8bfa3b153 [2022-08-23T15:06:22.701Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-23T15:06:23.271Z] ---> ce78e3b5f520 [2022-08-23T15:06:23.271Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-23T15:06:23.271Z] ---> 0a1f399294f3 [2022-08-23T15:06:23.272Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-23T15:06:23.532Z] ---> 8ed1448d468d [2022-08-23T15:06:23.532Z] Step 21/26 : EXPOSE 59984 [2022-08-23T15:06:23.532Z] ---> Running in e5f3da8382ae [2022-08-23T15:06:23.532Z] Removing intermediate container e5f3da8382ae [2022-08-23T15:06:23.532Z] ---> 0ebd8bbb3d1f [2022-08-23T15:06:23.532Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-23T15:06:23.532Z] ---> Running in 148a622c7393 [2022-08-23T15:06:23.794Z] Removing intermediate container 148a622c7393 [2022-08-23T15:06:23.794Z] ---> 224556e9b54d [2022-08-23T15:06:23.794Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-23T15:06:23.794Z] ---> Running in 4bee9c60bb64 [2022-08-23T15:06:23.794Z] Removing intermediate container 4bee9c60bb64 [2022-08-23T15:06:23.794Z] ---> dcdb34a2ff60 [2022-08-23T15:06:23.794Z] Step 24/26 : LABEL arch=amd64 [2022-08-23T15:06:23.794Z] ---> Running in a4245b1e558d [2022-08-23T15:06:23.794Z] Removing intermediate container a4245b1e558d [2022-08-23T15:06:23.794Z] ---> fc80c447c5d2 [2022-08-23T15:06:23.794Z] Step 25/26 : LABEL git_sha=46ee5504c29a5a897225929f6526b8e74f78971e [2022-08-23T15:06:24.055Z] ---> Running in 21210ccebdb5 [2022-08-23T15:06:24.055Z] Removing intermediate container 21210ccebdb5 [2022-08-23T15:06:24.055Z] ---> 056647bb14ff [2022-08-23T15:06:24.055Z] Step 26/26 : LABEL version=0.0.0 [2022-08-23T15:06:24.055Z] ---> Running in 7dda05edba3d [2022-08-23T15:06:24.055Z] Removing intermediate container 7dda05edba3d [2022-08-23T15:06:24.055Z] ---> 206473f05b3e [2022-08-23T15:06:24.055Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-23T15:06:24.055Z] Successfully built 206473f05b3e [2022-08-23T15:06:24.055Z] 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 [2022-08-23T15:06:24.960Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-23T15:06:24.961Z] [2022-08-23T15:06:24.961Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-23T15:06:25.345Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-23T15:06:25.345Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-23T15:06:25.345Z] 5eb5b503b376: Pulling fs layer [2022-08-23T15:06:25.345Z] 5c69ac0246d0: Pulling fs layer [2022-08-23T15:06:25.345Z] ec43610c2a17: Pulling fs layer [2022-08-23T15:06:25.345Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-23T15:06:25.345Z] 33b1e0a273af: Pulling fs layer [2022-08-23T15:06:25.345Z] 5d3b04190fa2: Pulling fs layer [2022-08-23T15:06:25.345Z] 2f39f015ded8: Pulling fs layer [2022-08-23T15:06:25.345Z] 33b1e0a273af: Waiting [2022-08-23T15:06:25.345Z] 5d3b04190fa2: Waiting [2022-08-23T15:06:25.345Z] 3a2ae6a8a46f: Waiting [2022-08-23T15:06:25.345Z] 5c69ac0246d0: Verifying Checksum [2022-08-23T15:06:25.345Z] 5c69ac0246d0: Download complete [2022-08-23T15:06:25.345Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-23T15:06:25.345Z] 3a2ae6a8a46f: Download complete [2022-08-23T15:06:25.345Z] 33b1e0a273af: Verifying Checksum [2022-08-23T15:06:25.345Z] 33b1e0a273af: Download complete [2022-08-23T15:06:25.345Z] 5d3b04190fa2: Verifying Checksum [2022-08-23T15:06:25.345Z] 5d3b04190fa2: Download complete [2022-08-23T15:06:25.604Z] ec43610c2a17: Verifying Checksum [2022-08-23T15:06:25.604Z] ec43610c2a17: Download complete [2022-08-23T15:06:25.604Z] 5eb5b503b376: Verifying Checksum [2022-08-23T15:06:25.604Z] 5eb5b503b376: Download complete [2022-08-23T15:06:26.172Z] 2f39f015ded8: Verifying Checksum [2022-08-23T15:06:26.172Z] 2f39f015ded8: Download complete [2022-08-23T15:06:26.741Z] 5eb5b503b376: Pull complete [2022-08-23T15:06:27.000Z] 5c69ac0246d0: Pull complete [2022-08-23T15:06:27.568Z] ec43610c2a17: Pull complete [2022-08-23T15:06:27.568Z] 3a2ae6a8a46f: Pull complete [2022-08-23T15:06:27.827Z] 33b1e0a273af: Pull complete [2022-08-23T15:06:27.827Z] 5d3b04190fa2: Pull complete [2022-08-23T15:06:32.020Z] 2f39f015ded8: Pull complete [2022-08-23T15:06:32.020Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-23T15:06:32.020Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-23T15:06:32.020Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-23T15:06:32.251Z] prd-ubuntu20.04-docker-8c-8g-23378 does not seem to be running inside a container [2022-08-23T15:06:32.309Z] $ 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-143 -v /w/workspace/undry_device-onvif-camera_PR-143:/w/workspace/undry_device-onvif-camera_PR-143:rw,z -v /w/workspace/undry_device-onvif-camera_PR-143@tmp:/w/workspace/undry_device-onvif-camera_PR-143@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-23T15:06:33.667Z] $ docker top 28f92caa23bbb629b18c70b7dfbf7e6288b326bfbda692633b15ffa15ab4a26f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-23T15:06:34.149Z] ---> job-cost.sh [2022-08-23T15:06:34.149Z] lf-activate-venv: SKIPPING [2022-08-23T15:06:34.149Z] INFO: No Stack... [2022-08-23T15:06:34.720Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-23T15:06:35.291Z] INFO: Archiving Costs [Pipeline] sh [2022-08-23T15:06:35.607Z] + cat /w/workspace/undry_device-onvif-camera_PR-143/archives/cost.csv [2022-08-23T15:06:35.607Z] + cut -d, -f6 [Pipeline] lock [2022-08-23T15:06:35.652Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-143-1-stack-cost] [2022-08-23T15:06:35.659Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-143-1-stack-cost] did not exist. Created. [2022-08-23T15:06:35.659Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-143-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-23T15:06:36.055Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-23T15:06:36.111Z] Stashed 1 file(s) [Pipeline] } [2022-08-23T15:06:36.142Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-143-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-23T15:06:36.233Z] $ docker stop --time=1 28f92caa23bbb629b18c70b7dfbf7e6288b326bfbda692633b15ffa15ab4a26f [2022-08-23T15:06:37.415Z] $ docker rm -f 28f92caa23bbb629b18c70b7dfbf7e6288b326bfbda692633b15ffa15ab4a26f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-23T15:06:38.902Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23380 in /w/workspace/undry_device-onvif-camera_PR-143 [Pipeline] { [Pipeline] ws [2022-08-23T15:06:38.945Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2022-08-23T15:06:39.055Z] Selected Git installation does not exist. Using Default [2022-08-23T15:06:39.055Z] The recommended git tool is: NONE [2022-08-23T15:06:45.387Z] using credential edgex-jenkins-ssh [2022-08-23T15:06:45.405Z] Cloning the remote Git repository [2022-08-23T15:06:45.461Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-23T15:06:45.538Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2022-08-23T15:06:45.612Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-23T15:06:45.613Z] > git --version # timeout=10 [2022-08-23T15:06:45.637Z] > git --version # 'git version 2.25.1' [2022-08-23T15:06:45.638Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-23T15:06:45.736Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-23T15:06:47.707Z] Merging remotes/origin/main commit a7f4bbdd92e86766513fcb71b61d6b3a5793edb3 into PR head commit 46ee5504c29a5a897225929f6526b8e74f78971e [2022-08-23T15:06:48.046Z] Merge succeeded, producing 46ee5504c29a5a897225929f6526b8e74f78971e [2022-08-23T15:06:48.046Z] Checking out Revision 46ee5504c29a5a897225929f6526b8e74f78971e (PR-143) [2022-08-23T15:06:46.970Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-23T15:06:47.032Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-23T15:06:47.085Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-23T15:06:47.182Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-23T15:06:47.186Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-23T15:06:47.208Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/143/head:refs/remotes/origin/PR-143 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-23T15:06:47.728Z] > git config core.sparsecheckout # timeout=10 [2022-08-23T15:06:47.747Z] > git checkout -f 46ee5504c29a5a897225929f6526b8e74f78971e # timeout=10 [2022-08-23T15:06:47.963Z] > git remote # timeout=10 [2022-08-23T15:06:47.980Z] > git config --get remote.origin.url # timeout=10 [2022-08-23T15:06:47.998Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-23T15:06:48.009Z] > git merge a7f4bbdd92e86766513fcb71b61d6b3a5793edb3 # timeout=10 [2022-08-23T15:06:48.034Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-23T15:06:48.055Z] > git config core.sparsecheckout # timeout=10 [2022-08-23T15:06:48.074Z] > git checkout -f 46ee5504c29a5a897225929f6526b8e74f78971e # timeout=10 [2022-08-23T15:06:52.350Z] Commit message: "docs: fix yaml tag for multicast" [2022-08-23T15:06:52.406Z] > git --version # timeout=10 [2022-08-23T15:06:52.416Z] > git --version # 'git version 2.25.1' [2022-08-23T15:06:52.430Z] fatal: bad object 2c432abcf2d142718d3fe157e81a44428d9b823e [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-23T15:06:53.567Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-23T15:06:53.567Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-23T15:06:53.567Z] Dload Upload Total Spent Left Speed [2022-08-23T15:06:53.567Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 94044 0 --:--:-- --:--:-- --:--:-- 94044 [Pipeline] sh [2022-08-23T15:06:54.239Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-23T15:06:54.598Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-08-23T15:06:54.598Z] + sudo tee /etc/docker/daemon.new [2022-08-23T15:06:54.598Z] { [2022-08-23T15:06:54.598Z] "registry-mirrors": [ [2022-08-23T15:06:54.598Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-23T15:06:54.598Z] ], [2022-08-23T15:06:54.598Z] "bip": "10.250.0.254/24", [2022-08-23T15:06:54.598Z] "hosts": [ [2022-08-23T15:06:54.598Z] "tcp://0.0.0.0:5555", [2022-08-23T15:06:54.598Z] "unix:///var/run/docker.sock" [2022-08-23T15:06:54.598Z] ], [2022-08-23T15:06:54.598Z] "mtu": 1458, [2022-08-23T15:06:54.598Z] "selinux-enabled": true, [2022-08-23T15:06:54.598Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-23T15:06:54.598Z] } [Pipeline] sh [2022-08-23T15:06:54.970Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-23T15:06:55.328Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-23T15:07:13.929Z] provisioning config files... [2022-08-23T15:07:13.953Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config7255389190781889914tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-23T15:07:14.343Z] ---> docker-login.sh [2022-08-23T15:07:14.343Z] nexus3.edgexfoundry.org:10001 [2022-08-23T15:07:14.935Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-23T15:07:15.206Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-23T15:07:15.206Z] Configure a credential helper to remove this warning. See [2022-08-23T15:07:15.206Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-23T15:07:15.206Z] [2022-08-23T15:07:15.206Z] Login Succeeded [2022-08-23T15:07:15.206Z] nexus3.edgexfoundry.org:10002 [2022-08-23T15:07:15.479Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-23T15:07:15.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-23T15:07:15.479Z] Configure a credential helper to remove this warning. See [2022-08-23T15:07:15.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-23T15:07:15.479Z] [2022-08-23T15:07:15.479Z] Login Succeeded [2022-08-23T15:07:15.479Z] nexus3.edgexfoundry.org:10003 [2022-08-23T15:07:15.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-23T15:07:16.033Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-23T15:07:16.033Z] Configure a credential helper to remove this warning. See [2022-08-23T15:07:16.033Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-23T15:07:16.033Z] [2022-08-23T15:07:16.033Z] Login Succeeded [2022-08-23T15:07:16.033Z] nexus3.edgexfoundry.org:10004 [2022-08-23T15:07:16.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-23T15:07:16.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-23T15:07:16.306Z] Configure a credential helper to remove this warning. See [2022-08-23T15:07:16.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-23T15:07:16.306Z] [2022-08-23T15:07:16.306Z] Login Succeeded [2022-08-23T15:07:16.306Z] docker.io [2022-08-23T15:07:16.577Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-23T15:07:17.170Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-23T15:07:17.170Z] Configure a credential helper to remove this warning. See [2022-08-23T15:07:17.170Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-23T15:07:17.170Z] [2022-08-23T15:07:17.170Z] Login Succeeded [2022-08-23T15:07:17.170Z] ---> docker-login.sh ends [Pipeline] } [2022-08-23T15:07:17.203Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-23T15:07:17.552Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-23T15:07:17.595Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-23T15:07:17.625Z] ========================================================= [2022-08-23T15:07:17.625Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-23T15:07:17.625Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-23T15:07:18.125Z] + 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 . [2022-08-23T15:07:18.727Z] Sending build context to Docker daemon 14.05MB [2022-08-23T15:07:18.727Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-23T15:07:18.727Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-23T15:07:18.727Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-23T15:07:18.727Z] b3c136eddcbf: Pulling fs layer [2022-08-23T15:07:18.727Z] c0a3192eca97: Pulling fs layer [2022-08-23T15:07:18.727Z] a050256f5b6f: Pulling fs layer [2022-08-23T15:07:18.727Z] 656be50a0ddc: Pulling fs layer [2022-08-23T15:07:18.727Z] 2bbca73fdf42: Pulling fs layer [2022-08-23T15:07:18.727Z] 46d945488cbd: Pulling fs layer [2022-08-23T15:07:18.727Z] 8a5474983e97: Pulling fs layer [2022-08-23T15:07:18.727Z] 329c88fbcd65: Pulling fs layer [2022-08-23T15:07:18.727Z] 46d945488cbd: Waiting [2022-08-23T15:07:18.727Z] 8a5474983e97: Waiting [2022-08-23T15:07:18.727Z] 329c88fbcd65: Waiting [2022-08-23T15:07:18.727Z] 656be50a0ddc: Waiting [2022-08-23T15:07:18.727Z] a050256f5b6f: Download complete [2022-08-23T15:07:18.727Z] c0a3192eca97: Verifying Checksum [2022-08-23T15:07:18.727Z] c0a3192eca97: Download complete [2022-08-23T15:07:18.727Z] 2bbca73fdf42: Verifying Checksum [2022-08-23T15:07:18.727Z] 2bbca73fdf42: Download complete [2022-08-23T15:07:18.727Z] 46d945488cbd: Verifying Checksum [2022-08-23T15:07:18.727Z] 46d945488cbd: Download complete [2022-08-23T15:07:18.727Z] b3c136eddcbf: Verifying Checksum [2022-08-23T15:07:18.727Z] b3c136eddcbf: Download complete [2022-08-23T15:07:19.718Z] b3c136eddcbf: Pull complete [2022-08-23T15:07:19.998Z] 329c88fbcd65: Verifying Checksum [2022-08-23T15:07:19.998Z] 329c88fbcd65: Download complete [2022-08-23T15:07:20.275Z] c0a3192eca97: Pull complete [2022-08-23T15:07:20.553Z] a050256f5b6f: Pull complete [2022-08-23T15:07:21.157Z] 8a5474983e97: Verifying Checksum [2022-08-23T15:07:21.157Z] 8a5474983e97: Download complete [2022-08-23T15:07:21.752Z] 656be50a0ddc: Verifying Checksum [2022-08-23T15:07:21.752Z] 656be50a0ddc: Download complete [2022-08-23T15:07:34.167Z] 656be50a0ddc: Pull complete [2022-08-23T15:07:34.442Z] 2bbca73fdf42: Pull complete [2022-08-23T15:07:34.720Z] 46d945488cbd: Pull complete [2022-08-23T15:07:41.453Z] 8a5474983e97: Pull complete [2022-08-23T15:07:43.432Z] 329c88fbcd65: Pull complete [2022-08-23T15:07:43.432Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-23T15:07:43.432Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-23T15:07:43.432Z] ---> ff4287adb874 [2022-08-23T15:07:43.432Z] Step 3/13 : ARG MAKE="make build" [2022-08-23T15:07:44.874Z] ---> Running in 021e72ac82f5 [2022-08-23T15:07:45.149Z] Removing intermediate container 021e72ac82f5 [2022-08-23T15:07:45.149Z] ---> 4a317140700e [2022-08-23T15:07:45.149Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-23T15:07:45.149Z] ---> Running in 646070d901d7 [2022-08-23T15:07:45.429Z] Removing intermediate container 646070d901d7 [2022-08-23T15:07:45.429Z] ---> db9aa825de1e [2022-08-23T15:07:45.429Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-23T15:07:45.714Z] ---> Running in 6a885bf54734 [2022-08-23T15:07:46.003Z] Removing intermediate container 6a885bf54734 [2022-08-23T15:07:46.003Z] ---> fa14841687b3 [2022-08-23T15:07:46.003Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-23T15:07:46.003Z] ---> Running in 7dff2013f6a4 [2022-08-23T15:07:46.296Z] Removing intermediate container 7dff2013f6a4 [2022-08-23T15:07:46.296Z] ---> 35a6f26d1a12 [2022-08-23T15:07:46.296Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-23T15:07:46.581Z] ---> Running in 40373121483e [2022-08-23T15:07:49.203Z] Removing intermediate container 40373121483e [2022-08-23T15:07:49.203Z] ---> 7612866c0832 [2022-08-23T15:07:49.203Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-23T15:07:49.203Z] ---> Running in ff60f226babc [2022-08-23T15:07:49.809Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-23T15:07:50.790Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-23T15:07:51.774Z] OK: 221 MiB in 51 packages [2022-08-23T15:07:52.376Z] Removing intermediate container ff60f226babc [2022-08-23T15:07:52.377Z] ---> cc325e794ea2 [2022-08-23T15:07:52.377Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-23T15:07:52.377Z] ---> Running in 1062aa69f98f [2022-08-23T15:07:52.657Z] Removing intermediate container 1062aa69f98f [2022-08-23T15:07:52.657Z] ---> d2bc76033f51 [2022-08-23T15:07:52.657Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-23T15:07:53.264Z] ---> 2983f5560cc2 [2022-08-23T15:07:53.264Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-23T15:07:53.264Z] ---> Running in f737b8addb9d [2022-08-23T15:08:49.835Z] Removing intermediate container f737b8addb9d [2022-08-23T15:08:49.835Z] ---> 3dfc5c68c0b7 [2022-08-23T15:08:49.835Z] Step 12/13 : COPY . . [2022-08-23T15:08:49.835Z] ---> 2e2c781bcc07 [2022-08-23T15:08:49.835Z] Step 13/13 : RUN ${MAKE} [2022-08-23T15:08:49.835Z] ---> Running in acda70838e8d [2022-08-23T15:08:49.835Z] noop [2022-08-23T15:08:49.835Z] Removing intermediate container acda70838e8d [2022-08-23T15:08:49.835Z] ---> e48dad278f7a [2022-08-23T15:08:49.835Z] Successfully built e48dad278f7a [2022-08-23T15:08:49.835Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-23T15:08:50.324Z] + docker inspect -f . ci-base-image-arm64 [2022-08-23T15:08:50.324Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-23T15:08:50.657Z] prd-ubuntu20.04-docker-arm64-4c-16g-23380 does not seem to be running inside a container [2022-08-23T15:08:50.738Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-23T15:08:52.010Z] $ docker top 32e7f2da5ddd579776dea4757c1f43f463709ba9e239e7ebd858795414ba7186 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-23T15:08:52.965Z] + go version [2022-08-23T15:08:52.965Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-23T15:08:53.003Z] $ docker stop --time=1 32e7f2da5ddd579776dea4757c1f43f463709ba9e239e7ebd858795414ba7186 [2022-08-23T15:08:54.658Z] $ docker rm -f 32e7f2da5ddd579776dea4757c1f43f463709ba9e239e7ebd858795414ba7186 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-23T15:08:55.554Z] + docker inspect -f . ci-base-image-arm64 [2022-08-23T15:08:55.554Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-23T15:08:55.956Z] prd-ubuntu20.04-docker-arm64-4c-16g-23380 does not seem to be running inside a container [2022-08-23T15:08:56.041Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-08-23T15:08:57.269Z] $ docker top 128829ca62fb982d9b53294a57abcd086079d6ec71d2530005280376584f9d52 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-23T15:08:58.201Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2022-08-23T15:08:58.930Z] + make test [2022-08-23T15:08:58.930Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-23T15:09:00.373Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-23T15:10:22.224Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-23T15:10:28.979Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.116s coverage: 10.6% of statements [2022-08-23T15:10:28.979Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-08-23T15:10:51.158Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 26.123s coverage: 13.8% of statements [2022-08-23T15:10:51.158Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-23T15:10:51.158Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-23T15:11:13.386Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-23T15:11:13.386Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-23T15:11:13.386Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-08-23T15:11:13.425Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-08-23T15:11:13.459Z] $ docker stop --time=1 128829ca62fb982d9b53294a57abcd086079d6ec71d2530005280376584f9d52 [2022-08-23T15:11:15.264Z] $ docker rm -f 128829ca62fb982d9b53294a57abcd086079d6ec71d2530005280376584f9d52 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-23T15:11:16.355Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-08-23T15:11:16.392Z] Warning: overwriting stash ‘coverage-report’ [2022-08-23T15:11:16.961Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-23T15:11:17.562Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-08-23T15:11:17.922Z] + ls -al . [2022-08-23T15:11:17.922Z] total 228 [2022-08-23T15:11:17.922Z] drwxrwxr-x 9 jenkins jenkins 4096 Aug 23 15:08 . [2022-08-23T15:11:17.922Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 15:06 .. [2022-08-23T15:11:17.922Z] drwxrwxr-x 8 jenkins jenkins 4096 Aug 23 15:06 .git [2022-08-23T15:11:17.922Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 15:06 .github [2022-08-23T15:11:17.922Z] -rw-rw-r-- 1 jenkins jenkins 418 Aug 23 15:06 .gitignore [2022-08-23T15:11:17.922Z] -rw-rw-r-- 1 jenkins jenkins 42 Aug 23 15:06 .golangci.yml [2022-08-23T15:11:17.922Z] -rw-rw-r-- 1 jenkins jenkins 9739 Aug 23 15:06 Attribution.txt [2022-08-23T15:11:17.922Z] -rw-rw-r-- 1 jenkins jenkins 1498 Aug 23 15:06 CHANGELOG.md [2022-08-23T15:11:17.922Z] -rw-rw-r-- 1 jenkins jenkins 1669 Aug 23 15:06 Dockerfile [2022-08-23T15:11:17.922Z] -rw-rw-r-- 1 jenkins jenkins 677 Aug 23 15:06 GOVERNANCE.md [2022-08-23T15:11:17.922Z] -rw-rw-r-- 1 jenkins jenkins 734 Aug 23 15:06 Jenkinsfile [2022-08-23T15:11:17.922Z] -rw-rw-r-- 1 jenkins jenkins 11348 Aug 23 15:06 LICENSE [2022-08-23T15:11:17.922Z] -rw-rw-r-- 1 jenkins jenkins 2649 Aug 23 15:06 Makefile [2022-08-23T15:11:17.922Z] -rw-rw-r-- 1 jenkins jenkins 625 Aug 23 15:06 OWNERS.md [2022-08-23T15:11:17.922Z] -rw-rw-r-- 1 jenkins jenkins 5796 Aug 23 15:06 README.md [2022-08-23T15:11:17.922Z] -rw-rw-r-- 1 jenkins jenkins 5 Aug 23 15:04 VERSION [2022-08-23T15:11:17.922Z] drwxrwxr-x 2 jenkins jenkins 4096 Aug 23 15:06 bin [2022-08-23T15:11:17.922Z] drwxrwxr-x 3 jenkins jenkins 4096 Aug 23 15:06 cmd [2022-08-23T15:11:17.922Z] -rw-r--r-- 1 jenkins jenkins 76854 Aug 23 15:10 coverage.out [2022-08-23T15:11:17.922Z] drwxrwxr-x 6 jenkins jenkins 4096 Aug 23 15:06 doc [2022-08-23T15:11:17.922Z] -rw-rw-r-- 1 jenkins jenkins 3783 Aug 23 15:06 go.mod [2022-08-23T15:11:17.922Z] -rw-rw-r-- 1 jenkins jenkins 39275 Aug 23 15:06 go.sum [2022-08-23T15:11:17.922Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 15:06 internal [2022-08-23T15:11:17.922Z] drwxrwxr-x 4 jenkins jenkins 4096 Aug 23 15:06 snap [2022-08-23T15:11:17.922Z] -rw-rw-r-- 1 jenkins jenkins 236 Aug 23 15:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-23T15:11:18.370Z] + 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=46ee5504c29a5a897225929f6526b8e74f78971e --label arch=arm64 --label version=0.0.0 . [2022-08-23T15:11:18.975Z] Sending build context to Docker daemon 14.13MB [2022-08-23T15:11:18.975Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-08-23T15:11:18.975Z] Step 2/26 : FROM ${BASE} AS builder [2022-08-23T15:11:18.975Z] ---> e48dad278f7a [2022-08-23T15:11:18.975Z] Step 3/26 : ARG MAKE="make build" [2022-08-23T15:11:18.975Z] ---> Running in 3019909c35de [2022-08-23T15:11:19.570Z] Removing intermediate container 3019909c35de [2022-08-23T15:11:19.570Z] ---> e7adfb2f3997 [2022-08-23T15:11:19.570Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-23T15:11:19.570Z] ---> Running in 04196d130ebd [2022-08-23T15:11:19.846Z] Removing intermediate container 04196d130ebd [2022-08-23T15:11:19.846Z] ---> 45cf449eb127 [2022-08-23T15:11:19.846Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-08-23T15:11:19.846Z] ---> Running in 269a0774ce88 [2022-08-23T15:11:20.122Z] Removing intermediate container 269a0774ce88 [2022-08-23T15:11:20.122Z] ---> b8285f6fb29c [2022-08-23T15:11:20.122Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-08-23T15:11:20.122Z] ---> Running in f858281ac746 [2022-08-23T15:11:20.731Z] Removing intermediate container f858281ac746 [2022-08-23T15:11:20.731Z] ---> c67e53925441 [2022-08-23T15:11:20.731Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-23T15:11:20.731Z] ---> Running in 7c410ad69335 [2022-08-23T15:11:22.735Z] Removing intermediate container 7c410ad69335 [2022-08-23T15:11:22.735Z] ---> d2c81bce7ae0 [2022-08-23T15:11:22.735Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-23T15:11:22.735Z] ---> Running in 7271453e4c21 [2022-08-23T15:11:23.333Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-23T15:11:24.310Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-23T15:11:25.293Z] OK: 221 MiB in 51 packages [2022-08-23T15:11:25.902Z] Removing intermediate container 7271453e4c21 [2022-08-23T15:11:25.902Z] ---> a83189511d3b [2022-08-23T15:11:25.902Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-08-23T15:11:25.902Z] ---> Running in 4ddd700a3603 [2022-08-23T15:11:26.514Z] Removing intermediate container 4ddd700a3603 [2022-08-23T15:11:26.515Z] ---> 84e2ef53976e [2022-08-23T15:11:26.515Z] Step 10/26 : COPY go.mod vendor* ./ [2022-08-23T15:11:27.128Z] ---> 9259a892358c [2022-08-23T15:11:27.129Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-23T15:11:27.129Z] ---> Running in cc004df778f6 [2022-08-23T15:11:29.112Z] Removing intermediate container cc004df778f6 [2022-08-23T15:11:29.112Z] ---> 2079293e3aba [2022-08-23T15:11:29.112Z] Step 12/26 : COPY . . [2022-08-23T15:11:30.554Z] ---> 6811da4f2a9c [2022-08-23T15:11:30.554Z] Step 13/26 : RUN ${MAKE} [2022-08-23T15:11:30.554Z] ---> Running in dcb0dda2792a [2022-08-23T15:11:31.541Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-08-23T15:13:53.497Z] Removing intermediate container dcb0dda2792a [2022-08-23T15:13:53.497Z] ---> a036d2a1b351 [2022-08-23T15:13:53.497Z] Step 14/26 : FROM alpine:3.16 [2022-08-23T15:13:53.497Z] 3.16: Pulling from library/alpine [2022-08-23T15:13:53.497Z] 9b18e9b68314: Pulling fs layer [2022-08-23T15:13:53.498Z] 9b18e9b68314: Verifying Checksum [2022-08-23T15:13:53.498Z] 9b18e9b68314: Download complete [2022-08-23T15:13:53.498Z] 9b18e9b68314: Pull complete [2022-08-23T15:13:53.498Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-08-23T15:13:53.498Z] Status: Downloaded newer image for alpine:3.16 [2022-08-23T15:13:53.498Z] ---> a6215f271958 [2022-08-23T15:13:53.498Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-08-23T15:13:53.498Z] ---> Running in b9eb883cfcb4 [2022-08-23T15:13:53.498Z] Removing intermediate container b9eb883cfcb4 [2022-08-23T15:13:53.498Z] ---> 08f3bcde8513 [2022-08-23T15:13:53.498Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-08-23T15:13:53.498Z] ---> Running in f08162285e48 [2022-08-23T15:13:53.498Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-23T15:13:53.498Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-23T15:13:53.498Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-08-23T15:13:53.498Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-08-23T15:13:53.498Z] (3/6) Installing libsodium (1.0.18-r0) [2022-08-23T15:13:53.498Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-08-23T15:13:53.498Z] (5/6) Installing libzmq (4.3.4-r0) [2022-08-23T15:13:53.498Z] (6/6) Installing zeromq (4.3.4-r0) [2022-08-23T15:13:53.498Z] Executing busybox-1.35.0-r17.trigger [2022-08-23T15:13:53.498Z] OK: 8 MiB in 20 packages [2022-08-23T15:13:53.498Z] Removing intermediate container f08162285e48 [2022-08-23T15:13:53.498Z] ---> 1cd6af881a9b [2022-08-23T15:13:53.498Z] Step 17/26 : WORKDIR / [2022-08-23T15:13:53.498Z] ---> Running in 0d618c9f607d [2022-08-23T15:13:53.498Z] Removing intermediate container 0d618c9f607d [2022-08-23T15:13:53.498Z] ---> 1a71e459027b [2022-08-23T15:13:53.498Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-08-23T15:13:53.498Z] ---> 9800d0cbd3b8 [2022-08-23T15:13:53.498Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-08-23T15:13:53.498Z] ---> d8df6b1de201 [2022-08-23T15:13:53.498Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-08-23T15:13:53.498Z] ---> c8824322cea0 [2022-08-23T15:13:53.498Z] Step 21/26 : EXPOSE 59984 [2022-08-23T15:13:53.498Z] ---> Running in f2d253726418 [2022-08-23T15:13:53.498Z] Removing intermediate container f2d253726418 [2022-08-23T15:13:53.498Z] ---> b54c2c8fd4e6 [2022-08-23T15:13:53.498Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-08-23T15:13:53.498Z] ---> Running in 1ac41aa599ef [2022-08-23T15:13:53.498Z] Removing intermediate container 1ac41aa599ef [2022-08-23T15:13:53.498Z] ---> 9c78e7ce70bf [2022-08-23T15:13:53.498Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-08-23T15:13:53.498Z] ---> Running in 858d87e3d508 [2022-08-23T15:13:53.498Z] Removing intermediate container 858d87e3d508 [2022-08-23T15:13:53.498Z] ---> e70a3f0d60fb [2022-08-23T15:13:53.498Z] Step 24/26 : LABEL arch=arm64 [2022-08-23T15:13:53.498Z] ---> Running in 7fa950d7d791 [2022-08-23T15:13:53.498Z] Removing intermediate container 7fa950d7d791 [2022-08-23T15:13:53.498Z] ---> 05b2a0a5bece [2022-08-23T15:13:53.498Z] Step 25/26 : LABEL git_sha=46ee5504c29a5a897225929f6526b8e74f78971e [2022-08-23T15:13:53.498Z] ---> Running in 4d5e91dd956c [2022-08-23T15:13:53.498Z] Removing intermediate container 4d5e91dd956c [2022-08-23T15:13:53.498Z] ---> e1f4990f3aff [2022-08-23T15:13:53.498Z] Step 26/26 : LABEL version=0.0.0 [2022-08-23T15:13:53.498Z] ---> Running in f8042a626622 [2022-08-23T15:13:53.498Z] Removing intermediate container f8042a626622 [2022-08-23T15:13:53.498Z] ---> 098f1b57f9b0 [2022-08-23T15:13:53.498Z] [Warning] One or more build-args [ARCH] were not consumed [2022-08-23T15:13:53.498Z] Successfully built 098f1b57f9b0 [2022-08-23T15:13:53.498Z] 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 [2022-08-23T15:13:54.303Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-23T15:13:54.303Z] [2022-08-23T15:13:54.303Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-23T15:13:54.718Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-23T15:13:54.993Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-23T15:13:54.993Z] 8998bd30e6a1: Pulling fs layer [2022-08-23T15:13:54.993Z] 04944245beec: Pulling fs layer [2022-08-23T15:13:54.993Z] 699f458cf7ca: Pulling fs layer [2022-08-23T15:13:54.993Z] 765212b225bb: Pulling fs layer [2022-08-23T15:13:54.993Z] f23df028b6ca: Pulling fs layer [2022-08-23T15:13:54.993Z] d65c8cfc05b1: Pulling fs layer [2022-08-23T15:13:54.993Z] 2437ff75d9bd: Pulling fs layer [2022-08-23T15:13:54.993Z] 765212b225bb: Waiting [2022-08-23T15:13:54.993Z] 2437ff75d9bd: Waiting [2022-08-23T15:13:54.993Z] d65c8cfc05b1: Waiting [2022-08-23T15:13:54.993Z] 04944245beec: Verifying Checksum [2022-08-23T15:13:54.993Z] 04944245beec: Download complete [2022-08-23T15:13:54.993Z] 765212b225bb: Verifying Checksum [2022-08-23T15:13:54.993Z] 765212b225bb: Download complete [2022-08-23T15:13:54.993Z] f23df028b6ca: Verifying Checksum [2022-08-23T15:13:54.993Z] f23df028b6ca: Download complete [2022-08-23T15:13:54.993Z] d65c8cfc05b1: Verifying Checksum [2022-08-23T15:13:54.993Z] d65c8cfc05b1: Download complete [2022-08-23T15:13:55.269Z] 699f458cf7ca: Verifying Checksum [2022-08-23T15:13:55.269Z] 699f458cf7ca: Download complete [2022-08-23T15:13:55.546Z] 8998bd30e6a1: Verifying Checksum [2022-08-23T15:13:55.546Z] 8998bd30e6a1: Download complete [2022-08-23T15:13:57.522Z] 2437ff75d9bd: Verifying Checksum [2022-08-23T15:13:57.522Z] 2437ff75d9bd: Download complete [2022-08-23T15:13:59.506Z] 8998bd30e6a1: Pull complete [2022-08-23T15:14:00.108Z] 04944245beec: Pull complete [2022-08-23T15:14:01.550Z] 699f458cf7ca: Pull complete [2022-08-23T15:14:01.826Z] 765212b225bb: Pull complete [2022-08-23T15:14:02.813Z] f23df028b6ca: Pull complete [2022-08-23T15:14:02.813Z] d65c8cfc05b1: Pull complete [2022-08-23T15:14:17.913Z] 2437ff75d9bd: Pull complete [2022-08-23T15:14:17.913Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-23T15:14:17.913Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-23T15:14:17.913Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-23T15:14:18.285Z] prd-ubuntu20.04-docker-arm64-4c-16g-23380 does not seem to be running inside a container [2022-08-23T15:14:18.375Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-08-23T15:14:20.874Z] $ docker top f4a6b4e94223ee6a02bff39491a89099ac52458fff51a5d0875969a26610a379 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-23T15:14:21.883Z] ---> job-cost.sh [2022-08-23T15:14:21.883Z] lf-activate-venv: SKIPPING [2022-08-23T15:14:21.883Z] INFO: No Stack... [2022-08-23T15:14:22.478Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-23T15:14:23.074Z] INFO: Archiving Costs [Pipeline] sh [2022-08-23T15:14:23.751Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2022-08-23T15:14:23.752Z] + cut -d, -f6 [Pipeline] lock [2022-08-23T15:14:23.836Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-143-1-stack-cost] [2022-08-23T15:14:23.841Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-143-1-stack-cost] did not exist. Created. [2022-08-23T15:14:23.841Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-143-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-23T15:14:24.587Z] /w/workspace/device-onvif-camera/1@tmp/durable-5aaae596/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-23T15:14:25.288Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-23T15:14:25.327Z] Warning: overwriting stash ‘stack-cost’ [2022-08-23T15:14:25.385Z] Stashed 1 file(s) [Pipeline] } [2022-08-23T15:14:25.401Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-143-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-23T15:14:25.485Z] $ docker stop --time=1 f4a6b4e94223ee6a02bff39491a89099ac52458fff51a5d0875969a26610a379 [2022-08-23T15:14:26.958Z] $ docker rm -f f4a6b4e94223ee6a02bff39491a89099ac52458fff51a5d0875969a26610a379 [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 [2022-08-23T15:14:27.916Z] provisioning config files... [2022-08-23T15:14:27.925Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-143@tmp/config1341218069222856616tmp [Pipeline] { [Pipeline] sh [2022-08-23T15:14:28.260Z] + set +x [2022-08-23T15:14:28.260Z] + curl -s https://codecov.io/bash [2022-08-23T15:14:28.260Z] + bash -s -- [2022-08-23T15:14:28.260Z] [2022-08-23T15:14:28.260Z] _____ _ [2022-08-23T15:14:28.260Z] / ____| | | [2022-08-23T15:14:28.260Z] | | ___ __| | ___ ___ _____ __ [2022-08-23T15:14:28.260Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-08-23T15:14:28.260Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-08-23T15:14:28.260Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-08-23T15:14:28.260Z] Bash-1.0.6 [2022-08-23T15:14:28.260Z] [2022-08-23T15:14:28.260Z] [2022-08-23T15:14:28.260Z] ==> git version 2.25.1 found [2022-08-23T15:14:28.260Z] ==> 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 [2022-08-23T15:14:28.260Z] Release-Date: 2020-01-08 [2022-08-23T15:14:28.260Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-08-23T15:14:28.260Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-08-23T15:14:28.260Z] ==> Jenkins CI detected. [2022-08-23T15:14:28.260Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-143 [2022-08-23T15:14:28.260Z] project root: . [2022-08-23T15:14:28.260Z] --> token set from env [2022-08-23T15:14:28.260Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-08-23T15:14:28.260Z] ==> Running gcov in . (disable via -X gcov) [2022-08-23T15:14:28.260Z] ==> Python coveragepy not found [2022-08-23T15:14:28.260Z] ==> Searching for coverage reports in: [2022-08-23T15:14:28.260Z] + . [2022-08-23T15:14:28.260Z] -> Found 1 reports [2022-08-23T15:14:28.260Z] ==> Detecting git/mercurial file structure [2022-08-23T15:14:28.260Z] ==> Reading reports [2022-08-23T15:14:28.522Z] + ./coverage.out bytes=76854 [2022-08-23T15:14:28.522Z] ==> Appending adjustments [2022-08-23T15:14:28.522Z] https://docs.codecov.io/docs/fixing-reports [2022-08-23T15:14:28.522Z] + Found adjustments [2022-08-23T15:14:28.522Z] ==> Gzipping contents [2022-08-23T15:14:28.522Z] 12K /tmp/codecov.vdEe6U.gz [2022-08-23T15:14:28.522Z] ==> Uploading reports [2022-08-23T15:14:28.522Z] url: https://codecov.io [2022-08-23T15:14:28.522Z] query: branch=PR-143&commit=46ee5504c29a5a897225929f6526b8e74f78971e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-143%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=143&job=&cmd_args= [2022-08-23T15:14:28.522Z] -> Pinging Codecov [2022-08-23T15:14:28.522Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-143&commit=46ee5504c29a5a897225929f6526b8e74f78971e&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-143%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=143&job=&cmd_args= [2022-08-23T15:14:29.464Z] -> Uploading to [2022-08-23T15:14:29.464Z] https://storage.googleapis.com/codecov/v4/raw/2022-08-23/F29A59C45E3A92E06B3E522C9905F8EF/46ee5504c29a5a897225929f6526b8e74f78971e/18f997c0-a513-4d3e-a059-868673784d3c.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220823%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220823T151429Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2a98ce4a1cef59230f9e5b8a789b33b4fee5f3c7a157af2d3af13c5aa8fa9675 [2022-08-23T15:14:29.464Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-23T15:14:29.464Z] Dload Upload Total Spent Left Speed [2022-08-23T15:14:29.464Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10415 0 0 100 10415 0 46914 --:--:-- --:--:-- --:--:-- 46704 100 10415 0 0 100 10415 0 44319 --:--:-- --:--:-- --:--:-- 44131 [2022-08-23T15:14:29.464Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-onvif-camera/commit/46ee5504c29a5a897225929f6526b8e74f78971e [Pipeline] } [2022-08-23T15:14:29.492Z] 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 [2022-08-23T15:14:31.268Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-143/archives ] [2022-08-23T15:14:31.268Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-143/archives [2022-08-23T15:14:31.268Z] total 16 [2022-08-23T15:14:31.268Z] drwxr-xr-x 3 root root 4096 Aug 23 15:06 . [2022-08-23T15:14:31.268Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 23 15:06 .. [2022-08-23T15:14:31.268Z] drwxr-xr-x 2 root root 4096 Aug 23 15:06 cost [2022-08-23T15:14:31.268Z] -rw-r--r-- 1 root root 91 Aug 23 15:06 cost.csv [2022-08-23T15:14:31.268Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-143/archives [2022-08-23T15:14:31.268Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-143/archives [2022-08-23T15:14:31.268Z] total 16 [2022-08-23T15:14:31.268Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 23 15:06 . [2022-08-23T15:14:31.268Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 23 15:06 .. [2022-08-23T15:14:31.268Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 23 15:06 cost [2022-08-23T15:14:31.268Z] -rw-r--r-- 1 jenkins jenkins 91 Aug 23 15:06 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-23T15:14:31.597Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-23T15:14:32.496Z] ---> package-listing.sh [2022-08-23T15:14:32.496Z] ++ facter osfamily [2022-08-23T15:14:32.496Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-23T15:14:32.757Z] + OS_FAMILY=debian [2022-08-23T15:14:32.757Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-143 [2022-08-23T15:14:32.757Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-23T15:14:32.757Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-23T15:14:32.757Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-23T15:14:32.757Z] + PACKAGES=/tmp/packages_start.txt [2022-08-23T15:14:32.757Z] + '[' /w/workspace/undry_device-onvif-camera_PR-143 ']' [2022-08-23T15:14:32.757Z] + PACKAGES=/tmp/packages_end.txt [2022-08-23T15:14:32.757Z] + case "${OS_FAMILY}" in [2022-08-23T15:14:32.757Z] + dpkg -l [2022-08-23T15:14:32.757Z] + grep '^ii' [2022-08-23T15:14:32.757Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-23T15:14:32.757Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-23T15:14:32.757Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-23T15:14:32.757Z] + '[' /w/workspace/undry_device-onvif-camera_PR-143 ']' [2022-08-23T15:14:32.757Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-143/archives/ [2022-08-23T15:14:32.757Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-143/archives/ [Pipeline] echo [2022-08-23T15:14:32.789Z] 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-143/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-23T15:14:33.084Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-23T15:14:33.714Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-23T15:14:33.714Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-23T15:14:33.861Z] prd-ubuntu20.04-docker-8c-8g-23378 does not seem to be running inside a container [2022-08-23T15:14:33.894Z] $ 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-143/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-143 -v /w/workspace/undry_device-onvif-camera_PR-143:/w/workspace/undry_device-onvif-camera_PR-143:rw,z -v /w/workspace/undry_device-onvif-camera_PR-143@tmp:/w/workspace/undry_device-onvif-camera_PR-143@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-23T15:14:34.098Z] $ docker top e1237c13976a09d68cdddbd36923458c925cbaa6e40c6076776154560d4caf68 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-23T15:14:34.519Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-23T15:14:34.833Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-23T15:14:35.146Z] + ls /var/log/sa-host [2022-08-23T15:14:35.146Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-23T15:14:35.351Z] provisioning config files... [2022-08-23T15:14:35.360Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-143@tmp/config767220262639052242tmp [Pipeline] { [Pipeline] echo [2022-08-23T15:14:35.410Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-23T15:14:35.726Z] ---> create-netrc.sh [Pipeline] } [2022-08-23T15:14:35.752Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-23T15:14:36.210Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-23T15:14:36.241Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-23T15:14:36.554Z] ---> sudo-logs.sh [2022-08-23T15:14:36.554Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-23T15:14:36.640Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-23T15:14:36.954Z] ---> job-cost.sh [2022-08-23T15:14:36.954Z] lf-activate-venv: SKIPPING [2022-08-23T15:14:36.954Z] DEBUG: total: 0.2199999988079071 [2022-08-23T15:14:36.954Z] INFO: Retrieving Stack Cost... [2022-08-23T15:14:37.216Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-23T15:14:37.789Z] INFO: Archiving Costs [Pipeline] echo [2022-08-23T15:14:37.820Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-23T15:14:38.139Z] ---> logs-deploy.sh [2022-08-23T15:14:38.139Z] lf-activate-venv: SKIPPING [2022-08-23T15:14:38.139Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-143/1 [2022-08-23T15:14:38.139Z] INFO: archiving workspace using pattern(s): [2022-08-23T15:14:39.082Z] Archives upload complete. [2022-08-23T15:14:39.082Z] INFO: archiving logs to Nexus