Pull request #252 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 5eec883b2bb43bf890ad540a9146487d6a3ec42a rather than ff76725baa23854ef0a5fa936f4161dde74b9940 Obtained Jenkinsfile from 5eec883b2bb43bf890ad540a9146487d6a3ec42a 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-ssh7828034490780934543.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh18392128144441058428.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-252/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-252/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13403768431959022389.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-252/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2417099936379389601.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh11241887378616969975.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-252/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-252/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2221050503666800156.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-8233’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-8234’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu18.04-docker-8c-8g-8554’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-8595’ is offline ‘prd-ubuntu20.04-docker-8c-8g-8596’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8597 in /w/workspace/undry_device-onvif-camera_PR-252 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-252 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/252/head:refs/remotes/origin/PR-252 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 5eec883b2bb43bf890ad540a9146487d6a3ec42a into PR head commit ff76725baa23854ef0a5fa936f4161dde74b9940 Merge succeeded, producing ff76725baa23854ef0a5fa936f4161dde74b9940 Checking out Revision ff76725baa23854ef0a5fa936f4161dde74b9940 (PR-252) > git config core.sparsecheckout # timeout=10 > git checkout -f ff76725baa23854ef0a5fa936f4161dde74b9940 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 5eec883b2bb43bf890ad540a9146487d6a3ec42a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ff76725baa23854ef0a5fa936f4161dde74b9940 # timeout=10 Commit message: "feat: log raw response when xml unmarshal fails" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-07T18:19:18.460Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-07T18:19:18.632Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-07T18:19:18.731Z] ========================================================= [2023-03-07T18:19:18.731Z] EdgeX Global Pipelines Version Info [2023-03-07T18:19:18.731Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:19:19.465Z] ------------------- [2023-03-07T18:19:19.465Z] stable info: [2023-03-07T18:19:19.465Z] ------------------- [2023-03-07T18:19:19.465Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-07T18:19:19.465Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T18:19:19.465Z] Message: update stable to v1.0.244 [2023-03-07T18:19:20.034Z] ------------------- [2023-03-07T18:19:20.034Z] experimental info: [2023-03-07T18:19:20.034Z] ------------------- [2023-03-07T18:19:20.034Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-07T18:19:20.034Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-03-07T18:19:20.034Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-07T18:19:20.334Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-03-07T18:19:20.374Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-03-07T18:19:20.415Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-07T18:19:20.457Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-07T18:19:20.504Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-07T18:19:20.545Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-03-07T18:19:20.588Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-07T18:19:20.624Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-07T18:19:20.672Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-07T18:19:20.715Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-07T18:19:20.753Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-07T18:19:20.787Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-03-07T18:19:20.822Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-07T18:19:20.858Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-07T18:19:20.893Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-07T18:19:20.929Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-07T18:19:20.972Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T18:19:21.009Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-07T18:19:21.048Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-07T18:19:21.085Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-07T18:19:21.127Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-07T18:19:21.164Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-03-07T18:19:21.205Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-07T18:19:21.242Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-07T18:19:21.283Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-07T18:19:21.325Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-07T18:19:21.362Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-07T18:19:21.399Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-252 [Pipeline] echo [2023-03-07T18:19:21.442Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-252 [Pipeline] echo [2023-03-07T18:19:21.484Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-252 [Pipeline] echo [2023-03-07T18:19:21.522Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ff76725baa23854ef0a5fa936f4161dde74b9940 [Pipeline] echo [2023-03-07T18:19:21.563Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ff76725 [Pipeline] echo [2023-03-07T18:19:21.603Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T18:19:21.719Z] provisioning config files... [2023-03-07T18:19:21.742Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-252@tmp/config5634976016544413599tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:19:22.085Z] ---> docker-login.sh [2023-03-07T18:19:22.085Z] nexus3.edgexfoundry.org:10001 [2023-03-07T18:19:22.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:19:22.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:19:22.345Z] Configure a credential helper to remove this warning. See [2023-03-07T18:19:22.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:19:22.345Z] [2023-03-07T18:19:22.345Z] Login Succeeded [2023-03-07T18:19:22.345Z] nexus3.edgexfoundry.org:10002 [2023-03-07T18:19:22.345Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:19:22.345Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:19:22.345Z] Configure a credential helper to remove this warning. See [2023-03-07T18:19:22.345Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:19:22.345Z] [2023-03-07T18:19:22.345Z] Login Succeeded [2023-03-07T18:19:22.345Z] nexus3.edgexfoundry.org:10003 [2023-03-07T18:19:22.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:19:22.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:19:22.605Z] Configure a credential helper to remove this warning. See [2023-03-07T18:19:22.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:19:22.605Z] [2023-03-07T18:19:22.605Z] Login Succeeded [2023-03-07T18:19:22.605Z] nexus3.edgexfoundry.org:10004 [2023-03-07T18:19:22.605Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:19:22.605Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:19:22.605Z] Configure a credential helper to remove this warning. See [2023-03-07T18:19:22.605Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:19:22.605Z] [2023-03-07T18:19:22.605Z] Login Succeeded [2023-03-07T18:19:22.605Z] docker.io [2023-03-07T18:19:22.874Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:19:22.874Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:19:22.874Z] Configure a credential helper to remove this warning. See [2023-03-07T18:19:22.874Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:19:22.874Z] [2023-03-07T18:19:22.874Z] Login Succeeded [2023-03-07T18:19:22.874Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T18:19:22.903Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-07T18:19:23.512Z] + git rev-list -1 --merges ff76725baa23854ef0a5fa936f4161dde74b9940~1..ff76725baa23854ef0a5fa936f4161dde74b9940 [Pipeline] echo [2023-03-07T18:19:23.574Z] -----------> git rev-list -1 --merges ff76725baa23854ef0a5fa936f4161dde74b9940~1..ff76725baa23854ef0a5fa936f4161dde74b9940 ff76725baa23854ef0a5fa936f4161dde74b9940 [false] [Pipeline] sh [2023-03-07T18:19:23.879Z] + git log --format=format:%s -1 ff76725baa23854ef0a5fa936f4161dde74b9940 [Pipeline] echo [2023-03-07T18:19:23.918Z] ========================================================= [2023-03-07T18:19:23.918Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-07T18:19:23.918Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T18:19:24.338Z] + git log --format=format:%s -1 ff76725baa23854ef0a5fa936f4161dde74b9940 [Pipeline] echo [2023-03-07T18:19:24.371Z] [semverPrep] GIT_COMMIT: ff76725baa23854ef0a5fa936f4161dde74b9940, Commit Message: feat: log raw response when xml unmarshal fails [Pipeline] echo [2023-03-07T18:19:24.400Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-07T18:19:24.764Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-07T18:19:24.764Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-07T18:19:24.764Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-07T18:19:24.764Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-07T18:19:24.764Z] + + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-07T18:19:24.764Z] echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-07T18:19:24.764Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:19:25.200Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T18:19:25.200Z] [2023-03-07T18:19:25.200Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:19:25.613Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T18:19:25.613Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-07T18:19:25.613Z] b85a868b505f: Pulling fs layer [2023-03-07T18:19:25.613Z] e2be974225ed: Pulling fs layer [2023-03-07T18:19:25.613Z] 339a4e72a1f5: Pulling fs layer [2023-03-07T18:19:25.613Z] 988bab9f4d93: Pulling fs layer [2023-03-07T18:19:25.613Z] 1469e6f7b9e6: Pulling fs layer [2023-03-07T18:19:25.613Z] eaf3925da568: Pulling fs layer [2023-03-07T18:19:25.613Z] bab4dde63d76: Pulling fs layer [2023-03-07T18:19:25.613Z] bde34c3a00c8: Pulling fs layer [2023-03-07T18:19:25.613Z] b352a97aabf1: Pulling fs layer [2023-03-07T18:19:25.613Z] 4872d77fe225: Pulling fs layer [2023-03-07T18:19:25.613Z] 5851b861e8e6: Pulling fs layer [2023-03-07T18:19:25.613Z] 988bab9f4d93: Waiting [2023-03-07T18:19:25.613Z] 1469e6f7b9e6: Waiting [2023-03-07T18:19:25.613Z] eaf3925da568: Waiting [2023-03-07T18:19:25.613Z] bab4dde63d76: Waiting [2023-03-07T18:19:25.613Z] bde34c3a00c8: Waiting [2023-03-07T18:19:25.613Z] b352a97aabf1: Waiting [2023-03-07T18:19:25.613Z] 4872d77fe225: Waiting [2023-03-07T18:19:25.613Z] 5851b861e8e6: Waiting [2023-03-07T18:19:25.884Z] e2be974225ed: Verifying Checksum [2023-03-07T18:19:25.884Z] e2be974225ed: Download complete [2023-03-07T18:19:25.884Z] 988bab9f4d93: Verifying Checksum [2023-03-07T18:19:25.884Z] 988bab9f4d93: Download complete [2023-03-07T18:19:25.884Z] 1469e6f7b9e6: Verifying Checksum [2023-03-07T18:19:25.884Z] 1469e6f7b9e6: Download complete [2023-03-07T18:19:25.884Z] eaf3925da568: Verifying Checksum [2023-03-07T18:19:25.884Z] eaf3925da568: Download complete [2023-03-07T18:19:25.884Z] 339a4e72a1f5: Verifying Checksum [2023-03-07T18:19:25.884Z] 339a4e72a1f5: Download complete [2023-03-07T18:19:25.884Z] bde34c3a00c8: Download complete [2023-03-07T18:19:25.884Z] b352a97aabf1: Verifying Checksum [2023-03-07T18:19:25.884Z] b352a97aabf1: Download complete [2023-03-07T18:19:26.145Z] 4872d77fe225: Verifying Checksum [2023-03-07T18:19:26.145Z] 4872d77fe225: Download complete [2023-03-07T18:19:26.145Z] b85a868b505f: Verifying Checksum [2023-03-07T18:19:26.145Z] b85a868b505f: Download complete [2023-03-07T18:19:26.145Z] 5851b861e8e6: Verifying Checksum [2023-03-07T18:19:26.145Z] 5851b861e8e6: Download complete [2023-03-07T18:19:26.404Z] bab4dde63d76: Verifying Checksum [2023-03-07T18:19:26.404Z] bab4dde63d76: Download complete [2023-03-07T18:19:27.341Z] b85a868b505f: Pull complete [2023-03-07T18:19:27.633Z] e2be974225ed: Pull complete [2023-03-07T18:19:27.941Z] 339a4e72a1f5: Pull complete [2023-03-07T18:19:27.941Z] 988bab9f4d93: Pull complete [2023-03-07T18:19:28.201Z] 1469e6f7b9e6: Pull complete [2023-03-07T18:19:28.201Z] eaf3925da568: Pull complete [2023-03-07T18:19:30.103Z] bab4dde63d76: Pull complete [2023-03-07T18:19:30.103Z] bde34c3a00c8: Pull complete [2023-03-07T18:19:30.363Z] b352a97aabf1: Pull complete [2023-03-07T18:19:30.363Z] 4872d77fe225: Pull complete [2023-03-07T18:19:30.623Z] 5851b861e8e6: Pull complete [2023-03-07T18:19:30.623Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-07T18:19:30.623Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-07T18:19:30.623Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T18:19:30.852Z] prd-ubuntu20.04-docker-8c-8g-8597 does not seem to be running inside a container [2023-03-07T18:19:30.884Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-252 -v /w/workspace/undry_device-onvif-camera_PR-252:/w/workspace/undry_device-onvif-camera_PR-252:rw,z -v /w/workspace/undry_device-onvif-camera_PR-252@tmp:/w/workspace/undry_device-onvif-camera_PR-252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-07T18:19:33.894Z] $ docker top 1f29ea3fcf5f2a90dd324554af2f0e44e96036ccf2b734292baaaa656d15811a -eo pid,comm [2023-03-07T18:19:33.944Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-03-07T18:19:33.944Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-07T18:19:34.070Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T18:19:34.070Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T18:19:34.191Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T18:19:34.197Z] $ docker exec 1f29ea3fcf5f2a90dd324554af2f0e44e96036ccf2b734292baaaa656d15811a ssh-agent [2023-03-07T18:19:34.306Z] SSH_AUTH_SOCK=/tmp/ssh-vaUVMNtP31o8/agent.31 [2023-03-07T18:19:34.306Z] SSH_AGENT_PID=37 [2023-03-07T18:19:34.313Z] Running ssh-add (command line suppressed) [2023-03-07T18:19:34.432Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-252@tmp/private_key_13718708879446109299.key (/w/workspace/undry_device-onvif-camera_PR-252@tmp/private_key_13718708879446109299.key) [2023-03-07T18:19:34.442Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T18:19:34.772Z] + git tag --points-at HEAD [Pipeline] } [2023-03-07T18:19:34.800Z] $ docker exec --env ******** --env ******** 1f29ea3fcf5f2a90dd324554af2f0e44e96036ccf2b734292baaaa656d15811a ssh-agent -k [2023-03-07T18:19:34.896Z] unset SSH_AUTH_SOCK; [2023-03-07T18:19:34.896Z] unset SSH_AGENT_PID; [2023-03-07T18:19:34.896Z] echo Agent pid 37 killed; [2023-03-07T18:19:34.906Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-07T18:19:34.999Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-07T18:19:34.999Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-07T18:19:35.112Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-07T18:19:35.119Z] $ docker exec 1f29ea3fcf5f2a90dd324554af2f0e44e96036ccf2b734292baaaa656d15811a ssh-agent [2023-03-07T18:19:35.229Z] SSH_AUTH_SOCK=/tmp/ssh-8wq8qJSgRrzd/agent.69 [2023-03-07T18:19:35.229Z] SSH_AGENT_PID=75 [2023-03-07T18:19:35.234Z] Running ssh-add (command line suppressed) [2023-03-07T18:19:35.354Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-252@tmp/private_key_14218650944280481802.key (/w/workspace/undry_device-onvif-camera_PR-252@tmp/private_key_14218650944280481802.key) [2023-03-07T18:19:35.365Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-07T18:19:35.701Z] + git semver init [2023-03-07T18:19:35.960Z] 2023-03-07 18:19:35,898 [run_init] DEBUG init version:0.0.0 force:False [2023-03-07T18:19:35.960Z] 2023-03-07 18:19:35,900 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-252/.semver [2023-03-07T18:19:35.960Z] 2023-03-07 18:19:35,900 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-252/.semver [2023-03-07T18:19:35.960Z] 2023-03-07 18:19:35,900 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-252/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-252, universal_newlines=False, shell=None, istream=None) [2023-03-07T18:19:36.897Z] 2023-03-07 18:19:36,820 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-252/.git/info/exclude [2023-03-07T18:19:36.897Z] 2023-03-07 18:19:36,821 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-252/.semver/PR-252 with force:False [2023-03-07T18:19:36.897Z] 2023-03-07 18:19:36,821 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-252/.semver/PR-252 [2023-03-07T18:19:36.897Z] 2023-03-07 18:19:36,825 [execute] INFO git cat-file --batch-check [2023-03-07T18:19:36.897Z] 2023-03-07 18:19:36,826 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-252/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T18:19:36.897Z] 2023-03-07 18:19:36,833 [execute] INFO git cat-file --batch [2023-03-07T18:19:36.897Z] 2023-03-07 18:19:36,833 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-252/.semver, universal_newlines=False, shell=None, istream=) [2023-03-07T18:19:36.897Z] 2023-03-07 18:19:36,840 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-252/.semver/PR-252 [2023-03-07T18:19:36.897Z] 0.0.0 [Pipeline] } [2023-03-07T18:19:36.927Z] $ docker exec --env ******** --env ******** 1f29ea3fcf5f2a90dd324554af2f0e44e96036ccf2b734292baaaa656d15811a ssh-agent -k [2023-03-07T18:19:37.023Z] unset SSH_AUTH_SOCK; [2023-03-07T18:19:37.026Z] unset SSH_AGENT_PID; [2023-03-07T18:19:37.026Z] echo Agent pid 75 killed; [2023-03-07T18:19:37.030Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-07T18:19:37.460Z] + git semver [Pipeline] } [2023-03-07T18:19:37.745Z] $ docker stop --time=1 1f29ea3fcf5f2a90dd324554af2f0e44e96036ccf2b734292baaaa656d15811a [2023-03-07T18:19:39.042Z] $ docker rm -f --volumes 1f29ea3fcf5f2a90dd324554af2f0e44e96036ccf2b734292baaaa656d15811a [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T18:19:39.442Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-07T18:19:39.720Z] Stashed 1 file(s) [Pipeline] echo [2023-03-07T18:19:39.740Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T18:19:40.324Z] provisioning config files... [2023-03-07T18:19:40.335Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-252@tmp/config5946454505266646738tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:19:40.677Z] ---> docker-login.sh [2023-03-07T18:19:40.677Z] nexus3.edgexfoundry.org:10001 [2023-03-07T18:19:40.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:19:40.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:19:40.677Z] Configure a credential helper to remove this warning. See [2023-03-07T18:19:40.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:19:40.677Z] [2023-03-07T18:19:40.677Z] Login Succeeded [2023-03-07T18:19:40.677Z] nexus3.edgexfoundry.org:10002 [2023-03-07T18:19:40.677Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:19:40.677Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:19:40.677Z] Configure a credential helper to remove this warning. See [2023-03-07T18:19:40.677Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:19:40.677Z] [2023-03-07T18:19:40.677Z] Login Succeeded [2023-03-07T18:19:40.677Z] nexus3.edgexfoundry.org:10003 [2023-03-07T18:19:40.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:19:40.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:19:40.936Z] Configure a credential helper to remove this warning. See [2023-03-07T18:19:40.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:19:40.936Z] [2023-03-07T18:19:40.936Z] Login Succeeded [2023-03-07T18:19:40.936Z] nexus3.edgexfoundry.org:10004 [2023-03-07T18:19:40.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:19:40.936Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:19:40.936Z] Configure a credential helper to remove this warning. See [2023-03-07T18:19:40.936Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:19:40.936Z] [2023-03-07T18:19:40.936Z] Login Succeeded [2023-03-07T18:19:40.936Z] docker.io [2023-03-07T18:19:40.936Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:19:41.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:19:41.505Z] Configure a credential helper to remove this warning. See [2023-03-07T18:19:41.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:19:41.505Z] [2023-03-07T18:19:41.505Z] Login Succeeded [2023-03-07T18:19:41.505Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T18:19:41.534Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T18:19:41.716Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T18:19:41.751Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T18:19:41.788Z] ========================================================= [2023-03-07T18:19:41.788Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-03-07T18:19:41.788Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:19:42.269Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-07T18:19:42.269Z] Sending build context to Docker daemon 27.84MB [2023-03-07T18:19:42.269Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T18:19:42.269Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-07T18:19:42.529Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-07T18:19:42.529Z] 213ec9aee27d: Pulling fs layer [2023-03-07T18:19:42.529Z] 4583459ba037: Pulling fs layer [2023-03-07T18:19:42.529Z] 93c1e223e6f2: Pulling fs layer [2023-03-07T18:19:42.529Z] 53926ce57604: Pulling fs layer [2023-03-07T18:19:42.529Z] 21b2b0c7a3f4: Pulling fs layer [2023-03-07T18:19:42.529Z] 22ff95d597cd: Pulling fs layer [2023-03-07T18:19:42.529Z] 12d6caf4c0d1: Pulling fs layer [2023-03-07T18:19:42.529Z] 96b7cbca73a9: Pulling fs layer [2023-03-07T18:19:42.529Z] a7acece74701: Pulling fs layer [2023-03-07T18:19:42.529Z] 21b2b0c7a3f4: Waiting [2023-03-07T18:19:42.529Z] 22ff95d597cd: Waiting [2023-03-07T18:19:42.529Z] 53926ce57604: Waiting [2023-03-07T18:19:42.529Z] 12d6caf4c0d1: Waiting [2023-03-07T18:19:42.529Z] a7acece74701: Waiting [2023-03-07T18:19:42.529Z] 96b7cbca73a9: Waiting [2023-03-07T18:19:42.529Z] 93c1e223e6f2: Verifying Checksum [2023-03-07T18:19:42.529Z] 93c1e223e6f2: Download complete [2023-03-07T18:19:42.529Z] 4583459ba037: Verifying Checksum [2023-03-07T18:19:42.529Z] 4583459ba037: Download complete [2023-03-07T18:19:42.529Z] 21b2b0c7a3f4: Verifying Checksum [2023-03-07T18:19:42.529Z] 21b2b0c7a3f4: Download complete [2023-03-07T18:19:42.529Z] 22ff95d597cd: Verifying Checksum [2023-03-07T18:19:42.529Z] 22ff95d597cd: Download complete [2023-03-07T18:19:42.529Z] 213ec9aee27d: Verifying Checksum [2023-03-07T18:19:42.529Z] 213ec9aee27d: Download complete [2023-03-07T18:19:42.529Z] 12d6caf4c0d1: Verifying Checksum [2023-03-07T18:19:42.529Z] 12d6caf4c0d1: Download complete [2023-03-07T18:19:42.795Z] 213ec9aee27d: Pull complete [2023-03-07T18:19:42.796Z] 4583459ba037: Pull complete [2023-03-07T18:19:43.079Z] 93c1e223e6f2: Pull complete [2023-03-07T18:19:43.341Z] a7acece74701: Verifying Checksum [2023-03-07T18:19:43.341Z] a7acece74701: Download complete [2023-03-07T18:19:43.341Z] 96b7cbca73a9: Verifying Checksum [2023-03-07T18:19:43.341Z] 96b7cbca73a9: Download complete [2023-03-07T18:19:43.600Z] 53926ce57604: Verifying Checksum [2023-03-07T18:19:43.600Z] 53926ce57604: Download complete [2023-03-07T18:19:47.792Z] 53926ce57604: Pull complete [2023-03-07T18:19:47.792Z] 21b2b0c7a3f4: Pull complete [2023-03-07T18:19:47.792Z] 22ff95d597cd: Pull complete [2023-03-07T18:19:47.792Z] 12d6caf4c0d1: Pull complete [2023-03-07T18:19:50.323Z] 96b7cbca73a9: Pull complete [2023-03-07T18:19:50.888Z] a7acece74701: Pull complete [2023-03-07T18:19:50.888Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-03-07T18:19:50.888Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-03-07T18:19:50.888Z] ---> db6d94c90886 [2023-03-07T18:19:50.888Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-07T18:19:55.142Z] Still waiting to schedule task [2023-03-07T18:19:55.143Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-03-07T18:19:56.174Z] ---> Running in 0812cf55bbe4 [2023-03-07T18:19:56.174Z] Removing intermediate container 0812cf55bbe4 [2023-03-07T18:19:56.174Z] ---> 38937d0d11b0 [2023-03-07T18:19:56.174Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-07T18:19:56.174Z] ---> Running in db0d82cbfe98 [2023-03-07T18:19:56.174Z] Removing intermediate container db0d82cbfe98 [2023-03-07T18:19:56.174Z] ---> 4630385d197f [2023-03-07T18:19:56.174Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-07T18:19:56.174Z] ---> Running in 2d4e2914fb7c [2023-03-07T18:19:56.174Z] Removing intermediate container 2d4e2914fb7c [2023-03-07T18:19:56.174Z] ---> 3b5882db8e47 [2023-03-07T18:19:56.174Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-07T18:19:56.174Z] ---> Running in 6d741493812e [2023-03-07T18:19:56.174Z] Removing intermediate container 6d741493812e [2023-03-07T18:19:56.174Z] ---> 7a82c5c0c950 [2023-03-07T18:19:56.174Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-07T18:19:56.174Z] ---> Running in 0196f7645b19 [2023-03-07T18:19:56.174Z] Removing intermediate container 0196f7645b19 [2023-03-07T18:19:56.174Z] ---> e1a7343c2976 [2023-03-07T18:19:56.174Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-07T18:19:56.174Z] ---> Running in a2129540f33e [2023-03-07T18:19:56.174Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T18:19:56.434Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T18:19:56.693Z] OK: 211 MiB in 51 packages [2023-03-07T18:19:56.953Z] Removing intermediate container a2129540f33e [2023-03-07T18:19:56.953Z] ---> 8557cd9afe24 [2023-03-07T18:19:56.953Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-07T18:19:56.953Z] ---> Running in c2ef6590cf4c [2023-03-07T18:19:57.213Z] Removing intermediate container c2ef6590cf4c [2023-03-07T18:19:57.213Z] ---> 94224f04b329 [2023-03-07T18:19:57.213Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-07T18:19:57.213Z] ---> a7f0a799552a [2023-03-07T18:19:57.213Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T18:19:57.213Z] ---> Running in c0fa0e5340a0 [2023-03-07T18:20:43.926Z] Removing intermediate container c0fa0e5340a0 [2023-03-07T18:20:43.926Z] ---> 8bbaf1bd297e [2023-03-07T18:20:43.926Z] Step 12/13 : COPY . . [2023-03-07T18:20:43.926Z] ---> 23e5a9d372df [2023-03-07T18:20:43.926Z] Step 13/13 : RUN ${MAKE} [2023-03-07T18:20:43.926Z] ---> Running in 246b668e0ff4 [2023-03-07T18:20:43.926Z] noop [2023-03-07T18:20:43.926Z] Removing intermediate container 246b668e0ff4 [2023-03-07T18:20:43.926Z] ---> 17ca204b067c [2023-03-07T18:20:43.926Z] Successfully built 17ca204b067c [2023-03-07T18:20:43.926Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:20:44.412Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T18:20:44.413Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T18:20:44.558Z] prd-ubuntu20.04-docker-8c-8g-8597 does not seem to be running inside a container [2023-03-07T18:20:44.591Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-252 -v /w/workspace/undry_device-onvif-camera_PR-252:/w/workspace/undry_device-onvif-camera_PR-252:rw,z -v /w/workspace/undry_device-onvif-camera_PR-252@tmp:/w/workspace/undry_device-onvif-camera_PR-252@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-x86_64 cat [2023-03-07T18:20:44.914Z] $ docker top d233f6528af1207710e980ad317ab9be8b059169a8f98ee1dfd2786de08a9b9f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T18:20:45.318Z] + go version [2023-03-07T18:20:45.318Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-03-07T18:20:45.353Z] $ docker stop --time=1 d233f6528af1207710e980ad317ab9be8b059169a8f98ee1dfd2786de08a9b9f [2023-03-07T18:20:46.629Z] $ docker rm -f --volumes d233f6528af1207710e980ad317ab9be8b059169a8f98ee1dfd2786de08a9b9f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:20:47.388Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-07T18:20:47.388Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T18:20:47.550Z] prd-ubuntu20.04-docker-8c-8g-8597 does not seem to be running inside a container [2023-03-07T18:20:47.587Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-252 -v /w/workspace/undry_device-onvif-camera_PR-252:/w/workspace/undry_device-onvif-camera_PR-252:rw,z -v /w/workspace/undry_device-onvif-camera_PR-252@tmp:/w/workspace/undry_device-onvif-camera_PR-252@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-x86_64 cat [2023-03-07T18:20:47.920Z] $ docker top 8c03fb6745b21dc0c9b734b509e3b6811862439dbcb3be18fb398309c2a8e42e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T18:20:48.350Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-252 [Pipeline] fileExists [Pipeline] sh [2023-03-07T18:20:48.721Z] + make test [2023-03-07T18:20:48.721Z] go test ./... -coverprofile=coverage.out ./... [2023-03-07T18:20:49.287Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-07T18:21:01.485Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-07T18:21:02.862Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.032s coverage: 29.3% of statements [2023-03-07T18:21:02.862Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-07T18:21:02.862Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.604s coverage: 86.5% of statements [2023-03-07T18:21:10.960Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-03-07T18:21:10.960Z] go vet ./... [2023-03-07T18:21:14.239Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-07T18:21:14.239Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-07T18:21:14.239Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-07T18:21:14.275Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-07T18:21:14.310Z] $ docker stop --time=1 8c03fb6745b21dc0c9b734b509e3b6811862439dbcb3be18fb398309c2a8e42e [2023-03-07T18:21:18.145Z] $ docker rm -f --volumes 8c03fb6745b21dc0c9b734b509e3b6811862439dbcb3be18fb398309c2a8e42e [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T18:21:18.660Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-07T18:21:18.743Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-03-07T18:21:19.400Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-07T18:21:19.712Z] + ls -al . [2023-03-07T18:21:19.712Z] total 236 [2023-03-07T18:21:19.712Z] drwxrwxr-x 10 jenkins jenkins 4096 Mar 7 18:20 . [2023-03-07T18:21:19.712Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 18:19 .. [2023-03-07T18:21:19.712Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 18:21 .git [2023-03-07T18:21:19.712Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 18:19 .github [2023-03-07T18:21:19.712Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 7 18:19 .gitignore [2023-03-07T18:21:19.712Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 18:19 .golangci.yml [2023-03-07T18:21:19.712Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 18:19 .semver [2023-03-07T18:21:19.712Z] -rw-rw-r-- 1 jenkins jenkins 9857 Mar 7 18:19 Attribution.txt [2023-03-07T18:21:19.712Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 7 18:19 CHANGELOG.md [2023-03-07T18:21:19.712Z] -rw-rw-r-- 1 jenkins jenkins 1574 Mar 7 18:19 Dockerfile [2023-03-07T18:21:19.712Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 18:19 GOVERNANCE.md [2023-03-07T18:21:19.712Z] -rw-rw-r-- 1 jenkins jenkins 734 Mar 7 18:19 Jenkinsfile [2023-03-07T18:21:19.712Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 7 18:19 LICENSE [2023-03-07T18:21:19.712Z] -rw-rw-r-- 1 jenkins jenkins 2716 Mar 7 18:19 Makefile [2023-03-07T18:21:19.712Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 7 18:19 OWNERS.md [2023-03-07T18:21:19.712Z] -rw-rw-r-- 1 jenkins jenkins 5931 Mar 7 18:19 README.md [2023-03-07T18:21:19.712Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 18:19 VERSION [2023-03-07T18:21:19.712Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 18:19 bin [2023-03-07T18:21:19.712Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 18:19 cmd [2023-03-07T18:21:19.712Z] -rw-r--r-- 1 jenkins jenkins 79184 Mar 7 18:21 coverage.out [2023-03-07T18:21:19.712Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 18:19 doc [2023-03-07T18:21:19.712Z] -rw-rw-r-- 1 jenkins jenkins 3601 Mar 7 18:19 go.mod [2023-03-07T18:21:19.712Z] -rw-rw-r-- 1 jenkins jenkins 34676 Mar 7 18:19 go.sum [2023-03-07T18:21:19.712Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 18:19 internal [2023-03-07T18:21:19.712Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 18:19 snap [2023-03-07T18:21:19.712Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 7 18:19 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:21:20.112Z] + 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=ff76725baa23854ef0a5fa936f4161dde74b9940 --label arch=amd64 --label version=0.0.0 . [2023-03-07T18:21:20.112Z] Sending build context to Docker daemon 27.92MB [2023-03-07T18:21:20.112Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T18:21:20.112Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-07T18:21:20.112Z] ---> 17ca204b067c [2023-03-07T18:21:20.112Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-07T18:21:20.679Z] ---> Running in f88bafc3abbe [2023-03-07T18:21:20.940Z] Removing intermediate container f88bafc3abbe [2023-03-07T18:21:20.940Z] ---> bc9655f8a3c3 [2023-03-07T18:21:20.940Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-07T18:21:20.940Z] ---> Running in ebc53d445143 [2023-03-07T18:21:20.940Z] Removing intermediate container ebc53d445143 [2023-03-07T18:21:20.940Z] ---> 1ac52f057440 [2023-03-07T18:21:20.940Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-03-07T18:21:20.940Z] ---> Running in a992d17c7d10 [2023-03-07T18:21:20.940Z] Removing intermediate container a992d17c7d10 [2023-03-07T18:21:20.940Z] ---> 30a6cd2a2cfb [2023-03-07T18:21:20.940Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-07T18:21:21.197Z] ---> Running in f62a0c17f45b [2023-03-07T18:21:21.197Z] Removing intermediate container f62a0c17f45b [2023-03-07T18:21:21.197Z] ---> d906a448909a [2023-03-07T18:21:21.197Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-07T18:21:21.197Z] ---> Running in 608ee86a4be0 [2023-03-07T18:21:21.197Z] Removing intermediate container 608ee86a4be0 [2023-03-07T18:21:21.197Z] ---> 7a5bab8a348d [2023-03-07T18:21:21.197Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-07T18:21:21.197Z] ---> Running in ae21ac3bb190 [2023-03-07T18:21:21.455Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T18:21:21.713Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T18:21:21.973Z] OK: 211 MiB in 51 packages [2023-03-07T18:21:22.231Z] Removing intermediate container ae21ac3bb190 [2023-03-07T18:21:22.231Z] ---> cc3f7f706933 [2023-03-07T18:21:22.231Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-07T18:21:22.231Z] ---> Running in 52b7b0a2adeb [2023-03-07T18:21:22.488Z] Removing intermediate container 52b7b0a2adeb [2023-03-07T18:21:22.488Z] ---> aebbe2f038a7 [2023-03-07T18:21:22.488Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-07T18:21:22.488Z] ---> a0128f6f899a [2023-03-07T18:21:22.488Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T18:21:22.488Z] ---> Running in d43300c86a1e [2023-03-07T18:21:23.421Z] Removing intermediate container d43300c86a1e [2023-03-07T18:21:23.421Z] ---> dcc0543efb25 [2023-03-07T18:21:23.421Z] Step 12/26 : COPY . . [2023-03-07T18:21:25.096Z] ---> 600f204b3132 [2023-03-07T18:21:25.096Z] Step 13/26 : RUN ${MAKE} [2023-03-07T18:21:25.096Z] ---> Running in 878938a018d8 [2023-03-07T18:21:25.096Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-03-07T18:21:51.628Z] Removing intermediate container 878938a018d8 [2023-03-07T18:21:51.628Z] ---> 9d5160975c8f [2023-03-07T18:21:51.628Z] Step 14/26 : FROM alpine:3.16 [2023-03-07T18:21:51.628Z] 3.16: Pulling from library/alpine [2023-03-07T18:21:51.628Z] ef5531b6e74e: Pulling fs layer [2023-03-07T18:21:51.628Z] ef5531b6e74e: Verifying Checksum [2023-03-07T18:21:51.628Z] ef5531b6e74e: Download complete [2023-03-07T18:21:51.628Z] ef5531b6e74e: Pull complete [2023-03-07T18:21:51.628Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-07T18:21:51.628Z] Status: Downloaded newer image for alpine:3.16 [2023-03-07T18:21:51.628Z] ---> dfd21b5a31f5 [2023-03-07T18:21:51.628Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-07T18:21:51.628Z] ---> Running in fb4f6306f4c5 [2023-03-07T18:21:51.628Z] Removing intermediate container fb4f6306f4c5 [2023-03-07T18:21:51.628Z] ---> 9ff2171c922c [2023-03-07T18:21:51.628Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-03-07T18:21:51.628Z] ---> Running in f73ef7424ed7 [2023-03-07T18:21:51.628Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-03-07T18:21:51.628Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-03-07T18:21:51.628Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-07T18:21:51.628Z] Executing busybox-1.35.0-r17.trigger [2023-03-07T18:21:51.628Z] OK: 6 MiB in 15 packages [2023-03-07T18:21:51.628Z] Removing intermediate container f73ef7424ed7 [2023-03-07T18:21:51.628Z] ---> 6ef8255a4100 [2023-03-07T18:21:51.628Z] Step 17/26 : WORKDIR / [2023-03-07T18:21:51.628Z] ---> Running in 02595bf77fb0 [2023-03-07T18:21:51.628Z] Removing intermediate container 02595bf77fb0 [2023-03-07T18:21:51.628Z] ---> 9d4bb17bc10b [2023-03-07T18:21:51.628Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-07T18:21:51.628Z] ---> aa3741df4789 [2023-03-07T18:21:51.628Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-07T18:21:51.628Z] ---> d56ae660a03e [2023-03-07T18:21:51.628Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-07T18:21:51.628Z] ---> 9ed4497d73f6 [2023-03-07T18:21:51.628Z] Step 21/26 : EXPOSE 59984 [2023-03-07T18:21:51.628Z] ---> Running in 743d95262fa7 [2023-03-07T18:21:51.628Z] Removing intermediate container 743d95262fa7 [2023-03-07T18:21:51.628Z] ---> f9b1af2d0b68 [2023-03-07T18:21:51.628Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-07T18:21:51.628Z] ---> Running in a9edac62b262 [2023-03-07T18:21:51.628Z] Removing intermediate container a9edac62b262 [2023-03-07T18:21:51.628Z] ---> bfbb74da05f9 [2023-03-07T18:21:51.628Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-07T18:21:51.628Z] ---> Running in cfa73e973dd7 [2023-03-07T18:21:51.628Z] Removing intermediate container cfa73e973dd7 [2023-03-07T18:21:51.628Z] ---> dbf45201ac90 [2023-03-07T18:21:51.628Z] Step 24/26 : LABEL arch=amd64 [2023-03-07T18:21:51.628Z] ---> Running in 48dc4180e326 [2023-03-07T18:21:51.628Z] Removing intermediate container 48dc4180e326 [2023-03-07T18:21:51.628Z] ---> f853fe0f04c3 [2023-03-07T18:21:51.628Z] Step 25/26 : LABEL git_sha=ff76725baa23854ef0a5fa936f4161dde74b9940 [2023-03-07T18:21:51.628Z] ---> Running in 2d3cd9f0cd2b [2023-03-07T18:21:51.628Z] Removing intermediate container 2d3cd9f0cd2b [2023-03-07T18:21:51.628Z] ---> c0248bbfa622 [2023-03-07T18:21:51.628Z] Step 26/26 : LABEL version=0.0.0 [2023-03-07T18:21:51.628Z] ---> Running in 59a3a8fdfde3 [2023-03-07T18:21:51.628Z] Removing intermediate container 59a3a8fdfde3 [2023-03-07T18:21:51.628Z] ---> c8ba60917118 [2023-03-07T18:21:51.629Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-07T18:21:51.629Z] Successfully built c8ba60917118 [2023-03-07T18:21:51.629Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:21:52.456Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T18:21:52.456Z] [2023-03-07T18:21:52.456Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:21:52.829Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T18:21:53.399Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-07T18:21:53.399Z] 5eb5b503b376: Pulling fs layer [2023-03-07T18:21:53.399Z] 5c69ac0246d0: Pulling fs layer [2023-03-07T18:21:53.399Z] ec43610c2a17: Pulling fs layer [2023-03-07T18:21:53.399Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-07T18:21:53.399Z] 33b1e0a273af: Pulling fs layer [2023-03-07T18:21:53.399Z] 5d3b04190fa2: Pulling fs layer [2023-03-07T18:21:53.399Z] 2f39f015ded8: Pulling fs layer [2023-03-07T18:21:53.399Z] 33b1e0a273af: Waiting [2023-03-07T18:21:53.399Z] 5d3b04190fa2: Waiting [2023-03-07T18:21:53.399Z] 2f39f015ded8: Waiting [2023-03-07T18:21:53.399Z] 3a2ae6a8a46f: Waiting [2023-03-07T18:21:53.399Z] 5c69ac0246d0: Verifying Checksum [2023-03-07T18:21:53.399Z] 5c69ac0246d0: Download complete [2023-03-07T18:21:53.399Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-07T18:21:53.399Z] 3a2ae6a8a46f: Download complete [2023-03-07T18:21:53.660Z] 33b1e0a273af: Verifying Checksum [2023-03-07T18:21:53.660Z] 33b1e0a273af: Download complete [2023-03-07T18:21:53.660Z] ec43610c2a17: Verifying Checksum [2023-03-07T18:21:53.660Z] ec43610c2a17: Download complete [2023-03-07T18:21:53.660Z] 5d3b04190fa2: Verifying Checksum [2023-03-07T18:21:53.660Z] 5d3b04190fa2: Download complete [2023-03-07T18:21:53.660Z] 5eb5b503b376: Verifying Checksum [2023-03-07T18:21:53.660Z] 5eb5b503b376: Download complete [2023-03-07T18:21:54.597Z] 2f39f015ded8: Download complete [2023-03-07T18:21:54.856Z] 5eb5b503b376: Pull complete [2023-03-07T18:21:55.114Z] 5c69ac0246d0: Pull complete [2023-03-07T18:21:55.372Z] ec43610c2a17: Pull complete [2023-03-07T18:21:55.632Z] 3a2ae6a8a46f: Pull complete [2023-03-07T18:21:55.632Z] 33b1e0a273af: Pull complete [2023-03-07T18:21:55.891Z] 5d3b04190fa2: Pull complete [2023-03-07T18:22:00.069Z] 2f39f015ded8: Pull complete [2023-03-07T18:22:00.069Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-07T18:22:00.069Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T18:22:00.069Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T18:22:00.280Z] prd-ubuntu20.04-docker-8c-8g-8597 does not seem to be running inside a container [2023-03-07T18:22:00.304Z] $ 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-252 -v /w/workspace/undry_device-onvif-camera_PR-252:/w/workspace/undry_device-onvif-camera_PR-252:rw,z -v /w/workspace/undry_device-onvif-camera_PR-252@tmp:/w/workspace/undry_device-onvif-camera_PR-252@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:latest cat [2023-03-07T18:22:05.596Z] $ docker top 6c117ea264c65321328ab402b4b1b14e2c18e5cf001c9451e71c55513b462365 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:22:06.028Z] ---> job-cost.sh [2023-03-07T18:22:06.028Z] lf-activate-venv: SKIPPING [2023-03-07T18:22:06.028Z] INFO: No Stack... [2023-03-07T18:22:06.286Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T18:22:06.545Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T18:22:06.856Z] + cat /w/workspace/undry_device-onvif-camera_PR-252/archives/cost.csv [2023-03-07T18:22:06.856Z] + cut -d, -f6 [Pipeline] lock [2023-03-07T18:22:06.896Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-252-1-stack-cost] [2023-03-07T18:22:06.902Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-252-1-stack-cost] did not exist. Created. [2023-03-07T18:22:06.902Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-252-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T18:22:07.288Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-07T18:22:07.334Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T18:22:07.365Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-252-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T18:22:07.446Z] $ docker stop --time=1 6c117ea264c65321328ab402b4b1b14e2c18e5cf001c9451e71c55513b462365 [2023-03-07T18:22:08.585Z] $ docker rm -f --volumes 6c117ea264c65321328ab402b4b1b14e2c18e5cf001c9451e71c55513b462365 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-07T18:22:34.660Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-8601 in /w/workspace/undry_device-onvif-camera_PR-252 [Pipeline] { [Pipeline] ws [2023-03-07T18:22:34.766Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-03-07T18:22:34.838Z] The recommended git tool is: git [2023-03-07T18:22:41.245Z] using credential edgex-jenkins-ssh [2023-03-07T18:22:41.271Z] Cloning the remote Git repository [2023-03-07T18:22:41.328Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-07T18:22:41.418Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-03-07T18:22:41.600Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-07T18:22:41.602Z] > git --version # timeout=10 [2023-03-07T18:22:41.623Z] > git --version # 'git version 2.25.1' [2023-03-07T18:22:41.626Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T18:22:41.693Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T18:22:43.178Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-07T18:22:43.203Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-07T18:22:44.215Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-07T18:22:44.273Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-07T18:22:44.274Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T18:22:44.294Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/252/head:refs/remotes/origin/PR-252 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-07T18:22:45.070Z] Merging remotes/origin/main commit 5eec883b2bb43bf890ad540a9146487d6a3ec42a into PR head commit ff76725baa23854ef0a5fa936f4161dde74b9940 [2023-03-07T18:22:45.556Z] Merge succeeded, producing ff76725baa23854ef0a5fa936f4161dde74b9940 [2023-03-07T18:22:45.557Z] Checking out Revision ff76725baa23854ef0a5fa936f4161dde74b9940 (PR-252) [2023-03-07T18:22:45.091Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T18:22:45.119Z] > git checkout -f ff76725baa23854ef0a5fa936f4161dde74b9940 # timeout=10 [2023-03-07T18:22:45.440Z] > git remote # timeout=10 [2023-03-07T18:22:45.464Z] > git config --get remote.origin.url # timeout=10 [2023-03-07T18:22:45.496Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-07T18:22:45.511Z] > git merge 5eec883b2bb43bf890ad540a9146487d6a3ec42a # timeout=10 [2023-03-07T18:22:45.540Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-07T18:22:45.566Z] > git config core.sparsecheckout # timeout=10 [2023-03-07T18:22:45.585Z] > git checkout -f ff76725baa23854ef0a5fa936f4161dde74b9940 # timeout=10 [2023-03-07T18:22:49.537Z] Commit message: "feat: log raw response when xml unmarshal fails" [2023-03-07T18:22:49.596Z] > git --version # timeout=10 [2023-03-07T18:22:49.610Z] > git --version # 'git version 2.25.1' [2023-03-07T18:22:49.628Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T18:22:50.760Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-07T18:22:50.760Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T18:22:50.760Z] Dload Upload Total Spent Left Speed [2023-03-07T18:22:50.760Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 222k 0 --:--:-- --:--:-- --:--:-- 222k [Pipeline] sh [2023-03-07T18:22:51.513Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-07T18:22:51.868Z] + sudo tee /etc/docker/daemon.new [2023-03-07T18:22:51.868Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-07T18:22:51.868Z] { [2023-03-07T18:22:51.868Z] "registry-mirrors": [ [2023-03-07T18:22:51.868Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-07T18:22:51.868Z] ], [2023-03-07T18:22:51.868Z] "bip": "10.250.0.254/24", [2023-03-07T18:22:51.868Z] "hosts": [ [2023-03-07T18:22:51.868Z] "tcp://0.0.0.0:5555", [2023-03-07T18:22:51.868Z] "unix:///var/run/docker.sock" [2023-03-07T18:22:51.868Z] ], [2023-03-07T18:22:51.868Z] "mtu": 1458, [2023-03-07T18:22:51.868Z] "selinux-enabled": true, [2023-03-07T18:22:51.868Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-07T18:22:51.868Z] } [Pipeline] sh [2023-03-07T18:22:52.217Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-07T18:22:52.579Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T18:23:10.937Z] provisioning config files... [2023-03-07T18:23:10.972Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config12059482227979013375tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:23:11.378Z] ---> docker-login.sh [2023-03-07T18:23:11.378Z] nexus3.edgexfoundry.org:10001 [2023-03-07T18:23:11.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:23:11.971Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:23:11.971Z] Configure a credential helper to remove this warning. See [2023-03-07T18:23:11.971Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:23:11.971Z] [2023-03-07T18:23:11.971Z] Login Succeeded [2023-03-07T18:23:11.971Z] nexus3.edgexfoundry.org:10002 [2023-03-07T18:23:12.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:23:12.515Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:23:12.515Z] Configure a credential helper to remove this warning. See [2023-03-07T18:23:12.515Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:23:12.515Z] [2023-03-07T18:23:12.515Z] Login Succeeded [2023-03-07T18:23:12.515Z] nexus3.edgexfoundry.org:10003 [2023-03-07T18:23:12.789Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:23:12.789Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:23:12.789Z] Configure a credential helper to remove this warning. See [2023-03-07T18:23:12.789Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:23:12.789Z] [2023-03-07T18:23:12.789Z] Login Succeeded [2023-03-07T18:23:12.789Z] nexus3.edgexfoundry.org:10004 [2023-03-07T18:23:13.062Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:23:13.062Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:23:13.062Z] Configure a credential helper to remove this warning. See [2023-03-07T18:23:13.062Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:23:13.062Z] [2023-03-07T18:23:13.062Z] Login Succeeded [2023-03-07T18:23:13.062Z] docker.io [2023-03-07T18:23:13.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-07T18:23:13.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-07T18:23:13.604Z] Configure a credential helper to remove this warning. See [2023-03-07T18:23:13.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-07T18:23:13.604Z] [2023-03-07T18:23:13.604Z] Login Succeeded [2023-03-07T18:23:13.604Z] ---> docker-login.sh ends [Pipeline] } [2023-03-07T18:23:13.638Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-07T18:23:14.058Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T18:23:14.100Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-07T18:23:14.136Z] ========================================================= [2023-03-07T18:23:14.136Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-03-07T18:23:14.136Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:23:14.641Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-03-07T18:23:15.613Z] Sending build context to Docker daemon 20.61MB [2023-03-07T18:23:15.613Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T18:23:15.613Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-07T18:23:15.613Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-07T18:23:15.613Z] 9b18e9b68314: Pulling fs layer [2023-03-07T18:23:15.613Z] 35d82f9e3411: Pulling fs layer [2023-03-07T18:23:15.613Z] e16973657156: Pulling fs layer [2023-03-07T18:23:15.613Z] fc693d55d65f: Pulling fs layer [2023-03-07T18:23:15.613Z] 7e9fc2657dce: Pulling fs layer [2023-03-07T18:23:15.613Z] dda99020689f: Pulling fs layer [2023-03-07T18:23:15.613Z] db1c61fa0a46: Pulling fs layer [2023-03-07T18:23:15.613Z] 891c053d2c06: Pulling fs layer [2023-03-07T18:23:15.613Z] fc693d55d65f: Waiting [2023-03-07T18:23:15.613Z] db1c61fa0a46: Waiting [2023-03-07T18:23:15.613Z] 7e9fc2657dce: Waiting [2023-03-07T18:23:15.613Z] 891c053d2c06: Waiting [2023-03-07T18:23:15.613Z] dda99020689f: Waiting [2023-03-07T18:23:15.613Z] e16973657156: Verifying Checksum [2023-03-07T18:23:15.613Z] e16973657156: Download complete [2023-03-07T18:23:15.613Z] 35d82f9e3411: Verifying Checksum [2023-03-07T18:23:15.613Z] 35d82f9e3411: Download complete [2023-03-07T18:23:15.613Z] 7e9fc2657dce: Verifying Checksum [2023-03-07T18:23:15.614Z] 7e9fc2657dce: Download complete [2023-03-07T18:23:15.885Z] dda99020689f: Verifying Checksum [2023-03-07T18:23:15.885Z] dda99020689f: Download complete [2023-03-07T18:23:15.885Z] 9b18e9b68314: Download complete [2023-03-07T18:23:16.869Z] 9b18e9b68314: Pull complete [2023-03-07T18:23:17.142Z] 891c053d2c06: Verifying Checksum [2023-03-07T18:23:17.142Z] 891c053d2c06: Download complete [2023-03-07T18:23:17.419Z] 35d82f9e3411: Pull complete [2023-03-07T18:23:17.690Z] e16973657156: Pull complete [2023-03-07T18:23:18.293Z] db1c61fa0a46: Verifying Checksum [2023-03-07T18:23:18.293Z] db1c61fa0a46: Download complete [2023-03-07T18:23:19.259Z] fc693d55d65f: Verifying Checksum [2023-03-07T18:23:19.259Z] fc693d55d65f: Download complete [2023-03-07T18:23:31.613Z] fc693d55d65f: Pull complete [2023-03-07T18:23:31.613Z] 7e9fc2657dce: Pull complete [2023-03-07T18:23:31.613Z] dda99020689f: Pull complete [2023-03-07T18:23:36.973Z] db1c61fa0a46: Pull complete [2023-03-07T18:23:38.392Z] 891c053d2c06: Pull complete [2023-03-07T18:23:38.392Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-03-07T18:23:38.392Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-03-07T18:23:38.392Z] ---> f96f9c87975a [2023-03-07T18:23:38.392Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-07T18:23:40.342Z] ---> Running in 8976e32244d3 [2023-03-07T18:23:40.610Z] Removing intermediate container 8976e32244d3 [2023-03-07T18:23:40.610Z] ---> 7520ac7be3a7 [2023-03-07T18:23:40.610Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-07T18:23:40.878Z] ---> Running in 47bd88401848 [2023-03-07T18:23:41.147Z] Removing intermediate container 47bd88401848 [2023-03-07T18:23:41.147Z] ---> f2f1ca38b771 [2023-03-07T18:23:41.147Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-07T18:23:41.147Z] ---> Running in eb28b91135c2 [2023-03-07T18:23:41.419Z] Removing intermediate container eb28b91135c2 [2023-03-07T18:23:41.419Z] ---> ea973ed2c4cc [2023-03-07T18:23:41.419Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-07T18:23:41.688Z] ---> Running in 0028f8aaca1a [2023-03-07T18:23:41.955Z] Removing intermediate container 0028f8aaca1a [2023-03-07T18:23:41.955Z] ---> 55c920e15fd1 [2023-03-07T18:23:41.955Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-07T18:23:41.955Z] ---> Running in c0b5547be193 [2023-03-07T18:23:42.223Z] Removing intermediate container c0b5547be193 [2023-03-07T18:23:42.223Z] ---> 64af5006b40d [2023-03-07T18:23:42.223Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-07T18:23:42.499Z] ---> Running in ad4862523c2e [2023-03-07T18:23:43.460Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T18:23:43.727Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T18:23:44.687Z] OK: 221 MiB in 51 packages [2023-03-07T18:23:45.648Z] Removing intermediate container ad4862523c2e [2023-03-07T18:23:45.648Z] ---> 148dcacedb20 [2023-03-07T18:23:45.648Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-07T18:23:45.648Z] ---> Running in ec812021e269 [2023-03-07T18:23:45.915Z] Removing intermediate container ec812021e269 [2023-03-07T18:23:45.915Z] ---> 6c55aa0aeb7d [2023-03-07T18:23:45.915Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-07T18:23:46.499Z] ---> bc44e21a30b0 [2023-03-07T18:23:46.499Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T18:23:46.499Z] ---> Running in cc740ed9fc50 [2023-03-07T18:24:54.398Z] Removing intermediate container cc740ed9fc50 [2023-03-07T18:24:54.398Z] ---> c656cdd184ef [2023-03-07T18:24:54.398Z] Step 12/13 : COPY . . [2023-03-07T18:24:54.398Z] ---> f49cf99c6627 [2023-03-07T18:24:54.398Z] Step 13/13 : RUN ${MAKE} [2023-03-07T18:24:54.398Z] ---> Running in de8dd8fc8387 [2023-03-07T18:24:54.398Z] noop [2023-03-07T18:24:54.398Z] Removing intermediate container de8dd8fc8387 [2023-03-07T18:24:54.398Z] ---> 248d866e46b6 [2023-03-07T18:24:54.398Z] Successfully built 248d866e46b6 [2023-03-07T18:24:54.398Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:24:54.883Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T18:24:54.883Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T18:24:55.168Z] prd-ubuntu20.04-docker-arm64-4c-16g-8601 does not seem to be running inside a container [2023-03-07T18:24:55.242Z] $ 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 [2023-03-07T18:24:58.393Z] $ docker top 53a6a2e4d3b338ee09c2faa048e9ab002168ff01b09af8d930811c79ddec80a7 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T18:24:59.286Z] + go version [2023-03-07T18:24:59.286Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-03-07T18:24:59.320Z] $ docker stop --time=1 53a6a2e4d3b338ee09c2faa048e9ab002168ff01b09af8d930811c79ddec80a7 [2023-03-07T18:25:00.991Z] $ docker rm -f --volumes 53a6a2e4d3b338ee09c2faa048e9ab002168ff01b09af8d930811c79ddec80a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:25:01.854Z] + docker inspect -f . ci-base-image-arm64 [2023-03-07T18:25:01.854Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T18:25:02.107Z] prd-ubuntu20.04-docker-arm64-4c-16g-8601 does not seem to be running inside a container [2023-03-07T18:25:02.181Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-07T18:25:03.420Z] $ docker top 2dbc60ec9df4fff2edd6fe804a72ed9ea251af8549eb60c8f6f78b82625fd24f -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T18:25:04.316Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-03-07T18:25:05.019Z] + make test [2023-03-07T18:25:05.019Z] go test ./... -coverprofile=coverage.out ./... [2023-03-07T18:25:06.969Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-07T18:26:43.661Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-03-07T18:26:47.933Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.193s coverage: 29.3% of statements [2023-03-07T18:26:47.933Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-07T18:27:00.266Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 19.479s coverage: 86.5% of statements [2023-03-07T18:27:00.266Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-03-07T18:27:00.266Z] go vet ./... [2023-03-07T18:27:32.548Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-03-07T18:27:32.548Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-03-07T18:27:32.548Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-03-07T18:27:32.587Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-03-07T18:27:32.621Z] $ docker stop --time=1 2dbc60ec9df4fff2edd6fe804a72ed9ea251af8549eb60c8f6f78b82625fd24f [2023-03-07T18:27:34.604Z] $ docker rm -f --volumes 2dbc60ec9df4fff2edd6fe804a72ed9ea251af8549eb60c8f6f78b82625fd24f [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-07T18:27:35.685Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-03-07T18:27:35.718Z] Warning: overwriting stash ‘coverage-report’ [2023-03-07T18:27:36.300Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-07T18:27:36.896Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-03-07T18:27:37.240Z] + ls -al . [2023-03-07T18:27:37.240Z] total 232 [2023-03-07T18:27:37.240Z] drwxrwxr-x 9 jenkins jenkins 4096 Mar 7 18:25 . [2023-03-07T18:27:37.240Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 18:22 .. [2023-03-07T18:27:37.240Z] drwxrwxr-x 8 jenkins jenkins 4096 Mar 7 18:22 .git [2023-03-07T18:27:37.240Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 18:22 .github [2023-03-07T18:27:37.240Z] -rw-rw-r-- 1 jenkins jenkins 496 Mar 7 18:22 .gitignore [2023-03-07T18:27:37.240Z] -rw-rw-r-- 1 jenkins jenkins 42 Mar 7 18:22 .golangci.yml [2023-03-07T18:27:37.240Z] -rw-rw-r-- 1 jenkins jenkins 9857 Mar 7 18:22 Attribution.txt [2023-03-07T18:27:37.240Z] -rw-rw-r-- 1 jenkins jenkins 6312 Mar 7 18:22 CHANGELOG.md [2023-03-07T18:27:37.240Z] -rw-rw-r-- 1 jenkins jenkins 1574 Mar 7 18:22 Dockerfile [2023-03-07T18:27:37.240Z] -rw-rw-r-- 1 jenkins jenkins 677 Mar 7 18:22 GOVERNANCE.md [2023-03-07T18:27:37.240Z] -rw-rw-r-- 1 jenkins jenkins 734 Mar 7 18:22 Jenkinsfile [2023-03-07T18:27:37.240Z] -rw-rw-r-- 1 jenkins jenkins 11348 Mar 7 18:22 LICENSE [2023-03-07T18:27:37.240Z] -rw-rw-r-- 1 jenkins jenkins 2716 Mar 7 18:22 Makefile [2023-03-07T18:27:37.240Z] -rw-rw-r-- 1 jenkins jenkins 625 Mar 7 18:22 OWNERS.md [2023-03-07T18:27:37.240Z] -rw-rw-r-- 1 jenkins jenkins 5931 Mar 7 18:22 README.md [2023-03-07T18:27:37.240Z] -rw-rw-r-- 1 jenkins jenkins 5 Mar 7 18:19 VERSION [2023-03-07T18:27:37.240Z] drwxrwxr-x 2 jenkins jenkins 4096 Mar 7 18:22 bin [2023-03-07T18:27:37.240Z] drwxrwxr-x 3 jenkins jenkins 4096 Mar 7 18:22 cmd [2023-03-07T18:27:37.240Z] -rw-r--r-- 1 jenkins jenkins 79184 Mar 7 18:26 coverage.out [2023-03-07T18:27:37.240Z] drwxrwxr-x 6 jenkins jenkins 4096 Mar 7 18:22 doc [2023-03-07T18:27:37.240Z] -rw-rw-r-- 1 jenkins jenkins 3601 Mar 7 18:22 go.mod [2023-03-07T18:27:37.240Z] -rw-rw-r-- 1 jenkins jenkins 34676 Mar 7 18:22 go.sum [2023-03-07T18:27:37.240Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 18:22 internal [2023-03-07T18:27:37.240Z] drwxrwxr-x 4 jenkins jenkins 4096 Mar 7 18:22 snap [2023-03-07T18:27:37.240Z] -rw-rw-r-- 1 jenkins jenkins 236 Mar 7 18:22 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:27:37.767Z] + 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=ff76725baa23854ef0a5fa936f4161dde74b9940 --label arch=arm64 --label version=0.0.0 . [2023-03-07T18:27:38.402Z] Sending build context to Docker daemon 20.69MB [2023-03-07T18:27:38.675Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-03-07T18:27:38.675Z] Step 2/26 : FROM ${BASE} AS builder [2023-03-07T18:27:38.675Z] ---> 248d866e46b6 [2023-03-07T18:27:38.675Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-03-07T18:27:38.974Z] ---> Running in 5531d0478308 [2023-03-07T18:27:39.263Z] Removing intermediate container 5531d0478308 [2023-03-07T18:27:39.263Z] ---> 600351fc43ae [2023-03-07T18:27:39.263Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-07T18:27:39.263Z] ---> Running in 04580e8bd050 [2023-03-07T18:27:39.859Z] Removing intermediate container 04580e8bd050 [2023-03-07T18:27:39.859Z] ---> 4e64cc8548ad [2023-03-07T18:27:39.859Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-03-07T18:27:39.859Z] ---> Running in eb2cec1b3b1c [2023-03-07T18:27:40.125Z] Removing intermediate container eb2cec1b3b1c [2023-03-07T18:27:40.125Z] ---> f2d3f7a30d49 [2023-03-07T18:27:40.125Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-03-07T18:27:40.125Z] ---> Running in 7e1ad3efda96 [2023-03-07T18:27:40.416Z] Removing intermediate container 7e1ad3efda96 [2023-03-07T18:27:40.416Z] ---> e81ebf30987d [2023-03-07T18:27:40.416Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-03-07T18:27:40.684Z] ---> Running in 732b6701c3b2 [2023-03-07T18:27:40.952Z] Removing intermediate container 732b6701c3b2 [2023-03-07T18:27:40.952Z] ---> 78b84f0d95dc [2023-03-07T18:27:40.952Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-07T18:27:40.952Z] ---> Running in 57a1309ef798 [2023-03-07T18:27:41.913Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T18:27:42.500Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T18:27:43.467Z] OK: 221 MiB in 51 packages [2023-03-07T18:27:45.414Z] Removing intermediate container 57a1309ef798 [2023-03-07T18:27:45.414Z] ---> 661957f9dcff [2023-03-07T18:27:45.414Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-03-07T18:27:47.364Z] ---> Running in c0b5a8a9b974 [2023-03-07T18:27:47.948Z] Removing intermediate container c0b5a8a9b974 [2023-03-07T18:27:47.948Z] ---> 4ebf8505f88b [2023-03-07T18:27:47.948Z] Step 10/26 : COPY go.mod vendor* ./ [2023-03-07T18:27:48.532Z] ---> c9247a5c041a [2023-03-07T18:27:48.532Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-07T18:27:48.532Z] ---> Running in b726632f05a8 [2023-03-07T18:27:52.818Z] Removing intermediate container b726632f05a8 [2023-03-07T18:27:52.818Z] ---> d5cd6f4d74d3 [2023-03-07T18:27:52.818Z] Step 12/26 : COPY . . [2023-03-07T18:27:56.163Z] ---> bf73a87a78a0 [2023-03-07T18:27:56.163Z] Step 13/26 : RUN ${MAKE} [2023-03-07T18:27:56.163Z] ---> Running in b783f72049b0 [2023-03-07T18:27:58.104Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-03-07T18:30:04.788Z] Removing intermediate container b783f72049b0 [2023-03-07T18:30:04.788Z] ---> 71a0559b81be [2023-03-07T18:30:04.789Z] Step 14/26 : FROM alpine:3.16 [2023-03-07T18:30:04.789Z] 3.16: Pulling from library/alpine [2023-03-07T18:30:04.789Z] 3760b48202b3: Pulling fs layer [2023-03-07T18:30:05.057Z] 3760b48202b3: Verifying Checksum [2023-03-07T18:30:05.057Z] 3760b48202b3: Download complete [2023-03-07T18:30:05.325Z] 3760b48202b3: Pull complete [2023-03-07T18:30:05.592Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-03-07T18:30:05.592Z] Status: Downloaded newer image for alpine:3.16 [2023-03-07T18:30:05.592Z] ---> 4c81e5bf8899 [2023-03-07T18:30:05.592Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-03-07T18:30:05.592Z] ---> Running in 37f42fea404e [2023-03-07T18:30:05.866Z] Removing intermediate container 37f42fea404e [2023-03-07T18:30:05.866Z] ---> e941dfebf7b8 [2023-03-07T18:30:05.866Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-03-07T18:30:05.866Z] ---> Running in 7a149faa9756 [2023-03-07T18:30:06.830Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-03-07T18:30:07.416Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-03-07T18:30:08.378Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-03-07T18:30:08.378Z] Executing busybox-1.35.0-r17.trigger [2023-03-07T18:30:08.378Z] OK: 5 MiB in 15 packages [2023-03-07T18:30:10.326Z] Removing intermediate container 7a149faa9756 [2023-03-07T18:30:10.326Z] ---> 6b589f76f714 [2023-03-07T18:30:10.326Z] Step 17/26 : WORKDIR / [2023-03-07T18:30:10.326Z] ---> Running in 87703adba732 [2023-03-07T18:30:10.594Z] Removing intermediate container 87703adba732 [2023-03-07T18:30:10.594Z] ---> aa863c2d2dda [2023-03-07T18:30:10.594Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-03-07T18:30:12.004Z] ---> f56eae2cf379 [2023-03-07T18:30:12.004Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-03-07T18:30:12.585Z] ---> e180e777d476 [2023-03-07T18:30:12.585Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-03-07T18:30:12.853Z] ---> 27fc399e6c4d [2023-03-07T18:30:12.853Z] Step 21/26 : EXPOSE 59984 [2023-03-07T18:30:13.137Z] ---> Running in bc8c8ac509c8 [2023-03-07T18:30:13.405Z] Removing intermediate container bc8c8ac509c8 [2023-03-07T18:30:13.405Z] ---> f0c898719d76 [2023-03-07T18:30:13.405Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-03-07T18:30:13.405Z] ---> Running in 26863f80718b [2023-03-07T18:30:13.672Z] Removing intermediate container 26863f80718b [2023-03-07T18:30:13.672Z] ---> 6d415cfdc255 [2023-03-07T18:30:13.672Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-03-07T18:30:13.672Z] ---> Running in f213352f666b [2023-03-07T18:30:14.259Z] Removing intermediate container f213352f666b [2023-03-07T18:30:14.259Z] ---> b83a7b83d340 [2023-03-07T18:30:14.259Z] Step 24/26 : LABEL arch=arm64 [2023-03-07T18:30:14.259Z] ---> Running in 9aa27416aedd [2023-03-07T18:30:14.524Z] Removing intermediate container 9aa27416aedd [2023-03-07T18:30:14.524Z] ---> 0c9390e1cb98 [2023-03-07T18:30:14.524Z] Step 25/26 : LABEL git_sha=ff76725baa23854ef0a5fa936f4161dde74b9940 [2023-03-07T18:30:14.524Z] ---> Running in 8bd8003f8611 [2023-03-07T18:30:14.792Z] Removing intermediate container 8bd8003f8611 [2023-03-07T18:30:14.792Z] ---> 427912867bbd [2023-03-07T18:30:14.792Z] Step 26/26 : LABEL version=0.0.0 [2023-03-07T18:30:14.792Z] ---> Running in f2010cc9ca6e [2023-03-07T18:30:15.060Z] Removing intermediate container f2010cc9ca6e [2023-03-07T18:30:15.060Z] ---> dd3b21e52153 [2023-03-07T18:30:15.060Z] [Warning] One or more build-args [ARCH] were not consumed [2023-03-07T18:30:15.327Z] Successfully built dd3b21e52153 [2023-03-07T18:30:15.327Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:30:16.132Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T18:30:16.132Z] [2023-03-07T18:30:16.132Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:30:16.550Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T18:30:16.550Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-07T18:30:16.550Z] 8998bd30e6a1: Pulling fs layer [2023-03-07T18:30:16.550Z] 04944245beec: Pulling fs layer [2023-03-07T18:30:16.550Z] 699f458cf7ca: Pulling fs layer [2023-03-07T18:30:16.550Z] 765212b225bb: Pulling fs layer [2023-03-07T18:30:16.550Z] f23df028b6ca: Pulling fs layer [2023-03-07T18:30:16.550Z] d65c8cfc05b1: Pulling fs layer [2023-03-07T18:30:16.550Z] 2437ff75d9bd: Pulling fs layer [2023-03-07T18:30:16.550Z] f23df028b6ca: Waiting [2023-03-07T18:30:16.550Z] d65c8cfc05b1: Waiting [2023-03-07T18:30:16.550Z] 2437ff75d9bd: Waiting [2023-03-07T18:30:16.550Z] 765212b225bb: Waiting [2023-03-07T18:30:16.818Z] 04944245beec: Verifying Checksum [2023-03-07T18:30:16.818Z] 04944245beec: Download complete [2023-03-07T18:30:16.818Z] 765212b225bb: Verifying Checksum [2023-03-07T18:30:16.818Z] 765212b225bb: Download complete [2023-03-07T18:30:16.818Z] f23df028b6ca: Download complete [2023-03-07T18:30:16.818Z] d65c8cfc05b1: Verifying Checksum [2023-03-07T18:30:16.818Z] d65c8cfc05b1: Download complete [2023-03-07T18:30:16.818Z] 699f458cf7ca: Verifying Checksum [2023-03-07T18:30:16.818Z] 699f458cf7ca: Download complete [2023-03-07T18:30:17.400Z] 8998bd30e6a1: Verifying Checksum [2023-03-07T18:30:17.401Z] 8998bd30e6a1: Download complete [2023-03-07T18:30:19.342Z] 2437ff75d9bd: Verifying Checksum [2023-03-07T18:30:19.342Z] 2437ff75d9bd: Download complete [2023-03-07T18:30:21.287Z] 8998bd30e6a1: Pull complete [2023-03-07T18:30:22.700Z] 04944245beec: Pull complete [2023-03-07T18:30:23.660Z] 699f458cf7ca: Pull complete [2023-03-07T18:30:23.927Z] 765212b225bb: Pull complete [2023-03-07T18:30:24.511Z] f23df028b6ca: Pull complete [2023-03-07T18:30:24.779Z] d65c8cfc05b1: Pull complete [2023-03-07T18:30:39.760Z] 2437ff75d9bd: Pull complete [2023-03-07T18:30:39.760Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-07T18:30:39.760Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-07T18:30:39.760Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T18:30:40.081Z] prd-ubuntu20.04-docker-arm64-4c-16g-8601 does not seem to be running inside a container [2023-03-07T18:30:40.143Z] $ 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 [2023-03-07T18:30:42.695Z] $ docker top 6e0cb8ad422890fcbdabc40afb58d78f15a9b113e7991477307d9c22551cdff3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:30:43.288Z] ---> job-cost.sh [2023-03-07T18:30:43.555Z] lf-activate-venv: SKIPPING [2023-03-07T18:30:43.555Z] INFO: No Stack... [2023-03-07T18:30:43.820Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-07T18:30:44.778Z] INFO: Archiving Costs [Pipeline] sh [2023-03-07T18:30:45.118Z] + + cut -d,cat -f6 /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-03-07T18:30:45.119Z] [Pipeline] lock [2023-03-07T18:30:45.200Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-252-1-stack-cost] [2023-03-07T18:30:45.205Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-252-1-stack-cost] did not exist. Created. [2023-03-07T18:30:45.205Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-252-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-07T18:30:45.620Z] /w/workspace/device-onvif-camera/1@tmp/durable-35ee0743/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-07T18:30:46.289Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-07T18:30:46.331Z] Warning: overwriting stash ‘stack-cost’ [2023-03-07T18:30:46.390Z] Stashed 1 file(s) [Pipeline] } [2023-03-07T18:30:46.405Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-252-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-07T18:30:46.482Z] $ docker stop --time=1 6e0cb8ad422890fcbdabc40afb58d78f15a9b113e7991477307d9c22551cdff3 [2023-03-07T18:30:49.635Z] $ docker rm -f --volumes 6e0cb8ad422890fcbdabc40afb58d78f15a9b113e7991477307d9c22551cdff3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-03-07T18:30:50.549Z] provisioning config files... [2023-03-07T18:30:50.560Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-252@tmp/config20249920715361271tmp [Pipeline] { [Pipeline] sh [2023-03-07T18:30:50.883Z] + set +x [2023-03-07T18:30:50.883Z] + + curl -s https://codecov.io/bash [2023-03-07T18:30:50.883Z] bash -s -- [2023-03-07T18:30:50.883Z] [2023-03-07T18:30:50.883Z] _____ _ [2023-03-07T18:30:50.883Z] / ____| | | [2023-03-07T18:30:50.883Z] | | ___ __| | ___ ___ _____ __ [2023-03-07T18:30:50.883Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-03-07T18:30:50.883Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-03-07T18:30:50.883Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-03-07T18:30:50.883Z] Bash-1.0.6 [2023-03-07T18:30:50.883Z] [2023-03-07T18:30:50.883Z] [2023-03-07T18:30:50.883Z] ==> git version 2.25.1 found [2023-03-07T18:30:50.883Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-03-07T18:30:50.883Z] Release-Date: 2020-01-08 [2023-03-07T18:30:50.883Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-03-07T18:30:50.883Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-03-07T18:30:50.883Z] ==> Jenkins CI detected. [2023-03-07T18:30:50.883Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-252 [2023-03-07T18:30:50.883Z] project root: . [2023-03-07T18:30:50.883Z] --> token set from env [2023-03-07T18:30:50.883Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-03-07T18:30:50.883Z] ==> Running gcov in . (disable via -X gcov) [2023-03-07T18:30:50.883Z] ==> Python coveragepy not found [2023-03-07T18:30:50.883Z] ==> Searching for coverage reports in: [2023-03-07T18:30:50.883Z] + . [2023-03-07T18:30:50.883Z] -> Found 1 reports [2023-03-07T18:30:50.883Z] ==> Detecting git/mercurial file structure [2023-03-07T18:30:50.883Z] ==> Reading reports [2023-03-07T18:30:50.883Z] + ./coverage.out bytes=79184 [2023-03-07T18:30:50.883Z] ==> Appending adjustments [2023-03-07T18:30:50.883Z] https://docs.codecov.io/docs/fixing-reports [2023-03-07T18:30:51.142Z] + Found adjustments [2023-03-07T18:30:51.142Z] ==> Gzipping contents [2023-03-07T18:30:51.142Z] 12K /tmp/codecov.aCY0nK.gz [2023-03-07T18:30:51.142Z] ==> Uploading reports [2023-03-07T18:30:51.142Z] url: https://codecov.io [2023-03-07T18:30:51.142Z] query: branch=PR-252&commit=ff76725baa23854ef0a5fa936f4161dde74b9940&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-252%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=252&job=&cmd_args= [2023-03-07T18:30:51.142Z] -> Pinging Codecov [2023-03-07T18:30:51.142Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-252&commit=ff76725baa23854ef0a5fa936f4161dde74b9940&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-252%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=252&job=&cmd_args= [2023-03-07T18:30:51.403Z] -> Uploading to [2023-03-07T18:30:51.403Z] https://storage.googleapis.com/codecov/v4/raw/2023-03-07/F29A59C45E3A92E06B3E522C9905F8EF/ff76725baa23854ef0a5fa936f4161dde74b9940/fa746d37-03d0-4e41-9851-fe2eddcfe3c0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230307%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230307T183051Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3092b5f1fbad8426e1278f36f5acc7d00011a81886b5b22d9542ad9699b789e0 [2023-03-07T18:30:51.403Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-07T18:30:51.403Z] Dload Upload Total Spent Left Speed [2023-03-07T18:30:51.661Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10861 0 0 100 10861 0 44880 --:--:-- --:--:-- --:--:-- 44880 [2023-03-07T18:30:51.661Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/ff76725baa23854ef0a5fa936f4161dde74b9940 [Pipeline] } [2023-03-07T18:30:51.692Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-03-07T18:30:53.455Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-252/archives ] [2023-03-07T18:30:53.455Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-252/archives [2023-03-07T18:30:53.455Z] total 16 [2023-03-07T18:30:53.455Z] drwxr-xr-x 3 root root 4096 Mar 7 18:22 . [2023-03-07T18:30:53.455Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 18:22 .. [2023-03-07T18:30:53.455Z] drwxr-xr-x 2 root root 4096 Mar 7 18:22 cost [2023-03-07T18:30:53.455Z] -rw-r--r-- 1 root root 91 Mar 7 18:22 cost.csv [2023-03-07T18:30:53.455Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-252/archives [2023-03-07T18:30:53.455Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-252/archives [2023-03-07T18:30:53.455Z] total 16 [2023-03-07T18:30:53.455Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 7 18:22 . [2023-03-07T18:30:53.455Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 7 18:22 .. [2023-03-07T18:30:53.455Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 7 18:22 cost [2023-03-07T18:30:53.455Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 7 18:22 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:30:53.787Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:30:54.674Z] ---> package-listing.sh [2023-03-07T18:30:54.674Z] ++ facter osfamily [2023-03-07T18:30:54.674Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-07T18:30:54.933Z] + OS_FAMILY=debian [2023-03-07T18:30:54.933Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-252 [2023-03-07T18:30:54.933Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-07T18:30:54.933Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-07T18:30:54.933Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-07T18:30:54.933Z] + PACKAGES=/tmp/packages_start.txt [2023-03-07T18:30:54.933Z] + '[' /w/workspace/undry_device-onvif-camera_PR-252 ']' [2023-03-07T18:30:54.933Z] + PACKAGES=/tmp/packages_end.txt [2023-03-07T18:30:54.933Z] + case "${OS_FAMILY}" in [2023-03-07T18:30:54.933Z] + dpkg -l [2023-03-07T18:30:54.933Z] + grep '^ii' [2023-03-07T18:30:54.933Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-07T18:30:54.933Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-07T18:30:54.933Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-07T18:30:54.933Z] + '[' /w/workspace/undry_device-onvif-camera_PR-252 ']' [2023-03-07T18:30:54.933Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-252/archives/ [2023-03-07T18:30:54.933Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-252/archives/ [Pipeline] echo [2023-03-07T18:30:54.967Z] 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-252/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-07T18:30:55.255Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-07T18:30:55.874Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-07T18:30:55.875Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-07T18:30:56.021Z] prd-ubuntu20.04-docker-8c-8g-8597 does not seem to be running inside a container [2023-03-07T18:30:56.047Z] $ 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-252/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-252 -v /w/workspace/undry_device-onvif-camera_PR-252:/w/workspace/undry_device-onvif-camera_PR-252:rw,z -v /w/workspace/undry_device-onvif-camera_PR-252@tmp:/w/workspace/undry_device-onvif-camera_PR-252@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-07T18:30:56.234Z] $ docker top 7668cca8268b9821fe2ab85825d5a7494aae3dc2aa0cec482e1b9e7c6b020c80 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-07T18:30:56.636Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-07T18:30:56.950Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-07T18:30:57.258Z] + ls /var/log/sa-host [2023-03-07T18:30:57.258Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-07T18:30:57.402Z] provisioning config files... [2023-03-07T18:30:57.412Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-252@tmp/config4493273435244232398tmp [Pipeline] { [Pipeline] echo [2023-03-07T18:30:57.466Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:30:57.781Z] ---> create-netrc.sh [Pipeline] } [2023-03-07T18:30:57.812Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:30:58.203Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-07T18:30:58.238Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:30:58.546Z] ---> sudo-logs.sh [2023-03-07T18:30:58.546Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-07T18:30:58.632Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:30:58.937Z] ---> job-cost.sh [2023-03-07T18:30:58.937Z] lf-activate-venv: SKIPPING [2023-03-07T18:30:58.937Z] DEBUG: total: 0.2199999988079071 [2023-03-07T18:30:58.937Z] INFO: Retrieving Stack Cost... [2023-03-07T18:30:59.195Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-07T18:30:59.453Z] INFO: Archiving Costs [Pipeline] echo [2023-03-07T18:30:59.489Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-07T18:30:59.799Z] ---> logs-deploy.sh [2023-03-07T18:30:59.799Z] lf-activate-venv: SKIPPING [2023-03-07T18:30:59.799Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-252/1 [2023-03-07T18:30:59.799Z] INFO: archiving workspace using pattern(s): [2023-03-07T18:31:00.742Z] Archives upload complete. [2023-03-07T18:31:00.742Z] INFO: archiving logs to Nexus