lenny-intel commented: recheck 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 c1b75f94bf465599af031118e7b7fcc8d1969457+ef0e1dc43e01e3af63e43192147483735d9789c0 (3bf38b8aebd5f5e0a2d56a04f4ee82629103a55f) 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-ssh533188194819414404.key Verifying host key using known hosts file > 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-ssh946606122126745041.key Verifying host key using known hosts file > 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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-197/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-197/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7142362144006476510.key Verifying host key using known hosts file > 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 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-ssh4447795211878047154.key Verifying host key using known hosts file > 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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-197/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-197/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3921882616690033260.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-118924 in /w/workspace/undry_device-onvif-camera_PR-197 [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-197 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 Merging remotes/origin/main commit ef0e1dc43e01e3af63e43192147483735d9789c0 into PR head commit c1b75f94bf465599af031118e7b7fcc8d1969457 Merge succeeded, producing c1b75f94bf465599af031118e7b7fcc8d1969457 Checking out Revision c1b75f94bf465599af031118e7b7fcc8d1969457 (PR-197) > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/197/head:refs/remotes/origin/PR-197 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c1b75f94bf465599af031118e7b7fcc8d1969457 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge ef0e1dc43e01e3af63e43192147483735d9789c0 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c1b75f94bf465599af031118e7b7fcc8d1969457 # timeout=10 Commit message: "docs: Bump Swagger version for Levski to 2.3.0" > git rev-list --no-walk c1b75f94bf465599af031118e7b7fcc8d1969457 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-10T14:11:56.654Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-10T14:11:56.711Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-10T14:11:56.724Z] ========================================================= [2022-11-10T14:11:56.724Z] EdgeX Global Pipelines Version Info [2022-11-10T14:11:56.724Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-10T14:11:57.421Z] ------------------- [2022-11-10T14:11:57.421Z] stable info: [2022-11-10T14:11:57.421Z] ------------------- [2022-11-10T14:11:57.421Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-10T14:11:57.421Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-10T14:11:57.421Z] Message: update stable to v1.0.244 [2022-11-10T14:11:58.005Z] ------------------- [2022-11-10T14:11:58.005Z] experimental info: [2022-11-10T14:11:58.005Z] ------------------- [2022-11-10T14:11:58.005Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-10T14:11:58.005Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-10T14:11:58.005Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-10T14:11:58.174Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-11-10T14:11:58.187Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-11-10T14:11:58.203Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-10T14:11:58.211Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-10T14:11:58.222Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-10T14:11:58.233Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-10T14:11:58.244Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-10T14:11:58.256Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-10T14:11:58.267Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-10T14:11:58.278Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-10T14:11:58.288Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-10T14:11:58.301Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-11-10T14:11:58.311Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-10T14:11:58.324Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-10T14:11:58.348Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-10T14:11:58.363Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-10T14:11:58.374Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-10T14:11:58.385Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-10T14:11:58.397Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-10T14:11:58.411Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-10T14:11:58.421Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-11-10T14:11:58.432Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-11-10T14:11:58.445Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-10T14:11:58.457Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-10T14:11:58.468Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-10T14:11:58.481Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-10T14:11:58.493Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-10T14:11:58.503Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-197 [Pipeline] echo [2022-11-10T14:11:58.519Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-197 [Pipeline] echo [2022-11-10T14:11:58.537Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-197 [Pipeline] echo [2022-11-10T14:11:58.554Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c1b75f94bf465599af031118e7b7fcc8d1969457 [Pipeline] echo [2022-11-10T14:11:58.569Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c1b75f9 [Pipeline] echo [2022-11-10T14:11:58.582Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-10T14:11:58.624Z] provisioning config files... [2022-11-10T14:11:58.639Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-197@tmp/config13311673145629566785tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-10T14:11:58.947Z] ---> docker-login.sh [2022-11-10T14:11:58.947Z] nexus3.edgexfoundry.org:10001 [2022-11-10T14:11:59.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T14:11:59.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T14:11:59.468Z] Configure a credential helper to remove this warning. See [2022-11-10T14:11:59.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T14:11:59.468Z] [2022-11-10T14:11:59.468Z] Login Succeeded [2022-11-10T14:11:59.468Z] nexus3.edgexfoundry.org:10002 [2022-11-10T14:11:59.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T14:11:59.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T14:11:59.468Z] Configure a credential helper to remove this warning. See [2022-11-10T14:11:59.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T14:11:59.468Z] [2022-11-10T14:11:59.468Z] Login Succeeded [2022-11-10T14:11:59.468Z] nexus3.edgexfoundry.org:10003 [2022-11-10T14:11:59.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T14:11:59.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T14:11:59.468Z] Configure a credential helper to remove this warning. See [2022-11-10T14:11:59.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T14:11:59.468Z] [2022-11-10T14:11:59.468Z] Login Succeeded [2022-11-10T14:11:59.468Z] nexus3.edgexfoundry.org:10004 [2022-11-10T14:11:59.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T14:11:59.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T14:11:59.729Z] Configure a credential helper to remove this warning. See [2022-11-10T14:11:59.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T14:11:59.729Z] [2022-11-10T14:11:59.729Z] Login Succeeded [2022-11-10T14:11:59.729Z] docker.io [2022-11-10T14:11:59.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T14:11:59.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T14:11:59.990Z] Configure a credential helper to remove this warning. See [2022-11-10T14:11:59.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T14:11:59.990Z] [2022-11-10T14:11:59.990Z] Login Succeeded [2022-11-10T14:11:59.990Z] ---> docker-login.sh ends [Pipeline] } [2022-11-10T14:11:59.999Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-10T14:12:00.387Z] + git rev-list -1 --merges c1b75f94bf465599af031118e7b7fcc8d1969457~1..c1b75f94bf465599af031118e7b7fcc8d1969457 [Pipeline] echo [2022-11-10T14:12:00.423Z] -----------> git rev-list -1 --merges c1b75f94bf465599af031118e7b7fcc8d1969457~1..c1b75f94bf465599af031118e7b7fcc8d1969457 c1b75f94bf465599af031118e7b7fcc8d1969457 [false] [Pipeline] sh [2022-11-10T14:12:00.714Z] + git log --format=format:%s -1 c1b75f94bf465599af031118e7b7fcc8d1969457 [Pipeline] echo [2022-11-10T14:12:00.730Z] ========================================================= [2022-11-10T14:12:00.730Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-10T14:12:00.730Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-10T14:12:01.055Z] + git log --format=format:%s -1 c1b75f94bf465599af031118e7b7fcc8d1969457 [Pipeline] echo [2022-11-10T14:12:01.066Z] [semverPrep] GIT_COMMIT: c1b75f94bf465599af031118e7b7fcc8d1969457, Commit Message: docs: Bump Swagger version for Levski to 2.3.0 [Pipeline] echo [2022-11-10T14:12:01.075Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-10T14:12:01.455Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-10T14:12:01.455Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-10T14:12:01.455Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-10T14:12:01.455Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-10T14:12:01.455Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-10T14:12:01.455Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-10T14:12:01.455Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T14:12:01.886Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-10T14:12:01.886Z] [2022-11-10T14:12:01.886Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T14:12:02.191Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-10T14:12:02.191Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-10T14:12:02.191Z] b85a868b505f: Pulling fs layer [2022-11-10T14:12:02.191Z] e2be974225ed: Pulling fs layer [2022-11-10T14:12:02.191Z] 339a4e72a1f5: Pulling fs layer [2022-11-10T14:12:02.191Z] 988bab9f4d93: Pulling fs layer [2022-11-10T14:12:02.191Z] 1469e6f7b9e6: Pulling fs layer [2022-11-10T14:12:02.191Z] eaf3925da568: Pulling fs layer [2022-11-10T14:12:02.191Z] bab4dde63d76: Pulling fs layer [2022-11-10T14:12:02.191Z] bde34c3a00c8: Pulling fs layer [2022-11-10T14:12:02.191Z] b352a97aabf1: Pulling fs layer [2022-11-10T14:12:02.191Z] 4872d77fe225: Pulling fs layer [2022-11-10T14:12:02.191Z] 5851b861e8e6: Pulling fs layer [2022-11-10T14:12:02.191Z] bab4dde63d76: Waiting [2022-11-10T14:12:02.191Z] b352a97aabf1: Waiting [2022-11-10T14:12:02.191Z] 4872d77fe225: Waiting [2022-11-10T14:12:02.191Z] bde34c3a00c8: Waiting [2022-11-10T14:12:02.191Z] 5851b861e8e6: Waiting [2022-11-10T14:12:02.191Z] 988bab9f4d93: Waiting [2022-11-10T14:12:02.191Z] eaf3925da568: Waiting [2022-11-10T14:12:02.191Z] 1469e6f7b9e6: Waiting [2022-11-10T14:12:02.191Z] e2be974225ed: Download complete [2022-11-10T14:12:02.191Z] 988bab9f4d93: Verifying Checksum [2022-11-10T14:12:02.191Z] 988bab9f4d93: Download complete [2022-11-10T14:12:02.476Z] 339a4e72a1f5: Verifying Checksum [2022-11-10T14:12:02.476Z] 339a4e72a1f5: Download complete [2022-11-10T14:12:02.476Z] 1469e6f7b9e6: Verifying Checksum [2022-11-10T14:12:02.476Z] 1469e6f7b9e6: Download complete [2022-11-10T14:12:02.476Z] eaf3925da568: Verifying Checksum [2022-11-10T14:12:02.476Z] eaf3925da568: Download complete [2022-11-10T14:12:02.476Z] bde34c3a00c8: Verifying Checksum [2022-11-10T14:12:02.476Z] bde34c3a00c8: Download complete [2022-11-10T14:12:02.476Z] b352a97aabf1: Download complete [2022-11-10T14:12:02.476Z] 4872d77fe225: Verifying Checksum [2022-11-10T14:12:02.476Z] 4872d77fe225: Download complete [2022-11-10T14:12:02.476Z] 5851b861e8e6: Verifying Checksum [2022-11-10T14:12:02.476Z] 5851b861e8e6: Download complete [2022-11-10T14:12:02.476Z] b85a868b505f: Verifying Checksum [2022-11-10T14:12:02.476Z] b85a868b505f: Download complete [2022-11-10T14:12:02.735Z] bab4dde63d76: Verifying Checksum [2022-11-10T14:12:02.735Z] bab4dde63d76: Download complete [2022-11-10T14:12:03.671Z] b85a868b505f: Pull complete [2022-11-10T14:12:03.929Z] e2be974225ed: Pull complete [2022-11-10T14:12:04.501Z] 339a4e72a1f5: Pull complete [2022-11-10T14:12:04.501Z] 988bab9f4d93: Pull complete [2022-11-10T14:12:04.765Z] 1469e6f7b9e6: Pull complete [2022-11-10T14:12:04.765Z] eaf3925da568: Pull complete [2022-11-10T14:12:06.678Z] bab4dde63d76: Pull complete [2022-11-10T14:12:06.678Z] bde34c3a00c8: Pull complete [2022-11-10T14:12:06.938Z] b352a97aabf1: Pull complete [2022-11-10T14:12:06.938Z] 4872d77fe225: Pull complete [2022-11-10T14:12:07.199Z] 5851b861e8e6: Pull complete [2022-11-10T14:12:07.199Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-10T14:12:07.199Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-10T14:12:07.199Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-10T14:12:07.309Z] prd-ubuntu20.04-docker-8c-8g-118924 does not seem to be running inside a container [2022-11-10T14:12:07.388Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-197 -v /w/workspace/undry_device-onvif-camera_PR-197:/w/workspace/undry_device-onvif-camera_PR-197:rw,z -v /w/workspace/undry_device-onvif-camera_PR-197@tmp:/w/workspace/undry_device-onvif-camera_PR-197@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-devops/py-git-semver:0.1.4 cat [2022-11-10T14:12:09.601Z] $ docker top ee890a90ef17d017e1b543f56d779ac3087a797c8ec47ac9ed9d5fd08a46e6b9 -eo pid,comm [2022-11-10T14:12:09.654Z] 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). [2022-11-10T14:12:09.654Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-10T14:12:09.687Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-10T14:12:09.687Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-10T14:12:09.798Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-10T14:12:09.801Z] $ docker exec ee890a90ef17d017e1b543f56d779ac3087a797c8ec47ac9ed9d5fd08a46e6b9 ssh-agent [2022-11-10T14:12:09.917Z] SSH_AUTH_SOCK=/tmp/ssh-ymWDyZGPsxZr/agent.32 [2022-11-10T14:12:09.917Z] SSH_AGENT_PID=38 [2022-11-10T14:12:09.923Z] Running ssh-add (command line suppressed) [2022-11-10T14:12:10.019Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-197@tmp/private_key_10831609556151232321.key (/w/workspace/undry_device-onvif-camera_PR-197@tmp/private_key_10831609556151232321.key) [2022-11-10T14:12:10.032Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-10T14:12:10.318Z] + git tag --points-at HEAD [Pipeline] } [2022-11-10T14:12:10.329Z] $ docker exec --env ******** --env ******** ee890a90ef17d017e1b543f56d779ac3087a797c8ec47ac9ed9d5fd08a46e6b9 ssh-agent -k [2022-11-10T14:12:10.421Z] unset SSH_AUTH_SOCK; [2022-11-10T14:12:10.421Z] unset SSH_AGENT_PID; [2022-11-10T14:12:10.421Z] echo Agent pid 38 killed; [2022-11-10T14:12:10.429Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-10T14:12:10.455Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-10T14:12:10.455Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-10T14:12:10.568Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-10T14:12:10.571Z] $ docker exec ee890a90ef17d017e1b543f56d779ac3087a797c8ec47ac9ed9d5fd08a46e6b9 ssh-agent [2022-11-10T14:12:10.691Z] SSH_AUTH_SOCK=/tmp/ssh-3rqXJr10sxyL/agent.70 [2022-11-10T14:12:10.691Z] SSH_AGENT_PID=76 [2022-11-10T14:12:10.696Z] Running ssh-add (command line suppressed) [2022-11-10T14:12:10.808Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-197@tmp/private_key_13709969301067386634.key (/w/workspace/undry_device-onvif-camera_PR-197@tmp/private_key_13709969301067386634.key) [2022-11-10T14:12:10.822Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-10T14:12:11.108Z] + git semver init [2022-11-10T14:12:11.368Z] 2022-11-10 14:12:11,316 [run_init] DEBUG init version:0.0.0 force:False [2022-11-10T14:12:11.368Z] 2022-11-10 14:12:11,317 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-197/.semver [2022-11-10T14:12:11.368Z] 2022-11-10 14:12:11,318 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-197/.semver [2022-11-10T14:12:11.368Z] 2022-11-10 14:12:11,318 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-197/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-197, universal_newlines=False, shell=None, istream=None) [2022-11-10T14:12:12.747Z] 2022-11-10 14:12:12,453 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-197/.git/info/exclude [2022-11-10T14:12:12.747Z] 2022-11-10 14:12:12,454 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-197/.semver/PR-197 with force:False [2022-11-10T14:12:12.747Z] 2022-11-10 14:12:12,454 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-197/.semver/PR-197 [2022-11-10T14:12:12.747Z] 2022-11-10 14:12:12,459 [execute] INFO git cat-file --batch-check [2022-11-10T14:12:12.747Z] 2022-11-10 14:12:12,459 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-197/.semver, universal_newlines=False, shell=None, istream=) [2022-11-10T14:12:12.747Z] 2022-11-10 14:12:12,466 [execute] INFO git cat-file --batch [2022-11-10T14:12:12.747Z] 2022-11-10 14:12:12,466 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-197/.semver, universal_newlines=False, shell=None, istream=) [2022-11-10T14:12:12.747Z] 2022-11-10 14:12:12,472 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-197/.semver/PR-197 [2022-11-10T14:12:12.747Z] 0.0.0 [Pipeline] } [2022-11-10T14:12:12.759Z] $ docker exec --env ******** --env ******** ee890a90ef17d017e1b543f56d779ac3087a797c8ec47ac9ed9d5fd08a46e6b9 ssh-agent -k [2022-11-10T14:12:12.853Z] unset SSH_AUTH_SOCK; [2022-11-10T14:12:12.854Z] unset SSH_AGENT_PID; [2022-11-10T14:12:12.854Z] echo Agent pid 76 killed; [2022-11-10T14:12:12.861Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-10T14:12:13.168Z] + git semver [Pipeline] } [2022-11-10T14:12:13.442Z] $ docker stop --time=1 ee890a90ef17d017e1b543f56d779ac3087a797c8ec47ac9ed9d5fd08a46e6b9 [2022-11-10T14:12:14.733Z] $ docker rm -f ee890a90ef17d017e1b543f56d779ac3087a797c8ec47ac9ed9d5fd08a46e6b9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-10T14:12:15.075Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-10T14:12:15.261Z] Stashed 1 file(s) [Pipeline] echo [2022-11-10T14:12:15.264Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-10T14:12:15.421Z] provisioning config files... [2022-11-10T14:12:15.431Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-197@tmp/config15102895818784483580tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-10T14:12:15.729Z] ---> docker-login.sh [2022-11-10T14:12:15.729Z] nexus3.edgexfoundry.org:10001 [2022-11-10T14:12:15.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T14:12:15.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T14:12:15.729Z] Configure a credential helper to remove this warning. See [2022-11-10T14:12:15.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T14:12:15.729Z] [2022-11-10T14:12:15.729Z] Login Succeeded [2022-11-10T14:12:15.729Z] nexus3.edgexfoundry.org:10002 [2022-11-10T14:12:15.729Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T14:12:15.729Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T14:12:15.729Z] Configure a credential helper to remove this warning. See [2022-11-10T14:12:15.729Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T14:12:15.729Z] [2022-11-10T14:12:15.729Z] Login Succeeded [2022-11-10T14:12:15.729Z] nexus3.edgexfoundry.org:10003 [2022-11-10T14:12:15.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T14:12:15.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T14:12:15.990Z] Configure a credential helper to remove this warning. See [2022-11-10T14:12:15.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T14:12:15.990Z] [2022-11-10T14:12:15.990Z] Login Succeeded [2022-11-10T14:12:15.990Z] nexus3.edgexfoundry.org:10004 [2022-11-10T14:12:15.990Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T14:12:15.990Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T14:12:15.990Z] Configure a credential helper to remove this warning. See [2022-11-10T14:12:15.990Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T14:12:15.990Z] [2022-11-10T14:12:15.990Z] Login Succeeded [2022-11-10T14:12:15.990Z] docker.io [2022-11-10T14:12:16.248Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T14:12:16.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T14:12:16.507Z] Configure a credential helper to remove this warning. See [2022-11-10T14:12:16.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T14:12:16.507Z] [2022-11-10T14:12:16.507Z] Login Succeeded [2022-11-10T14:12:16.507Z] ---> docker-login.sh ends [Pipeline] } [2022-11-10T14:12:16.514Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-10T14:12:16.576Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-10T14:12:16.586Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-10T14:12:16.591Z] ========================================================= [2022-11-10T14:12:16.591Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-10T14:12:16.591Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T14:12:16.906Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-10T14:12:16.906Z] Sending build context to Docker daemon 27.61MB [2022-11-10T14:12:16.906Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-11-10T14:12:16.906Z] Step 2/13 : FROM ${BASE} AS builder [2022-11-10T14:12:17.172Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-10T14:12:17.172Z] 213ec9aee27d: Pulling fs layer [2022-11-10T14:12:17.172Z] 4583459ba037: Pulling fs layer [2022-11-10T14:12:17.172Z] 93c1e223e6f2: Pulling fs layer [2022-11-10T14:12:17.172Z] 53926ce57604: Pulling fs layer [2022-11-10T14:12:17.172Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-10T14:12:17.172Z] 22ff95d597cd: Pulling fs layer [2022-11-10T14:12:17.172Z] 12d6caf4c0d1: Pulling fs layer [2022-11-10T14:12:17.172Z] 96b7cbca73a9: Pulling fs layer [2022-11-10T14:12:17.172Z] a7acece74701: Pulling fs layer [2022-11-10T14:12:17.172Z] 53926ce57604: Waiting [2022-11-10T14:12:17.172Z] 21b2b0c7a3f4: Waiting [2022-11-10T14:12:17.172Z] 22ff95d597cd: Waiting [2022-11-10T14:12:17.172Z] 96b7cbca73a9: Waiting [2022-11-10T14:12:17.172Z] a7acece74701: Waiting [2022-11-10T14:12:17.172Z] 12d6caf4c0d1: Waiting [2022-11-10T14:12:17.172Z] 93c1e223e6f2: Verifying Checksum [2022-11-10T14:12:17.172Z] 93c1e223e6f2: Download complete [2022-11-10T14:12:17.172Z] 4583459ba037: Verifying Checksum [2022-11-10T14:12:17.172Z] 4583459ba037: Download complete [2022-11-10T14:12:17.172Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-10T14:12:17.172Z] 21b2b0c7a3f4: Download complete [2022-11-10T14:12:17.172Z] 22ff95d597cd: Download complete [2022-11-10T14:12:17.172Z] 213ec9aee27d: Verifying Checksum [2022-11-10T14:12:17.172Z] 213ec9aee27d: Download complete [2022-11-10T14:12:17.172Z] 12d6caf4c0d1: Verifying Checksum [2022-11-10T14:12:17.172Z] 12d6caf4c0d1: Download complete [2022-11-10T14:12:17.441Z] 213ec9aee27d: Pull complete [2022-11-10T14:12:17.441Z] 4583459ba037: Pull complete [2022-11-10T14:12:17.713Z] 93c1e223e6f2: Pull complete [2022-11-10T14:12:17.713Z] a7acece74701: Verifying Checksum [2022-11-10T14:12:17.713Z] a7acece74701: Download complete [2022-11-10T14:12:17.975Z] 53926ce57604: Verifying Checksum [2022-11-10T14:12:17.975Z] 53926ce57604: Download complete [2022-11-10T14:12:18.232Z] 96b7cbca73a9: Verifying Checksum [2022-11-10T14:12:18.232Z] 96b7cbca73a9: Download complete [2022-11-10T14:12:22.413Z] 53926ce57604: Pull complete [2022-11-10T14:12:22.413Z] 21b2b0c7a3f4: Pull complete [2022-11-10T14:12:22.413Z] 22ff95d597cd: Pull complete [2022-11-10T14:12:22.413Z] 12d6caf4c0d1: Pull complete [2022-11-10T14:12:24.312Z] 96b7cbca73a9: Pull complete [2022-11-10T14:12:24.878Z] a7acece74701: Pull complete [2022-11-10T14:12:24.878Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-10T14:12:24.878Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-10T14:12:24.878Z] ---> db6d94c90886 [2022-11-10T14:12:24.878Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-11-10T14:12:28.183Z] ---> Running in 690477e9f06f [2022-11-10T14:12:28.183Z] Removing intermediate container 690477e9f06f [2022-11-10T14:12:28.183Z] ---> 61111c0798b9 [2022-11-10T14:12:28.183Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-10T14:12:28.183Z] ---> Running in 633161674ce8 [2022-11-10T14:12:28.443Z] Removing intermediate container 633161674ce8 [2022-11-10T14:12:28.443Z] ---> b5a1ba501c63 [2022-11-10T14:12:28.443Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-10T14:12:28.443Z] ---> Running in 01329f8b2985 [2022-11-10T14:12:28.443Z] Removing intermediate container 01329f8b2985 [2022-11-10T14:12:28.443Z] ---> b11dd195ac33 [2022-11-10T14:12:28.443Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-11-10T14:12:28.443Z] ---> Running in 0b0eb46fcf43 [2022-11-10T14:12:28.703Z] Removing intermediate container 0b0eb46fcf43 [2022-11-10T14:12:28.703Z] ---> a2590cc8249b [2022-11-10T14:12:28.703Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-11-10T14:12:28.703Z] ---> Running in 6f412e09d667 [2022-11-10T14:12:28.703Z] Removing intermediate container 6f412e09d667 [2022-11-10T14:12:28.703Z] ---> bdf6ebb3d44a [2022-11-10T14:12:28.703Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-10T14:12:28.703Z] ---> Running in e852cb022f28 [2022-11-10T14:12:28.961Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-10T14:12:29.220Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-10T14:12:29.479Z] OK: 211 MiB in 51 packages [2022-11-10T14:12:29.739Z] Removing intermediate container e852cb022f28 [2022-11-10T14:12:29.739Z] ---> 6f6fdb819f6e [2022-11-10T14:12:29.739Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-11-10T14:12:29.739Z] ---> Running in 3db824c24209 [2022-11-10T14:12:29.997Z] Removing intermediate container 3db824c24209 [2022-11-10T14:12:29.997Z] ---> 767b5de45274 [2022-11-10T14:12:29.997Z] Step 10/13 : COPY go.mod vendor* ./ [2022-11-10T14:12:29.997Z] ---> 68a5f649fd82 [2022-11-10T14:12:29.997Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-10T14:12:29.997Z] ---> Running in 2ae5d8ba9d72 [2022-11-10T14:12:30.368Z] Still waiting to schedule task [2022-11-10T14:12:30.369Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-11-10T14:12:56.542Z] Removing intermediate container 2ae5d8ba9d72 [2022-11-10T14:12:56.542Z] ---> 80152c2fa372 [2022-11-10T14:12:56.542Z] Step 12/13 : COPY . . [2022-11-10T14:12:56.542Z] ---> b6c32fcca5e3 [2022-11-10T14:12:56.542Z] Step 13/13 : RUN ${MAKE} [2022-11-10T14:12:56.542Z] ---> Running in 148118d33be4 [2022-11-10T14:12:56.542Z] noop [2022-11-10T14:12:56.542Z] Removing intermediate container 148118d33be4 [2022-11-10T14:12:56.542Z] ---> fe3785e6e400 [2022-11-10T14:12:56.542Z] Successfully built fe3785e6e400 [2022-11-10T14:12:56.542Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T14:12:56.853Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-10T14:12:56.853Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-10T14:12:56.919Z] prd-ubuntu20.04-docker-8c-8g-118924 does not seem to be running inside a container [2022-11-10T14:12:56.950Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-197 -v /w/workspace/undry_device-onvif-camera_PR-197:/w/workspace/undry_device-onvif-camera_PR-197:rw,z -v /w/workspace/undry_device-onvif-camera_PR-197@tmp:/w/workspace/undry_device-onvif-camera_PR-197@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-10T14:12:57.305Z] $ docker top 6326575e4d8fe9e2210a36705ae6d697649b59a6f1c10607c8623502302e0b05 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-10T14:12:57.641Z] + go version [2022-11-10T14:12:57.641Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-10T14:12:57.656Z] $ docker stop --time=1 6326575e4d8fe9e2210a36705ae6d697649b59a6f1c10607c8623502302e0b05 [2022-11-10T14:12:58.936Z] $ docker rm -f 6326575e4d8fe9e2210a36705ae6d697649b59a6f1c10607c8623502302e0b05 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T14:12:59.315Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-10T14:12:59.315Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-10T14:12:59.376Z] prd-ubuntu20.04-docker-8c-8g-118924 does not seem to be running inside a container [2022-11-10T14:12:59.407Z] $ 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-197 -v /w/workspace/undry_device-onvif-camera_PR-197:/w/workspace/undry_device-onvif-camera_PR-197:rw,z -v /w/workspace/undry_device-onvif-camera_PR-197@tmp:/w/workspace/undry_device-onvif-camera_PR-197@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 ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-11-10T14:12:59.783Z] $ docker top c210f571d678e92972a4d573f1af542bf9d3cedfc5d6a8dffd2a7a3f0eeb13d2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-10T14:13:00.127Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-197 [Pipeline] fileExists [Pipeline] sh [2022-11-10T14:13:00.418Z] + make test [2022-11-10T14:13:00.418Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-10T14:13:00.983Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-11-10T14:13:13.182Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-11-10T14:13:15.716Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.041s coverage: 29.3% of statements [2022-11-10T14:13:15.716Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-11-10T14:13:15.716Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.404s coverage: 86.5% of statements [2022-11-10T14:13:23.826Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-11-10T14:13:23.826Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-10T14:13:27.114Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-10T14:13:27.114Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-10T14:13:27.114Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-10T14:13:27.386Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-10T14:13:27.402Z] $ docker stop --time=1 c210f571d678e92972a4d573f1af542bf9d3cedfc5d6a8dffd2a7a3f0eeb13d2 [2022-11-10T14:13:29.676Z] $ docker rm -f c210f571d678e92972a4d573f1af542bf9d3cedfc5d6a8dffd2a7a3f0eeb13d2 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-10T14:13:30.112Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-10T14:13:30.165Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-10T14:13:30.684Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-10T14:13:30.964Z] + ls -al . [2022-11-10T14:13:30.964Z] total 248 [2022-11-10T14:13:30.964Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 10 14:13 . [2022-11-10T14:13:30.964Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 14:11 .. [2022-11-10T14:13:30.964Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 14:13 .git [2022-11-10T14:13:30.964Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 14:11 .github [2022-11-10T14:13:30.964Z] -rw-rw-r-- 1 jenkins jenkins 496 Nov 10 14:11 .gitignore [2022-11-10T14:13:30.964Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 10 14:11 .golangci.yml [2022-11-10T14:13:30.964Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 10 14:12 .semver [2022-11-10T14:13:30.964Z] -rw-rw-r-- 1 jenkins jenkins 9739 Nov 10 14:11 Attribution.txt [2022-11-10T14:13:30.964Z] -rw-rw-r-- 1 jenkins jenkins 6312 Nov 10 14:11 CHANGELOG.md [2022-11-10T14:13:30.964Z] -rw-rw-r-- 1 jenkins jenkins 1637 Nov 10 14:11 Dockerfile [2022-11-10T14:13:30.964Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 10 14:11 GOVERNANCE.md [2022-11-10T14:13:30.964Z] -rw-rw-r-- 1 jenkins jenkins 734 Nov 10 14:11 Jenkinsfile [2022-11-10T14:13:30.964Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 10 14:11 LICENSE [2022-11-10T14:13:30.964Z] -rw-rw-r-- 1 jenkins jenkins 2858 Nov 10 14:11 Makefile [2022-11-10T14:13:30.964Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 10 14:11 OWNERS.md [2022-11-10T14:13:30.964Z] -rw-rw-r-- 1 jenkins jenkins 6595 Nov 10 14:11 README.md [2022-11-10T14:13:30.964Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 10 14:12 VERSION [2022-11-10T14:13:30.964Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 14:11 bin [2022-11-10T14:13:30.964Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 14:11 cmd [2022-11-10T14:13:30.964Z] -rw-r--r-- 1 jenkins jenkins 79184 Nov 10 14:13 coverage.out [2022-11-10T14:13:30.964Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 10 14:11 doc [2022-11-10T14:13:30.964Z] -rw-rw-r-- 1 jenkins jenkins 3687 Nov 10 14:11 go.mod [2022-11-10T14:13:30.964Z] -rw-rw-r-- 1 jenkins jenkins 46105 Nov 10 14:11 go.sum [2022-11-10T14:13:30.964Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 14:11 internal [2022-11-10T14:13:30.964Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 14:11 snap [2022-11-10T14:13:30.964Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 10 14:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T14:13:31.267Z] + 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=c1b75f94bf465599af031118e7b7fcc8d1969457 --label arch=amd64 --label version=0.0.0 . [2022-11-10T14:13:31.267Z] Sending build context to Docker daemon 27.69MB [2022-11-10T14:13:31.267Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-11-10T14:13:31.267Z] Step 2/26 : FROM ${BASE} AS builder [2022-11-10T14:13:31.267Z] ---> fe3785e6e400 [2022-11-10T14:13:31.267Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-11-10T14:13:31.525Z] ---> Running in 6bc1a091a3a3 [2022-11-10T14:13:31.525Z] Removing intermediate container 6bc1a091a3a3 [2022-11-10T14:13:31.525Z] ---> 9d32e6de0131 [2022-11-10T14:13:31.525Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-10T14:13:31.783Z] ---> Running in ee174a15f8d2 [2022-11-10T14:13:31.783Z] Removing intermediate container ee174a15f8d2 [2022-11-10T14:13:31.783Z] ---> 002ce9f64fd6 [2022-11-10T14:13:31.783Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-10T14:13:31.783Z] ---> Running in e795b6de78fd [2022-11-10T14:13:31.783Z] Removing intermediate container e795b6de78fd [2022-11-10T14:13:31.783Z] ---> d9e51c14ff29 [2022-11-10T14:13:31.783Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-11-10T14:13:31.783Z] ---> Running in 68eea75ebe41 [2022-11-10T14:13:32.041Z] Removing intermediate container 68eea75ebe41 [2022-11-10T14:13:32.041Z] ---> 78a40b46825c [2022-11-10T14:13:32.041Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-11-10T14:13:32.041Z] ---> Running in 56952fd0f82b [2022-11-10T14:13:32.041Z] Removing intermediate container 56952fd0f82b [2022-11-10T14:13:32.041Z] ---> c0d572dccb71 [2022-11-10T14:13:32.041Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-10T14:13:32.041Z] ---> Running in 110ca4babb62 [2022-11-10T14:13:32.299Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-10T14:13:32.299Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-10T14:13:32.558Z] OK: 211 MiB in 51 packages [2022-11-10T14:13:32.817Z] Removing intermediate container 110ca4babb62 [2022-11-10T14:13:32.817Z] ---> 144245cdca81 [2022-11-10T14:13:32.817Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-11-10T14:13:32.817Z] ---> Running in cdab31dedd95 [2022-11-10T14:13:33.075Z] Removing intermediate container cdab31dedd95 [2022-11-10T14:13:33.075Z] ---> 3ddaf1e51169 [2022-11-10T14:13:33.075Z] Step 10/26 : COPY go.mod vendor* ./ [2022-11-10T14:13:33.075Z] ---> e1e517fc2ae8 [2022-11-10T14:13:33.075Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-10T14:13:33.075Z] ---> Running in 959a3ce07e61 [2022-11-10T14:13:34.010Z] Removing intermediate container 959a3ce07e61 [2022-11-10T14:13:34.010Z] ---> 1defce497cc7 [2022-11-10T14:13:34.010Z] Step 12/26 : COPY . . [2022-11-10T14:13:34.578Z] ---> 0ebeac082221 [2022-11-10T14:13:34.578Z] Step 13/26 : RUN ${MAKE} [2022-11-10T14:13:34.578Z] ---> Running in 81153bbe45cb [2022-11-10T14:13:34.836Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-11-10T14:14:01.373Z] Removing intermediate container 81153bbe45cb [2022-11-10T14:14:01.373Z] ---> fefb8e91ed57 [2022-11-10T14:14:01.373Z] Step 14/26 : FROM alpine:3.16 [2022-11-10T14:14:01.373Z] 3.16: Pulling from library/alpine [2022-11-10T14:14:01.373Z] 213ec9aee27d: Already exists [2022-11-10T14:14:01.373Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-10T14:14:01.373Z] Status: Downloaded newer image for alpine:3.16 [2022-11-10T14:14:01.373Z] ---> 9c6f07244728 [2022-11-10T14:14:01.373Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-11-10T14:14:01.373Z] ---> Running in 3e67b92502fd [2022-11-10T14:14:01.373Z] Removing intermediate container 3e67b92502fd [2022-11-10T14:14:01.373Z] ---> c06f8e823c1f [2022-11-10T14:14:01.373Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-10T14:14:01.373Z] ---> Running in ad9dc8fda777 [2022-11-10T14:14:01.373Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-10T14:14:01.373Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-10T14:14:01.373Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-10T14:14:01.373Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-10T14:14:01.373Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-10T14:14:01.373Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-10T14:14:01.373Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-10T14:14:01.373Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-10T14:14:01.373Z] Executing busybox-1.35.0-r17.trigger [2022-11-10T14:14:01.373Z] OK: 8 MiB in 20 packages [2022-11-10T14:14:01.373Z] Removing intermediate container ad9dc8fda777 [2022-11-10T14:14:01.373Z] ---> 3d6624291098 [2022-11-10T14:14:01.373Z] Step 17/26 : WORKDIR / [2022-11-10T14:14:01.374Z] ---> Running in ff6c5e647f31 [2022-11-10T14:14:01.374Z] Removing intermediate container ff6c5e647f31 [2022-11-10T14:14:01.374Z] ---> c8f5ec0c40b0 [2022-11-10T14:14:01.374Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-11-10T14:14:01.374Z] ---> ab3775c83206 [2022-11-10T14:14:01.374Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-11-10T14:14:01.374Z] ---> a78a913600ca [2022-11-10T14:14:01.374Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-11-10T14:14:01.374Z] ---> 8034fed34398 [2022-11-10T14:14:01.374Z] Step 21/26 : EXPOSE 59984 [2022-11-10T14:14:01.374Z] ---> Running in a6fb3a781f6a [2022-11-10T14:14:01.374Z] Removing intermediate container a6fb3a781f6a [2022-11-10T14:14:01.374Z] ---> fb06e749e44e [2022-11-10T14:14:01.374Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-11-10T14:14:01.374Z] ---> Running in c1df149e51df [2022-11-10T14:14:01.374Z] Removing intermediate container c1df149e51df [2022-11-10T14:14:01.374Z] ---> a6355b87e436 [2022-11-10T14:14:01.374Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-10T14:14:01.374Z] ---> Running in 5d0a473c8212 [2022-11-10T14:14:01.374Z] Removing intermediate container 5d0a473c8212 [2022-11-10T14:14:01.374Z] ---> 1508cf18b5d0 [2022-11-10T14:14:01.374Z] Step 24/26 : LABEL arch=amd64 [2022-11-10T14:14:01.374Z] ---> Running in c6b5e44ae227 [2022-11-10T14:14:01.374Z] Removing intermediate container c6b5e44ae227 [2022-11-10T14:14:01.374Z] ---> caa8db16ffa5 [2022-11-10T14:14:01.374Z] Step 25/26 : LABEL git_sha=c1b75f94bf465599af031118e7b7fcc8d1969457 [2022-11-10T14:14:01.374Z] ---> Running in b67c2fad4db2 [2022-11-10T14:14:01.374Z] Removing intermediate container b67c2fad4db2 [2022-11-10T14:14:01.374Z] ---> bae407380ceb [2022-11-10T14:14:01.374Z] Step 26/26 : LABEL version=0.0.0 [2022-11-10T14:14:01.374Z] ---> Running in 0bf083828cf4 [2022-11-10T14:14:01.374Z] Removing intermediate container 0bf083828cf4 [2022-11-10T14:14:01.374Z] ---> 832ef6cc7be5 [2022-11-10T14:14:01.374Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-10T14:14:01.374Z] Successfully built 832ef6cc7be5 [2022-11-10T14:14:01.374Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T14:14:01.822Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-10T14:14:01.822Z] [2022-11-10T14:14:01.822Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T14:14:02.118Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-10T14:14:02.118Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-10T14:14:02.118Z] 5eb5b503b376: Pulling fs layer [2022-11-10T14:14:02.118Z] 5c69ac0246d0: Pulling fs layer [2022-11-10T14:14:02.118Z] ec43610c2a17: Pulling fs layer [2022-11-10T14:14:02.118Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-10T14:14:02.118Z] 33b1e0a273af: Pulling fs layer [2022-11-10T14:14:02.118Z] 5d3b04190fa2: Pulling fs layer [2022-11-10T14:14:02.118Z] 2f39f015ded8: Pulling fs layer [2022-11-10T14:14:02.118Z] 3a2ae6a8a46f: Waiting [2022-11-10T14:14:02.118Z] 33b1e0a273af: Waiting [2022-11-10T14:14:02.118Z] 5d3b04190fa2: Waiting [2022-11-10T14:14:02.118Z] 5c69ac0246d0: Verifying Checksum [2022-11-10T14:14:02.118Z] 5c69ac0246d0: Download complete [2022-11-10T14:14:02.118Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-10T14:14:02.118Z] 3a2ae6a8a46f: Download complete [2022-11-10T14:14:02.376Z] 33b1e0a273af: Verifying Checksum [2022-11-10T14:14:02.376Z] 33b1e0a273af: Download complete [2022-11-10T14:14:02.376Z] 5d3b04190fa2: Download complete [2022-11-10T14:14:02.376Z] ec43610c2a17: Download complete [2022-11-10T14:14:02.376Z] 5eb5b503b376: Download complete [2022-11-10T14:14:02.941Z] 2f39f015ded8: Download complete [2022-11-10T14:14:03.592Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118925 in /w/workspace/undry_device-onvif-camera_PR-197 [Pipeline] { [Pipeline] ws [2022-11-10T14:14:03.606Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2022-11-10T14:14:03.642Z] The recommended git tool is: git [2022-11-10T14:14:03.875Z] 5eb5b503b376: Pull complete [2022-11-10T14:14:03.875Z] 5c69ac0246d0: Pull complete [2022-11-10T14:14:04.468Z] ec43610c2a17: Pull complete [2022-11-10T14:14:04.468Z] 3a2ae6a8a46f: Pull complete [2022-11-10T14:14:04.725Z] 33b1e0a273af: Pull complete [2022-11-10T14:14:04.725Z] 5d3b04190fa2: Pull complete [2022-11-10T14:14:08.478Z] using credential edgex-jenkins-ssh [2022-11-10T14:14:08.495Z] Cloning the remote Git repository [2022-11-10T14:14:08.541Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-11-10T14:14:08.613Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2022-11-10T14:14:08.760Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-11-10T14:14:08.762Z] > git --version # timeout=10 [2022-11-10T14:14:08.784Z] > git --version # 'git version 2.25.1' [2022-11-10T14:14:08.786Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-10T14:14:08.832Z] Verifying host key using known hosts file [2022-11-10T14:14:09.026Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-10T14:14:09.039Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-10T14:14:09.995Z] 2f39f015ded8: Pull complete [2022-11-10T14:14:09.996Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-10T14:14:09.996Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-10T14:14:09.996Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-10T14:14:10.065Z] prd-ubuntu20.04-docker-8c-8g-118924 does not seem to be running inside a container [2022-11-10T14:14:10.101Z] $ 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-197 -v /w/workspace/undry_device-onvif-camera_PR-197:/w/workspace/undry_device-onvif-camera_PR-197:rw,z -v /w/workspace/undry_device-onvif-camera_PR-197@tmp:/w/workspace/undry_device-onvif-camera_PR-197@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-10T14:14:10.630Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-11-10T14:14:10.650Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-10T14:14:12.235Z] Merging remotes/origin/main commit ef0e1dc43e01e3af63e43192147483735d9789c0 into PR head commit c1b75f94bf465599af031118e7b7fcc8d1969457 [2022-11-10T14:14:11.491Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-11-10T14:14:11.534Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-11-10T14:14:11.535Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-10T14:14:11.541Z] Verifying host key using known hosts file [2022-11-10T14:14:11.547Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-10T14:14:11.558Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/197/head:refs/remotes/origin/PR-197 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-11-10T14:14:12.253Z] > git config core.sparsecheckout # timeout=10 [2022-11-10T14:14:12.274Z] > git checkout -f c1b75f94bf465599af031118e7b7fcc8d1969457 # timeout=10 [2022-11-10T14:14:12.665Z] Merge succeeded, producing c1b75f94bf465599af031118e7b7fcc8d1969457 [2022-11-10T14:14:12.665Z] Checking out Revision c1b75f94bf465599af031118e7b7fcc8d1969457 (PR-197) [2022-11-10T14:14:13.148Z] $ docker top 9665ea6708447bb86e9fc1543d28e9e0a66d75e4502cd97819ac71e3e505c8cf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-10T14:14:13.541Z] ---> job-cost.sh [2022-11-10T14:14:13.541Z] lf-activate-venv: SKIPPING [2022-11-10T14:14:13.541Z] INFO: No Stack... [2022-11-10T14:14:12.561Z] > git remote # timeout=10 [2022-11-10T14:14:12.582Z] > git config --get remote.origin.url # timeout=10 [2022-11-10T14:14:12.602Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-10T14:14:12.607Z] Verifying host key using known hosts file [2022-11-10T14:14:12.613Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-10T14:14:12.622Z] > git merge ef0e1dc43e01e3af63e43192147483735d9789c0 # timeout=10 [2022-11-10T14:14:12.645Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-11-10T14:14:12.670Z] > git config core.sparsecheckout # timeout=10 [2022-11-10T14:14:12.688Z] > git checkout -f c1b75f94bf465599af031118e7b7fcc8d1969457 # timeout=10 [2022-11-10T14:14:14.110Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-10T14:14:14.369Z] INFO: Archiving Costs [Pipeline] sh [2022-11-10T14:14:14.661Z] + cat /w/workspace/undry_device-onvif-camera_PR-197/archives/cost.csv [2022-11-10T14:14:14.661Z] + cut -d, -f6 [Pipeline] lock [2022-11-10T14:14:14.675Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-197-2-stack-cost] [2022-11-10T14:14:14.681Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-197-2-stack-cost] did not exist. Created. [2022-11-10T14:14:14.681Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-197-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-10T14:14:14.976Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-10T14:14:15.006Z] Stashed 1 file(s) [Pipeline] } [2022-11-10T14:14:15.014Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-197-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-10T14:14:15.035Z] $ docker stop --time=1 9665ea6708447bb86e9fc1543d28e9e0a66d75e4502cd97819ac71e3e505c8cf [2022-11-10T14:14:16.235Z] $ docker rm -f 9665ea6708447bb86e9fc1543d28e9e0a66d75e4502cd97819ac71e3e505c8cf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-10T14:14:16.560Z] Commit message: "docs: Bump Swagger version for Levski to 2.3.0" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-10T14:14:17.485Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-10T14:14:17.485Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-10T14:14:17.485Z] Dload Upload Total Spent Left Speed [2022-11-10T14:14:17.485Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 99228 0 --:--:-- --:--:-- --:--:-- 99228 [Pipeline] sh [2022-11-10T14:14:18.199Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-10T14:14:18.533Z] + + sudo tee /etc/docker/daemon.new [2022-11-10T14:14:18.533Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-10T14:14:18.533Z] { [2022-11-10T14:14:18.533Z] "registry-mirrors": [ [2022-11-10T14:14:18.533Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-10T14:14:18.533Z] ], [2022-11-10T14:14:18.533Z] "bip": "10.250.0.254/24", [2022-11-10T14:14:18.533Z] "hosts": [ [2022-11-10T14:14:18.533Z] "tcp://0.0.0.0:5555", [2022-11-10T14:14:18.533Z] "unix:///var/run/docker.sock" [2022-11-10T14:14:18.533Z] ], [2022-11-10T14:14:18.533Z] "mtu": 1458, [2022-11-10T14:14:18.533Z] "selinux-enabled": true, [2022-11-10T14:14:18.533Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-10T14:14:18.533Z] } [Pipeline] sh [2022-11-10T14:14:18.862Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-10T14:14:19.197Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-10T14:14:37.477Z] provisioning config files... [2022-11-10T14:14:37.505Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config7434888549280474814tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-10T14:14:37.849Z] ---> docker-login.sh [2022-11-10T14:14:37.849Z] nexus3.edgexfoundry.org:10001 [2022-11-10T14:14:38.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T14:14:38.391Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T14:14:38.391Z] Configure a credential helper to remove this warning. See [2022-11-10T14:14:38.391Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T14:14:38.391Z] [2022-11-10T14:14:38.391Z] Login Succeeded [2022-11-10T14:14:38.391Z] nexus3.edgexfoundry.org:10002 [2022-11-10T14:14:38.658Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T14:14:38.658Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T14:14:38.658Z] Configure a credential helper to remove this warning. See [2022-11-10T14:14:38.658Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T14:14:38.658Z] [2022-11-10T14:14:38.658Z] Login Succeeded [2022-11-10T14:14:38.928Z] nexus3.edgexfoundry.org:10003 [2022-11-10T14:14:38.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T14:14:39.199Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T14:14:39.199Z] Configure a credential helper to remove this warning. See [2022-11-10T14:14:39.199Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T14:14:39.199Z] [2022-11-10T14:14:39.199Z] Login Succeeded [2022-11-10T14:14:39.199Z] nexus3.edgexfoundry.org:10004 [2022-11-10T14:14:39.468Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T14:14:39.468Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T14:14:39.468Z] Configure a credential helper to remove this warning. See [2022-11-10T14:14:39.468Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T14:14:39.468Z] [2022-11-10T14:14:39.468Z] Login Succeeded [2022-11-10T14:14:39.468Z] docker.io [2022-11-10T14:14:39.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-10T14:14:40.004Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-10T14:14:40.004Z] Configure a credential helper to remove this warning. See [2022-11-10T14:14:40.004Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-10T14:14:40.004Z] [2022-11-10T14:14:40.004Z] Login Succeeded [2022-11-10T14:14:40.004Z] ---> docker-login.sh ends [Pipeline] } [2022-11-10T14:14:40.020Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-10T14:14:40.176Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-10T14:14:40.188Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-10T14:14:40.195Z] ========================================================= [2022-11-10T14:14:40.195Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-10T14:14:40.195Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T14:14:40.532Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-11-10T14:14:41.125Z] Sending build context to Docker daemon 20.54MB [2022-11-10T14:14:41.125Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-11-10T14:14:41.125Z] Step 2/13 : FROM ${BASE} AS builder [2022-11-10T14:14:41.125Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-10T14:14:41.125Z] 9b18e9b68314: Pulling fs layer [2022-11-10T14:14:41.125Z] 35d82f9e3411: Pulling fs layer [2022-11-10T14:14:41.125Z] e16973657156: Pulling fs layer [2022-11-10T14:14:41.126Z] fc693d55d65f: Pulling fs layer [2022-11-10T14:14:41.126Z] 7e9fc2657dce: Pulling fs layer [2022-11-10T14:14:41.126Z] dda99020689f: Pulling fs layer [2022-11-10T14:14:41.126Z] db1c61fa0a46: Pulling fs layer [2022-11-10T14:14:41.126Z] 891c053d2c06: Pulling fs layer [2022-11-10T14:14:41.126Z] dda99020689f: Waiting [2022-11-10T14:14:41.126Z] fc693d55d65f: Waiting [2022-11-10T14:14:41.126Z] db1c61fa0a46: Waiting [2022-11-10T14:14:41.126Z] 7e9fc2657dce: Waiting [2022-11-10T14:14:41.126Z] 891c053d2c06: Waiting [2022-11-10T14:14:41.126Z] e16973657156: Verifying Checksum [2022-11-10T14:14:41.126Z] e16973657156: Download complete [2022-11-10T14:14:41.395Z] 35d82f9e3411: Verifying Checksum [2022-11-10T14:14:41.395Z] 35d82f9e3411: Download complete [2022-11-10T14:14:41.395Z] 7e9fc2657dce: Verifying Checksum [2022-11-10T14:14:41.395Z] 7e9fc2657dce: Download complete [2022-11-10T14:14:41.395Z] dda99020689f: Verifying Checksum [2022-11-10T14:14:41.395Z] dda99020689f: Download complete [2022-11-10T14:14:41.395Z] 9b18e9b68314: Verifying Checksum [2022-11-10T14:14:41.395Z] 9b18e9b68314: Download complete [2022-11-10T14:14:42.377Z] 9b18e9b68314: Pull complete [2022-11-10T14:14:42.377Z] 891c053d2c06: Verifying Checksum [2022-11-10T14:14:42.377Z] 891c053d2c06: Download complete [2022-11-10T14:14:42.970Z] 35d82f9e3411: Pull complete [2022-11-10T14:14:42.970Z] e16973657156: Pull complete [2022-11-10T14:14:43.559Z] db1c61fa0a46: Verifying Checksum [2022-11-10T14:14:43.559Z] db1c61fa0a46: Download complete [2022-11-10T14:14:44.147Z] fc693d55d65f: Download complete [2022-11-10T14:14:56.495Z] fc693d55d65f: Pull complete [2022-11-10T14:14:56.495Z] 7e9fc2657dce: Pull complete [2022-11-10T14:14:56.495Z] dda99020689f: Pull complete [2022-11-10T14:15:03.158Z] db1c61fa0a46: Pull complete [2022-11-10T14:15:04.572Z] 891c053d2c06: Pull complete [2022-11-10T14:15:04.572Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-10T14:15:04.572Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-10T14:15:04.572Z] ---> f96f9c87975a [2022-11-10T14:15:04.572Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2022-11-10T14:15:06.530Z] ---> Running in d14555b7e6ea [2022-11-10T14:15:06.530Z] Removing intermediate container d14555b7e6ea [2022-11-10T14:15:06.530Z] ---> b5629ad22daf [2022-11-10T14:15:06.530Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-10T14:15:06.530Z] ---> Running in 7dc20d8d49e6 [2022-11-10T14:15:06.797Z] Removing intermediate container 7dc20d8d49e6 [2022-11-10T14:15:06.797Z] ---> 6d6f96a51196 [2022-11-10T14:15:06.797Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-10T14:15:06.797Z] ---> Running in 4e8fed236ee1 [2022-11-10T14:15:07.063Z] Removing intermediate container 4e8fed236ee1 [2022-11-10T14:15:07.063Z] ---> dfe518b7920e [2022-11-10T14:15:07.063Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2022-11-10T14:15:07.330Z] ---> Running in e098927be6b0 [2022-11-10T14:15:07.597Z] Removing intermediate container e098927be6b0 [2022-11-10T14:15:07.597Z] ---> 18fffa50d2b2 [2022-11-10T14:15:07.597Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2022-11-10T14:15:07.597Z] ---> Running in 8f7f5e8952e7 [2022-11-10T14:15:07.866Z] Removing intermediate container 8f7f5e8952e7 [2022-11-10T14:15:07.866Z] ---> 8a28de83163a [2022-11-10T14:15:07.866Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-10T14:15:07.866Z] ---> Running in 86c28e895c3e [2022-11-10T14:15:09.282Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-10T14:15:09.282Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-10T14:15:10.242Z] OK: 221 MiB in 51 packages [2022-11-10T14:15:11.206Z] Removing intermediate container 86c28e895c3e [2022-11-10T14:15:11.206Z] ---> c633d84f6359 [2022-11-10T14:15:11.206Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-11-10T14:15:11.206Z] ---> Running in 8cdd5e8684f7 [2022-11-10T14:15:11.474Z] Removing intermediate container 8cdd5e8684f7 [2022-11-10T14:15:11.474Z] ---> 1a612f64cb0c [2022-11-10T14:15:11.474Z] Step 10/13 : COPY go.mod vendor* ./ [2022-11-10T14:15:12.061Z] ---> 3ea8d1971b19 [2022-11-10T14:15:12.061Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-10T14:15:12.061Z] ---> Running in 672f899ca7e4 [2022-11-10T14:16:08.486Z] Removing intermediate container 672f899ca7e4 [2022-11-10T14:16:08.486Z] ---> d6d7dd4f04fa [2022-11-10T14:16:08.486Z] Step 12/13 : COPY . . [2022-11-10T14:16:08.486Z] ---> 41abeec1c364 [2022-11-10T14:16:08.486Z] Step 13/13 : RUN ${MAKE} [2022-11-10T14:16:08.486Z] ---> Running in 5ada5939e623 [2022-11-10T14:16:08.486Z] noop [2022-11-10T14:16:08.751Z] Removing intermediate container 5ada5939e623 [2022-11-10T14:16:08.752Z] ---> e55060b12445 [2022-11-10T14:16:08.752Z] Successfully built e55060b12445 [2022-11-10T14:16:08.752Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T14:16:09.094Z] + docker inspect -f . ci-base-image-arm64 [2022-11-10T14:16:09.094Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-10T14:16:09.257Z] prd-ubuntu20.04-docker-arm64-4c-16g-118925 does not seem to be running inside a container [2022-11-10T14:16:09.311Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-10T14:16:10.400Z] $ docker top 41dc96889ab2a508c93f9fe3a2fe05f0f142e7edf9332d194d6a0d24de7e1b1e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-10T14:16:11.221Z] + go version [2022-11-10T14:16:11.221Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-10T14:16:11.237Z] $ docker stop --time=1 41dc96889ab2a508c93f9fe3a2fe05f0f142e7edf9332d194d6a0d24de7e1b1e [2022-11-10T14:16:12.853Z] $ docker rm -f 41dc96889ab2a508c93f9fe3a2fe05f0f142e7edf9332d194d6a0d24de7e1b1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T14:16:13.409Z] + docker inspect -f . ci-base-image-arm64 [2022-11-10T14:16:13.409Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-10T14:16:13.583Z] prd-ubuntu20.04-docker-arm64-4c-16g-118925 does not seem to be running inside a container [2022-11-10T14:16:13.654Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-11-10T14:16:14.815Z] $ docker top 865cb993a72c34f307952beb0e8b7bc3de054a102ced1ec4c93044e0a38167a1 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-10T14:16:15.312Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2022-11-10T14:16:15.638Z] + make test [2022-11-10T14:16:15.638Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-10T14:16:17.616Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-11-10T14:17:54.255Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-11-10T14:17:54.255Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.200s coverage: 29.3% of statements [2022-11-10T14:17:54.255Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-11-10T14:18:09.320Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 25.826s coverage: 86.5% of statements [2022-11-10T14:18:09.320Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-10T14:18:09.320Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-10T14:18:31.378Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-10T14:18:31.378Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-10T14:18:31.650Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-10T14:18:31.936Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-10T14:18:31.947Z] $ docker stop --time=1 865cb993a72c34f307952beb0e8b7bc3de054a102ced1ec4c93044e0a38167a1 [2022-11-10T14:18:33.709Z] $ docker rm -f 865cb993a72c34f307952beb0e8b7bc3de054a102ced1ec4c93044e0a38167a1 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-10T14:18:34.663Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-10T14:18:34.685Z] Warning: overwriting stash ‘coverage-report’ [2022-11-10T14:18:35.158Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-10T14:18:35.539Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-10T14:18:35.852Z] + ls -al . [2022-11-10T14:18:35.852Z] total 244 [2022-11-10T14:18:35.852Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 10 14:16 . [2022-11-10T14:18:35.852Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 14:14 .. [2022-11-10T14:18:35.852Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 10 14:14 .git [2022-11-10T14:18:35.852Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 14:14 .github [2022-11-10T14:18:35.852Z] -rw-rw-r-- 1 jenkins jenkins 496 Nov 10 14:14 .gitignore [2022-11-10T14:18:35.852Z] -rw-rw-r-- 1 jenkins jenkins 42 Nov 10 14:14 .golangci.yml [2022-11-10T14:18:35.852Z] -rw-rw-r-- 1 jenkins jenkins 9739 Nov 10 14:14 Attribution.txt [2022-11-10T14:18:35.852Z] -rw-rw-r-- 1 jenkins jenkins 6312 Nov 10 14:14 CHANGELOG.md [2022-11-10T14:18:35.852Z] -rw-rw-r-- 1 jenkins jenkins 1637 Nov 10 14:14 Dockerfile [2022-11-10T14:18:35.852Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 10 14:14 GOVERNANCE.md [2022-11-10T14:18:35.852Z] -rw-rw-r-- 1 jenkins jenkins 734 Nov 10 14:14 Jenkinsfile [2022-11-10T14:18:35.852Z] -rw-rw-r-- 1 jenkins jenkins 11348 Nov 10 14:14 LICENSE [2022-11-10T14:18:35.852Z] -rw-rw-r-- 1 jenkins jenkins 2858 Nov 10 14:14 Makefile [2022-11-10T14:18:35.852Z] -rw-rw-r-- 1 jenkins jenkins 625 Nov 10 14:14 OWNERS.md [2022-11-10T14:18:35.852Z] -rw-rw-r-- 1 jenkins jenkins 6595 Nov 10 14:14 README.md [2022-11-10T14:18:35.852Z] -rw-rw-r-- 1 jenkins jenkins 5 Nov 10 14:12 VERSION [2022-11-10T14:18:35.852Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 10 14:14 bin [2022-11-10T14:18:35.852Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 10 14:14 cmd [2022-11-10T14:18:35.852Z] -rw-r--r-- 1 jenkins jenkins 79184 Nov 10 14:18 coverage.out [2022-11-10T14:18:35.852Z] drwxrwxr-x 6 jenkins jenkins 4096 Nov 10 14:14 doc [2022-11-10T14:18:35.852Z] -rw-rw-r-- 1 jenkins jenkins 3687 Nov 10 14:14 go.mod [2022-11-10T14:18:35.852Z] -rw-rw-r-- 1 jenkins jenkins 46105 Nov 10 14:14 go.sum [2022-11-10T14:18:35.852Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 14:14 internal [2022-11-10T14:18:35.852Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 10 14:14 snap [2022-11-10T14:18:35.852Z] -rw-rw-r-- 1 jenkins jenkins 236 Nov 10 14:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T14:18:36.185Z] + 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=c1b75f94bf465599af031118e7b7fcc8d1969457 --label arch=arm64 --label version=0.0.0 . [2022-11-10T14:18:36.770Z] Sending build context to Docker daemon 20.62MB [2022-11-10T14:18:36.770Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-11-10T14:18:36.770Z] Step 2/26 : FROM ${BASE} AS builder [2022-11-10T14:18:36.770Z] ---> e55060b12445 [2022-11-10T14:18:36.770Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2022-11-10T14:18:36.770Z] ---> Running in 9f8ba74e72c9 [2022-11-10T14:18:37.350Z] Removing intermediate container 9f8ba74e72c9 [2022-11-10T14:18:37.350Z] ---> 4c53b412265e [2022-11-10T14:18:37.350Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-10T14:18:37.350Z] ---> Running in 8216e4c7c3bc [2022-11-10T14:18:37.621Z] Removing intermediate container 8216e4c7c3bc [2022-11-10T14:18:37.621Z] ---> c7c5399429b5 [2022-11-10T14:18:37.621Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-11-10T14:18:37.621Z] ---> Running in 01bfc4af6dea [2022-11-10T14:18:37.888Z] Removing intermediate container 01bfc4af6dea [2022-11-10T14:18:37.888Z] ---> b38aad5509ea [2022-11-10T14:18:37.888Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2022-11-10T14:18:37.888Z] ---> Running in e037f4e435e0 [2022-11-10T14:18:38.154Z] Removing intermediate container e037f4e435e0 [2022-11-10T14:18:38.154Z] ---> 876c39c0489b [2022-11-10T14:18:38.154Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2022-11-10T14:18:38.154Z] ---> Running in 3aaa9e8a989a [2022-11-10T14:18:38.423Z] Removing intermediate container 3aaa9e8a989a [2022-11-10T14:18:38.423Z] ---> 4c471aec5882 [2022-11-10T14:18:38.423Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-10T14:18:38.692Z] ---> Running in 04e5d0c0ec95 [2022-11-10T14:18:39.646Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-10T14:18:39.910Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-10T14:18:40.866Z] OK: 221 MiB in 51 packages [2022-11-10T14:18:41.445Z] Removing intermediate container 04e5d0c0ec95 [2022-11-10T14:18:41.446Z] ---> 89c63d2bcf73 [2022-11-10T14:18:41.446Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-11-10T14:18:41.446Z] ---> Running in 39e5cd096fc9 [2022-11-10T14:18:41.712Z] Removing intermediate container 39e5cd096fc9 [2022-11-10T14:18:41.712Z] ---> 2d7a4418c990 [2022-11-10T14:18:41.712Z] Step 10/26 : COPY go.mod vendor* ./ [2022-11-10T14:18:42.294Z] ---> 894eed3074fa [2022-11-10T14:18:42.294Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-10T14:18:42.294Z] ---> Running in 464441e05633 [2022-11-10T14:18:44.238Z] Removing intermediate container 464441e05633 [2022-11-10T14:18:44.238Z] ---> a72af5d4cc23 [2022-11-10T14:18:44.238Z] Step 12/26 : COPY . . [2022-11-10T14:18:46.187Z] ---> 27562f2889a0 [2022-11-10T14:18:46.187Z] Step 13/26 : RUN ${MAKE} [2022-11-10T14:18:46.187Z] ---> Running in 94ad9974852e [2022-11-10T14:18:47.152Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-11-10T14:21:23.881Z] Removing intermediate container 94ad9974852e [2022-11-10T14:21:23.881Z] ---> 7c8e331950f1 [2022-11-10T14:21:23.881Z] Step 14/26 : FROM alpine:3.16 [2022-11-10T14:21:23.881Z] 3.16: Pulling from library/alpine [2022-11-10T14:21:23.881Z] 9b18e9b68314: Already exists [2022-11-10T14:21:23.881Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-10T14:21:23.881Z] Status: Downloaded newer image for alpine:3.16 [2022-11-10T14:21:23.881Z] ---> a6215f271958 [2022-11-10T14:21:23.881Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-11-10T14:21:23.881Z] ---> Running in c64ab8c94968 [2022-11-10T14:21:23.881Z] Removing intermediate container c64ab8c94968 [2022-11-10T14:21:23.881Z] ---> 5949d01679d0 [2022-11-10T14:21:23.881Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-10T14:21:23.881Z] ---> Running in 8987301eef9f [2022-11-10T14:21:23.881Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-10T14:21:23.881Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-10T14:21:24.474Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-10T14:21:24.474Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-10T14:21:24.474Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-10T14:21:24.474Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-10T14:21:24.743Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-10T14:21:24.743Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-10T14:21:24.743Z] Executing busybox-1.35.0-r17.trigger [2022-11-10T14:21:24.743Z] OK: 8 MiB in 20 packages [2022-11-10T14:21:25.840Z] Removing intermediate container 8987301eef9f [2022-11-10T14:21:25.840Z] ---> 5a107c60dd50 [2022-11-10T14:21:25.840Z] Step 17/26 : WORKDIR / [2022-11-10T14:21:26.119Z] ---> Running in 43b8fc877ea8 [2022-11-10T14:21:26.410Z] Removing intermediate container 43b8fc877ea8 [2022-11-10T14:21:26.410Z] ---> 498340c10047 [2022-11-10T14:21:26.410Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-11-10T14:21:28.468Z] ---> ec0ffcc7ad6a [2022-11-10T14:21:28.468Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-11-10T14:21:28.468Z] ---> 92ff7aedeec8 [2022-11-10T14:21:28.468Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-11-10T14:21:29.081Z] ---> 3e01b9893b6e [2022-11-10T14:21:29.081Z] Step 21/26 : EXPOSE 59984 [2022-11-10T14:21:29.081Z] ---> Running in a5b0bd21b115 [2022-11-10T14:21:29.351Z] Removing intermediate container a5b0bd21b115 [2022-11-10T14:21:29.351Z] ---> 0932390cd893 [2022-11-10T14:21:29.351Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-11-10T14:21:29.628Z] ---> Running in 0d95cda13b2b [2022-11-10T14:21:29.895Z] Removing intermediate container 0d95cda13b2b [2022-11-10T14:21:29.895Z] ---> 773ceeb0fc79 [2022-11-10T14:21:29.895Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-11-10T14:21:29.895Z] ---> Running in 2f5c2748024f [2022-11-10T14:21:30.161Z] Removing intermediate container 2f5c2748024f [2022-11-10T14:21:30.161Z] ---> d54d62494836 [2022-11-10T14:21:30.161Z] Step 24/26 : LABEL arch=arm64 [2022-11-10T14:21:30.161Z] ---> Running in e1e41131c9bb [2022-11-10T14:21:30.427Z] Removing intermediate container e1e41131c9bb [2022-11-10T14:21:30.427Z] ---> 18babc50ca79 [2022-11-10T14:21:30.427Z] Step 25/26 : LABEL git_sha=c1b75f94bf465599af031118e7b7fcc8d1969457 [2022-11-10T14:21:30.427Z] ---> Running in 555aa0ca5274 [2022-11-10T14:21:30.695Z] Removing intermediate container 555aa0ca5274 [2022-11-10T14:21:30.695Z] ---> 41b883dc5bc7 [2022-11-10T14:21:30.695Z] Step 26/26 : LABEL version=0.0.0 [2022-11-10T14:21:30.962Z] ---> Running in 7fb71c2cca15 [2022-11-10T14:21:31.231Z] Removing intermediate container 7fb71c2cca15 [2022-11-10T14:21:31.231Z] ---> d347f3397dab [2022-11-10T14:21:31.231Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-10T14:21:31.231Z] Successfully built d347f3397dab [2022-11-10T14:21:31.231Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T14:21:31.636Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-10T14:21:31.637Z] [2022-11-10T14:21:31.637Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T14:21:31.962Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-10T14:21:31.962Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-10T14:21:31.962Z] 8998bd30e6a1: Pulling fs layer [2022-11-10T14:21:31.962Z] 04944245beec: Pulling fs layer [2022-11-10T14:21:31.962Z] 699f458cf7ca: Pulling fs layer [2022-11-10T14:21:31.962Z] 765212b225bb: Pulling fs layer [2022-11-10T14:21:31.962Z] f23df028b6ca: Pulling fs layer [2022-11-10T14:21:31.962Z] d65c8cfc05b1: Pulling fs layer [2022-11-10T14:21:31.963Z] 2437ff75d9bd: Pulling fs layer [2022-11-10T14:21:31.963Z] 765212b225bb: Waiting [2022-11-10T14:21:31.963Z] f23df028b6ca: Waiting [2022-11-10T14:21:31.963Z] d65c8cfc05b1: Waiting [2022-11-10T14:21:31.963Z] 2437ff75d9bd: Waiting [2022-11-10T14:21:32.233Z] 04944245beec: Verifying Checksum [2022-11-10T14:21:32.233Z] 04944245beec: Download complete [2022-11-10T14:21:32.233Z] 765212b225bb: Verifying Checksum [2022-11-10T14:21:32.233Z] 765212b225bb: Download complete [2022-11-10T14:21:32.233Z] f23df028b6ca: Verifying Checksum [2022-11-10T14:21:32.233Z] f23df028b6ca: Download complete [2022-11-10T14:21:32.233Z] d65c8cfc05b1: Verifying Checksum [2022-11-10T14:21:32.233Z] d65c8cfc05b1: Download complete [2022-11-10T14:21:32.233Z] 699f458cf7ca: Verifying Checksum [2022-11-10T14:21:32.233Z] 699f458cf7ca: Download complete [2022-11-10T14:21:32.816Z] 8998bd30e6a1: Verifying Checksum [2022-11-10T14:21:32.816Z] 8998bd30e6a1: Download complete [2022-11-10T14:21:35.395Z] 2437ff75d9bd: Verifying Checksum [2022-11-10T14:21:35.395Z] 2437ff75d9bd: Download complete [2022-11-10T14:21:36.807Z] 8998bd30e6a1: Pull complete [2022-11-10T14:21:37.074Z] 04944245beec: Pull complete [2022-11-10T14:21:38.511Z] 699f458cf7ca: Pull complete [2022-11-10T14:21:38.511Z] 765212b225bb: Pull complete [2022-11-10T14:21:39.469Z] f23df028b6ca: Pull complete [2022-11-10T14:21:39.469Z] d65c8cfc05b1: Pull complete [2022-11-10T14:21:54.463Z] 2437ff75d9bd: Pull complete [2022-11-10T14:21:54.463Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-10T14:21:54.463Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-10T14:21:54.463Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-10T14:21:54.641Z] prd-ubuntu20.04-docker-arm64-4c-16g-118925 does not seem to be running inside a container [2022-11-10T14:21:54.694Z] $ 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/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-11-10T14:21:57.033Z] $ docker top cbcdf5b104ad3e3cdc637f4925ebe706e96901e56d310842efeb2659dd44c491 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-10T14:21:57.849Z] ---> job-cost.sh [2022-11-10T14:21:57.849Z] lf-activate-venv: SKIPPING [2022-11-10T14:21:57.849Z] INFO: No Stack... [2022-11-10T14:21:58.113Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-10T14:21:59.070Z] INFO: Archiving Costs [Pipeline] sh [2022-11-10T14:21:59.389Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [2022-11-10T14:21:59.389Z] + cut -d, -f6 [Pipeline] lock [2022-11-10T14:21:59.451Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-197-2-stack-cost] [2022-11-10T14:21:59.457Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-197-2-stack-cost] did not exist. Created. [2022-11-10T14:21:59.458Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-197-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-10T14:21:59.784Z] /w/workspace/device-onvif-camera/2@tmp/durable-ca5c07fd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-10T14:22:00.692Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-10T14:22:00.714Z] Warning: overwriting stash ‘stack-cost’ [2022-11-10T14:22:00.768Z] Stashed 1 file(s) [Pipeline] } [2022-11-10T14:22:00.774Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-197-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-10T14:22:00.785Z] $ docker stop --time=1 cbcdf5b104ad3e3cdc637f4925ebe706e96901e56d310842efeb2659dd44c491 [2022-11-10T14:22:02.259Z] $ docker rm -f cbcdf5b104ad3e3cdc637f4925ebe706e96901e56d310842efeb2659dd44c491 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-11-10T14:22:02.642Z] provisioning config files... [2022-11-10T14:22:02.649Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-197@tmp/config14310430105187455860tmp [Pipeline] { [Pipeline] sh [2022-11-10T14:22:02.937Z] + set +x [2022-11-10T14:22:02.937Z] + curl -s https://codecov.io/bash [2022-11-10T14:22:02.937Z] + bash -s -- [2022-11-10T14:22:02.937Z] [2022-11-10T14:22:02.937Z] _____ _ [2022-11-10T14:22:02.937Z] / ____| | | [2022-11-10T14:22:02.937Z] | | ___ __| | ___ ___ _____ __ [2022-11-10T14:22:02.937Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-10T14:22:02.937Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-10T14:22:02.937Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-10T14:22:02.937Z] Bash-1.0.6 [2022-11-10T14:22:02.937Z] [2022-11-10T14:22:02.937Z] [2022-11-10T14:22:02.937Z] ==> git version 2.25.1 found [2022-11-10T14:22:02.937Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-11-10T14:22:02.937Z] Release-Date: 2020-01-08 [2022-11-10T14:22:02.937Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-11-10T14:22:02.938Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-10T14:22:02.938Z] ==> Jenkins CI detected. [2022-11-10T14:22:02.938Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-197 [2022-11-10T14:22:02.938Z] project root: . [2022-11-10T14:22:02.938Z] --> token set from env [2022-11-10T14:22:02.938Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-10T14:22:02.938Z] ==> Running gcov in . (disable via -X gcov) [2022-11-10T14:22:02.938Z] ==> Python coveragepy not found [2022-11-10T14:22:02.938Z] ==> Searching for coverage reports in: [2022-11-10T14:22:02.938Z] + . [2022-11-10T14:22:02.938Z] -> Found 1 reports [2022-11-10T14:22:02.938Z] ==> Detecting git/mercurial file structure [2022-11-10T14:22:03.198Z] ==> Reading reports [2022-11-10T14:22:03.198Z] + ./coverage.out bytes=79184 [2022-11-10T14:22:03.198Z] ==> Appending adjustments [2022-11-10T14:22:03.198Z] https://docs.codecov.io/docs/fixing-reports [2022-11-10T14:22:03.198Z] + Found adjustments [2022-11-10T14:22:03.198Z] ==> Gzipping contents [2022-11-10T14:22:03.198Z] 12K /tmp/codecov.MWdSJM.gz [2022-11-10T14:22:03.198Z] ==> Uploading reports [2022-11-10T14:22:03.198Z] url: https://codecov.io [2022-11-10T14:22:03.198Z] query: branch=PR-197&commit=c1b75f94bf465599af031118e7b7fcc8d1969457&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-197%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=197&job=&cmd_args= [2022-11-10T14:22:03.198Z] -> Pinging Codecov [2022-11-10T14:22:03.198Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-197&commit=c1b75f94bf465599af031118e7b7fcc8d1969457&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-197%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=197&job=&cmd_args= [2022-11-10T14:22:03.765Z] -> Uploading to [2022-11-10T14:22:03.765Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-10/F29A59C45E3A92E06B3E522C9905F8EF/c1b75f94bf465599af031118e7b7fcc8d1969457/26be42dc-251c-43e7-97fd-6631e5506458.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221110T142203Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ae86a157214091152eeb1ac7a58c5e8c3db82de7efcea7337f6c9bcc0c17875a [2022-11-10T14:22:03.765Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-10T14:22:03.765Z] Dload Upload Total Spent Left Speed [2022-11-10T14:22:04.025Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10872 0 0 100 10872 0 42139 --:--:-- --:--:-- --:--:-- 41976 [2022-11-10T14:22:04.025Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/c1b75f94bf465599af031118e7b7fcc8d1969457 [Pipeline] } [2022-11-10T14:22:04.032Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-11-10T14:22:04.705Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-197/archives ] [2022-11-10T14:22:04.705Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-197/archives [2022-11-10T14:22:04.705Z] total 16 [2022-11-10T14:22:04.705Z] drwxr-xr-x 3 root root 4096 Nov 10 14:14 . [2022-11-10T14:22:04.705Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 10 14:14 .. [2022-11-10T14:22:04.705Z] drwxr-xr-x 2 root root 4096 Nov 10 14:14 cost [2022-11-10T14:22:04.705Z] -rw-r--r-- 1 root root 91 Nov 10 14:14 cost.csv [2022-11-10T14:22:04.705Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-197/archives [2022-11-10T14:22:04.705Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-197/archives [2022-11-10T14:22:04.705Z] total 16 [2022-11-10T14:22:04.705Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 10 14:14 . [2022-11-10T14:22:04.705Z] drwxrwxr-x 11 jenkins jenkins 4096 Nov 10 14:14 .. [2022-11-10T14:22:04.705Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 10 14:14 cost [2022-11-10T14:22:04.705Z] -rw-r--r-- 1 jenkins jenkins 91 Nov 10 14:14 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-10T14:22:04.990Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-10T14:22:05.844Z] ---> package-listing.sh [2022-11-10T14:22:05.844Z] ++ facter osfamily [2022-11-10T14:22:05.844Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-10T14:22:06.101Z] + OS_FAMILY=debian [2022-11-10T14:22:06.101Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-197 [2022-11-10T14:22:06.101Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-10T14:22:06.101Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-10T14:22:06.101Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-10T14:22:06.101Z] + PACKAGES=/tmp/packages_start.txt [2022-11-10T14:22:06.101Z] + '[' /w/workspace/undry_device-onvif-camera_PR-197 ']' [2022-11-10T14:22:06.101Z] + PACKAGES=/tmp/packages_end.txt [2022-11-10T14:22:06.101Z] + case "${OS_FAMILY}" in [2022-11-10T14:22:06.101Z] + dpkg -l [2022-11-10T14:22:06.101Z] + grep '^ii' [2022-11-10T14:22:06.101Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-10T14:22:06.101Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-10T14:22:06.101Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-10T14:22:06.101Z] + '[' /w/workspace/undry_device-onvif-camera_PR-197 ']' [2022-11-10T14:22:06.101Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-197/archives/ [2022-11-10T14:22:06.101Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-197/archives/ [Pipeline] echo [2022-11-10T14:22:06.112Z] 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-197/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-11-10T14:22:06.386Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-10T14:22:06.937Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-10T14:22:06.937Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-10T14:22:06.998Z] prd-ubuntu20.04-docker-8c-8g-118924 does not seem to be running inside a container [2022-11-10T14:22:07.029Z] $ 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-197/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-197 -v /w/workspace/undry_device-onvif-camera_PR-197:/w/workspace/undry_device-onvif-camera_PR-197:rw,z -v /w/workspace/undry_device-onvif-camera_PR-197@tmp:/w/workspace/undry_device-onvif-camera_PR-197@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-11-10T14:22:07.250Z] $ docker top 0ace5a96374b439c3253451cef9ebf0bc50e91c97c3026d290517062da26354b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-10T14:22:07.596Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-10T14:22:07.878Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-10T14:22:08.161Z] + ls /var/log/sa-host [2022-11-10T14:22:08.161Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-10T14:22:08.232Z] provisioning config files... [2022-11-10T14:22:08.242Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-197@tmp/config8202591402793521750tmp [Pipeline] { [Pipeline] echo [2022-11-10T14:22:08.254Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-10T14:22:08.535Z] ---> create-netrc.sh [Pipeline] } [2022-11-10T14:22:08.542Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-10T14:22:08.867Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-10T14:22:08.875Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-10T14:22:09.152Z] ---> sudo-logs.sh [2022-11-10T14:22:09.152Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-10T14:22:09.184Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-10T14:22:09.464Z] ---> job-cost.sh [2022-11-10T14:22:09.465Z] lf-activate-venv: SKIPPING [2022-11-10T14:22:09.465Z] DEBUG: total: 0.2199999988079071 [2022-11-10T14:22:09.465Z] INFO: Retrieving Stack Cost... [2022-11-10T14:22:09.724Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-10T14:22:10.293Z] INFO: Archiving Costs [Pipeline] echo [2022-11-10T14:22:10.309Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-10T14:22:10.599Z] ---> logs-deploy.sh [2022-11-10T14:22:10.599Z] lf-activate-venv: SKIPPING [2022-11-10T14:22:10.599Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-197/2 [2022-11-10T14:22:10.599Z] INFO: archiving workspace using pattern(s): [2022-11-10T14:22:11.533Z] Archives upload complete. [2022-11-10T14:22:11.533Z] INFO: archiving logs to Nexus