Pull request #204 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 97abc99f4f4fbeca99fe9bce6272f5efdfbb3543+e283d27a39f6608c4972b60e45559292c212ac31 (dfb026b6c0f4a424772b90984da7fe0b6f69b33e) 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-ssh15871934111978757517.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh12555912172535644846.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-204/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-204/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4241814056803549234.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-204/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh828875587091322138.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh4071041906324221728.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-204/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-204/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7571204939896600231.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-1418 in /w/workspace/undry_device-onvif-camera_PR-204 [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-204 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/204/head:refs/remotes/origin/PR-204 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit e283d27a39f6608c4972b60e45559292c212ac31 into PR head commit 97abc99f4f4fbeca99fe9bce6272f5efdfbb3543 Merge succeeded, producing 97abc99f4f4fbeca99fe9bce6272f5efdfbb3543 Checking out Revision 97abc99f4f4fbeca99fe9bce6272f5efdfbb3543 (PR-204) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-09T03:08:50.073Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-09T03:08:50.230Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 97abc99f4f4fbeca99fe9bce6272f5efdfbb3543 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge e283d27a39f6608c4972b60e45559292c212ac31 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 97abc99f4f4fbeca99fe9bce6272f5efdfbb3543 # timeout=10 [Pipeline] echo [2023-01-09T03:08:50.316Z] ========================================================= [2023-01-09T03:08:50.316Z] EdgeX Global Pipelines Version Info [2023-01-09T03:08:50.316Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-09T03:08:51.426Z] ------------------- [2023-01-09T03:08:51.426Z] stable info: [2023-01-09T03:08:51.426Z] ------------------- [2023-01-09T03:08:51.426Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-09T03:08:51.426Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-09T03:08:51.426Z] Message: update stable to v1.0.244 [2023-01-09T03:08:51.685Z] ------------------- [2023-01-09T03:08:51.685Z] experimental info: [2023-01-09T03:08:51.685Z] ------------------- [2023-01-09T03:08:51.685Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-09T03:08:51.685Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-09T03:08:51.685Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-09T03:08:51.968Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-01-09T03:08:52.014Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-01-09T03:08:52.060Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-09T03:08:52.102Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-09T03:08:52.147Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-09T03:08:52.185Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-09T03:08:52.228Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-09T03:08:52.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-09T03:08:52.303Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-09T03:08:52.340Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-09T03:08:52.377Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-09T03:08:52.412Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-01-09T03:08:52.447Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-09T03:08:52.487Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-09T03:08:52.524Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-09T03:08:52.560Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-09T03:08:52.603Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-09T03:08:52.641Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-09T03:08:52.677Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-09T03:08:52.714Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-09T03:08:52.750Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-09T03:08:52.787Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-01-09T03:08:52.826Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-09T03:08:52.862Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-09T03:08:52.899Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-09T03:08:52.932Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-09T03:08:52.980Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-09T03:08:53.016Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-204 [Pipeline] echo [2023-01-09T03:08:53.054Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-204 [Pipeline] echo [2023-01-09T03:08:53.100Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-204 [Pipeline] echo [2023-01-09T03:08:53.142Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 97abc99f4f4fbeca99fe9bce6272f5efdfbb3543 [Pipeline] echo [2023-01-09T03:08:53.182Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 97abc99 [Pipeline] echo [2023-01-09T03:08:53.222Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-09T03:08:53.336Z] provisioning config files... [2023-01-09T03:08:53.352Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-204@tmp/config8235904743062493432tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T03:08:53.700Z] ---> docker-login.sh [2023-01-09T03:08:53.700Z] nexus3.edgexfoundry.org:10001 [2023-01-09T03:08:53.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T03:08:53.962Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T03:08:53.962Z] Configure a credential helper to remove this warning. See [2023-01-09T03:08:53.962Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T03:08:53.962Z] [2023-01-09T03:08:53.962Z] Login Succeeded [2023-01-09T03:08:53.962Z] nexus3.edgexfoundry.org:10002 [2023-01-09T03:08:53.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T03:08:54.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T03:08:54.222Z] Configure a credential helper to remove this warning. See [2023-01-09T03:08:54.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T03:08:54.222Z] [2023-01-09T03:08:54.222Z] Login Succeeded [2023-01-09T03:08:54.222Z] nexus3.edgexfoundry.org:10003 [2023-01-09T03:08:54.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T03:08:54.222Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T03:08:54.222Z] Configure a credential helper to remove this warning. See [2023-01-09T03:08:54.222Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T03:08:54.222Z] [2023-01-09T03:08:54.222Z] Login Succeeded [2023-01-09T03:08:54.222Z] nexus3.edgexfoundry.org:10004 [2023-01-09T03:08:54.222Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T03:08:54.481Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T03:08:54.481Z] Configure a credential helper to remove this warning. See [2023-01-09T03:08:54.481Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T03:08:54.481Z] [2023-01-09T03:08:54.481Z] Login Succeeded [2023-01-09T03:08:54.481Z] docker.io [2023-01-09T03:08:54.481Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T03:08:54.741Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T03:08:54.741Z] Configure a credential helper to remove this warning. See [2023-01-09T03:08:54.741Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T03:08:54.741Z] [2023-01-09T03:08:54.741Z] Login Succeeded [2023-01-09T03:08:54.741Z] ---> docker-login.sh ends [Pipeline] } [2023-01-09T03:08:54.770Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-09T03:08:55.370Z] + git rev-list -1 --merges 97abc99f4f4fbeca99fe9bce6272f5efdfbb3543~1..97abc99f4f4fbeca99fe9bce6272f5efdfbb3543 [Pipeline] echo [2023-01-09T03:08:55.445Z] -----------> git rev-list -1 --merges 97abc99f4f4fbeca99fe9bce6272f5efdfbb3543~1..97abc99f4f4fbeca99fe9bce6272f5efdfbb3543 97abc99f4f4fbeca99fe9bce6272f5efdfbb3543 [false] [Pipeline] sh [2023-01-09T03:08:55.758Z] + git log --format=format:%s -1 97abc99f4f4fbeca99fe9bce6272f5efdfbb3543 [Pipeline] echo [2023-01-09T03:08:55.796Z] ========================================================= [2023-01-09T03:08:55.796Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-09T03:08:55.796Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-09T03:08:56.242Z] + git log --format=format:%s -1 97abc99f4f4fbeca99fe9bce6272f5efdfbb3543 [Pipeline] echo [2023-01-09T03:08:56.273Z] [semverPrep] GIT_COMMIT: 97abc99f4f4fbeca99fe9bce6272f5efdfbb3543, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-01-09T03:08:56.304Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-09T03:08:56.685Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-09T03:08:56.685Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-09T03:08:56.685Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-09T03:08:56.685Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-09T03:08:56.685Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-09T03:08:56.685Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-09T03:08:56.685Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T03:08:57.103Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-09T03:08:57.103Z] [2023-01-09T03:08:57.103Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T03:08:57.480Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-09T03:08:57.480Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-09T03:08:57.480Z] b85a868b505f: Pulling fs layer [2023-01-09T03:08:57.480Z] e2be974225ed: Pulling fs layer [2023-01-09T03:08:57.480Z] 339a4e72a1f5: Pulling fs layer [2023-01-09T03:08:57.480Z] 988bab9f4d93: Pulling fs layer [2023-01-09T03:08:57.480Z] 1469e6f7b9e6: Pulling fs layer [2023-01-09T03:08:57.480Z] eaf3925da568: Pulling fs layer [2023-01-09T03:08:57.480Z] bab4dde63d76: Pulling fs layer [2023-01-09T03:08:57.480Z] bde34c3a00c8: Pulling fs layer [2023-01-09T03:08:57.480Z] b352a97aabf1: Pulling fs layer [2023-01-09T03:08:57.480Z] 4872d77fe225: Pulling fs layer [2023-01-09T03:08:57.480Z] 5851b861e8e6: Pulling fs layer [2023-01-09T03:08:57.480Z] 988bab9f4d93: Waiting [2023-01-09T03:08:57.480Z] b352a97aabf1: Waiting [2023-01-09T03:08:57.480Z] 4872d77fe225: Waiting [2023-01-09T03:08:57.480Z] 5851b861e8e6: Waiting [2023-01-09T03:08:57.480Z] 1469e6f7b9e6: Waiting [2023-01-09T03:08:57.480Z] eaf3925da568: Waiting [2023-01-09T03:08:57.480Z] bab4dde63d76: Waiting [2023-01-09T03:08:57.480Z] bde34c3a00c8: Waiting [2023-01-09T03:08:57.481Z] e2be974225ed: Download complete [2023-01-09T03:08:57.481Z] 988bab9f4d93: Verifying Checksum [2023-01-09T03:08:57.481Z] 988bab9f4d93: Download complete [2023-01-09T03:08:57.740Z] 1469e6f7b9e6: Verifying Checksum [2023-01-09T03:08:57.740Z] 1469e6f7b9e6: Download complete [2023-01-09T03:08:57.740Z] eaf3925da568: Verifying Checksum [2023-01-09T03:08:57.740Z] eaf3925da568: Download complete [2023-01-09T03:08:57.740Z] 339a4e72a1f5: Verifying Checksum [2023-01-09T03:08:57.740Z] 339a4e72a1f5: Download complete [2023-01-09T03:08:57.740Z] bde34c3a00c8: Download complete [2023-01-09T03:08:57.740Z] b352a97aabf1: Verifying Checksum [2023-01-09T03:08:57.740Z] b352a97aabf1: Download complete [2023-01-09T03:08:57.740Z] 4872d77fe225: Verifying Checksum [2023-01-09T03:08:57.740Z] 4872d77fe225: Download complete [2023-01-09T03:08:57.740Z] 5851b861e8e6: Verifying Checksum [2023-01-09T03:08:57.740Z] 5851b861e8e6: Download complete [2023-01-09T03:08:57.740Z] b85a868b505f: Verifying Checksum [2023-01-09T03:08:57.740Z] b85a868b505f: Download complete [2023-01-09T03:08:57.998Z] bab4dde63d76: Verifying Checksum [2023-01-09T03:08:57.998Z] bab4dde63d76: Download complete [2023-01-09T03:08:58.933Z] b85a868b505f: Pull complete [2023-01-09T03:08:59.191Z] e2be974225ed: Pull complete [2023-01-09T03:08:59.758Z] 339a4e72a1f5: Pull complete [2023-01-09T03:08:59.758Z] 988bab9f4d93: Pull complete [2023-01-09T03:09:00.016Z] 1469e6f7b9e6: Pull complete [2023-01-09T03:09:00.016Z] eaf3925da568: Pull complete [2023-01-09T03:09:01.939Z] bab4dde63d76: Pull complete [2023-01-09T03:09:01.939Z] bde34c3a00c8: Pull complete [2023-01-09T03:09:01.939Z] b352a97aabf1: Pull complete [2023-01-09T03:09:01.939Z] 4872d77fe225: Pull complete [2023-01-09T03:09:02.200Z] 5851b861e8e6: Pull complete [2023-01-09T03:09:02.200Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-09T03:09:02.200Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-09T03:09:02.200Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T03:09:02.413Z] prd-ubuntu20.04-docker-8c-8g-1418 does not seem to be running inside a container [2023-01-09T03:09:02.434Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-204 -v /w/workspace/undry_device-onvif-camera_PR-204:/w/workspace/undry_device-onvif-camera_PR-204:rw,z -v /w/workspace/undry_device-onvif-camera_PR-204@tmp:/w/workspace/undry_device-onvif-camera_PR-204@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-09T03:09:06.513Z] $ docker top 838140f9c6ec49685c410bcaf4237c56e0d1adb7896be11ec117bc075051d564 -eo pid,comm [2023-01-09T03:09:06.577Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-01-09T03:09:06.577Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-09T03:09:06.702Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-09T03:09:06.702Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-09T03:09:06.860Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-09T03:09:06.856Z] $ docker exec 838140f9c6ec49685c410bcaf4237c56e0d1adb7896be11ec117bc075051d564 ssh-agent [2023-01-09T03:09:06.975Z] SSH_AUTH_SOCK=/tmp/ssh-78v9vvoG3RLT/agent.32 [2023-01-09T03:09:06.975Z] SSH_AGENT_PID=38 [2023-01-09T03:09:06.983Z] Running ssh-add (command line suppressed) [2023-01-09T03:09:07.080Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-204@tmp/private_key_3346475011559505133.key (/w/workspace/undry_device-onvif-camera_PR-204@tmp/private_key_3346475011559505133.key) [2023-01-09T03:09:07.101Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-09T03:09:07.434Z] + git tag --points-at HEAD [Pipeline] } [2023-01-09T03:09:07.455Z] $ docker exec --env ******** --env ******** 838140f9c6ec49685c410bcaf4237c56e0d1adb7896be11ec117bc075051d564 ssh-agent -k [2023-01-09T03:09:07.551Z] unset SSH_AUTH_SOCK; [2023-01-09T03:09:07.552Z] unset SSH_AGENT_PID; [2023-01-09T03:09:07.552Z] echo Agent pid 38 killed; [2023-01-09T03:09:07.569Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-09T03:09:07.672Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-09T03:09:07.672Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-09T03:09:07.784Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-09T03:09:07.780Z] $ docker exec 838140f9c6ec49685c410bcaf4237c56e0d1adb7896be11ec117bc075051d564 ssh-agent [2023-01-09T03:09:07.902Z] SSH_AUTH_SOCK=/tmp/ssh-6hZrsRh9gjtk/agent.70 [2023-01-09T03:09:07.902Z] SSH_AGENT_PID=76 [2023-01-09T03:09:07.908Z] Running ssh-add (command line suppressed) [2023-01-09T03:09:08.002Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-204@tmp/private_key_16517879197456828580.key (/w/workspace/undry_device-onvif-camera_PR-204@tmp/private_key_16517879197456828580.key) [2023-01-09T03:09:08.024Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-09T03:09:08.365Z] + git semver init [2023-01-09T03:09:08.624Z] 2023-01-09 03:09:08,531 [run_init] DEBUG init version:0.0.0 force:False [2023-01-09T03:09:08.624Z] 2023-01-09 03:09:08,532 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-204/.semver [2023-01-09T03:09:08.624Z] 2023-01-09 03:09:08,533 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-204/.semver [2023-01-09T03:09:08.624Z] 2023-01-09 03:09:08,533 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-204/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-204, universal_newlines=False, shell=None, istream=None) [2023-01-09T03:09:09.566Z] 2023-01-09 03:09:09,456 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-204/.git/info/exclude [2023-01-09T03:09:09.566Z] 2023-01-09 03:09:09,457 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-204/.semver/PR-204 with force:False [2023-01-09T03:09:09.566Z] 2023-01-09 03:09:09,457 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-204/.semver/PR-204 [2023-01-09T03:09:09.566Z] 2023-01-09 03:09:09,461 [execute] INFO git cat-file --batch-check [2023-01-09T03:09:09.566Z] 2023-01-09 03:09:09,462 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-204/.semver, universal_newlines=False, shell=None, istream=) [2023-01-09T03:09:09.566Z] 2023-01-09 03:09:09,469 [execute] INFO git cat-file --batch [2023-01-09T03:09:09.566Z] 2023-01-09 03:09:09,469 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-204/.semver, universal_newlines=False, shell=None, istream=) [2023-01-09T03:09:09.566Z] 2023-01-09 03:09:09,475 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-204/.semver/PR-204 [2023-01-09T03:09:09.566Z] 0.0.0 [Pipeline] } [2023-01-09T03:09:09.591Z] $ docker exec --env ******** --env ******** 838140f9c6ec49685c410bcaf4237c56e0d1adb7896be11ec117bc075051d564 ssh-agent -k [2023-01-09T03:09:09.690Z] unset SSH_AUTH_SOCK; [2023-01-09T03:09:09.691Z] unset SSH_AGENT_PID; [2023-01-09T03:09:09.691Z] echo Agent pid 76 killed; [2023-01-09T03:09:09.707Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-09T03:09:10.147Z] + git semver [Pipeline] } [2023-01-09T03:09:10.429Z] $ docker stop --time=1 838140f9c6ec49685c410bcaf4237c56e0d1adb7896be11ec117bc075051d564 [2023-01-09T03:09:11.731Z] $ docker rm -f --volumes 838140f9c6ec49685c410bcaf4237c56e0d1adb7896be11ec117bc075051d564 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-09T03:09:12.139Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-09T03:09:12.413Z] Stashed 1 file(s) [Pipeline] echo [2023-01-09T03:09:12.431Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-09T03:09:13.030Z] provisioning config files... [2023-01-09T03:09:13.040Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-204@tmp/config3524129957828876659tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T03:09:13.396Z] ---> docker-login.sh [2023-01-09T03:09:13.396Z] nexus3.edgexfoundry.org:10001 [2023-01-09T03:09:13.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T03:09:13.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T03:09:13.396Z] Configure a credential helper to remove this warning. See [2023-01-09T03:09:13.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T03:09:13.396Z] [2023-01-09T03:09:13.396Z] Login Succeeded [2023-01-09T03:09:13.396Z] nexus3.edgexfoundry.org:10002 [2023-01-09T03:09:13.396Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T03:09:13.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T03:09:13.396Z] Configure a credential helper to remove this warning. See [2023-01-09T03:09:13.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T03:09:13.396Z] [2023-01-09T03:09:13.396Z] Login Succeeded [2023-01-09T03:09:13.396Z] nexus3.edgexfoundry.org:10003 [2023-01-09T03:09:13.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T03:09:13.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T03:09:13.655Z] Configure a credential helper to remove this warning. See [2023-01-09T03:09:13.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T03:09:13.655Z] [2023-01-09T03:09:13.655Z] Login Succeeded [2023-01-09T03:09:13.655Z] nexus3.edgexfoundry.org:10004 [2023-01-09T03:09:13.655Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T03:09:13.655Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T03:09:13.655Z] Configure a credential helper to remove this warning. See [2023-01-09T03:09:13.655Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T03:09:13.655Z] [2023-01-09T03:09:13.655Z] Login Succeeded [2023-01-09T03:09:13.655Z] docker.io [2023-01-09T03:09:13.914Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T03:09:13.914Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T03:09:13.914Z] Configure a credential helper to remove this warning. See [2023-01-09T03:09:13.914Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T03:09:13.914Z] [2023-01-09T03:09:13.914Z] Login Succeeded [2023-01-09T03:09:13.914Z] ---> docker-login.sh ends [Pipeline] } [2023-01-09T03:09:13.942Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-09T03:09:14.136Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T03:09:14.174Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T03:09:14.205Z] ========================================================= [2023-01-09T03:09:14.205Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-09T03:09:14.205Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T03:09:14.686Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-09T03:09:14.686Z] Sending build context to Docker daemon 27.57MB [2023-01-09T03:09:14.686Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-01-09T03:09:14.686Z] Step 2/13 : FROM ${BASE} AS builder [2023-01-09T03:09:14.959Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-09T03:09:14.959Z] 213ec9aee27d: Pulling fs layer [2023-01-09T03:09:14.959Z] 4583459ba037: Pulling fs layer [2023-01-09T03:09:14.959Z] 93c1e223e6f2: Pulling fs layer [2023-01-09T03:09:14.959Z] 53926ce57604: Pulling fs layer [2023-01-09T03:09:14.959Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-09T03:09:14.959Z] 22ff95d597cd: Pulling fs layer [2023-01-09T03:09:14.959Z] 12d6caf4c0d1: Pulling fs layer [2023-01-09T03:09:14.959Z] 53926ce57604: Waiting [2023-01-09T03:09:14.959Z] 12d6caf4c0d1: Waiting [2023-01-09T03:09:14.959Z] 21b2b0c7a3f4: Waiting [2023-01-09T03:09:14.959Z] 96b7cbca73a9: Pulling fs layer [2023-01-09T03:09:14.959Z] 22ff95d597cd: Waiting [2023-01-09T03:09:14.959Z] a7acece74701: Pulling fs layer [2023-01-09T03:09:14.959Z] 4583459ba037: Download complete [2023-01-09T03:09:14.959Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-09T03:09:14.959Z] 21b2b0c7a3f4: Download complete [2023-01-09T03:09:14.959Z] 22ff95d597cd: Verifying Checksum [2023-01-09T03:09:14.959Z] 22ff95d597cd: Download complete [2023-01-09T03:09:14.959Z] 213ec9aee27d: Verifying Checksum [2023-01-09T03:09:14.959Z] 213ec9aee27d: Download complete [2023-01-09T03:09:14.959Z] 12d6caf4c0d1: Download complete [2023-01-09T03:09:15.234Z] 213ec9aee27d: Pull complete [2023-01-09T03:09:15.234Z] 4583459ba037: Pull complete [2023-01-09T03:09:15.234Z] 93c1e223e6f2: Pull complete [2023-01-09T03:09:15.515Z] a7acece74701: Verifying Checksum [2023-01-09T03:09:15.515Z] a7acece74701: Download complete [2023-01-09T03:09:16.096Z] 96b7cbca73a9: Verifying Checksum [2023-01-09T03:09:16.096Z] 96b7cbca73a9: Download complete [2023-01-09T03:09:16.096Z] 53926ce57604: Verifying Checksum [2023-01-09T03:09:16.096Z] 53926ce57604: Download complete [2023-01-09T03:09:20.314Z] 53926ce57604: Pull complete [2023-01-09T03:09:20.314Z] 21b2b0c7a3f4: Pull complete [2023-01-09T03:09:20.314Z] 22ff95d597cd: Pull complete [2023-01-09T03:09:20.314Z] 12d6caf4c0d1: Pull complete [2023-01-09T03:09:22.213Z] 96b7cbca73a9: Pull complete [2023-01-09T03:09:23.149Z] a7acece74701: Pull complete [2023-01-09T03:09:23.149Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-09T03:09:23.149Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-09T03:09:23.149Z] ---> db6d94c90886 [2023-01-09T03:09:23.149Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-01-09T03:09:27.845Z] Still waiting to schedule task [2023-01-09T03:09:27.846Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-09T03:09:33.145Z] ---> Running in 049fc0dc5011 [2023-01-09T03:09:33.145Z] Removing intermediate container 049fc0dc5011 [2023-01-09T03:09:33.145Z] ---> a5e5cd635464 [2023-01-09T03:09:33.145Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-09T03:09:33.145Z] ---> Running in 45d4654443a8 [2023-01-09T03:09:33.145Z] Removing intermediate container 45d4654443a8 [2023-01-09T03:09:33.145Z] ---> ad0871fe01e7 [2023-01-09T03:09:33.145Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-01-09T03:09:33.145Z] ---> Running in d7c2a0e2898c [2023-01-09T03:09:33.404Z] Removing intermediate container d7c2a0e2898c [2023-01-09T03:09:33.404Z] ---> 3b193e76ed20 [2023-01-09T03:09:33.404Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-01-09T03:09:33.404Z] ---> Running in 95fdab37785a [2023-01-09T03:09:33.404Z] Removing intermediate container 95fdab37785a [2023-01-09T03:09:33.404Z] ---> 1cc15f3caf96 [2023-01-09T03:09:33.404Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-01-09T03:09:33.404Z] ---> Running in 56b2f3581122 [2023-01-09T03:09:33.404Z] Removing intermediate container 56b2f3581122 [2023-01-09T03:09:33.404Z] ---> f2b10c6f130e [2023-01-09T03:09:33.404Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-09T03:09:33.404Z] ---> Running in 97221287177b [2023-01-09T03:09:33.970Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-09T03:09:33.970Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-09T03:09:34.229Z] OK: 211 MiB in 51 packages [2023-01-09T03:09:34.796Z] Removing intermediate container 97221287177b [2023-01-09T03:09:34.796Z] ---> 4b1d0206e474 [2023-01-09T03:09:34.796Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-01-09T03:09:34.796Z] ---> Running in 84d61b5ee5f3 [2023-01-09T03:09:34.796Z] Removing intermediate container 84d61b5ee5f3 [2023-01-09T03:09:34.796Z] ---> ed211e9ada05 [2023-01-09T03:09:34.796Z] Step 10/13 : COPY go.mod vendor* ./ [2023-01-09T03:09:34.796Z] ---> 949db0c2b591 [2023-01-09T03:09:34.796Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-09T03:09:34.796Z] ---> Running in 52455620962a [2023-01-09T03:10:13.528Z] Removing intermediate container 52455620962a [2023-01-09T03:10:13.528Z] ---> 945483c83650 [2023-01-09T03:10:13.528Z] Step 12/13 : COPY . . [2023-01-09T03:10:13.528Z] ---> 3f27fc0e5de8 [2023-01-09T03:10:13.528Z] Step 13/13 : RUN ${MAKE} [2023-01-09T03:10:13.528Z] ---> Running in 19943313ad33 [2023-01-09T03:10:13.528Z] noop [2023-01-09T03:10:13.528Z] Removing intermediate container 19943313ad33 [2023-01-09T03:10:13.528Z] ---> aa0438133187 [2023-01-09T03:10:13.528Z] Successfully built aa0438133187 [2023-01-09T03:10:13.528Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T03:10:13.978Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-09T03:10:13.978Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T03:10:14.129Z] prd-ubuntu20.04-docker-8c-8g-1418 does not seem to be running inside a container [2023-01-09T03:10:14.157Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-204 -v /w/workspace/undry_device-onvif-camera_PR-204:/w/workspace/undry_device-onvif-camera_PR-204:rw,z -v /w/workspace/undry_device-onvif-camera_PR-204@tmp:/w/workspace/undry_device-onvif-camera_PR-204@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 ******** ci-base-image-x86_64 cat [2023-01-09T03:10:14.498Z] $ docker top e50d5120dee5217bc28e1f690909da37a1eea9b7a8a228ba4f66fba11920f24c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T03:10:14.888Z] + go version [2023-01-09T03:10:14.888Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-09T03:10:14.921Z] $ docker stop --time=1 e50d5120dee5217bc28e1f690909da37a1eea9b7a8a228ba4f66fba11920f24c [2023-01-09T03:10:16.218Z] $ docker rm -f --volumes e50d5120dee5217bc28e1f690909da37a1eea9b7a8a228ba4f66fba11920f24c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T03:10:16.950Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-09T03:10:16.950Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T03:10:17.104Z] prd-ubuntu20.04-docker-8c-8g-1418 does not seem to be running inside a container [2023-01-09T03:10:17.138Z] $ 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-204 -v /w/workspace/undry_device-onvif-camera_PR-204:/w/workspace/undry_device-onvif-camera_PR-204:rw,z -v /w/workspace/undry_device-onvif-camera_PR-204@tmp:/w/workspace/undry_device-onvif-camera_PR-204@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 ******** ci-base-image-x86_64 cat [2023-01-09T03:10:17.493Z] $ docker top 3532c8a8e8e0ddc1729c9c52646635c19b1c45ded3d7e7d68a9b91ee4a175b43 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T03:10:17.883Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-204 [Pipeline] fileExists [Pipeline] sh [2023-01-09T03:10:18.242Z] + make test [2023-01-09T03:10:18.242Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-09T03:10:18.500Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-01-09T03:10:30.720Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-01-09T03:10:32.625Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.042s coverage: 29.3% of statements [2023-01-09T03:10:32.625Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-01-09T03:10:32.625Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.374s coverage: 86.5% of statements [2023-01-09T03:10:40.754Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-09T03:10:40.754Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-09T03:10:44.952Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-09T03:10:44.952Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-09T03:10:44.952Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-09T03:10:44.990Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-09T03:10:45.019Z] $ docker stop --time=1 3532c8a8e8e0ddc1729c9c52646635c19b1c45ded3d7e7d68a9b91ee4a175b43 [2023-01-09T03:10:48.838Z] $ docker rm -f --volumes 3532c8a8e8e0ddc1729c9c52646635c19b1c45ded3d7e7d68a9b91ee4a175b43 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-09T03:10:49.341Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-09T03:10:49.415Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-09T03:10:50.064Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-09T03:10:50.372Z] + ls -al . [2023-01-09T03:10:50.372Z] total 248 [2023-01-09T03:10:50.372Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 9 03:10 . [2023-01-09T03:10:50.372Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 03:08 .. [2023-01-09T03:10:50.372Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 9 03:10 .git [2023-01-09T03:10:50.372Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 03:08 .github [2023-01-09T03:10:50.372Z] -rw-rw-r-- 1 jenkins jenkins 496 Jan 9 03:08 .gitignore [2023-01-09T03:10:50.372Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 9 03:08 .golangci.yml [2023-01-09T03:10:50.372Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 9 03:09 .semver [2023-01-09T03:10:50.372Z] -rw-rw-r-- 1 jenkins jenkins 9742 Jan 9 03:08 Attribution.txt [2023-01-09T03:10:50.372Z] -rw-rw-r-- 1 jenkins jenkins 6312 Jan 9 03:08 CHANGELOG.md [2023-01-09T03:10:50.372Z] -rw-rw-r-- 1 jenkins jenkins 1619 Jan 9 03:08 Dockerfile [2023-01-09T03:10:50.372Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 9 03:08 GOVERNANCE.md [2023-01-09T03:10:50.372Z] -rw-rw-r-- 1 jenkins jenkins 734 Jan 9 03:08 Jenkinsfile [2023-01-09T03:10:50.372Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jan 9 03:08 LICENSE [2023-01-09T03:10:50.372Z] -rw-rw-r-- 1 jenkins jenkins 2858 Jan 9 03:08 Makefile [2023-01-09T03:10:50.372Z] -rw-rw-r-- 1 jenkins jenkins 625 Jan 9 03:08 OWNERS.md [2023-01-09T03:10:50.372Z] -rw-rw-r-- 1 jenkins jenkins 6595 Jan 9 03:08 README.md [2023-01-09T03:10:50.372Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 9 03:09 VERSION [2023-01-09T03:10:50.372Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 03:08 bin [2023-01-09T03:10:50.372Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 03:08 cmd [2023-01-09T03:10:50.372Z] -rw-r--r-- 1 jenkins jenkins 79184 Jan 9 03:10 coverage.out [2023-01-09T03:10:50.372Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 9 03:08 doc [2023-01-09T03:10:50.372Z] -rw-rw-r-- 1 jenkins jenkins 3688 Jan 9 03:08 go.mod [2023-01-09T03:10:50.372Z] -rw-rw-r-- 1 jenkins jenkins 46249 Jan 9 03:08 go.sum [2023-01-09T03:10:50.372Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 03:08 internal [2023-01-09T03:10:50.372Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 03:08 snap [2023-01-09T03:10:50.372Z] -rw-rw-r-- 1 jenkins jenkins 236 Jan 9 03:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T03:10:50.785Z] + 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=97abc99f4f4fbeca99fe9bce6272f5efdfbb3543 --label arch=amd64 --label version=0.0.0 . [2023-01-09T03:10:50.785Z] Sending build context to Docker daemon 27.65MB [2023-01-09T03:10:50.785Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-01-09T03:10:50.785Z] Step 2/26 : FROM ${BASE} AS builder [2023-01-09T03:10:50.785Z] ---> aa0438133187 [2023-01-09T03:10:50.785Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-01-09T03:10:51.367Z] ---> Running in 7e9dad99c31f [2023-01-09T03:10:51.630Z] Removing intermediate container 7e9dad99c31f [2023-01-09T03:10:51.630Z] ---> 84df047d1ee7 [2023-01-09T03:10:51.630Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-09T03:10:51.630Z] ---> Running in 7c5ad5b71629 [2023-01-09T03:10:51.630Z] Removing intermediate container 7c5ad5b71629 [2023-01-09T03:10:51.630Z] ---> 3d6e709afa70 [2023-01-09T03:10:51.630Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-01-09T03:10:51.630Z] ---> Running in c99fc6e0914d [2023-01-09T03:10:51.630Z] Removing intermediate container c99fc6e0914d [2023-01-09T03:10:51.630Z] ---> 357243defee4 [2023-01-09T03:10:51.630Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-01-09T03:10:51.630Z] ---> Running in 1b6f461de5b0 [2023-01-09T03:10:51.891Z] Removing intermediate container 1b6f461de5b0 [2023-01-09T03:10:51.892Z] ---> 7ef58f2fac04 [2023-01-09T03:10:51.892Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-01-09T03:10:51.892Z] ---> Running in 366baff3ecbb [2023-01-09T03:10:51.892Z] Removing intermediate container 366baff3ecbb [2023-01-09T03:10:51.892Z] ---> 4c884fdd4131 [2023-01-09T03:10:51.892Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-09T03:10:51.892Z] ---> Running in 2facbb272512 [2023-01-09T03:10:52.152Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-09T03:10:52.414Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-09T03:10:52.674Z] OK: 211 MiB in 51 packages [2023-01-09T03:10:52.937Z] Removing intermediate container 2facbb272512 [2023-01-09T03:10:52.937Z] ---> 9cfb833a4857 [2023-01-09T03:10:52.937Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-01-09T03:10:52.937Z] ---> Running in 73c115c71d42 [2023-01-09T03:10:53.198Z] Removing intermediate container 73c115c71d42 [2023-01-09T03:10:53.198Z] ---> c0792360dfb1 [2023-01-09T03:10:53.198Z] Step 10/26 : COPY go.mod vendor* ./ [2023-01-09T03:10:53.198Z] ---> cd8293837949 [2023-01-09T03:10:53.198Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-09T03:10:53.198Z] ---> Running in 5652456c6e94 [2023-01-09T03:10:54.632Z] Removing intermediate container 5652456c6e94 [2023-01-09T03:10:54.632Z] ---> 07edf136d75e [2023-01-09T03:10:54.632Z] Step 12/26 : COPY . . [2023-01-09T03:10:55.902Z] ---> 39c1473aa368 [2023-01-09T03:10:55.902Z] Step 13/26 : RUN ${MAKE} [2023-01-09T03:10:55.902Z] ---> Running in 6e29cae9dcfb [2023-01-09T03:10:55.902Z] 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/v3/internal/common.SDKVersion=v3.0.0-dev.6" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2023-01-09T03:11:02.314Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1419 in /w/workspace/undry_device-onvif-camera_PR-204 [Pipeline] { [Pipeline] ws [2023-01-09T03:11:02.367Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-01-09T03:11:02.441Z] The recommended git tool is: git [2023-01-09T03:11:07.437Z] using credential edgex-jenkins-ssh [2023-01-09T03:11:07.452Z] Cloning the remote Git repository [2023-01-09T03:11:07.491Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-09T03:11:07.560Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-01-09T03:11:07.703Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-09T03:11:07.704Z] > git --version # timeout=10 [2023-01-09T03:11:07.725Z] > git --version # 'git version 2.25.1' [2023-01-09T03:11:07.727Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-09T03:11:07.792Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-09T03:11:09.097Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-01-09T03:11:09.122Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-09T03:11:10.543Z] Merging remotes/origin/main commit e283d27a39f6608c4972b60e45559292c212ac31 into PR head commit 97abc99f4f4fbeca99fe9bce6272f5efdfbb3543 [2023-01-09T03:11:10.986Z] Merge succeeded, producing 97abc99f4f4fbeca99fe9bce6272f5efdfbb3543 [2023-01-09T03:11:10.987Z] Checking out Revision 97abc99f4f4fbeca99fe9bce6272f5efdfbb3543 (PR-204) [2023-01-09T03:11:09.950Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-01-09T03:11:09.991Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-09T03:11:09.992Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-09T03:11:10.010Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/204/head:refs/remotes/origin/PR-204 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-09T03:11:10.558Z] > git config core.sparsecheckout # timeout=10 [2023-01-09T03:11:10.582Z] > git checkout -f 97abc99f4f4fbeca99fe9bce6272f5efdfbb3543 # timeout=10 [2023-01-09T03:11:10.876Z] > git remote # timeout=10 [2023-01-09T03:11:10.893Z] > git config --get remote.origin.url # timeout=10 [2023-01-09T03:11:10.920Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-09T03:11:10.935Z] > git merge e283d27a39f6608c4972b60e45559292c212ac31 # timeout=10 [2023-01-09T03:11:10.962Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-09T03:11:10.991Z] > git config core.sparsecheckout # timeout=10 [2023-01-09T03:11:11.016Z] > git checkout -f 97abc99f4f4fbeca99fe9bce6272f5efdfbb3543 # timeout=10 [2023-01-09T03:11:11.768Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-01-09T03:11:11.816Z] > git --version # timeout=10 [2023-01-09T03:11:11.828Z] > git --version # 'git version 2.25.1' [2023-01-09T03:11:11.862Z] fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-09T03:11:12.971Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-09T03:11:12.971Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-09T03:11:12.971Z] Dload Upload Total Spent Left Speed [2023-01-09T03:11:12.971Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 91733 0 --:--:-- --:--:-- --:--:-- 91733 [Pipeline] sh [2023-01-09T03:11:13.557Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-09T03:11:13.898Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2023-01-09T03:11:13.898Z] /etc/docker/daemon.new [2023-01-09T03:11:13.898Z] { [2023-01-09T03:11:13.898Z] "registry-mirrors": [ [2023-01-09T03:11:13.898Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-09T03:11:13.898Z] ], [2023-01-09T03:11:13.898Z] "bip": "10.250.0.254/24", [2023-01-09T03:11:13.898Z] "hosts": [ [2023-01-09T03:11:13.898Z] "tcp://0.0.0.0:5555", [2023-01-09T03:11:13.898Z] "unix:///var/run/docker.sock" [2023-01-09T03:11:13.898Z] ], [2023-01-09T03:11:13.898Z] "mtu": 1458, [2023-01-09T03:11:13.898Z] "selinux-enabled": true, [2023-01-09T03:11:13.898Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-09T03:11:13.898Z] } [Pipeline] sh [2023-01-09T03:11:14.245Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-09T03:11:14.594Z] + sudo service docker restart [2023-01-09T03:11:22.495Z] Removing intermediate container 6e29cae9dcfb [2023-01-09T03:11:22.495Z] ---> d54091d726bb [2023-01-09T03:11:22.495Z] Step 14/26 : FROM alpine:3.16 [2023-01-09T03:11:23.066Z] 3.16: Pulling from library/alpine [2023-01-09T03:11:23.327Z] ca7dd9ec2225: Pulling fs layer [2023-01-09T03:11:23.588Z] ca7dd9ec2225: Download complete [2023-01-09T03:11:23.851Z] ca7dd9ec2225: Pull complete [2023-01-09T03:11:23.851Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-09T03:11:23.851Z] Status: Downloaded newer image for alpine:3.16 [2023-01-09T03:11:23.851Z] ---> bfe296a52501 [2023-01-09T03:11:23.851Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-01-09T03:11:24.118Z] ---> Running in 4c327900b540 [2023-01-09T03:11:24.696Z] Removing intermediate container 4c327900b540 [2023-01-09T03:11:24.696Z] ---> 310dfa8aa200 [2023-01-09T03:11:24.696Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-09T03:11:24.696Z] ---> Running in 248beff4abfa [2023-01-09T03:11:25.270Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-09T03:11:25.529Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-09T03:11:25.788Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-09T03:11:25.788Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-09T03:11:25.788Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-09T03:11:25.789Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-09T03:11:25.789Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-09T03:11:25.789Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-09T03:11:25.789Z] Executing busybox-1.35.0-r17.trigger [2023-01-09T03:11:25.789Z] OK: 8 MiB in 20 packages [2023-01-09T03:11:26.739Z] Removing intermediate container 248beff4abfa [2023-01-09T03:11:26.739Z] ---> 3d3427331bb9 [2023-01-09T03:11:26.739Z] Step 17/26 : WORKDIR / [2023-01-09T03:11:26.999Z] ---> Running in 5a6465298d86 [2023-01-09T03:11:27.259Z] Removing intermediate container 5a6465298d86 [2023-01-09T03:11:27.259Z] ---> b4bb8231848a [2023-01-09T03:11:27.259Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-01-09T03:11:28.638Z] ---> 14379ed8afad [2023-01-09T03:11:28.638Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-01-09T03:11:28.896Z] ---> 138bf5d48787 [2023-01-09T03:11:28.896Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-01-09T03:11:29.155Z] ---> dd21e2d807ac [2023-01-09T03:11:29.155Z] Step 21/26 : EXPOSE 59984 [2023-01-09T03:11:29.155Z] ---> Running in 73f1203dd8f5 [2023-01-09T03:11:29.155Z] Removing intermediate container 73f1203dd8f5 [2023-01-09T03:11:29.155Z] ---> 6ddf0f9e6c62 [2023-01-09T03:11:29.155Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-01-09T03:11:29.155Z] ---> Running in 5cce7319352d [2023-01-09T03:11:29.414Z] Removing intermediate container 5cce7319352d [2023-01-09T03:11:29.414Z] ---> 41aeb89a3bad [2023-01-09T03:11:29.414Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-09T03:11:29.414Z] ---> Running in 71b904b0468a [2023-01-09T03:11:29.414Z] Removing intermediate container 71b904b0468a [2023-01-09T03:11:29.414Z] ---> fe7862b3e674 [2023-01-09T03:11:29.414Z] Step 24/26 : LABEL arch=amd64 [2023-01-09T03:11:29.414Z] ---> Running in 722d25ab9d49 [2023-01-09T03:11:29.414Z] Removing intermediate container 722d25ab9d49 [2023-01-09T03:11:29.414Z] ---> 0c69d8710328 [2023-01-09T03:11:29.415Z] Step 25/26 : LABEL git_sha=97abc99f4f4fbeca99fe9bce6272f5efdfbb3543 [2023-01-09T03:11:29.415Z] ---> Running in 7534f74c36c0 [2023-01-09T03:11:29.674Z] Removing intermediate container 7534f74c36c0 [2023-01-09T03:11:29.674Z] ---> 58db1b184e54 [2023-01-09T03:11:29.674Z] Step 26/26 : LABEL version=0.0.0 [2023-01-09T03:11:29.674Z] ---> Running in ecc239739db9 [2023-01-09T03:11:29.674Z] Removing intermediate container ecc239739db9 [2023-01-09T03:11:29.674Z] ---> 9cb95768614f [2023-01-09T03:11:29.674Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-09T03:11:29.674Z] Successfully built 9cb95768614f [2023-01-09T03:11:29.674Z] Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T03:11:30.553Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T03:11:30.553Z] [2023-01-09T03:11:30.553Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T03:11:30.937Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T03:11:30.937Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-09T03:11:30.937Z] 5eb5b503b376: Pulling fs layer [2023-01-09T03:11:30.937Z] 5c69ac0246d0: Pulling fs layer [2023-01-09T03:11:30.937Z] ec43610c2a17: Pulling fs layer [2023-01-09T03:11:30.937Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-09T03:11:30.937Z] 33b1e0a273af: Pulling fs layer [2023-01-09T03:11:30.937Z] 5d3b04190fa2: Pulling fs layer [2023-01-09T03:11:30.937Z] 2f39f015ded8: Pulling fs layer [2023-01-09T03:11:30.937Z] 5d3b04190fa2: Waiting [2023-01-09T03:11:30.937Z] 2f39f015ded8: Waiting [2023-01-09T03:11:30.937Z] 33b1e0a273af: Waiting [2023-01-09T03:11:30.937Z] 3a2ae6a8a46f: Waiting [2023-01-09T03:11:30.937Z] 5c69ac0246d0: Verifying Checksum [2023-01-09T03:11:30.937Z] 5c69ac0246d0: Download complete [2023-01-09T03:11:30.937Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-09T03:11:30.937Z] 3a2ae6a8a46f: Download complete [2023-01-09T03:11:30.937Z] 33b1e0a273af: Verifying Checksum [2023-01-09T03:11:30.937Z] 33b1e0a273af: Download complete [2023-01-09T03:11:31.197Z] ec43610c2a17: Download complete [2023-01-09T03:11:31.197Z] 5d3b04190fa2: Download complete [2023-01-09T03:11:31.197Z] 5eb5b503b376: Verifying Checksum [2023-01-09T03:11:31.197Z] 5eb5b503b376: Download complete [2023-01-09T03:11:31.764Z] 2f39f015ded8: Verifying Checksum [2023-01-09T03:11:31.764Z] 2f39f015ded8: Download complete [2023-01-09T03:11:32.699Z] 5eb5b503b376: Pull complete [2023-01-09T03:11:32.699Z] 5c69ac0246d0: Pull complete [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-09T03:11:32.905Z] provisioning config files... [2023-01-09T03:11:32.934Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config2782541739511565873tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T03:11:33.264Z] ec43610c2a17: Pull complete [2023-01-09T03:11:33.264Z] 3a2ae6a8a46f: Pull complete [2023-01-09T03:11:33.326Z] ---> docker-login.sh [2023-01-09T03:11:33.326Z] nexus3.edgexfoundry.org:10001 [2023-01-09T03:11:33.522Z] 33b1e0a273af: Pull complete [2023-01-09T03:11:33.522Z] 5d3b04190fa2: Pull complete [2023-01-09T03:11:33.921Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T03:11:33.921Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T03:11:33.921Z] Configure a credential helper to remove this warning. See [2023-01-09T03:11:33.921Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T03:11:33.921Z] [2023-01-09T03:11:33.921Z] Login Succeeded [2023-01-09T03:11:33.921Z] nexus3.edgexfoundry.org:10002 [2023-01-09T03:11:34.191Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T03:11:34.462Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T03:11:34.462Z] Configure a credential helper to remove this warning. See [2023-01-09T03:11:34.462Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T03:11:34.462Z] [2023-01-09T03:11:34.462Z] Login Succeeded [2023-01-09T03:11:34.462Z] nexus3.edgexfoundry.org:10003 [2023-01-09T03:11:34.733Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T03:11:34.733Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T03:11:34.733Z] Configure a credential helper to remove this warning. See [2023-01-09T03:11:34.733Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T03:11:34.733Z] [2023-01-09T03:11:34.733Z] Login Succeeded [2023-01-09T03:11:34.733Z] nexus3.edgexfoundry.org:10004 [2023-01-09T03:11:35.006Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T03:11:35.006Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T03:11:35.006Z] Configure a credential helper to remove this warning. See [2023-01-09T03:11:35.006Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T03:11:35.006Z] [2023-01-09T03:11:35.006Z] Login Succeeded [2023-01-09T03:11:35.006Z] docker.io [2023-01-09T03:11:35.275Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-09T03:11:35.543Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-09T03:11:35.543Z] Configure a credential helper to remove this warning. See [2023-01-09T03:11:35.543Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-09T03:11:35.543Z] [2023-01-09T03:11:35.543Z] Login Succeeded [2023-01-09T03:11:35.543Z] ---> docker-login.sh ends [Pipeline] } [2023-01-09T03:11:35.573Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-09T03:11:35.954Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T03:11:35.997Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-09T03:11:36.030Z] ========================================================= [2023-01-09T03:11:36.030Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-09T03:11:36.030Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T03:11:36.551Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-09T03:11:37.150Z] Sending build context to Docker daemon 20.48MB [2023-01-09T03:11:37.150Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-01-09T03:11:37.150Z] Step 2/13 : FROM ${BASE} AS builder [2023-01-09T03:11:37.440Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-09T03:11:37.440Z] 9b18e9b68314: Pulling fs layer [2023-01-09T03:11:37.440Z] 35d82f9e3411: Pulling fs layer [2023-01-09T03:11:37.440Z] e16973657156: Pulling fs layer [2023-01-09T03:11:37.440Z] fc693d55d65f: Pulling fs layer [2023-01-09T03:11:37.440Z] 7e9fc2657dce: Pulling fs layer [2023-01-09T03:11:37.440Z] dda99020689f: Pulling fs layer [2023-01-09T03:11:37.440Z] db1c61fa0a46: Pulling fs layer [2023-01-09T03:11:37.440Z] 891c053d2c06: Pulling fs layer [2023-01-09T03:11:37.440Z] fc693d55d65f: Waiting [2023-01-09T03:11:37.440Z] 7e9fc2657dce: Waiting [2023-01-09T03:11:37.440Z] dda99020689f: Waiting [2023-01-09T03:11:37.440Z] db1c61fa0a46: Waiting [2023-01-09T03:11:37.440Z] 891c053d2c06: Waiting [2023-01-09T03:11:37.440Z] e16973657156: Verifying Checksum [2023-01-09T03:11:37.440Z] e16973657156: Download complete [2023-01-09T03:11:37.440Z] 35d82f9e3411: Verifying Checksum [2023-01-09T03:11:37.440Z] 35d82f9e3411: Download complete [2023-01-09T03:11:37.440Z] 7e9fc2657dce: Verifying Checksum [2023-01-09T03:11:37.440Z] 7e9fc2657dce: Download complete [2023-01-09T03:11:37.440Z] dda99020689f: Verifying Checksum [2023-01-09T03:11:37.440Z] dda99020689f: Download complete [2023-01-09T03:11:37.440Z] 9b18e9b68314: Verifying Checksum [2023-01-09T03:11:38.417Z] 891c053d2c06: Verifying Checksum [2023-01-09T03:11:38.417Z] 891c053d2c06: Download complete [2023-01-09T03:11:38.790Z] 2f39f015ded8: Pull complete [2023-01-09T03:11:38.790Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-09T03:11:38.790Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T03:11:38.790Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T03:11:39.023Z] 9b18e9b68314: Pull complete [2023-01-09T03:11:39.025Z] prd-ubuntu20.04-docker-8c-8g-1418 does not seem to be running inside a container [2023-01-09T03:11:39.074Z] $ 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-204 -v /w/workspace/undry_device-onvif-camera_PR-204:/w/workspace/undry_device-onvif-camera_PR-204:rw,z -v /w/workspace/undry_device-onvif-camera_PR-204@tmp:/w/workspace/undry_device-onvif-camera_PR-204@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-09T03:11:39.297Z] 35d82f9e3411: Pull complete [2023-01-09T03:11:39.571Z] db1c61fa0a46: Verifying Checksum [2023-01-09T03:11:39.571Z] db1c61fa0a46: Download complete [2023-01-09T03:11:39.571Z] e16973657156: Pull complete [2023-01-09T03:11:40.160Z] fc693d55d65f: Verifying Checksum [2023-01-09T03:11:40.160Z] fc693d55d65f: Download complete [2023-01-09T03:11:45.154Z] $ docker top b11b0697cad0e9a70afb7e2a87d75082afee9b55768f76270d726d0a574f57d1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T03:11:45.725Z] ---> job-cost.sh [2023-01-09T03:11:45.725Z] lf-activate-venv: SKIPPING [2023-01-09T03:11:45.725Z] INFO: No Stack... [2023-01-09T03:11:45.986Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-09T03:11:46.247Z] INFO: Archiving Costs [Pipeline] sh [2023-01-09T03:11:46.568Z] + cat /w/workspace/undry_device-onvif-camera_PR-204/archives/cost.csv [2023-01-09T03:11:46.568Z] + cut -d, -f6 [Pipeline] lock [2023-01-09T03:11:46.614Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-204-1-stack-cost] [2023-01-09T03:11:46.619Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-204-1-stack-cost] did not exist. Created. [2023-01-09T03:11:46.620Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-204-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-09T03:11:47.031Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-09T03:11:47.091Z] Stashed 1 file(s) [Pipeline] } [2023-01-09T03:11:47.118Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-204-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-09T03:11:47.204Z] $ docker stop --time=1 b11b0697cad0e9a70afb7e2a87d75082afee9b55768f76270d726d0a574f57d1 [2023-01-09T03:11:48.363Z] $ docker rm -f --volumes b11b0697cad0e9a70afb7e2a87d75082afee9b55768f76270d726d0a574f57d1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-09T03:11:52.490Z] fc693d55d65f: Pull complete [2023-01-09T03:11:52.490Z] 7e9fc2657dce: Pull complete [2023-01-09T03:11:52.490Z] dda99020689f: Pull complete [2023-01-09T03:11:59.168Z] db1c61fa0a46: Pull complete [2023-01-09T03:12:00.593Z] 891c053d2c06: Pull complete [2023-01-09T03:12:00.593Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-09T03:12:00.593Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-09T03:12:00.593Z] ---> f96f9c87975a [2023-01-09T03:12:00.593Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-01-09T03:12:02.640Z] ---> Running in a53c9dc2b7ee [2023-01-09T03:12:02.640Z] Removing intermediate container a53c9dc2b7ee [2023-01-09T03:12:02.640Z] ---> 4397fda25f8a [2023-01-09T03:12:02.640Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-09T03:12:02.927Z] ---> Running in dfcadcda23a5 [2023-01-09T03:12:03.201Z] Removing intermediate container dfcadcda23a5 [2023-01-09T03:12:03.201Z] ---> 381b7055f61a [2023-01-09T03:12:03.201Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-01-09T03:12:03.201Z] ---> Running in a147bed124e8 [2023-01-09T03:12:04.184Z] Removing intermediate container a147bed124e8 [2023-01-09T03:12:04.184Z] ---> 032f0ec1ad22 [2023-01-09T03:12:04.184Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-01-09T03:12:04.184Z] ---> Running in 6463ebe2f1c2 [2023-01-09T03:12:04.453Z] Removing intermediate container 6463ebe2f1c2 [2023-01-09T03:12:04.453Z] ---> eb384966fcb6 [2023-01-09T03:12:04.453Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-01-09T03:12:04.722Z] ---> Running in a4c74a7b35b3 [2023-01-09T03:12:04.990Z] Removing intermediate container a4c74a7b35b3 [2023-01-09T03:12:04.990Z] ---> 809b58ab29b9 [2023-01-09T03:12:04.990Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-09T03:12:04.990Z] ---> Running in c8692207a3c3 [2023-01-09T03:12:05.963Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-09T03:12:06.550Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-09T03:12:07.514Z] OK: 221 MiB in 51 packages [2023-01-09T03:12:08.483Z] Removing intermediate container c8692207a3c3 [2023-01-09T03:12:08.483Z] ---> ddd299cb6426 [2023-01-09T03:12:08.483Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-01-09T03:12:08.483Z] ---> Running in 60e58acf7e70 [2023-01-09T03:12:08.752Z] Removing intermediate container 60e58acf7e70 [2023-01-09T03:12:08.752Z] ---> 96281f97f969 [2023-01-09T03:12:08.752Z] Step 10/13 : COPY go.mod vendor* ./ [2023-01-09T03:12:09.337Z] ---> 93a0451410fe [2023-01-09T03:12:09.337Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-09T03:12:09.337Z] ---> Running in 672e3d97fb97 [2023-01-09T03:13:05.761Z] Removing intermediate container 672e3d97fb97 [2023-01-09T03:13:05.761Z] ---> f9a5cf2eefec [2023-01-09T03:13:05.761Z] Step 12/13 : COPY . . [2023-01-09T03:13:05.761Z] ---> e7c2b5eb121f [2023-01-09T03:13:05.761Z] Step 13/13 : RUN ${MAKE} [2023-01-09T03:13:05.761Z] ---> Running in 1bd17c697739 [2023-01-09T03:13:05.761Z] noop [2023-01-09T03:13:06.028Z] Removing intermediate container 1bd17c697739 [2023-01-09T03:13:06.028Z] ---> ff53d47c446c [2023-01-09T03:13:06.297Z] Successfully built ff53d47c446c [2023-01-09T03:13:06.297Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T03:13:06.760Z] + docker inspect -f . ci-base-image-arm64 [2023-01-09T03:13:06.760Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T03:13:07.032Z] prd-ubuntu20.04-docker-arm64-4c-16g-1419 does not seem to be running inside a container [2023-01-09T03:13:07.095Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-09T03:13:08.286Z] $ docker top 83766b60995b4366f95ae3c0a5e7dc9ca38166575365cc313aecd00d671e57f2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T03:13:09.146Z] + go version [2023-01-09T03:13:09.146Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-09T03:13:09.182Z] $ docker stop --time=1 83766b60995b4366f95ae3c0a5e7dc9ca38166575365cc313aecd00d671e57f2 [2023-01-09T03:13:10.785Z] $ docker rm -f --volumes 83766b60995b4366f95ae3c0a5e7dc9ca38166575365cc313aecd00d671e57f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T03:13:11.592Z] + docker inspect -f . ci-base-image-arm64 [2023-01-09T03:13:11.592Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T03:13:11.847Z] prd-ubuntu20.04-docker-arm64-4c-16g-1419 does not seem to be running inside a container [2023-01-09T03:13:11.917Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-09T03:13:13.073Z] $ docker top ce1c62520e787a59a31d2608754bb6c935da179430415de24b5835e8fa67a984 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T03:13:13.929Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-01-09T03:13:14.315Z] + make test [2023-01-09T03:13:14.586Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-09T03:13:16.537Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-01-09T03:14:53.212Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-01-09T03:14:53.212Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.163s coverage: 29.3% of statements [2023-01-09T03:14:53.212Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-01-09T03:14:54.169Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 15.297s coverage: 86.5% of statements [2023-01-09T03:14:54.755Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-09T03:14:54.755Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-09T03:15:16.847Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-09T03:15:16.847Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-09T03:15:16.847Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-09T03:15:16.887Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-09T03:15:16.921Z] $ docker stop --time=1 ce1c62520e787a59a31d2608754bb6c935da179430415de24b5835e8fa67a984 [2023-01-09T03:15:18.698Z] $ docker rm -f --volumes ce1c62520e787a59a31d2608754bb6c935da179430415de24b5835e8fa67a984 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-09T03:15:19.750Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-09T03:15:19.784Z] Warning: overwriting stash ‘coverage-report’ [2023-01-09T03:15:20.422Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-09T03:15:21.073Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-09T03:15:21.427Z] + ls -al . [2023-01-09T03:15:21.427Z] total 244 [2023-01-09T03:15:21.427Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 9 03:13 . [2023-01-09T03:15:21.427Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 03:11 .. [2023-01-09T03:15:21.427Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 9 03:11 .git [2023-01-09T03:15:21.427Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 03:11 .github [2023-01-09T03:15:21.427Z] -rw-rw-r-- 1 jenkins jenkins 496 Jan 9 03:11 .gitignore [2023-01-09T03:15:21.427Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 9 03:11 .golangci.yml [2023-01-09T03:15:21.427Z] -rw-rw-r-- 1 jenkins jenkins 9742 Jan 9 03:11 Attribution.txt [2023-01-09T03:15:21.427Z] -rw-rw-r-- 1 jenkins jenkins 6312 Jan 9 03:11 CHANGELOG.md [2023-01-09T03:15:21.427Z] -rw-rw-r-- 1 jenkins jenkins 1619 Jan 9 03:11 Dockerfile [2023-01-09T03:15:21.427Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 9 03:11 GOVERNANCE.md [2023-01-09T03:15:21.427Z] -rw-rw-r-- 1 jenkins jenkins 734 Jan 9 03:11 Jenkinsfile [2023-01-09T03:15:21.427Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jan 9 03:11 LICENSE [2023-01-09T03:15:21.427Z] -rw-rw-r-- 1 jenkins jenkins 2858 Jan 9 03:11 Makefile [2023-01-09T03:15:21.427Z] -rw-rw-r-- 1 jenkins jenkins 625 Jan 9 03:11 OWNERS.md [2023-01-09T03:15:21.427Z] -rw-rw-r-- 1 jenkins jenkins 6595 Jan 9 03:11 README.md [2023-01-09T03:15:21.427Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 9 03:09 VERSION [2023-01-09T03:15:21.427Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 9 03:11 bin [2023-01-09T03:15:21.427Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 9 03:11 cmd [2023-01-09T03:15:21.427Z] -rw-r--r-- 1 jenkins jenkins 79184 Jan 9 03:14 coverage.out [2023-01-09T03:15:21.427Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 9 03:11 doc [2023-01-09T03:15:21.427Z] -rw-rw-r-- 1 jenkins jenkins 3688 Jan 9 03:11 go.mod [2023-01-09T03:15:21.427Z] -rw-rw-r-- 1 jenkins jenkins 46249 Jan 9 03:11 go.sum [2023-01-09T03:15:21.427Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 03:11 internal [2023-01-09T03:15:21.427Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 9 03:11 snap [2023-01-09T03:15:21.427Z] -rw-rw-r-- 1 jenkins jenkins 236 Jan 9 03:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T03:15:21.846Z] + 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=97abc99f4f4fbeca99fe9bce6272f5efdfbb3543 --label arch=arm64 --label version=0.0.0 . [2023-01-09T03:15:22.432Z] Sending build context to Docker daemon 20.56MB [2023-01-09T03:15:22.432Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-01-09T03:15:22.432Z] Step 2/26 : FROM ${BASE} AS builder [2023-01-09T03:15:22.432Z] ---> ff53d47c446c [2023-01-09T03:15:22.432Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-01-09T03:15:22.701Z] ---> Running in 760ec6ab0f79 [2023-01-09T03:15:22.971Z] Removing intermediate container 760ec6ab0f79 [2023-01-09T03:15:22.971Z] ---> f4482587520a [2023-01-09T03:15:22.971Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-09T03:15:22.971Z] ---> Running in 6582312597a3 [2023-01-09T03:15:23.244Z] Removing intermediate container 6582312597a3 [2023-01-09T03:15:23.244Z] ---> 7d0ac268d96e [2023-01-09T03:15:23.244Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-01-09T03:15:23.519Z] ---> Running in 72177d3c18df [2023-01-09T03:15:23.788Z] Removing intermediate container 72177d3c18df [2023-01-09T03:15:23.788Z] ---> 5d435923b15c [2023-01-09T03:15:23.788Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-01-09T03:15:23.788Z] ---> Running in fd9ff21a5977 [2023-01-09T03:15:24.057Z] Removing intermediate container fd9ff21a5977 [2023-01-09T03:15:24.057Z] ---> bf53450f7425 [2023-01-09T03:15:24.057Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-01-09T03:15:24.343Z] ---> Running in e160072b6a28 [2023-01-09T03:15:26.298Z] Removing intermediate container e160072b6a28 [2023-01-09T03:15:26.298Z] ---> 8425b54f9190 [2023-01-09T03:15:26.298Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-09T03:15:26.298Z] ---> Running in 1498dd1249b7 [2023-01-09T03:15:27.262Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-09T03:15:27.539Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-09T03:15:28.510Z] OK: 221 MiB in 51 packages [2023-01-09T03:15:29.474Z] Removing intermediate container 1498dd1249b7 [2023-01-09T03:15:29.474Z] ---> 95a49c77d7a9 [2023-01-09T03:15:29.474Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-01-09T03:15:29.474Z] ---> Running in 1ea4cf67268f [2023-01-09T03:15:30.066Z] Removing intermediate container 1ea4cf67268f [2023-01-09T03:15:30.066Z] ---> 5c6521bac8ce [2023-01-09T03:15:30.066Z] Step 10/26 : COPY go.mod vendor* ./ [2023-01-09T03:15:30.651Z] ---> 55d79fe2917f [2023-01-09T03:15:30.651Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-09T03:15:30.651Z] ---> Running in 638243e3d4cf [2023-01-09T03:15:33.232Z] Removing intermediate container 638243e3d4cf [2023-01-09T03:15:33.232Z] ---> 8043c36a4327 [2023-01-09T03:15:33.232Z] Step 12/26 : COPY . . [2023-01-09T03:15:35.183Z] ---> 3dcf8ad98dd8 [2023-01-09T03:15:35.183Z] Step 13/26 : RUN ${MAKE} [2023-01-09T03:15:35.183Z] ---> Running in 42b6fb41ffc5 [2023-01-09T03:15:36.157Z] 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/v3/internal/common.SDKVersion=v3.0.0-dev.6" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2023-01-09T03:18:12.901Z] Removing intermediate container 42b6fb41ffc5 [2023-01-09T03:18:12.901Z] ---> 8fc60a2830a9 [2023-01-09T03:18:12.901Z] Step 14/26 : FROM alpine:3.16 [2023-01-09T03:18:12.901Z] 3.16: Pulling from library/alpine [2023-01-09T03:18:12.901Z] 6875df1f5354: Pulling fs layer [2023-01-09T03:18:12.901Z] 6875df1f5354: Download complete [2023-01-09T03:18:12.901Z] 6875df1f5354: Pull complete [2023-01-09T03:18:12.901Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-09T03:18:12.901Z] Status: Downloaded newer image for alpine:3.16 [2023-01-09T03:18:12.901Z] ---> 2b4661558fb8 [2023-01-09T03:18:12.901Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-01-09T03:18:12.901Z] ---> Running in f73ac8201e00 [2023-01-09T03:18:12.901Z] Removing intermediate container f73ac8201e00 [2023-01-09T03:18:12.901Z] ---> f4f05e585382 [2023-01-09T03:18:12.901Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-09T03:18:12.901Z] ---> Running in 47e2b1c7a48f [2023-01-09T03:18:12.901Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-09T03:18:12.901Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-09T03:18:12.901Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-09T03:18:12.901Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-09T03:18:12.901Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-09T03:18:12.901Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-09T03:18:12.901Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-09T03:18:12.901Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-09T03:18:12.901Z] Executing busybox-1.35.0-r17.trigger [2023-01-09T03:18:12.901Z] OK: 8 MiB in 20 packages [2023-01-09T03:18:12.901Z] Removing intermediate container 47e2b1c7a48f [2023-01-09T03:18:12.901Z] ---> 34683ba1e054 [2023-01-09T03:18:12.901Z] Step 17/26 : WORKDIR / [2023-01-09T03:18:12.901Z] ---> Running in 4e5f76d8c88b [2023-01-09T03:18:12.901Z] Removing intermediate container 4e5f76d8c88b [2023-01-09T03:18:12.901Z] ---> 4b8c4c6fed2a [2023-01-09T03:18:12.901Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-01-09T03:18:13.168Z] ---> f7dd2edf6eb2 [2023-01-09T03:18:13.168Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-01-09T03:18:13.753Z] ---> f1016dcbb1cf [2023-01-09T03:18:13.753Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-01-09T03:18:14.033Z] ---> d65e348d58b7 [2023-01-09T03:18:14.033Z] Step 21/26 : EXPOSE 59984 [2023-01-09T03:18:14.300Z] ---> Running in 59a822d7d14f [2023-01-09T03:18:14.300Z] Removing intermediate container 59a822d7d14f [2023-01-09T03:18:14.300Z] ---> 1a2067bd193d [2023-01-09T03:18:14.300Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-01-09T03:18:14.574Z] ---> Running in 539e33c82c69 [2023-01-09T03:18:14.840Z] Removing intermediate container 539e33c82c69 [2023-01-09T03:18:14.840Z] ---> 819252a82dee [2023-01-09T03:18:14.840Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-09T03:18:14.840Z] ---> Running in 968cec12fb12 [2023-01-09T03:18:15.106Z] Removing intermediate container 968cec12fb12 [2023-01-09T03:18:15.106Z] ---> c7fab2b5e6f5 [2023-01-09T03:18:15.106Z] Step 24/26 : LABEL arch=arm64 [2023-01-09T03:18:15.106Z] ---> Running in 4e433bc30f67 [2023-01-09T03:18:15.372Z] Removing intermediate container 4e433bc30f67 [2023-01-09T03:18:15.372Z] ---> c0d6016a30db [2023-01-09T03:18:15.372Z] Step 25/26 : LABEL git_sha=97abc99f4f4fbeca99fe9bce6272f5efdfbb3543 [2023-01-09T03:18:15.372Z] ---> Running in e2d290a5a92f [2023-01-09T03:18:15.639Z] Removing intermediate container e2d290a5a92f [2023-01-09T03:18:15.639Z] ---> 75423b907723 [2023-01-09T03:18:15.639Z] Step 26/26 : LABEL version=0.0.0 [2023-01-09T03:18:15.906Z] ---> Running in cc004ae488a5 [2023-01-09T03:18:16.172Z] Removing intermediate container cc004ae488a5 [2023-01-09T03:18:16.172Z] ---> 64533fe507bd [2023-01-09T03:18:16.172Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-09T03:18:16.172Z] Successfully built 64533fe507bd [2023-01-09T03:18:16.172Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T03:18:16.941Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-09T03:18:16.942Z] [2023-01-09T03:18:16.942Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T03:18:17.335Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-09T03:18:17.335Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-09T03:18:17.335Z] 8998bd30e6a1: Pulling fs layer [2023-01-09T03:18:17.335Z] 04944245beec: Pulling fs layer [2023-01-09T03:18:17.335Z] 699f458cf7ca: Pulling fs layer [2023-01-09T03:18:17.335Z] 765212b225bb: Pulling fs layer [2023-01-09T03:18:17.335Z] f23df028b6ca: Pulling fs layer [2023-01-09T03:18:17.335Z] d65c8cfc05b1: Pulling fs layer [2023-01-09T03:18:17.335Z] 2437ff75d9bd: Pulling fs layer [2023-01-09T03:18:17.335Z] f23df028b6ca: Waiting [2023-01-09T03:18:17.335Z] d65c8cfc05b1: Waiting [2023-01-09T03:18:17.335Z] 765212b225bb: Waiting [2023-01-09T03:18:17.335Z] 2437ff75d9bd: Waiting [2023-01-09T03:18:17.604Z] 04944245beec: Verifying Checksum [2023-01-09T03:18:17.604Z] 04944245beec: Download complete [2023-01-09T03:18:17.604Z] 765212b225bb: Verifying Checksum [2023-01-09T03:18:17.604Z] 765212b225bb: Download complete [2023-01-09T03:18:17.604Z] f23df028b6ca: Verifying Checksum [2023-01-09T03:18:17.604Z] f23df028b6ca: Download complete [2023-01-09T03:18:17.604Z] d65c8cfc05b1: Verifying Checksum [2023-01-09T03:18:17.604Z] d65c8cfc05b1: Download complete [2023-01-09T03:18:17.873Z] 699f458cf7ca: Verifying Checksum [2023-01-09T03:18:17.873Z] 699f458cf7ca: Download complete [2023-01-09T03:18:18.142Z] 8998bd30e6a1: Verifying Checksum [2023-01-09T03:18:18.142Z] 8998bd30e6a1: Download complete [2023-01-09T03:18:20.722Z] 2437ff75d9bd: Verifying Checksum [2023-01-09T03:18:20.722Z] 2437ff75d9bd: Download complete [2023-01-09T03:18:22.129Z] 8998bd30e6a1: Pull complete [2023-01-09T03:18:22.396Z] 04944245beec: Pull complete [2023-01-09T03:18:23.803Z] 699f458cf7ca: Pull complete [2023-01-09T03:18:24.069Z] 765212b225bb: Pull complete [2023-01-09T03:18:24.655Z] f23df028b6ca: Pull complete [2023-01-09T03:18:24.921Z] d65c8cfc05b1: Pull complete [2023-01-09T03:18:40.042Z] 2437ff75d9bd: Pull complete [2023-01-09T03:18:40.042Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-09T03:18:40.042Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-09T03:18:40.042Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T03:18:40.388Z] prd-ubuntu20.04-docker-arm64-4c-16g-1419 does not seem to be running inside a container [2023-01-09T03:18:40.477Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-09T03:18:43.158Z] $ docker top 44dde91a1d5476f882f26ec9608a326592f522659b01078bb9c1a55dd7b208e7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-09T03:18:44.076Z] ---> job-cost.sh [2023-01-09T03:18:44.076Z] lf-activate-venv: SKIPPING [2023-01-09T03:18:44.076Z] INFO: No Stack... [2023-01-09T03:18:44.658Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-09T03:18:45.238Z] INFO: Archiving Costs [Pipeline] sh [2023-01-09T03:18:45.896Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-01-09T03:18:45.896Z] + cut -d, -f6 [Pipeline] lock [2023-01-09T03:18:45.967Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-204-1-stack-cost] [2023-01-09T03:18:45.973Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-204-1-stack-cost] did not exist. Created. [2023-01-09T03:18:45.973Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-204-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-09T03:18:46.384Z] /w/workspace/device-onvif-camera/1@tmp/durable-b12e5af9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-09T03:18:47.323Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-09T03:18:47.359Z] Warning: overwriting stash ‘stack-cost’ [2023-01-09T03:18:47.419Z] Stashed 1 file(s) [Pipeline] } [2023-01-09T03:18:47.435Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-204-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-09T03:18:47.511Z] $ docker stop --time=1 44dde91a1d5476f882f26ec9608a326592f522659b01078bb9c1a55dd7b208e7 [2023-01-09T03:18:48.991Z] $ docker rm -f --volumes 44dde91a1d5476f882f26ec9608a326592f522659b01078bb9c1a55dd7b208e7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-01-09T03:18:49.949Z] provisioning config files... [2023-01-09T03:18:49.957Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-204@tmp/config13349690755224737739tmp [Pipeline] { [Pipeline] sh [2023-01-09T03:18:50.300Z] + set +x [2023-01-09T03:18:50.300Z] + + bash -s --curl [2023-01-09T03:18:50.300Z] -s https://codecov.io/bash [2023-01-09T03:18:50.300Z] [2023-01-09T03:18:50.300Z] _____ _ [2023-01-09T03:18:50.300Z] / ____| | | [2023-01-09T03:18:50.300Z] | | ___ __| | ___ ___ _____ __ [2023-01-09T03:18:50.300Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-09T03:18:50.300Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-09T03:18:50.300Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-09T03:18:50.300Z] Bash-1.0.6 [2023-01-09T03:18:50.300Z] [2023-01-09T03:18:50.300Z] [2023-01-09T03:18:50.300Z] ==> git version 2.25.1 found [2023-01-09T03:18:50.300Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-01-09T03:18:50.300Z] Release-Date: 2020-01-08 [2023-01-09T03:18:50.300Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-01-09T03:18:50.300Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-09T03:18:50.300Z] ==> Jenkins CI detected. [2023-01-09T03:18:50.300Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-204 [2023-01-09T03:18:50.300Z] project root: . [2023-01-09T03:18:50.300Z] --> token set from env [2023-01-09T03:18:50.300Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-09T03:18:50.300Z] ==> Running gcov in . (disable via -X gcov) [2023-01-09T03:18:50.300Z] ==> Python coveragepy not found [2023-01-09T03:18:50.300Z] ==> Searching for coverage reports in: [2023-01-09T03:18:50.300Z] + . [2023-01-09T03:18:50.300Z] -> Found 1 reports [2023-01-09T03:18:50.300Z] ==> Detecting git/mercurial file structure [2023-01-09T03:18:50.560Z] ==> Reading reports [2023-01-09T03:18:50.560Z] + ./coverage.out bytes=79184 [2023-01-09T03:18:50.560Z] ==> Appending adjustments [2023-01-09T03:18:50.560Z] https://docs.codecov.io/docs/fixing-reports [2023-01-09T03:18:50.560Z] + Found adjustments [2023-01-09T03:18:50.560Z] ==> Gzipping contents [2023-01-09T03:18:50.560Z] 12K /tmp/codecov.MJh5FN.gz [2023-01-09T03:18:50.560Z] ==> Uploading reports [2023-01-09T03:18:50.560Z] url: https://codecov.io [2023-01-09T03:18:50.560Z] query: branch=PR-204&commit=97abc99f4f4fbeca99fe9bce6272f5efdfbb3543&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-204%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=204&job=&cmd_args= [2023-01-09T03:18:50.560Z] -> Pinging Codecov [2023-01-09T03:18:50.560Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-204&commit=97abc99f4f4fbeca99fe9bce6272f5efdfbb3543&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-204%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=204&job=&cmd_args= [2023-01-09T03:18:50.819Z] -> Uploading to [2023-01-09T03:18:50.819Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-09/F29A59C45E3A92E06B3E522C9905F8EF/97abc99f4f4fbeca99fe9bce6272f5efdfbb3543/38bd5397-c8ca-468b-bfd9-eaca0eddf114.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230109%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230109T031850Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c2f408c5e8baa854cebe7962637cc435d3b1a31806809bbfe148addbb79775b4 [2023-01-09T03:18:50.819Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-09T03:18:50.819Z] Dload Upload Total Spent Left Speed [2023-01-09T03:18:51.078Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10913 0 0 100 10913 0 48502 --:--:-- --:--:-- --:--:-- 48502 [2023-01-09T03:18:51.078Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/97abc99f4f4fbeca99fe9bce6272f5efdfbb3543 [Pipeline] } [2023-01-09T03:18:51.104Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-01-09T03:18:52.837Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-204/archives ] [2023-01-09T03:18:52.837Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-204/archives [2023-01-09T03:18:52.837Z] total 16 [2023-01-09T03:18:52.837Z] drwxr-xr-x 3 root root 4096 Jan 9 03:11 . [2023-01-09T03:18:52.837Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 9 03:11 .. [2023-01-09T03:18:52.837Z] drwxr-xr-x 2 root root 4096 Jan 9 03:11 cost [2023-01-09T03:18:52.837Z] -rw-r--r-- 1 root root 91 Jan 9 03:11 cost.csv [2023-01-09T03:18:52.837Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-204/archives [2023-01-09T03:18:52.837Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-204/archives [2023-01-09T03:18:52.837Z] total 16 [2023-01-09T03:18:52.837Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 9 03:11 . [2023-01-09T03:18:52.837Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 9 03:11 .. [2023-01-09T03:18:52.837Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 9 03:11 cost [2023-01-09T03:18:52.837Z] -rw-r--r-- 1 jenkins jenkins 91 Jan 9 03:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-09T03:18:53.174Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T03:18:54.069Z] ---> package-listing.sh [2023-01-09T03:18:54.069Z] ++ facter osfamily [2023-01-09T03:18:54.069Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-09T03:18:54.329Z] + OS_FAMILY=debian [2023-01-09T03:18:54.329Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-204 [2023-01-09T03:18:54.329Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-09T03:18:54.329Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-09T03:18:54.329Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-09T03:18:54.329Z] + PACKAGES=/tmp/packages_start.txt [2023-01-09T03:18:54.329Z] + '[' /w/workspace/undry_device-onvif-camera_PR-204 ']' [2023-01-09T03:18:54.329Z] + PACKAGES=/tmp/packages_end.txt [2023-01-09T03:18:54.329Z] + case "${OS_FAMILY}" in [2023-01-09T03:18:54.329Z] + dpkg -l [2023-01-09T03:18:54.329Z] + grep '^ii' [2023-01-09T03:18:54.329Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-09T03:18:54.329Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-09T03:18:54.329Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-09T03:18:54.329Z] + '[' /w/workspace/undry_device-onvif-camera_PR-204 ']' [2023-01-09T03:18:54.329Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-204/archives/ [2023-01-09T03:18:54.329Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-204/archives/ [Pipeline] echo [2023-01-09T03:18:54.359Z] 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-204/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-09T03:18:55.603Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-09T03:18:55.971Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-09T03:18:55.971Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-09T03:18:56.117Z] prd-ubuntu20.04-docker-8c-8g-1418 does not seem to be running inside a container [2023-01-09T03:18:56.158Z] $ 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-204/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-204 -v /w/workspace/undry_device-onvif-camera_PR-204:/w/workspace/undry_device-onvif-camera_PR-204:rw,z -v /w/workspace/undry_device-onvif-camera_PR-204@tmp:/w/workspace/undry_device-onvif-camera_PR-204@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-09T03:18:56.365Z] $ docker top 401bd7ab4690c6884ea058fc252322947bee872c3fb99758bc559fd709dfe308 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-09T03:18:56.749Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-09T03:18:57.062Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-09T03:18:57.383Z] + ls /var/log/sa-host [2023-01-09T03:18:57.383Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-09T03:18:57.588Z] provisioning config files... [2023-01-09T03:18:57.597Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-204@tmp/config8219999809882913436tmp [Pipeline] { [Pipeline] echo [2023-01-09T03:18:57.638Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T03:18:57.948Z] ---> create-netrc.sh [Pipeline] } [2023-01-09T03:18:57.978Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-09T03:18:58.383Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-09T03:18:58.416Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T03:18:58.728Z] ---> sudo-logs.sh [2023-01-09T03:18:58.728Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-09T03:18:58.814Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T03:18:59.123Z] ---> job-cost.sh [2023-01-09T03:18:59.123Z] lf-activate-venv: SKIPPING [2023-01-09T03:18:59.123Z] DEBUG: total: 0.2199999988079071 [2023-01-09T03:18:59.123Z] INFO: Retrieving Stack Cost... [2023-01-09T03:18:59.692Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-09T03:19:00.891Z] INFO: Archiving Costs [Pipeline] echo [2023-01-09T03:19:00.925Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-09T03:19:02.739Z] ---> logs-deploy.sh [2023-01-09T03:19:02.739Z] lf-activate-venv: SKIPPING [2023-01-09T03:19:02.739Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-204/1 [2023-01-09T03:19:02.739Z] INFO: archiving workspace using pattern(s): [2023-01-09T03:19:03.677Z] Archives upload complete. [2023-01-09T03:19:03.936Z] INFO: archiving logs to Nexus