Pull request #230 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 lenny-intel for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 07b2f8064f6d1da8991520ef470b953c939c708c+4452f94286ccb50ed2d81f13c9c71fcde235ba34 (f3f158e4fd9435a1cba9d51843ab6f2dddab86a0) 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-ssh7190299431307693068.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-ssh6123196097516894698.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-230/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-230/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4314401947370488205.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-230/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7153118836841090224.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-ssh10750223274779466781.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-230/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-230/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14623073134090266523.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5899 in /w/workspace/undry_device-onvif-camera_PR-230 [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-230 # 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/230/head:refs/remotes/origin/PR-230 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4452f94286ccb50ed2d81f13c9c71fcde235ba34 into PR head commit 07b2f8064f6d1da8991520ef470b953c939c708c Merge succeeded, producing 07b2f8064f6d1da8991520ef470b953c939c708c Checking out Revision 07b2f8064f6d1da8991520ef470b953c939c708c (PR-230) > git config core.sparsecheckout # timeout=10 > git checkout -f 07b2f8064f6d1da8991520ef470b953c939c708c # 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 4452f94286ccb50ed2d81f13c9c71fcde235ba34 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 07b2f8064f6d1da8991520ef470b953c939c708c # timeout=10 Commit message: "feat!: updates for common config" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-14T21:11:46.535Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-14T21:11:46.713Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-14T21:11:46.811Z] ========================================================= [2023-02-14T21:11:46.811Z] EdgeX Global Pipelines Version Info [2023-02-14T21:11:46.811Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-14T21:11:47.539Z] ------------------- [2023-02-14T21:11:47.539Z] stable info: [2023-02-14T21:11:47.539Z] ------------------- [2023-02-14T21:11:47.539Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-14T21:11:47.539Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-14T21:11:47.539Z] Message: update stable to v1.0.244 [2023-02-14T21:11:48.110Z] ------------------- [2023-02-14T21:11:48.110Z] experimental info: [2023-02-14T21:11:48.110Z] ------------------- [2023-02-14T21:11:48.111Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-14T21:11:48.111Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-14T21:11:48.111Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-14T21:11:48.375Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-02-14T21:11:48.416Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-02-14T21:11:48.454Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-14T21:11:48.498Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-14T21:11:48.537Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-14T21:11:48.578Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-14T21:11:48.621Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-14T21:11:48.663Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-14T21:11:48.706Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-14T21:11:48.753Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-14T21:11:48.802Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-14T21:11:48.842Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-02-14T21:11:48.880Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-14T21:11:48.920Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-14T21:11:48.959Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-14T21:11:49.001Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-14T21:11:49.040Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-14T21:11:49.080Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-14T21:11:49.118Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-14T21:11:49.163Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-14T21:11:49.203Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-02-14T21:11:49.245Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-02-14T21:11:49.281Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-14T21:11:49.317Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-14T21:11:49.359Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-14T21:11:49.401Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-14T21:11:49.444Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-14T21:11:49.485Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-230 [Pipeline] echo [2023-02-14T21:11:49.570Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-230 [Pipeline] echo [2023-02-14T21:11:49.625Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-230 [Pipeline] echo [2023-02-14T21:11:49.667Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 07b2f8064f6d1da8991520ef470b953c939c708c [Pipeline] echo [2023-02-14T21:11:49.708Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 07b2f80 [Pipeline] echo [2023-02-14T21:11:49.751Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T21:11:49.863Z] provisioning config files... [2023-02-14T21:11:49.876Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-230@tmp/config9393120793836931080tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T21:11:50.208Z] ---> docker-login.sh [2023-02-14T21:11:50.208Z] nexus3.edgexfoundry.org:10001 [2023-02-14T21:11:50.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T21:11:50.469Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T21:11:50.469Z] Configure a credential helper to remove this warning. See [2023-02-14T21:11:50.469Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T21:11:50.469Z] [2023-02-14T21:11:50.469Z] Login Succeeded [2023-02-14T21:11:50.469Z] nexus3.edgexfoundry.org:10002 [2023-02-14T21:11:50.469Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T21:11:50.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T21:11:50.729Z] Configure a credential helper to remove this warning. See [2023-02-14T21:11:50.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T21:11:50.729Z] [2023-02-14T21:11:50.729Z] Login Succeeded [2023-02-14T21:11:50.729Z] nexus3.edgexfoundry.org:10003 [2023-02-14T21:11:50.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T21:11:50.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T21:11:50.729Z] Configure a credential helper to remove this warning. See [2023-02-14T21:11:50.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T21:11:50.729Z] [2023-02-14T21:11:50.729Z] Login Succeeded [2023-02-14T21:11:50.729Z] nexus3.edgexfoundry.org:10004 [2023-02-14T21:11:50.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T21:11:50.989Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T21:11:50.989Z] Configure a credential helper to remove this warning. See [2023-02-14T21:11:50.989Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T21:11:50.989Z] [2023-02-14T21:11:50.989Z] Login Succeeded [2023-02-14T21:11:50.989Z] docker.io [2023-02-14T21:11:50.989Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T21:11:51.249Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T21:11:51.249Z] Configure a credential helper to remove this warning. See [2023-02-14T21:11:51.249Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T21:11:51.249Z] [2023-02-14T21:11:51.249Z] Login Succeeded [2023-02-14T21:11:51.508Z] ---> docker-login.sh ends [Pipeline] } [2023-02-14T21:11:51.537Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-14T21:11:52.168Z] + git rev-list -1 --merges 07b2f8064f6d1da8991520ef470b953c939c708c~1..07b2f8064f6d1da8991520ef470b953c939c708c [Pipeline] echo [2023-02-14T21:11:52.230Z] -----------> git rev-list -1 --merges 07b2f8064f6d1da8991520ef470b953c939c708c~1..07b2f8064f6d1da8991520ef470b953c939c708c 07b2f8064f6d1da8991520ef470b953c939c708c [false] [Pipeline] sh [2023-02-14T21:11:52.539Z] + git log --format=format:%s -1 07b2f8064f6d1da8991520ef470b953c939c708c [Pipeline] echo [2023-02-14T21:11:52.570Z] ========================================================= [2023-02-14T21:11:52.570Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-14T21:11:52.570Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-14T21:11:52.987Z] + git log --format=format:%s -1 07b2f8064f6d1da8991520ef470b953c939c708c [Pipeline] echo [2023-02-14T21:11:53.018Z] [semverPrep] GIT_COMMIT: 07b2f8064f6d1da8991520ef470b953c939c708c, Commit Message: feat!: updates for common config [Pipeline] echo [2023-02-14T21:11:53.050Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-14T21:11:53.439Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-14T21:11:53.439Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-14T21:11:53.439Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-14T21:11:53.439Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-14T21:11:53.439Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-14T21:11:53.439Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-14T21:11:53.439Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T21:11:53.913Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-14T21:11:53.913Z] [2023-02-14T21:11:53.913Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T21:11:54.304Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-14T21:11:54.304Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-14T21:11:54.304Z] b85a868b505f: Pulling fs layer [2023-02-14T21:11:54.304Z] e2be974225ed: Pulling fs layer [2023-02-14T21:11:54.304Z] 339a4e72a1f5: Pulling fs layer [2023-02-14T21:11:54.304Z] 988bab9f4d93: Pulling fs layer [2023-02-14T21:11:54.304Z] 1469e6f7b9e6: Pulling fs layer [2023-02-14T21:11:54.304Z] 988bab9f4d93: Waiting [2023-02-14T21:11:54.304Z] eaf3925da568: Pulling fs layer [2023-02-14T21:11:54.304Z] bab4dde63d76: Pulling fs layer [2023-02-14T21:11:54.304Z] bde34c3a00c8: Pulling fs layer [2023-02-14T21:11:54.304Z] b352a97aabf1: Pulling fs layer [2023-02-14T21:11:54.304Z] 4872d77fe225: Pulling fs layer [2023-02-14T21:11:54.304Z] 5851b861e8e6: Pulling fs layer [2023-02-14T21:11:54.304Z] 1469e6f7b9e6: Waiting [2023-02-14T21:11:54.304Z] 4872d77fe225: Waiting [2023-02-14T21:11:54.304Z] b352a97aabf1: Waiting [2023-02-14T21:11:54.304Z] bde34c3a00c8: Waiting [2023-02-14T21:11:54.304Z] 5851b861e8e6: Waiting [2023-02-14T21:11:54.304Z] eaf3925da568: Waiting [2023-02-14T21:11:54.304Z] e2be974225ed: Verifying Checksum [2023-02-14T21:11:54.304Z] e2be974225ed: Download complete [2023-02-14T21:11:54.304Z] 988bab9f4d93: Verifying Checksum [2023-02-14T21:11:54.304Z] 988bab9f4d93: Download complete [2023-02-14T21:11:54.573Z] 339a4e72a1f5: Verifying Checksum [2023-02-14T21:11:54.573Z] 339a4e72a1f5: Download complete [2023-02-14T21:11:54.573Z] 1469e6f7b9e6: Verifying Checksum [2023-02-14T21:11:54.573Z] 1469e6f7b9e6: Download complete [2023-02-14T21:11:54.573Z] eaf3925da568: Verifying Checksum [2023-02-14T21:11:54.573Z] eaf3925da568: Download complete [2023-02-14T21:11:54.573Z] bde34c3a00c8: Verifying Checksum [2023-02-14T21:11:54.573Z] bde34c3a00c8: Download complete [2023-02-14T21:11:54.833Z] b352a97aabf1: Download complete [2023-02-14T21:11:54.833Z] 4872d77fe225: Verifying Checksum [2023-02-14T21:11:54.833Z] 4872d77fe225: Download complete [2023-02-14T21:11:54.833Z] 5851b861e8e6: Verifying Checksum [2023-02-14T21:11:54.833Z] b85a868b505f: Verifying Checksum [2023-02-14T21:11:54.833Z] b85a868b505f: Download complete [2023-02-14T21:11:55.091Z] bab4dde63d76: Verifying Checksum [2023-02-14T21:11:55.091Z] bab4dde63d76: Download complete [2023-02-14T21:11:56.027Z] b85a868b505f: Pull complete [2023-02-14T21:11:56.027Z] e2be974225ed: Pull complete [2023-02-14T21:11:56.598Z] 339a4e72a1f5: Pull complete [2023-02-14T21:11:56.598Z] 988bab9f4d93: Pull complete [2023-02-14T21:11:56.856Z] 1469e6f7b9e6: Pull complete [2023-02-14T21:11:56.856Z] eaf3925da568: Pull complete [2023-02-14T21:11:58.230Z] bab4dde63d76: Pull complete [2023-02-14T21:11:58.490Z] bde34c3a00c8: Pull complete [2023-02-14T21:11:58.490Z] b352a97aabf1: Pull complete [2023-02-14T21:11:58.490Z] 4872d77fe225: Pull complete [2023-02-14T21:11:58.751Z] 5851b861e8e6: Pull complete [2023-02-14T21:11:58.751Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-14T21:11:58.751Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-14T21:11:58.751Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T21:11:58.971Z] prd-ubuntu20.04-docker-8c-8g-5899 does not seem to be running inside a container [2023-02-14T21:11:59.003Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-230 -v /w/workspace/undry_device-onvif-camera_PR-230:/w/workspace/undry_device-onvif-camera_PR-230:rw,z -v /w/workspace/undry_device-onvif-camera_PR-230@tmp:/w/workspace/undry_device-onvif-camera_PR-230@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-14T21:12:01.012Z] $ docker top b36ee7af8060fa0c589ca555592b78a3ce5e27b1db6438a1787c911a4014690d -eo pid,comm [2023-02-14T21:12:01.066Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-02-14T21:12:01.066Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-14T21:12:01.192Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-14T21:12:01.192Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-14T21:12:01.291Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-14T21:12:01.296Z] $ docker exec b36ee7af8060fa0c589ca555592b78a3ce5e27b1db6438a1787c911a4014690d ssh-agent [2023-02-14T21:12:01.390Z] SSH_AUTH_SOCK=/tmp/ssh-SOua63Lz6nNJ/agent.33 [2023-02-14T21:12:01.390Z] SSH_AGENT_PID=39 [2023-02-14T21:12:01.395Z] Running ssh-add (command line suppressed) [2023-02-14T21:12:01.498Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-230@tmp/private_key_10066407099790342508.key (/w/workspace/undry_device-onvif-camera_PR-230@tmp/private_key_10066407099790342508.key) [2023-02-14T21:12:01.509Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-14T21:12:01.843Z] + git tag --points-at HEAD [Pipeline] } [2023-02-14T21:12:01.870Z] $ docker exec --env ******** --env ******** b36ee7af8060fa0c589ca555592b78a3ce5e27b1db6438a1787c911a4014690d ssh-agent -k [2023-02-14T21:12:01.972Z] unset SSH_AUTH_SOCK; [2023-02-14T21:12:01.972Z] unset SSH_AGENT_PID; [2023-02-14T21:12:01.972Z] echo Agent pid 39 killed; [2023-02-14T21:12:01.978Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-14T21:12:02.061Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-14T21:12:02.061Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-14T21:12:02.167Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-14T21:12:02.172Z] $ docker exec b36ee7af8060fa0c589ca555592b78a3ce5e27b1db6438a1787c911a4014690d ssh-agent [2023-02-14T21:12:02.270Z] SSH_AUTH_SOCK=/tmp/ssh-EpmbXxp2ay28/agent.71 [2023-02-14T21:12:02.270Z] SSH_AGENT_PID=77 [2023-02-14T21:12:02.274Z] Running ssh-add (command line suppressed) [2023-02-14T21:12:02.368Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-230@tmp/private_key_18094215129827741786.key (/w/workspace/undry_device-onvif-camera_PR-230@tmp/private_key_18094215129827741786.key) [2023-02-14T21:12:02.379Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-14T21:12:02.705Z] + git semver init [2023-02-14T21:12:02.965Z] 2023-02-14 21:12:02,864 [run_init] DEBUG init version:0.0.0 force:False [2023-02-14T21:12:02.965Z] 2023-02-14 21:12:02,865 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-230/.semver [2023-02-14T21:12:02.965Z] 2023-02-14 21:12:02,865 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-230/.semver [2023-02-14T21:12:02.965Z] 2023-02-14 21:12:02,865 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-230/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-230, universal_newlines=False, shell=None, istream=None) [2023-02-14T21:12:04.344Z] 2023-02-14 21:12:03,912 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-230/.git/info/exclude [2023-02-14T21:12:04.344Z] 2023-02-14 21:12:03,913 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-230/.semver/PR-230 with force:False [2023-02-14T21:12:04.344Z] 2023-02-14 21:12:03,913 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-230/.semver/PR-230 [2023-02-14T21:12:04.344Z] 2023-02-14 21:12:03,917 [execute] INFO git cat-file --batch-check [2023-02-14T21:12:04.344Z] 2023-02-14 21:12:03,918 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-230/.semver, universal_newlines=False, shell=None, istream=) [2023-02-14T21:12:04.344Z] 2023-02-14 21:12:03,924 [execute] INFO git cat-file --batch [2023-02-14T21:12:04.344Z] 2023-02-14 21:12:03,925 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-230/.semver, universal_newlines=False, shell=None, istream=) [2023-02-14T21:12:04.344Z] 2023-02-14 21:12:03,930 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-230/.semver/PR-230 [2023-02-14T21:12:04.344Z] 0.0.0 [Pipeline] } [2023-02-14T21:12:04.376Z] $ docker exec --env ******** --env ******** b36ee7af8060fa0c589ca555592b78a3ce5e27b1db6438a1787c911a4014690d ssh-agent -k [2023-02-14T21:12:04.464Z] unset SSH_AUTH_SOCK; [2023-02-14T21:12:04.464Z] unset SSH_AGENT_PID; [2023-02-14T21:12:04.465Z] echo Agent pid 77 killed; [2023-02-14T21:12:04.472Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-14T21:12:04.912Z] + git semver [Pipeline] } [2023-02-14T21:12:05.194Z] $ docker stop --time=1 b36ee7af8060fa0c589ca555592b78a3ce5e27b1db6438a1787c911a4014690d [2023-02-14T21:12:06.501Z] $ docker rm -f --volumes b36ee7af8060fa0c589ca555592b78a3ce5e27b1db6438a1787c911a4014690d [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-14T21:12:06.897Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-14T21:12:07.136Z] Stashed 1 file(s) [Pipeline] echo [2023-02-14T21:12:07.153Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T21:12:07.723Z] provisioning config files... [2023-02-14T21:12:07.732Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-230@tmp/config15445548928444944253tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T21:12:08.128Z] ---> docker-login.sh [2023-02-14T21:12:08.128Z] nexus3.edgexfoundry.org:10001 [2023-02-14T21:12:08.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T21:12:08.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T21:12:08.128Z] Configure a credential helper to remove this warning. See [2023-02-14T21:12:08.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T21:12:08.128Z] [2023-02-14T21:12:08.128Z] Login Succeeded [2023-02-14T21:12:08.128Z] nexus3.edgexfoundry.org:10002 [2023-02-14T21:12:08.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T21:12:08.128Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T21:12:08.128Z] Configure a credential helper to remove this warning. See [2023-02-14T21:12:08.128Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T21:12:08.128Z] [2023-02-14T21:12:08.128Z] Login Succeeded [2023-02-14T21:12:08.128Z] nexus3.edgexfoundry.org:10003 [2023-02-14T21:12:08.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T21:12:08.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T21:12:08.387Z] Configure a credential helper to remove this warning. See [2023-02-14T21:12:08.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T21:12:08.387Z] [2023-02-14T21:12:08.387Z] Login Succeeded [2023-02-14T21:12:08.387Z] nexus3.edgexfoundry.org:10004 [2023-02-14T21:12:08.387Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T21:12:08.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T21:12:08.387Z] Configure a credential helper to remove this warning. See [2023-02-14T21:12:08.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T21:12:08.387Z] [2023-02-14T21:12:08.387Z] Login Succeeded [2023-02-14T21:12:08.387Z] docker.io [2023-02-14T21:12:08.646Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T21:12:08.646Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T21:12:08.646Z] Configure a credential helper to remove this warning. See [2023-02-14T21:12:08.646Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T21:12:08.646Z] [2023-02-14T21:12:08.646Z] Login Succeeded [2023-02-14T21:12:08.646Z] ---> docker-login.sh ends [Pipeline] } [2023-02-14T21:12:08.673Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-14T21:12:08.871Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T21:12:08.905Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T21:12:08.937Z] ========================================================= [2023-02-14T21:12:08.937Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-14T21:12:08.937Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T21:12:09.401Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-14T21:12:09.401Z] Sending build context to Docker daemon 27.72MB [2023-02-14T21:12:09.401Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T21:12:09.401Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-14T21:12:09.662Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-14T21:12:09.662Z] 213ec9aee27d: Pulling fs layer [2023-02-14T21:12:09.662Z] 4583459ba037: Pulling fs layer [2023-02-14T21:12:09.662Z] 93c1e223e6f2: Pulling fs layer [2023-02-14T21:12:09.662Z] 53926ce57604: Pulling fs layer [2023-02-14T21:12:09.662Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-14T21:12:09.662Z] 22ff95d597cd: Pulling fs layer [2023-02-14T21:12:09.662Z] 12d6caf4c0d1: Pulling fs layer [2023-02-14T21:12:09.662Z] 96b7cbca73a9: Pulling fs layer [2023-02-14T21:12:09.662Z] a7acece74701: Pulling fs layer [2023-02-14T21:12:09.662Z] 53926ce57604: Waiting [2023-02-14T21:12:09.662Z] 12d6caf4c0d1: Waiting [2023-02-14T21:12:09.662Z] 96b7cbca73a9: Waiting [2023-02-14T21:12:09.662Z] a7acece74701: Waiting [2023-02-14T21:12:09.662Z] 21b2b0c7a3f4: Waiting [2023-02-14T21:12:09.662Z] 22ff95d597cd: Waiting [2023-02-14T21:12:09.662Z] 93c1e223e6f2: Verifying Checksum [2023-02-14T21:12:09.662Z] 93c1e223e6f2: Download complete [2023-02-14T21:12:09.662Z] 4583459ba037: Verifying Checksum [2023-02-14T21:12:09.662Z] 4583459ba037: Download complete [2023-02-14T21:12:09.662Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-14T21:12:09.662Z] 21b2b0c7a3f4: Download complete [2023-02-14T21:12:09.662Z] 22ff95d597cd: Verifying Checksum [2023-02-14T21:12:09.662Z] 213ec9aee27d: Verifying Checksum [2023-02-14T21:12:09.662Z] 213ec9aee27d: Download complete [2023-02-14T21:12:09.662Z] 12d6caf4c0d1: Verifying Checksum [2023-02-14T21:12:09.662Z] 12d6caf4c0d1: Download complete [2023-02-14T21:12:09.935Z] 213ec9aee27d: Pull complete [2023-02-14T21:12:09.935Z] 4583459ba037: Pull complete [2023-02-14T21:12:09.935Z] 93c1e223e6f2: Pull complete [2023-02-14T21:12:10.934Z] 96b7cbca73a9: Verifying Checksum [2023-02-14T21:12:10.934Z] 96b7cbca73a9: Download complete [2023-02-14T21:12:10.934Z] 53926ce57604: Verifying Checksum [2023-02-14T21:12:10.934Z] 53926ce57604: Download complete [2023-02-14T21:12:11.194Z] a7acece74701: Verifying Checksum [2023-02-14T21:12:11.194Z] a7acece74701: Download complete [2023-02-14T21:12:14.473Z] 53926ce57604: Pull complete [2023-02-14T21:12:14.473Z] 21b2b0c7a3f4: Pull complete [2023-02-14T21:12:14.473Z] 22ff95d597cd: Pull complete [2023-02-14T21:12:14.473Z] 12d6caf4c0d1: Pull complete [2023-02-14T21:12:16.370Z] 96b7cbca73a9: Pull complete [2023-02-14T21:12:17.305Z] a7acece74701: Pull complete [2023-02-14T21:12:17.305Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-14T21:12:17.305Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-14T21:12:17.305Z] ---> db6d94c90886 [2023-02-14T21:12:17.305Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-14T21:12:22.551Z] Still waiting to schedule task [2023-02-14T21:12:22.552Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-14T21:12:22.750Z] ---> Running in 881229e0733e [2023-02-14T21:12:22.750Z] Removing intermediate container 881229e0733e [2023-02-14T21:12:22.750Z] ---> f6fcd60a19ca [2023-02-14T21:12:22.750Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-14T21:12:22.750Z] ---> Running in 1124a4295e7b [2023-02-14T21:12:22.750Z] Removing intermediate container 1124a4295e7b [2023-02-14T21:12:22.750Z] ---> 98fcc6e823bf [2023-02-14T21:12:22.750Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-02-14T21:12:22.750Z] ---> Running in da22cf841ab4 [2023-02-14T21:12:22.750Z] Removing intermediate container da22cf841ab4 [2023-02-14T21:12:22.750Z] ---> 667678fe48f4 [2023-02-14T21:12:22.750Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-02-14T21:12:22.750Z] ---> Running in 4734d2af5967 [2023-02-14T21:12:22.750Z] Removing intermediate container 4734d2af5967 [2023-02-14T21:12:22.750Z] ---> 2b1d65276303 [2023-02-14T21:12:22.750Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-02-14T21:12:22.750Z] ---> Running in 3defcf948133 [2023-02-14T21:12:22.750Z] Removing intermediate container 3defcf948133 [2023-02-14T21:12:22.750Z] ---> e355afd62b67 [2023-02-14T21:12:22.750Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-14T21:12:22.750Z] ---> Running in 14b8990c674a [2023-02-14T21:12:22.750Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-14T21:12:23.010Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-14T21:12:23.578Z] OK: 211 MiB in 51 packages [2023-02-14T21:12:23.835Z] Removing intermediate container 14b8990c674a [2023-02-14T21:12:23.835Z] ---> 44271cf1a337 [2023-02-14T21:12:23.835Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-02-14T21:12:23.835Z] ---> Running in 74e7e75607b1 [2023-02-14T21:12:23.835Z] Removing intermediate container 74e7e75607b1 [2023-02-14T21:12:23.835Z] ---> 99bacef4e13d [2023-02-14T21:12:23.835Z] Step 10/13 : COPY go.mod vendor* ./ [2023-02-14T21:12:23.835Z] ---> 4e5fd95d036d [2023-02-14T21:12:23.835Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T21:12:23.835Z] ---> Running in 214dfe5ae655 [2023-02-14T21:13:02.554Z] Removing intermediate container 214dfe5ae655 [2023-02-14T21:13:02.554Z] ---> 89cc4f3626e0 [2023-02-14T21:13:02.554Z] Step 12/13 : COPY . . [2023-02-14T21:13:02.554Z] ---> b20c4dfb0ef3 [2023-02-14T21:13:02.554Z] Step 13/13 : RUN ${MAKE} [2023-02-14T21:13:02.554Z] ---> Running in 4579071f20a3 [2023-02-14T21:13:02.554Z] noop [2023-02-14T21:13:02.554Z] Removing intermediate container 4579071f20a3 [2023-02-14T21:13:02.554Z] ---> 5a4d9cbdec40 [2023-02-14T21:13:02.554Z] Successfully built 5a4d9cbdec40 [2023-02-14T21:13:02.554Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T21:13:03.012Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-14T21:13:03.012Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T21:13:03.157Z] prd-ubuntu20.04-docker-8c-8g-5899 does not seem to be running inside a container [2023-02-14T21:13:03.183Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-230 -v /w/workspace/undry_device-onvif-camera_PR-230:/w/workspace/undry_device-onvif-camera_PR-230:rw,z -v /w/workspace/undry_device-onvif-camera_PR-230@tmp:/w/workspace/undry_device-onvif-camera_PR-230@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-14T21:13:03.552Z] $ docker top 1f975b34b1eb56783d4fb121de03922c1410b641497c1e1147cc74700ddd947a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T21:13:03.933Z] + go version [2023-02-14T21:13:03.933Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-14T21:13:03.965Z] $ docker stop --time=1 1f975b34b1eb56783d4fb121de03922c1410b641497c1e1147cc74700ddd947a [2023-02-14T21:13:05.233Z] $ docker rm -f --volumes 1f975b34b1eb56783d4fb121de03922c1410b641497c1e1147cc74700ddd947a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T21:13:05.947Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-14T21:13:05.948Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T21:13:06.101Z] prd-ubuntu20.04-docker-8c-8g-5899 does not seem to be running inside a container [2023-02-14T21:13:06.128Z] $ 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-230 -v /w/workspace/undry_device-onvif-camera_PR-230:/w/workspace/undry_device-onvif-camera_PR-230:rw,z -v /w/workspace/undry_device-onvif-camera_PR-230@tmp:/w/workspace/undry_device-onvif-camera_PR-230@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-14T21:13:06.469Z] $ docker top 82dbe01140980119d439975d352bb68ae9bb509f75cd46b41d7f52a7afd33591 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T21:13:06.851Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-230 [Pipeline] fileExists [Pipeline] sh [2023-02-14T21:13:07.202Z] + make test [2023-02-14T21:13:07.202Z] go test ./... -coverprofile=coverage.out ./... [2023-02-14T21:13:07.460Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-02-14T21:13:17.425Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-02-14T21:13:19.963Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.033s coverage: 29.3% of statements [2023-02-14T21:13:19.963Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-02-14T21:13:19.963Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.296s coverage: 86.5% of statements [2023-02-14T21:13:26.518Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-14T21:13:26.518Z] go vet ./... [2023-02-14T21:13:30.702Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-14T21:13:30.702Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-14T21:13:30.702Z] ./bin/test-attribution-txt.sh [2023-02-14T21:13:30.702Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-14T21:13:30.702Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-14T21:13:30.747Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-14T21:13:30.776Z] $ docker stop --time=1 82dbe01140980119d439975d352bb68ae9bb509f75cd46b41d7f52a7afd33591 [2023-02-14T21:13:33.154Z] $ docker rm -f --volumes 82dbe01140980119d439975d352bb68ae9bb509f75cd46b41d7f52a7afd33591 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-14T21:13:33.657Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-14T21:13:33.736Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-14T21:13:34.419Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-14T21:13:34.733Z] + ls -al . [2023-02-14T21:13:34.733Z] total 236 [2023-02-14T21:13:34.733Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 14 21:13 . [2023-02-14T21:13:34.733Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 21:11 .. [2023-02-14T21:13:34.733Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 21:13 .git [2023-02-14T21:13:34.733Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 21:11 .github [2023-02-14T21:13:34.733Z] -rw-rw-r-- 1 jenkins jenkins 496 Feb 14 21:11 .gitignore [2023-02-14T21:13:34.733Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 14 21:11 .golangci.yml [2023-02-14T21:13:34.733Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 21:12 .semver [2023-02-14T21:13:34.733Z] -rw-rw-r-- 1 jenkins jenkins 9638 Feb 14 21:11 Attribution.txt [2023-02-14T21:13:34.733Z] -rw-rw-r-- 1 jenkins jenkins 6312 Feb 14 21:11 CHANGELOG.md [2023-02-14T21:13:34.733Z] -rw-rw-r-- 1 jenkins jenkins 1574 Feb 14 21:11 Dockerfile [2023-02-14T21:13:34.733Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 21:11 GOVERNANCE.md [2023-02-14T21:13:34.733Z] -rw-rw-r-- 1 jenkins jenkins 734 Feb 14 21:11 Jenkinsfile [2023-02-14T21:13:34.733Z] -rw-rw-r-- 1 jenkins jenkins 11348 Feb 14 21:11 LICENSE [2023-02-14T21:13:34.733Z] -rw-rw-r-- 1 jenkins jenkins 2577 Feb 14 21:11 Makefile [2023-02-14T21:13:34.733Z] -rw-rw-r-- 1 jenkins jenkins 625 Feb 14 21:11 OWNERS.md [2023-02-14T21:13:34.733Z] -rw-rw-r-- 1 jenkins jenkins 6595 Feb 14 21:11 README.md [2023-02-14T21:13:34.733Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 14 21:12 VERSION [2023-02-14T21:13:34.733Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 21:11 bin [2023-02-14T21:13:34.733Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 21:11 cmd [2023-02-14T21:13:34.733Z] -rw-r--r-- 1 jenkins jenkins 79184 Feb 14 21:13 coverage.out [2023-02-14T21:13:34.733Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 14 21:11 doc [2023-02-14T21:13:34.733Z] -rw-rw-r-- 1 jenkins jenkins 3600 Feb 14 21:11 go.mod [2023-02-14T21:13:34.733Z] -rw-rw-r-- 1 jenkins jenkins 34701 Feb 14 21:11 go.sum [2023-02-14T21:13:34.733Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 21:11 internal [2023-02-14T21:13:34.733Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 21:11 snap [2023-02-14T21:13:34.733Z] -rw-rw-r-- 1 jenkins jenkins 236 Feb 14 21:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T21:13:35.125Z] + 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=07b2f8064f6d1da8991520ef470b953c939c708c --label arch=amd64 --label version=0.0.0 . [2023-02-14T21:13:35.125Z] Sending build context to Docker daemon 27.8MB [2023-02-14T21:13:35.125Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T21:13:35.125Z] Step 2/26 : FROM ${BASE} AS builder [2023-02-14T21:13:35.125Z] ---> 5a4d9cbdec40 [2023-02-14T21:13:35.125Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-02-14T21:13:35.691Z] ---> Running in 5f034429ddf5 [2023-02-14T21:13:35.691Z] Removing intermediate container 5f034429ddf5 [2023-02-14T21:13:35.691Z] ---> 8c6f93cfe271 [2023-02-14T21:13:35.691Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-14T21:13:35.691Z] ---> Running in 69e38ffc08bf [2023-02-14T21:13:35.691Z] Removing intermediate container 69e38ffc08bf [2023-02-14T21:13:35.691Z] ---> 6528b3083565 [2023-02-14T21:13:35.691Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-02-14T21:13:35.691Z] ---> Running in 8dcdbb24512d [2023-02-14T21:13:35.691Z] Removing intermediate container 8dcdbb24512d [2023-02-14T21:13:35.691Z] ---> fa01c301b636 [2023-02-14T21:13:35.691Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-02-14T21:13:35.950Z] ---> Running in c019ab27854f [2023-02-14T21:13:35.950Z] Removing intermediate container c019ab27854f [2023-02-14T21:13:35.950Z] ---> fe7b407a61f2 [2023-02-14T21:13:35.950Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-02-14T21:13:35.950Z] ---> Running in dd850ffc80d6 [2023-02-14T21:13:35.950Z] Removing intermediate container dd850ffc80d6 [2023-02-14T21:13:35.950Z] ---> 32a017946969 [2023-02-14T21:13:35.950Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-14T21:13:35.950Z] ---> Running in c2ef0f0c4bef [2023-02-14T21:13:36.207Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-14T21:13:36.466Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-14T21:13:36.742Z] OK: 211 MiB in 51 packages [2023-02-14T21:13:37.001Z] Removing intermediate container c2ef0f0c4bef [2023-02-14T21:13:37.001Z] ---> 606b5d91026e [2023-02-14T21:13:37.001Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-02-14T21:13:37.001Z] ---> Running in bacbe18b1a27 [2023-02-14T21:13:37.001Z] Removing intermediate container bacbe18b1a27 [2023-02-14T21:13:37.001Z] ---> 3541c020e838 [2023-02-14T21:13:37.001Z] Step 10/26 : COPY go.mod vendor* ./ [2023-02-14T21:13:37.259Z] ---> 7b5d2e09673b [2023-02-14T21:13:37.259Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T21:13:37.259Z] ---> Running in d7cbb0162eae [2023-02-14T21:13:38.194Z] Removing intermediate container d7cbb0162eae [2023-02-14T21:13:38.194Z] ---> cd6dfa035f5a [2023-02-14T21:13:38.194Z] Step 12/26 : COPY . . [2023-02-14T21:13:39.130Z] ---> 25b14d12c118 [2023-02-14T21:13:39.130Z] Step 13/26 : RUN ${MAKE} [2023-02-14T21:13:39.130Z] ---> Running in b7bbd0e96f05 [2023-02-14T21:13:39.130Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-02-14T21:13:54.317Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5900 in /w/workspace/undry_device-onvif-camera_PR-230 [Pipeline] { [Pipeline] ws [2023-02-14T21:13:54.382Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-02-14T21:13:54.455Z] The recommended git tool is: git [2023-02-14T21:13:59.288Z] using credential edgex-jenkins-ssh [2023-02-14T21:13:59.306Z] Cloning the remote Git repository [2023-02-14T21:13:59.340Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-14T21:13:59.409Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-02-14T21:13:59.555Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-14T21:13:59.556Z] > git --version # timeout=10 [2023-02-14T21:13:59.577Z] > git --version # 'git version 2.25.1' [2023-02-14T21:13:59.579Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-14T21:13:59.631Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-14T21:14:01.077Z] Removing intermediate container b7bbd0e96f05 [2023-02-14T21:14:01.077Z] ---> ef6147037c83 [2023-02-14T21:14:01.077Z] Step 14/26 : FROM alpine:3.16 [2023-02-14T21:14:01.077Z] 3.16: Pulling from library/alpine [2023-02-14T21:14:01.077Z] ef5531b6e74e: Pulling fs layer [2023-02-14T21:14:01.077Z] ef5531b6e74e: Verifying Checksum [2023-02-14T21:14:01.077Z] ef5531b6e74e: Download complete [2023-02-14T21:14:01.077Z] ef5531b6e74e: Pull complete [2023-02-14T21:14:01.077Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-14T21:14:01.077Z] Status: Downloaded newer image for alpine:3.16 [2023-02-14T21:14:01.077Z] ---> dfd21b5a31f5 [2023-02-14T21:14:01.077Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-02-14T21:14:01.077Z] ---> Running in decc9aad1db0 [2023-02-14T21:14:01.077Z] Removing intermediate container decc9aad1db0 [2023-02-14T21:14:01.077Z] ---> 1f7b515b5ed0 [2023-02-14T21:14:01.077Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-02-14T21:14:01.077Z] ---> Running in ba813bd90422 [2023-02-14T21:14:01.077Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-14T21:14:01.077Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-14T21:14:01.077Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-14T21:14:01.077Z] Executing busybox-1.35.0-r17.trigger [2023-02-14T21:14:01.077Z] OK: 6 MiB in 15 packages [2023-02-14T21:14:01.077Z] Removing intermediate container ba813bd90422 [2023-02-14T21:14:01.077Z] ---> 0077669f8b8e [2023-02-14T21:14:01.077Z] Step 17/26 : WORKDIR / [2023-02-14T21:14:01.077Z] ---> Running in 63efdcedf5f0 [2023-02-14T21:14:01.077Z] Removing intermediate container 63efdcedf5f0 [2023-02-14T21:14:01.077Z] ---> a32d73432ec9 [2023-02-14T21:14:01.077Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-02-14T21:14:01.077Z] ---> 1de5abc80d8c [2023-02-14T21:14:01.077Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-02-14T21:14:01.077Z] ---> 4301d71dac09 [2023-02-14T21:14:01.077Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-02-14T21:14:01.077Z] ---> 933fb2560563 [2023-02-14T21:14:01.077Z] Step 21/26 : EXPOSE 59984 [2023-02-14T21:14:01.077Z] ---> Running in 0fde4724ec3b [2023-02-14T21:14:01.077Z] Removing intermediate container 0fde4724ec3b [2023-02-14T21:14:01.077Z] ---> 9f2fa63d104b [2023-02-14T21:14:01.077Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-02-14T21:14:01.077Z] ---> Running in 97c2e0a1b703 [2023-02-14T21:14:01.077Z] Removing intermediate container 97c2e0a1b703 [2023-02-14T21:14:01.077Z] ---> 489c7bd4cfe4 [2023-02-14T21:14:01.077Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-14T21:14:01.077Z] ---> Running in 8193b1dee0c7 [2023-02-14T21:14:01.077Z] Removing intermediate container 8193b1dee0c7 [2023-02-14T21:14:01.077Z] ---> 5a3140ba310f [2023-02-14T21:14:01.077Z] Step 24/26 : LABEL arch=amd64 [2023-02-14T21:14:01.077Z] ---> Running in e8f4e20fc8de [2023-02-14T21:14:01.077Z] Removing intermediate container e8f4e20fc8de [2023-02-14T21:14:01.077Z] ---> ab2421c18142 [2023-02-14T21:14:01.077Z] Step 25/26 : LABEL git_sha=07b2f8064f6d1da8991520ef470b953c939c708c [2023-02-14T21:14:01.337Z] ---> Running in 1599b2111f5f [2023-02-14T21:14:01.337Z] Removing intermediate container 1599b2111f5f [2023-02-14T21:14:01.337Z] ---> bb5d2a9b3df1 [2023-02-14T21:14:01.337Z] Step 26/26 : LABEL version=0.0.0 [2023-02-14T21:14:01.337Z] ---> Running in c0f5f064d32a [2023-02-14T21:14:01.337Z] Removing intermediate container c0f5f064d32a [2023-02-14T21:14:01.337Z] ---> dcf80f7972e8 [2023-02-14T21:14:01.337Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-14T21:14:01.337Z] Successfully built dcf80f7972e8 [2023-02-14T21:14:01.337Z] 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] } [2023-02-14T21:14:00.993Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-02-14T21:14:01.017Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T21:14:02.250Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T21:14:02.250Z] [2023-02-14T21:14:02.250Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T21:14:02.638Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T21:14:02.638Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-14T21:14:02.638Z] 5eb5b503b376: Pulling fs layer [2023-02-14T21:14:02.638Z] 5c69ac0246d0: Pulling fs layer [2023-02-14T21:14:02.638Z] ec43610c2a17: Pulling fs layer [2023-02-14T21:14:02.638Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-14T21:14:02.638Z] 33b1e0a273af: Pulling fs layer [2023-02-14T21:14:02.638Z] 5d3b04190fa2: Pulling fs layer [2023-02-14T21:14:02.638Z] 2f39f015ded8: Pulling fs layer [2023-02-14T21:14:02.638Z] 5d3b04190fa2: Waiting [2023-02-14T21:14:02.638Z] 2f39f015ded8: Waiting [2023-02-14T21:14:02.638Z] 3a2ae6a8a46f: Waiting [2023-02-14T21:14:02.638Z] 33b1e0a273af: Waiting [2023-02-14T21:14:02.638Z] 5c69ac0246d0: Download complete [2023-02-14T21:14:02.649Z] Merging remotes/origin/main commit 4452f94286ccb50ed2d81f13c9c71fcde235ba34 into PR head commit 07b2f8064f6d1da8991520ef470b953c939c708c [2023-02-14T21:14:03.053Z] Merge succeeded, producing 07b2f8064f6d1da8991520ef470b953c939c708c [2023-02-14T21:14:03.054Z] Checking out Revision 07b2f8064f6d1da8991520ef470b953c939c708c (PR-230) [2023-02-14T21:14:01.880Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-02-14T21:14:01.917Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-02-14T21:14:01.918Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-14T21:14:01.932Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/230/head:refs/remotes/origin/PR-230 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-02-14T21:14:02.661Z] > git config core.sparsecheckout # timeout=10 [2023-02-14T21:14:02.680Z] > git checkout -f 07b2f8064f6d1da8991520ef470b953c939c708c # timeout=10 [2023-02-14T21:14:02.955Z] > git remote # timeout=10 [2023-02-14T21:14:02.973Z] > git config --get remote.origin.url # timeout=10 [2023-02-14T21:14:02.986Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-14T21:14:02.998Z] > git merge 4452f94286ccb50ed2d81f13c9c71fcde235ba34 # timeout=10 [2023-02-14T21:14:03.020Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-02-14T21:14:03.053Z] > git config core.sparsecheckout # timeout=10 [2023-02-14T21:14:03.064Z] > git checkout -f 07b2f8064f6d1da8991520ef470b953c939c708c # timeout=10 [2023-02-14T21:14:03.579Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-14T21:14:03.579Z] 3a2ae6a8a46f: Download complete [2023-02-14T21:14:03.841Z] ec43610c2a17: Verifying Checksum [2023-02-14T21:14:03.841Z] ec43610c2a17: Download complete [2023-02-14T21:14:03.841Z] 5d3b04190fa2: Verifying Checksum [2023-02-14T21:14:03.841Z] 5d3b04190fa2: Download complete [2023-02-14T21:14:03.841Z] 33b1e0a273af: Verifying Checksum [2023-02-14T21:14:03.841Z] 33b1e0a273af: Download complete [2023-02-14T21:14:03.841Z] 5eb5b503b376: Verifying Checksum [2023-02-14T21:14:03.841Z] 5eb5b503b376: Download complete [2023-02-14T21:14:04.807Z] 2f39f015ded8: Download complete [2023-02-14T21:14:05.067Z] 5eb5b503b376: Pull complete [2023-02-14T21:14:05.067Z] 5c69ac0246d0: Pull complete [2023-02-14T21:14:05.632Z] ec43610c2a17: Pull complete [2023-02-14T21:14:05.632Z] 3a2ae6a8a46f: Pull complete [2023-02-14T21:14:05.891Z] 33b1e0a273af: Pull complete [2023-02-14T21:14:05.891Z] 5d3b04190fa2: Pull complete [2023-02-14T21:14:06.914Z] Commit message: "feat!: updates for common config" [2023-02-14T21:14:06.953Z] > git --version # timeout=10 [2023-02-14T21:14:06.963Z] > git --version # 'git version 2.25.1' [2023-02-14T21:14:06.972Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-14T21:14:07.597Z] [2023-02-14T21:14:07.597Z] GitHub has been notified of this commit’s build result [2023-02-14T21:14:07.597Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-14T21:14:08.294Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-14T21:14:08.294Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-14T21:14:08.294Z] Dload Upload Total Spent Left Speed [2023-02-14T21:14:08.294Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 85006 0 --:--:-- --:--:-- --:--:-- 85006 [Pipeline] sh [2023-02-14T21:14:09.007Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-14T21:14:09.347Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-14T21:14:09.347Z] + sudo tee /etc/docker/daemon.new [2023-02-14T21:14:09.347Z] { [2023-02-14T21:14:09.347Z] "registry-mirrors": [ [2023-02-14T21:14:09.347Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-14T21:14:09.347Z] ], [2023-02-14T21:14:09.347Z] "bip": "10.250.0.254/24", [2023-02-14T21:14:09.347Z] "hosts": [ [2023-02-14T21:14:09.347Z] "tcp://0.0.0.0:5555", [2023-02-14T21:14:09.347Z] "unix:///var/run/docker.sock" [2023-02-14T21:14:09.347Z] ], [2023-02-14T21:14:09.347Z] "mtu": 1458, [2023-02-14T21:14:09.347Z] "selinux-enabled": true, [2023-02-14T21:14:09.347Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-14T21:14:09.347Z] } [Pipeline] sh [2023-02-14T21:14:09.689Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-14T21:14:10.035Z] + sudo service docker restart [2023-02-14T21:14:10.082Z] 2f39f015ded8: Pull complete [2023-02-14T21:14:10.082Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-14T21:14:10.082Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T21:14:10.082Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T21:14:10.312Z] prd-ubuntu20.04-docker-8c-8g-5899 does not seem to be running inside a container [2023-02-14T21:14:10.343Z] $ 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-230 -v /w/workspace/undry_device-onvif-camera_PR-230:/w/workspace/undry_device-onvif-camera_PR-230:rw,z -v /w/workspace/undry_device-onvif-camera_PR-230@tmp:/w/workspace/undry_device-onvif-camera_PR-230@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-02-14T21:14:12.678Z] $ docker top a1e1284f05eea8329ae2e94a64c45cbae34e5c7c5c1e866fb9ed044c89ff9a3a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T21:14:13.133Z] ---> job-cost.sh [2023-02-14T21:14:13.133Z] lf-activate-venv: SKIPPING [2023-02-14T21:14:13.133Z] INFO: No Stack... [2023-02-14T21:14:13.701Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-14T21:14:13.961Z] INFO: Archiving Costs [Pipeline] sh [2023-02-14T21:14:14.285Z] + + cut -d, -f6 [2023-02-14T21:14:14.285Z] cat /w/workspace/undry_device-onvif-camera_PR-230/archives/cost.csv [Pipeline] lock [2023-02-14T21:14:14.326Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-230-1-stack-cost] [2023-02-14T21:14:14.331Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-230-1-stack-cost] did not exist. Created. [2023-02-14T21:14:14.331Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-230-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-14T21:14:14.719Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-14T21:14:14.772Z] Stashed 1 file(s) [Pipeline] } [2023-02-14T21:14:14.804Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-230-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-14T21:14:14.891Z] $ docker stop --time=1 a1e1284f05eea8329ae2e94a64c45cbae34e5c7c5c1e866fb9ed044c89ff9a3a [2023-02-14T21:14:16.042Z] $ docker rm -f --volumes a1e1284f05eea8329ae2e94a64c45cbae34e5c7c5c1e866fb9ed044c89ff9a3a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T21:14:28.366Z] provisioning config files... [2023-02-14T21:14:28.394Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config15003464682836779454tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T21:14:28.782Z] ---> docker-login.sh [2023-02-14T21:14:28.782Z] nexus3.edgexfoundry.org:10001 [2023-02-14T21:14:29.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T21:14:29.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T21:14:29.327Z] Configure a credential helper to remove this warning. See [2023-02-14T21:14:29.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T21:14:29.327Z] [2023-02-14T21:14:29.327Z] Login Succeeded [2023-02-14T21:14:29.327Z] nexus3.edgexfoundry.org:10002 [2023-02-14T21:14:29.598Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T21:14:29.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T21:14:29.866Z] Configure a credential helper to remove this warning. See [2023-02-14T21:14:29.866Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T21:14:29.866Z] [2023-02-14T21:14:29.866Z] Login Succeeded [2023-02-14T21:14:29.866Z] nexus3.edgexfoundry.org:10003 [2023-02-14T21:14:30.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T21:14:30.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T21:14:30.136Z] Configure a credential helper to remove this warning. See [2023-02-14T21:14:30.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T21:14:30.136Z] [2023-02-14T21:14:30.136Z] Login Succeeded [2023-02-14T21:14:30.136Z] nexus3.edgexfoundry.org:10004 [2023-02-14T21:14:30.413Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T21:14:30.413Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T21:14:30.413Z] Configure a credential helper to remove this warning. See [2023-02-14T21:14:30.413Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T21:14:30.413Z] [2023-02-14T21:14:30.413Z] Login Succeeded [2023-02-14T21:14:30.413Z] docker.io [2023-02-14T21:14:30.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-14T21:14:30.948Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-14T21:14:30.948Z] Configure a credential helper to remove this warning. See [2023-02-14T21:14:30.948Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-14T21:14:30.948Z] [2023-02-14T21:14:30.948Z] Login Succeeded [2023-02-14T21:14:31.216Z] ---> docker-login.sh ends [Pipeline] } [2023-02-14T21:14:31.246Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-14T21:14:31.611Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T21:14:31.651Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-14T21:14:31.687Z] ========================================================= [2023-02-14T21:14:31.687Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-14T21:14:31.687Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T21:14:32.212Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-14T21:14:32.798Z] Sending build context to Docker daemon 20.56MB [2023-02-14T21:14:32.798Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T21:14:32.798Z] Step 2/13 : FROM ${BASE} AS builder [2023-02-14T21:14:32.798Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-14T21:14:32.798Z] 9b18e9b68314: Pulling fs layer [2023-02-14T21:14:32.798Z] 35d82f9e3411: Pulling fs layer [2023-02-14T21:14:32.798Z] e16973657156: Pulling fs layer [2023-02-14T21:14:32.798Z] fc693d55d65f: Pulling fs layer [2023-02-14T21:14:32.798Z] 7e9fc2657dce: Pulling fs layer [2023-02-14T21:14:32.798Z] dda99020689f: Pulling fs layer [2023-02-14T21:14:32.798Z] db1c61fa0a46: Pulling fs layer [2023-02-14T21:14:32.798Z] 891c053d2c06: Pulling fs layer [2023-02-14T21:14:32.798Z] fc693d55d65f: Waiting [2023-02-14T21:14:32.798Z] 7e9fc2657dce: Waiting [2023-02-14T21:14:32.798Z] db1c61fa0a46: Waiting [2023-02-14T21:14:32.798Z] 891c053d2c06: Waiting [2023-02-14T21:14:32.798Z] dda99020689f: Waiting [2023-02-14T21:14:33.069Z] e16973657156: Verifying Checksum [2023-02-14T21:14:33.069Z] e16973657156: Download complete [2023-02-14T21:14:33.069Z] 35d82f9e3411: Verifying Checksum [2023-02-14T21:14:33.069Z] 35d82f9e3411: Download complete [2023-02-14T21:14:33.069Z] 7e9fc2657dce: Verifying Checksum [2023-02-14T21:14:33.069Z] 7e9fc2657dce: Download complete [2023-02-14T21:14:33.069Z] dda99020689f: Verifying Checksum [2023-02-14T21:14:33.069Z] dda99020689f: Download complete [2023-02-14T21:14:33.069Z] 9b18e9b68314: Verifying Checksum [2023-02-14T21:14:33.069Z] 9b18e9b68314: Download complete [2023-02-14T21:14:34.050Z] 891c053d2c06: Verifying Checksum [2023-02-14T21:14:34.050Z] 891c053d2c06: Download complete [2023-02-14T21:14:35.020Z] db1c61fa0a46: Verifying Checksum [2023-02-14T21:14:35.020Z] db1c61fa0a46: Download complete [2023-02-14T21:14:35.611Z] fc693d55d65f: Verifying Checksum [2023-02-14T21:14:35.611Z] fc693d55d65f: Download complete [2023-02-14T21:14:36.195Z] 9b18e9b68314: Pull complete [2023-02-14T21:14:36.463Z] 35d82f9e3411: Pull complete [2023-02-14T21:14:36.732Z] e16973657156: Pull complete [2023-02-14T21:14:49.051Z] fc693d55d65f: Pull complete [2023-02-14T21:14:49.051Z] 7e9fc2657dce: Pull complete [2023-02-14T21:14:49.051Z] dda99020689f: Pull complete [2023-02-14T21:14:53.332Z] db1c61fa0a46: Pull complete [2023-02-14T21:14:54.752Z] 891c053d2c06: Pull complete [2023-02-14T21:14:54.752Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-14T21:14:54.752Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-14T21:14:54.752Z] ---> f96f9c87975a [2023-02-14T21:14:54.752Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-02-14T21:14:56.706Z] ---> Running in ce0d7e3e785a [2023-02-14T21:14:56.975Z] Removing intermediate container ce0d7e3e785a [2023-02-14T21:14:56.975Z] ---> e0e567a1aa2f [2023-02-14T21:14:56.975Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-14T21:14:56.975Z] ---> Running in 08c435ffe346 [2023-02-14T21:14:57.244Z] Removing intermediate container 08c435ffe346 [2023-02-14T21:14:57.244Z] ---> 27075641ec38 [2023-02-14T21:14:57.244Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-02-14T21:14:57.512Z] ---> Running in ec72173ab895 [2023-02-14T21:14:57.782Z] Removing intermediate container ec72173ab895 [2023-02-14T21:14:57.782Z] ---> 977827dc7ed5 [2023-02-14T21:14:57.782Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-02-14T21:14:57.782Z] ---> Running in 14b9b076a448 [2023-02-14T21:14:58.050Z] Removing intermediate container 14b9b076a448 [2023-02-14T21:14:58.050Z] ---> 296efc757891 [2023-02-14T21:14:58.050Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-02-14T21:14:58.320Z] ---> Running in fded44354281 [2023-02-14T21:14:58.590Z] Removing intermediate container fded44354281 [2023-02-14T21:14:58.590Z] ---> 4f2a38148ce1 [2023-02-14T21:14:58.590Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-14T21:14:58.590Z] ---> Running in 9f8cab47fdc7 [2023-02-14T21:14:59.559Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-14T21:15:00.146Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-14T21:15:01.106Z] OK: 221 MiB in 51 packages [2023-02-14T21:15:02.518Z] Removing intermediate container 9f8cab47fdc7 [2023-02-14T21:15:02.518Z] ---> 0189abd2efa5 [2023-02-14T21:15:02.518Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-02-14T21:15:02.518Z] ---> Running in a14a95752d04 [2023-02-14T21:15:02.787Z] Removing intermediate container a14a95752d04 [2023-02-14T21:15:02.787Z] ---> 67e2263d01d0 [2023-02-14T21:15:02.787Z] Step 10/13 : COPY go.mod vendor* ./ [2023-02-14T21:15:03.371Z] ---> c51459662a36 [2023-02-14T21:15:03.371Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T21:15:03.371Z] ---> Running in acf160f4f07d [2023-02-14T21:16:25.013Z] Removing intermediate container acf160f4f07d [2023-02-14T21:16:25.013Z] ---> ea8949e1ed92 [2023-02-14T21:16:25.013Z] Step 12/13 : COPY . . [2023-02-14T21:16:25.013Z] ---> 5c22d7269448 [2023-02-14T21:16:25.013Z] Step 13/13 : RUN ${MAKE} [2023-02-14T21:16:25.013Z] ---> Running in bc41ae09c702 [2023-02-14T21:16:25.013Z] noop [2023-02-14T21:16:25.013Z] Removing intermediate container bc41ae09c702 [2023-02-14T21:16:25.013Z] ---> e864a94923a9 [2023-02-14T21:16:25.013Z] Successfully built e864a94923a9 [2023-02-14T21:16:25.013Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T21:16:25.496Z] + docker inspect -f . ci-base-image-arm64 [2023-02-14T21:16:25.496Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T21:16:25.749Z] prd-ubuntu20.04-docker-arm64-4c-16g-5900 does not seem to be running inside a container [2023-02-14T21:16:25.812Z] $ 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-02-14T21:16:26.934Z] $ docker top 4cf30d3a4993d4fa7c49f1ae657e539c37095adca0722c238ce36aa239c6bbaa -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T21:16:27.794Z] + go version [2023-02-14T21:16:27.794Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-14T21:16:27.833Z] $ docker stop --time=1 4cf30d3a4993d4fa7c49f1ae657e539c37095adca0722c238ce36aa239c6bbaa [2023-02-14T21:16:29.458Z] $ docker rm -f --volumes 4cf30d3a4993d4fa7c49f1ae657e539c37095adca0722c238ce36aa239c6bbaa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T21:16:30.312Z] + docker inspect -f . ci-base-image-arm64 [2023-02-14T21:16:30.312Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T21:16:30.568Z] prd-ubuntu20.04-docker-arm64-4c-16g-5900 does not seem to be running inside a container [2023-02-14T21:16:30.635Z] $ 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-02-14T21:16:31.937Z] $ docker top 597b0da94074b02afc8b1c933f7081a35f1ec4d0d78554f34d532d51bbccdbe6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T21:16:32.792Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-02-14T21:16:33.188Z] + make test [2023-02-14T21:16:33.188Z] go test ./... -coverprofile=coverage.out ./... [2023-02-14T21:16:35.148Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-02-14T21:17:56.773Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-02-14T21:18:04.970Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.163s coverage: 29.3% of statements [2023-02-14T21:18:04.970Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-02-14T21:18:15.021Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 17.887s coverage: 86.5% of statements [2023-02-14T21:18:15.604Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-14T21:18:15.604Z] go vet ./... [2023-02-14T21:18:47.830Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-14T21:18:47.830Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-14T21:18:47.830Z] ./bin/test-attribution-txt.sh [2023-02-14T21:18:47.830Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-14T21:18:47.830Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-14T21:18:47.870Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-14T21:18:47.908Z] $ docker stop --time=1 597b0da94074b02afc8b1c933f7081a35f1ec4d0d78554f34d532d51bbccdbe6 [2023-02-14T21:18:49.659Z] $ docker rm -f --volumes 597b0da94074b02afc8b1c933f7081a35f1ec4d0d78554f34d532d51bbccdbe6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-14T21:18:50.623Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-14T21:18:50.664Z] Warning: overwriting stash ‘coverage-report’ [2023-02-14T21:18:51.194Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-14T21:18:51.791Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-14T21:18:52.126Z] + ls -al . [2023-02-14T21:18:52.126Z] total 232 [2023-02-14T21:18:52.126Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 14 21:16 . [2023-02-14T21:18:52.126Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 21:13 .. [2023-02-14T21:18:52.126Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 14 21:14 .git [2023-02-14T21:18:52.126Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 21:14 .github [2023-02-14T21:18:52.126Z] -rw-rw-r-- 1 jenkins jenkins 496 Feb 14 21:14 .gitignore [2023-02-14T21:18:52.126Z] -rw-rw-r-- 1 jenkins jenkins 42 Feb 14 21:14 .golangci.yml [2023-02-14T21:18:52.126Z] -rw-rw-r-- 1 jenkins jenkins 9638 Feb 14 21:14 Attribution.txt [2023-02-14T21:18:52.126Z] -rw-rw-r-- 1 jenkins jenkins 6312 Feb 14 21:14 CHANGELOG.md [2023-02-14T21:18:52.126Z] -rw-rw-r-- 1 jenkins jenkins 1574 Feb 14 21:14 Dockerfile [2023-02-14T21:18:52.126Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 14 21:14 GOVERNANCE.md [2023-02-14T21:18:52.126Z] -rw-rw-r-- 1 jenkins jenkins 734 Feb 14 21:14 Jenkinsfile [2023-02-14T21:18:52.126Z] -rw-rw-r-- 1 jenkins jenkins 11348 Feb 14 21:14 LICENSE [2023-02-14T21:18:52.126Z] -rw-rw-r-- 1 jenkins jenkins 2577 Feb 14 21:14 Makefile [2023-02-14T21:18:52.126Z] -rw-rw-r-- 1 jenkins jenkins 625 Feb 14 21:14 OWNERS.md [2023-02-14T21:18:52.126Z] -rw-rw-r-- 1 jenkins jenkins 6595 Feb 14 21:14 README.md [2023-02-14T21:18:52.126Z] -rw-rw-r-- 1 jenkins jenkins 5 Feb 14 21:12 VERSION [2023-02-14T21:18:52.126Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 14 21:14 bin [2023-02-14T21:18:52.126Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 14 21:14 cmd [2023-02-14T21:18:52.126Z] -rw-r--r-- 1 jenkins jenkins 79184 Feb 14 21:18 coverage.out [2023-02-14T21:18:52.126Z] drwxrwxr-x 6 jenkins jenkins 4096 Feb 14 21:14 doc [2023-02-14T21:18:52.126Z] -rw-rw-r-- 1 jenkins jenkins 3600 Feb 14 21:14 go.mod [2023-02-14T21:18:52.126Z] -rw-rw-r-- 1 jenkins jenkins 34701 Feb 14 21:14 go.sum [2023-02-14T21:18:52.126Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 21:14 internal [2023-02-14T21:18:52.126Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 14 21:14 snap [2023-02-14T21:18:52.126Z] -rw-rw-r-- 1 jenkins jenkins 236 Feb 14 21:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T21:19:06.656Z] + 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=07b2f8064f6d1da8991520ef470b953c939c708c --label arch=arm64 --label version=0.0.0 . [2023-02-14T21:19:07.244Z] Sending build context to Docker daemon 20.64MB [2023-02-14T21:19:07.244Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-02-14T21:19:07.244Z] Step 2/26 : FROM ${BASE} AS builder [2023-02-14T21:19:07.244Z] ---> e864a94923a9 [2023-02-14T21:19:07.244Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-02-14T21:19:07.244Z] ---> Running in 8a647914ea57 [2023-02-14T21:19:07.509Z] Removing intermediate container 8a647914ea57 [2023-02-14T21:19:07.509Z] ---> 15d55dd03e64 [2023-02-14T21:19:07.509Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-14T21:19:07.509Z] ---> Running in 0ef3b32c0760 [2023-02-14T21:19:07.775Z] Removing intermediate container 0ef3b32c0760 [2023-02-14T21:19:07.775Z] ---> 10f0a30b6da6 [2023-02-14T21:19:07.775Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git" [2023-02-14T21:19:08.123Z] ---> Running in c0f55eb2264a [2023-02-14T21:19:08.123Z] Removing intermediate container c0f55eb2264a [2023-02-14T21:19:08.123Z] ---> a05f52764f28 [2023-02-14T21:19:08.123Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-02-14T21:19:08.408Z] ---> Running in e80293aca9a3 [2023-02-14T21:19:08.687Z] Removing intermediate container e80293aca9a3 [2023-02-14T21:19:08.687Z] ---> 436945a9daae [2023-02-14T21:19:08.687Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-02-14T21:19:08.687Z] ---> Running in 0b7d24797cac [2023-02-14T21:19:08.971Z] Removing intermediate container 0b7d24797cac [2023-02-14T21:19:08.971Z] ---> 6709d2d42968 [2023-02-14T21:19:08.971Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-14T21:19:08.971Z] ---> Running in b736d8b37026 [2023-02-14T21:19:09.958Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-14T21:19:10.232Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-14T21:19:11.660Z] OK: 221 MiB in 51 packages [2023-02-14T21:19:12.248Z] Removing intermediate container b736d8b37026 [2023-02-14T21:19:12.248Z] ---> fc21052d7ea1 [2023-02-14T21:19:12.248Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-02-14T21:19:12.248Z] ---> Running in 4943cd4c7043 [2023-02-14T21:19:12.519Z] Removing intermediate container 4943cd4c7043 [2023-02-14T21:19:12.519Z] ---> 7dafe1a9d7e0 [2023-02-14T21:19:12.519Z] Step 10/26 : COPY go.mod vendor* ./ [2023-02-14T21:19:13.113Z] ---> 129798ec93cc [2023-02-14T21:19:13.113Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-14T21:19:13.113Z] ---> Running in c530dd69aff7 [2023-02-14T21:19:15.702Z] Removing intermediate container c530dd69aff7 [2023-02-14T21:19:15.702Z] ---> dbd002be74a1 [2023-02-14T21:19:15.702Z] Step 12/26 : COPY . . [2023-02-14T21:19:19.950Z] ---> 07c296346c90 [2023-02-14T21:19:19.950Z] Step 13/26 : RUN ${MAKE} [2023-02-14T21:19:19.950Z] ---> Running in cdb25a268602 [2023-02-14T21:19:20.217Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd [2023-02-14T21:21:26.884Z] Removing intermediate container cdb25a268602 [2023-02-14T21:21:26.884Z] ---> 78b8adb0fd45 [2023-02-14T21:21:26.884Z] Step 14/26 : FROM alpine:3.16 [2023-02-14T21:21:26.884Z] 3.16: Pulling from library/alpine [2023-02-14T21:21:26.884Z] 3760b48202b3: Pulling fs layer [2023-02-14T21:21:26.884Z] 3760b48202b3: Verifying Checksum [2023-02-14T21:21:26.884Z] 3760b48202b3: Download complete [2023-02-14T21:21:26.884Z] 3760b48202b3: Pull complete [2023-02-14T21:21:26.884Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-14T21:21:26.884Z] Status: Downloaded newer image for alpine:3.16 [2023-02-14T21:21:26.884Z] ---> 4c81e5bf8899 [2023-02-14T21:21:26.884Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-02-14T21:21:26.884Z] ---> Running in 8e08a887716f [2023-02-14T21:21:26.884Z] Removing intermediate container 8e08a887716f [2023-02-14T21:21:26.884Z] ---> 971e9657cc19 [2023-02-14T21:21:26.884Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2023-02-14T21:21:26.884Z] ---> Running in 8b8aa62b7ddb [2023-02-14T21:21:26.884Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-14T21:21:26.884Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-14T21:21:26.884Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-14T21:21:26.884Z] Executing busybox-1.35.0-r17.trigger [2023-02-14T21:21:26.884Z] OK: 5 MiB in 15 packages [2023-02-14T21:21:26.884Z] Removing intermediate container 8b8aa62b7ddb [2023-02-14T21:21:26.884Z] ---> dbfbaa2bb4a6 [2023-02-14T21:21:26.884Z] Step 17/26 : WORKDIR / [2023-02-14T21:21:26.884Z] ---> Running in 2c6c18f1b5b2 [2023-02-14T21:21:26.884Z] Removing intermediate container 2c6c18f1b5b2 [2023-02-14T21:21:26.884Z] ---> 0bdf153cfbbb [2023-02-14T21:21:26.884Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-02-14T21:21:26.884Z] ---> 84570e83f94f [2023-02-14T21:21:26.884Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-02-14T21:21:26.884Z] ---> 20a13f029c1f [2023-02-14T21:21:26.884Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-02-14T21:21:26.884Z] ---> ca50103e65a0 [2023-02-14T21:21:26.884Z] Step 21/26 : EXPOSE 59984 [2023-02-14T21:21:26.884Z] ---> Running in 7bdea5e410f6 [2023-02-14T21:21:27.151Z] Removing intermediate container 7bdea5e410f6 [2023-02-14T21:21:27.151Z] ---> 1f99bccdd93f [2023-02-14T21:21:27.151Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-02-14T21:21:27.151Z] ---> Running in 78991d07b8e6 [2023-02-14T21:21:27.416Z] Removing intermediate container 78991d07b8e6 [2023-02-14T21:21:27.416Z] ---> 207d867c35c4 [2023-02-14T21:21:27.416Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-02-14T21:21:27.416Z] ---> Running in 76ebc749d8d1 [2023-02-14T21:21:27.682Z] Removing intermediate container 76ebc749d8d1 [2023-02-14T21:21:27.682Z] ---> df77a7507008 [2023-02-14T21:21:27.682Z] Step 24/26 : LABEL arch=arm64 [2023-02-14T21:21:27.682Z] ---> Running in 21af43b6baa8 [2023-02-14T21:21:27.947Z] Removing intermediate container 21af43b6baa8 [2023-02-14T21:21:27.947Z] ---> e78c40ae5062 [2023-02-14T21:21:27.947Z] Step 25/26 : LABEL git_sha=07b2f8064f6d1da8991520ef470b953c939c708c [2023-02-14T21:21:28.220Z] ---> Running in fb517c0ab66f [2023-02-14T21:21:28.220Z] Removing intermediate container fb517c0ab66f [2023-02-14T21:21:28.220Z] ---> ccb165ff027e [2023-02-14T21:21:28.220Z] Step 26/26 : LABEL version=0.0.0 [2023-02-14T21:21:28.486Z] ---> Running in 728734b82d77 [2023-02-14T21:21:28.751Z] Removing intermediate container 728734b82d77 [2023-02-14T21:21:28.751Z] ---> 7d4ababd7afd [2023-02-14T21:21:28.751Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-14T21:21:28.751Z] Successfully built 7d4ababd7afd [2023-02-14T21:21:28.751Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T21:21:29.506Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-14T21:21:29.506Z] [2023-02-14T21:21:29.506Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T21:21:29.905Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-14T21:21:29.906Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-14T21:21:29.906Z] 8998bd30e6a1: Pulling fs layer [2023-02-14T21:21:29.906Z] 04944245beec: Pulling fs layer [2023-02-14T21:21:29.906Z] 699f458cf7ca: Pulling fs layer [2023-02-14T21:21:29.906Z] 765212b225bb: Pulling fs layer [2023-02-14T21:21:29.906Z] f23df028b6ca: Pulling fs layer [2023-02-14T21:21:29.906Z] d65c8cfc05b1: Pulling fs layer [2023-02-14T21:21:29.906Z] 2437ff75d9bd: Pulling fs layer [2023-02-14T21:21:29.906Z] f23df028b6ca: Waiting [2023-02-14T21:21:29.906Z] d65c8cfc05b1: Waiting [2023-02-14T21:21:29.906Z] 765212b225bb: Waiting [2023-02-14T21:21:29.906Z] 2437ff75d9bd: Waiting [2023-02-14T21:21:30.175Z] 04944245beec: Verifying Checksum [2023-02-14T21:21:30.175Z] 04944245beec: Download complete [2023-02-14T21:21:30.175Z] 765212b225bb: Verifying Checksum [2023-02-14T21:21:30.175Z] 765212b225bb: Download complete [2023-02-14T21:21:30.175Z] f23df028b6ca: Verifying Checksum [2023-02-14T21:21:30.175Z] f23df028b6ca: Download complete [2023-02-14T21:21:30.175Z] d65c8cfc05b1: Verifying Checksum [2023-02-14T21:21:30.175Z] d65c8cfc05b1: Download complete [2023-02-14T21:21:30.445Z] 699f458cf7ca: Verifying Checksum [2023-02-14T21:21:30.445Z] 699f458cf7ca: Download complete [2023-02-14T21:21:30.713Z] 8998bd30e6a1: Verifying Checksum [2023-02-14T21:21:30.713Z] 8998bd30e6a1: Download complete [2023-02-14T21:21:32.651Z] 2437ff75d9bd: Verifying Checksum [2023-02-14T21:21:32.651Z] 2437ff75d9bd: Download complete [2023-02-14T21:21:34.584Z] 8998bd30e6a1: Pull complete [2023-02-14T21:21:34.584Z] 04944245beec: Pull complete [2023-02-14T21:21:35.987Z] 699f458cf7ca: Pull complete [2023-02-14T21:21:35.987Z] 765212b225bb: Pull complete [2023-02-14T21:21:39.321Z] f23df028b6ca: Pull complete [2023-02-14T21:21:39.321Z] d65c8cfc05b1: Pull complete [2023-02-14T21:21:51.619Z] 2437ff75d9bd: Pull complete [2023-02-14T21:21:52.572Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-14T21:21:52.572Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-14T21:21:52.572Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T21:21:52.879Z] prd-ubuntu20.04-docker-arm64-4c-16g-5900 does not seem to be running inside a container [2023-02-14T21:21:52.940Z] $ 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-02-14T21:21:55.264Z] $ docker top aba7752881086fbc9d6b640f2c3be9a6e17ced018ec4d3f98c048ddf32057746 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-14T21:21:56.140Z] ---> job-cost.sh [2023-02-14T21:21:56.140Z] lf-activate-venv: SKIPPING [2023-02-14T21:21:56.140Z] INFO: No Stack... [2023-02-14T21:21:56.406Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-14T21:21:57.360Z] INFO: Archiving Costs [Pipeline] sh [2023-02-14T21:21:57.702Z] + + catcut /w/workspace/device-onvif-camera/1/archives/cost.csv -d, [2023-02-14T21:21:57.702Z] -f6 [Pipeline] lock [2023-02-14T21:21:57.784Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-230-1-stack-cost] [2023-02-14T21:21:57.789Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-230-1-stack-cost] did not exist. Created. [2023-02-14T21:21:57.789Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-230-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-14T21:21:58.186Z] /w/workspace/device-onvif-camera/1@tmp/durable-d76cf3a6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-14T21:21:58.538Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-14T21:21:58.573Z] Warning: overwriting stash ‘stack-cost’ [2023-02-14T21:21:58.632Z] Stashed 1 file(s) [Pipeline] } [2023-02-14T21:21:58.646Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-230-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-14T21:21:58.730Z] $ docker stop --time=1 aba7752881086fbc9d6b640f2c3be9a6e17ced018ec4d3f98c048ddf32057746 [2023-02-14T21:22:00.166Z] $ docker rm -f --volumes aba7752881086fbc9d6b640f2c3be9a6e17ced018ec4d3f98c048ddf32057746 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-02-14T21:22:01.108Z] provisioning config files... [2023-02-14T21:22:01.115Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-230@tmp/config2723140341368574419tmp [Pipeline] { [Pipeline] sh [2023-02-14T21:22:01.459Z] + set +x [2023-02-14T21:22:01.459Z] + curl -s https://codecov.io/bash [2023-02-14T21:22:01.459Z] + bash -s -- [2023-02-14T21:22:01.459Z] [2023-02-14T21:22:01.459Z] _____ _ [2023-02-14T21:22:01.459Z] / ____| | | [2023-02-14T21:22:01.459Z] | | ___ __| | ___ ___ _____ __ [2023-02-14T21:22:01.459Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-14T21:22:01.459Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-14T21:22:01.459Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-14T21:22:01.459Z] Bash-1.0.6 [2023-02-14T21:22:01.459Z] [2023-02-14T21:22:01.459Z] [2023-02-14T21:22:01.459Z] ==> git version 2.25.1 found [2023-02-14T21:22:01.459Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-02-14T21:22:01.459Z] Release-Date: 2020-01-08 [2023-02-14T21:22:01.459Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-14T21:22:01.459Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-14T21:22:01.459Z] ==> Jenkins CI detected. [2023-02-14T21:22:01.459Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-230 [2023-02-14T21:22:01.459Z] project root: . [2023-02-14T21:22:01.459Z] --> token set from env [2023-02-14T21:22:01.459Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-14T21:22:01.459Z] ==> Running gcov in . (disable via -X gcov) [2023-02-14T21:22:01.459Z] ==> Python coveragepy not found [2023-02-14T21:22:01.459Z] ==> Searching for coverage reports in: [2023-02-14T21:22:01.459Z] + . [2023-02-14T21:22:01.718Z] -> Found 1 reports [2023-02-14T21:22:01.718Z] ==> Detecting git/mercurial file structure [2023-02-14T21:22:01.718Z] ==> Reading reports [2023-02-14T21:22:01.718Z] + ./coverage.out bytes=79184 [2023-02-14T21:22:01.718Z] ==> Appending adjustments [2023-02-14T21:22:01.718Z] https://docs.codecov.io/docs/fixing-reports [2023-02-14T21:22:01.718Z] + Found adjustments [2023-02-14T21:22:01.718Z] ==> Gzipping contents [2023-02-14T21:22:01.718Z] 12K /tmp/codecov.iEcq83.gz [2023-02-14T21:22:01.718Z] ==> Uploading reports [2023-02-14T21:22:01.718Z] url: https://codecov.io [2023-02-14T21:22:01.718Z] query: branch=PR-230&commit=07b2f8064f6d1da8991520ef470b953c939c708c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-230%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=230&job=&cmd_args= [2023-02-14T21:22:01.718Z] -> Pinging Codecov [2023-02-14T21:22:01.718Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-230&commit=07b2f8064f6d1da8991520ef470b953c939c708c&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-230%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=230&job=&cmd_args= [2023-02-14T21:22:01.978Z] -> Uploading to [2023-02-14T21:22:01.978Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-14/F29A59C45E3A92E06B3E522C9905F8EF/07b2f8064f6d1da8991520ef470b953c939c708c/538b6cf0-013b-453f-a235-ca13ebe4e4eb.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230214%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230214T212201Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=19fa80700f1b159989b7aa3c7e6e695b07c3d37c1f9bc3a8e596146cc786f6f2 [2023-02-14T21:22:01.978Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-14T21:22:01.978Z] Dload Upload Total Spent Left Speed [2023-02-14T21:22:02.238Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10833 0 0 100 10833 0 49018 --:--:-- --:--:-- --:--:-- 48797 100 10833 0 0 100 10833 0 37484 --:--:-- --:--:-- --:--:-- 37355 [2023-02-14T21:22:02.238Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/07b2f8064f6d1da8991520ef470b953c939c708c [Pipeline] } [2023-02-14T21:22:02.264Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-14T21:22:03.990Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-230/archives ] [2023-02-14T21:22:03.990Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-230/archives [2023-02-14T21:22:03.990Z] total 16 [2023-02-14T21:22:03.990Z] drwxr-xr-x 3 root root 4096 Feb 14 21:14 . [2023-02-14T21:22:03.990Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 14 21:14 .. [2023-02-14T21:22:03.990Z] drwxr-xr-x 2 root root 4096 Feb 14 21:14 cost [2023-02-14T21:22:03.990Z] -rw-r--r-- 1 root root 91 Feb 14 21:14 cost.csv [2023-02-14T21:22:03.990Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-230/archives [2023-02-14T21:22:03.990Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-230/archives [2023-02-14T21:22:03.990Z] total 16 [2023-02-14T21:22:03.990Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 14 21:14 . [2023-02-14T21:22:03.990Z] drwxrwxr-x 11 jenkins jenkins 4096 Feb 14 21:14 .. [2023-02-14T21:22:03.990Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 14 21:14 cost [2023-02-14T21:22:03.990Z] -rw-r--r-- 1 jenkins jenkins 91 Feb 14 21:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-14T21:22:04.318Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T21:22:05.202Z] ---> package-listing.sh [2023-02-14T21:22:05.202Z] ++ facter osfamily [2023-02-14T21:22:05.202Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-14T21:22:05.462Z] + OS_FAMILY=debian [2023-02-14T21:22:05.462Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-230 [2023-02-14T21:22:05.462Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-14T21:22:05.462Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-14T21:22:05.462Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-14T21:22:05.462Z] + PACKAGES=/tmp/packages_start.txt [2023-02-14T21:22:05.462Z] + '[' /w/workspace/undry_device-onvif-camera_PR-230 ']' [2023-02-14T21:22:05.462Z] + PACKAGES=/tmp/packages_end.txt [2023-02-14T21:22:05.462Z] + case "${OS_FAMILY}" in [2023-02-14T21:22:05.462Z] + dpkg -l [2023-02-14T21:22:05.462Z] + grep '^ii' [2023-02-14T21:22:05.462Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-14T21:22:05.462Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-14T21:22:05.462Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-14T21:22:05.462Z] + '[' /w/workspace/undry_device-onvif-camera_PR-230 ']' [2023-02-14T21:22:05.462Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-230/archives/ [2023-02-14T21:22:05.462Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-230/archives/ [Pipeline] echo [2023-02-14T21:22:05.496Z] 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-230/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-14T21:22:05.788Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-14T21:22:06.418Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-14T21:22:06.418Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-14T21:22:06.558Z] prd-ubuntu20.04-docker-8c-8g-5899 does not seem to be running inside a container [2023-02-14T21:22:06.586Z] $ 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-230/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-230 -v /w/workspace/undry_device-onvif-camera_PR-230:/w/workspace/undry_device-onvif-camera_PR-230:rw,z -v /w/workspace/undry_device-onvif-camera_PR-230@tmp:/w/workspace/undry_device-onvif-camera_PR-230@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-14T21:22:06.755Z] $ docker top 7fd287bb324dfdab21b48dabc37ac58a539076b9d33a243e1d572cdfc7963981 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-14T21:22:07.133Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-14T21:22:07.446Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-14T21:22:07.751Z] + ls /var/log/sa-host [2023-02-14T21:22:07.751Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-14T21:22:07.961Z] provisioning config files... [2023-02-14T21:22:07.969Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-230@tmp/config12131225135282173375tmp [Pipeline] { [Pipeline] echo [2023-02-14T21:22:08.016Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T21:22:08.326Z] ---> create-netrc.sh [Pipeline] } [2023-02-14T21:22:08.352Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-14T21:22:08.748Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-14T21:22:08.782Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T21:22:09.092Z] ---> sudo-logs.sh [2023-02-14T21:22:09.092Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-14T21:22:09.180Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T21:22:09.488Z] ---> job-cost.sh [2023-02-14T21:22:09.488Z] lf-activate-venv: SKIPPING [2023-02-14T21:22:09.488Z] DEBUG: total: 0.2199999988079071 [2023-02-14T21:22:09.488Z] INFO: Retrieving Stack Cost... [2023-02-14T21:22:10.056Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-14T21:22:10.314Z] INFO: Archiving Costs [Pipeline] echo [2023-02-14T21:22:10.351Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-14T21:22:10.669Z] ---> logs-deploy.sh [2023-02-14T21:22:10.669Z] lf-activate-venv: SKIPPING [2023-02-14T21:22:10.669Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-230/1 [2023-02-14T21:22:10.669Z] INFO: archiving workspace using pattern(s): [2023-02-14T21:22:11.604Z] Archives upload complete. [2023-02-14T21:22:11.604Z] INFO: archiving logs to Nexus