Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 659f5a409730c1aa6059f10a7d2527ba47038078+e283d27a39f6608c4972b60e45559292c212ac31 (68ca52906eef62702e79919920602eb4973c984d) 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-ssh17823642300367642362.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-ssh14668805126198360853.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-185/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-185/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4428434749611477105.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 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-ssh18416583141332072240.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-185/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-185/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh18027613643044239195.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-966 in /w/workspace/undry_device-onvif-camera_PR-185 [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-185 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e283d27a39f6608c4972b60e45559292c212ac31 into PR head commit 659f5a409730c1aa6059f10a7d2527ba47038078 > 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/185/head:refs/remotes/origin/PR-185 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 659f5a409730c1aa6059f10a7d2527ba47038078 # timeout=10 Merge succeeded, producing 6c332c3cfc004ac7f1d259f7ad602df466d457d0 Checking out Revision 6c332c3cfc004ac7f1d259f7ad602df466d457d0 (PR-185) > 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 6c332c3cfc004ac7f1d259f7ad602df466d457d0 # timeout=10 Commit message: "Merge commit 'e283d27a39f6608c4972b60e45559292c212ac31' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk ef0daf47ab9bf2562a96929f4bb644dcb7e19234 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-03T22:10:37.417Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-03T22:10:37.482Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-03T22:10:37.496Z] ========================================================= [2023-01-03T22:10:37.497Z] EdgeX Global Pipelines Version Info [2023-01-03T22:10:37.497Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-03T22:10:38.220Z] ------------------- [2023-01-03T22:10:38.220Z] stable info: [2023-01-03T22:10:38.220Z] ------------------- [2023-01-03T22:10:38.220Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-03T22:10:38.220Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-03T22:10:38.220Z] Message: update stable to v1.0.244 [2023-01-03T22:10:38.794Z] ------------------- [2023-01-03T22:10:38.794Z] experimental info: [2023-01-03T22:10:38.794Z] ------------------- [2023-01-03T22:10:38.794Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-03T22:10:38.794Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-03T22:10:38.794Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-03T22:10:38.973Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-01-03T22:10:39.020Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-01-03T22:10:39.059Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-03T22:10:39.070Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-03T22:10:39.081Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-03T22:10:39.099Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-03T22:10:39.115Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-03T22:10:39.125Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-03T22:10:39.140Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-03T22:10:39.156Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-03T22:10:39.171Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-03T22:10:39.183Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-01-03T22:10:39.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-03T22:10:39.214Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-03T22:10:39.225Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-03T22:10:39.240Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-03T22:10:39.255Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-03T22:10:39.266Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-03T22:10:39.278Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-03T22:10:39.290Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-03T22:10:39.304Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-01-03T22:10:39.320Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-01-03T22:10:39.333Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-03T22:10:39.346Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-03T22:10:39.358Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-03T22:10:39.370Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-03T22:10:39.384Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-03T22:10:39.399Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-185 [Pipeline] echo [2023-01-03T22:10:39.410Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-185 [Pipeline] echo [2023-01-03T22:10:39.422Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-185 [Pipeline] echo [2023-01-03T22:10:39.434Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6c332c3cfc004ac7f1d259f7ad602df466d457d0 [Pipeline] echo [2023-01-03T22:10:39.447Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6c332c3 [Pipeline] echo [2023-01-03T22:10:39.459Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T22:10:39.506Z] provisioning config files... [2023-01-03T22:10:39.520Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-185@tmp/config8956251578420192756tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T22:10:39.821Z] ---> docker-login.sh [2023-01-03T22:10:39.821Z] nexus3.edgexfoundry.org:10001 [2023-01-03T22:10:40.079Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T22:10:40.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T22:10:40.080Z] Configure a credential helper to remove this warning. See [2023-01-03T22:10:40.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T22:10:40.080Z] [2023-01-03T22:10:40.080Z] Login Succeeded [2023-01-03T22:10:40.080Z] nexus3.edgexfoundry.org:10002 [2023-01-03T22:10:40.080Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T22:10:40.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T22:10:40.340Z] Configure a credential helper to remove this warning. See [2023-01-03T22:10:40.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T22:10:40.340Z] [2023-01-03T22:10:40.340Z] Login Succeeded [2023-01-03T22:10:40.340Z] nexus3.edgexfoundry.org:10003 [2023-01-03T22:10:40.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T22:10:40.340Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T22:10:40.340Z] Configure a credential helper to remove this warning. See [2023-01-03T22:10:40.340Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T22:10:40.340Z] [2023-01-03T22:10:40.340Z] Login Succeeded [2023-01-03T22:10:40.340Z] nexus3.edgexfoundry.org:10004 [2023-01-03T22:10:40.340Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T22:10:40.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T22:10:40.600Z] Configure a credential helper to remove this warning. See [2023-01-03T22:10:40.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T22:10:40.600Z] [2023-01-03T22:10:40.600Z] Login Succeeded [2023-01-03T22:10:40.600Z] docker.io [2023-01-03T22:10:40.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T22:10:40.860Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T22:10:40.860Z] Configure a credential helper to remove this warning. See [2023-01-03T22:10:40.860Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T22:10:40.860Z] [2023-01-03T22:10:40.860Z] Login Succeeded [2023-01-03T22:10:40.860Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T22:10:40.869Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-03T22:10:41.218Z] + git rev-list -1 --merges 6c332c3cfc004ac7f1d259f7ad602df466d457d0~1..6c332c3cfc004ac7f1d259f7ad602df466d457d0 [Pipeline] echo [2023-01-03T22:10:41.257Z] -----------> git rev-list -1 --merges 6c332c3cfc004ac7f1d259f7ad602df466d457d0~1..6c332c3cfc004ac7f1d259f7ad602df466d457d0 6c332c3cfc004ac7f1d259f7ad602df466d457d0 [2023-01-03T22:10:41.257Z] 6c332c3cfc004ac7f1d259f7ad602df466d457d0 [false] [Pipeline] sh [2023-01-03T22:10:41.544Z] + git log --format=format:%s -1 6c332c3cfc004ac7f1d259f7ad602df466d457d0 [Pipeline] echo [2023-01-03T22:10:41.561Z] ========================================================= [2023-01-03T22:10:41.561Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-03T22:10:41.561Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-03T22:10:41.874Z] + git log --format=format:%s -1 6c332c3cfc004ac7f1d259f7ad602df466d457d0 [Pipeline] echo [2023-01-03T22:10:41.885Z] [semverPrep] GIT_COMMIT: 6c332c3cfc004ac7f1d259f7ad602df466d457d0, Commit Message: Merge commit 'e283d27a39f6608c4972b60e45559292c212ac31' into HEAD [Pipeline] echo [2023-01-03T22:10:41.895Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-03T22:10:42.238Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-03T22:10:42.238Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-03T22:10:42.238Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-03T22:10:42.238Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-03T22:10:42.238Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-03T22:10:42.238Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-03T22:10:42.238Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T22:10:42.575Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T22:10:42.575Z] [2023-01-03T22:10:42.575Z] 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-03T22:10:42.885Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T22:10:42.885Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-03T22:10:42.885Z] b85a868b505f: Pulling fs layer [2023-01-03T22:10:42.885Z] e2be974225ed: Pulling fs layer [2023-01-03T22:10:42.885Z] 339a4e72a1f5: Pulling fs layer [2023-01-03T22:10:42.885Z] 988bab9f4d93: Pulling fs layer [2023-01-03T22:10:42.885Z] 1469e6f7b9e6: Pulling fs layer [2023-01-03T22:10:42.885Z] eaf3925da568: Pulling fs layer [2023-01-03T22:10:42.885Z] bab4dde63d76: Pulling fs layer [2023-01-03T22:10:42.885Z] bde34c3a00c8: Pulling fs layer [2023-01-03T22:10:42.885Z] b352a97aabf1: Pulling fs layer [2023-01-03T22:10:42.885Z] 4872d77fe225: Pulling fs layer [2023-01-03T22:10:42.885Z] 5851b861e8e6: Pulling fs layer [2023-01-03T22:10:42.885Z] 1469e6f7b9e6: Waiting [2023-01-03T22:10:42.885Z] eaf3925da568: Waiting [2023-01-03T22:10:42.885Z] bab4dde63d76: Waiting [2023-01-03T22:10:42.885Z] bde34c3a00c8: Waiting [2023-01-03T22:10:42.885Z] b352a97aabf1: Waiting [2023-01-03T22:10:42.885Z] 4872d77fe225: Waiting [2023-01-03T22:10:42.885Z] 5851b861e8e6: Waiting [2023-01-03T22:10:42.885Z] 988bab9f4d93: Waiting [2023-01-03T22:10:42.885Z] e2be974225ed: Verifying Checksum [2023-01-03T22:10:42.885Z] e2be974225ed: Download complete [2023-01-03T22:10:42.885Z] 988bab9f4d93: Verifying Checksum [2023-01-03T22:10:42.885Z] 988bab9f4d93: Download complete [2023-01-03T22:10:43.147Z] 1469e6f7b9e6: Verifying Checksum [2023-01-03T22:10:43.147Z] 1469e6f7b9e6: Download complete [2023-01-03T22:10:43.147Z] 339a4e72a1f5: Verifying Checksum [2023-01-03T22:10:43.147Z] 339a4e72a1f5: Download complete [2023-01-03T22:10:43.147Z] eaf3925da568: Verifying Checksum [2023-01-03T22:10:43.147Z] eaf3925da568: Download complete [2023-01-03T22:10:43.147Z] bde34c3a00c8: Verifying Checksum [2023-01-03T22:10:43.147Z] bde34c3a00c8: Download complete [2023-01-03T22:10:43.147Z] b352a97aabf1: Verifying Checksum [2023-01-03T22:10:43.147Z] b352a97aabf1: Download complete [2023-01-03T22:10:43.147Z] 4872d77fe225: Verifying Checksum [2023-01-03T22:10:43.147Z] 4872d77fe225: Download complete [2023-01-03T22:10:43.147Z] 5851b861e8e6: Download complete [2023-01-03T22:10:43.147Z] b85a868b505f: Verifying Checksum [2023-01-03T22:10:43.147Z] b85a868b505f: Download complete [2023-01-03T22:10:43.414Z] bab4dde63d76: Verifying Checksum [2023-01-03T22:10:43.414Z] bab4dde63d76: Download complete [2023-01-03T22:10:44.353Z] b85a868b505f: Pull complete [2023-01-03T22:10:44.353Z] e2be974225ed: Pull complete [2023-01-03T22:10:44.921Z] 339a4e72a1f5: Pull complete [2023-01-03T22:10:44.921Z] 988bab9f4d93: Pull complete [2023-01-03T22:10:45.180Z] 1469e6f7b9e6: Pull complete [2023-01-03T22:10:45.180Z] eaf3925da568: Pull complete [2023-01-03T22:10:46.559Z] bab4dde63d76: Pull complete [2023-01-03T22:10:46.864Z] bde34c3a00c8: Pull complete [2023-01-03T22:10:46.864Z] b352a97aabf1: Pull complete [2023-01-03T22:10:46.864Z] 4872d77fe225: Pull complete [2023-01-03T22:10:47.137Z] 5851b861e8e6: Pull complete [2023-01-03T22:10:47.137Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-03T22:10:47.137Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-03T22:10:47.137Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T22:10:47.301Z] prd-ubuntu20.04-docker-8c-8g-966 does not seem to be running inside a container [2023-01-03T22:10:47.335Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-185 -v /w/workspace/undry_device-onvif-camera_PR-185:/w/workspace/undry_device-onvif-camera_PR-185:rw,z -v /w/workspace/undry_device-onvif-camera_PR-185@tmp:/w/workspace/undry_device-onvif-camera_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-01-03T22:10:48.445Z] $ docker top d56fda68e6666bd7902812bd654c5579edcb8b76341dc75fcc23435eb64d1867 -eo pid,comm [2023-01-03T22:10:48.497Z] 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-03T22:10:48.497Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-03T22:10:48.529Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-03T22:10:48.529Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-03T22:10:48.646Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-03T22:10:48.652Z] $ docker exec d56fda68e6666bd7902812bd654c5579edcb8b76341dc75fcc23435eb64d1867 ssh-agent [2023-01-03T22:10:48.742Z] SSH_AUTH_SOCK=/tmp/ssh-6F6pdef25Na2/agent.32 [2023-01-03T22:10:48.742Z] SSH_AGENT_PID=38 [2023-01-03T22:10:48.747Z] Running ssh-add (command line suppressed) [2023-01-03T22:10:48.857Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-185@tmp/private_key_4273668601249524780.key (/w/workspace/undry_device-onvif-camera_PR-185@tmp/private_key_4273668601249524780.key) [2023-01-03T22:10:48.865Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-03T22:10:49.147Z] + git tag --points-at HEAD [Pipeline] } [2023-01-03T22:10:49.167Z] $ docker exec --env ******** --env ******** d56fda68e6666bd7902812bd654c5579edcb8b76341dc75fcc23435eb64d1867 ssh-agent -k [2023-01-03T22:10:49.255Z] unset SSH_AUTH_SOCK; [2023-01-03T22:10:49.255Z] unset SSH_AGENT_PID; [2023-01-03T22:10:49.256Z] echo Agent pid 38 killed; [2023-01-03T22:10:49.261Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-03T22:10:49.284Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-03T22:10:49.284Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-03T22:10:49.396Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-03T22:10:49.401Z] $ docker exec d56fda68e6666bd7902812bd654c5579edcb8b76341dc75fcc23435eb64d1867 ssh-agent [2023-01-03T22:10:49.485Z] SSH_AUTH_SOCK=/tmp/ssh-umxMCxjNhKtS/agent.70 [2023-01-03T22:10:49.485Z] SSH_AGENT_PID=77 [2023-01-03T22:10:49.489Z] Running ssh-add (command line suppressed) [2023-01-03T22:10:49.591Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-185@tmp/private_key_11881859446423048740.key (/w/workspace/undry_device-onvif-camera_PR-185@tmp/private_key_11881859446423048740.key) [2023-01-03T22:10:49.601Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-03T22:10:49.882Z] + git semver init [2023-01-03T22:10:50.139Z] 2023-01-03 22:10:50,052 [run_init] DEBUG init version:0.0.0 force:False [2023-01-03T22:10:50.139Z] 2023-01-03 22:10:50,052 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-185/.semver [2023-01-03T22:10:50.139Z] 2023-01-03 22:10:50,053 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-185/.semver [2023-01-03T22:10:50.139Z] 2023-01-03 22:10:50,053 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-185/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-185, universal_newlines=False, shell=None, istream=None) [2023-01-03T22:10:51.078Z] 2023-01-03 22:10:50,882 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-185/.git/info/exclude [2023-01-03T22:10:51.078Z] 2023-01-03 22:10:50,882 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-185/.semver/PR-185 with force:False [2023-01-03T22:10:51.078Z] 2023-01-03 22:10:50,882 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-185/.semver/PR-185 [2023-01-03T22:10:51.079Z] 2023-01-03 22:10:50,886 [execute] INFO git cat-file --batch-check [2023-01-03T22:10:51.079Z] 2023-01-03 22:10:50,887 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-185/.semver, universal_newlines=False, shell=None, istream=) [2023-01-03T22:10:51.079Z] 2023-01-03 22:10:50,894 [execute] INFO git cat-file --batch [2023-01-03T22:10:51.079Z] 2023-01-03 22:10:50,894 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-185/.semver, universal_newlines=False, shell=None, istream=) [2023-01-03T22:10:51.079Z] 2023-01-03 22:10:50,899 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-185/.semver/PR-185 [2023-01-03T22:10:51.079Z] 0.0.0 [Pipeline] } [2023-01-03T22:10:51.090Z] $ docker exec --env ******** --env ******** d56fda68e6666bd7902812bd654c5579edcb8b76341dc75fcc23435eb64d1867 ssh-agent -k [2023-01-03T22:10:51.190Z] unset SSH_AUTH_SOCK; [2023-01-03T22:10:51.191Z] unset SSH_AGENT_PID; [2023-01-03T22:10:51.191Z] echo Agent pid 77 killed; [2023-01-03T22:10:51.197Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-03T22:10:51.495Z] + git semver [Pipeline] } [2023-01-03T22:10:51.766Z] $ docker stop --time=1 d56fda68e6666bd7902812bd654c5579edcb8b76341dc75fcc23435eb64d1867 [2023-01-03T22:10:53.048Z] $ docker rm -f --volumes d56fda68e6666bd7902812bd654c5579edcb8b76341dc75fcc23435eb64d1867 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T22:10:53.377Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-03T22:10:53.566Z] Stashed 1 file(s) [Pipeline] echo [2023-01-03T22:10:53.568Z] [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-03T22:10:53.682Z] provisioning config files... [2023-01-03T22:10:53.692Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-185@tmp/config8465687471297208464tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T22:10:53.988Z] ---> docker-login.sh [2023-01-03T22:10:53.988Z] nexus3.edgexfoundry.org:10001 [2023-01-03T22:10:53.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T22:10:53.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T22:10:53.988Z] Configure a credential helper to remove this warning. See [2023-01-03T22:10:53.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T22:10:53.988Z] [2023-01-03T22:10:53.988Z] Login Succeeded [2023-01-03T22:10:53.988Z] nexus3.edgexfoundry.org:10002 [2023-01-03T22:10:53.988Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T22:10:53.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T22:10:53.988Z] Configure a credential helper to remove this warning. See [2023-01-03T22:10:53.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T22:10:53.988Z] [2023-01-03T22:10:53.988Z] Login Succeeded [2023-01-03T22:10:53.988Z] nexus3.edgexfoundry.org:10003 [2023-01-03T22:10:54.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T22:10:54.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T22:10:54.247Z] Configure a credential helper to remove this warning. See [2023-01-03T22:10:54.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T22:10:54.247Z] [2023-01-03T22:10:54.247Z] Login Succeeded [2023-01-03T22:10:54.247Z] nexus3.edgexfoundry.org:10004 [2023-01-03T22:10:54.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T22:10:54.247Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T22:10:54.247Z] Configure a credential helper to remove this warning. See [2023-01-03T22:10:54.247Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T22:10:54.247Z] [2023-01-03T22:10:54.247Z] Login Succeeded [2023-01-03T22:10:54.247Z] docker.io [2023-01-03T22:10:54.247Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T22:10:54.507Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T22:10:54.507Z] Configure a credential helper to remove this warning. See [2023-01-03T22:10:54.507Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T22:10:54.507Z] [2023-01-03T22:10:54.507Z] Login Succeeded [2023-01-03T22:10:54.507Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T22:10:54.513Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-03T22:10:54.566Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T22:10:54.574Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T22:10:54.580Z] ========================================================= [2023-01-03T22:10:54.580Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-03T22:10:54.580Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T22:10:54.880Z] + 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-03T22:10:54.880Z] Sending build context to Docker daemon 27.54MB [2023-01-03T22:10:54.880Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T22:10:54.880Z] Step 2/13 : FROM ${BASE} AS builder [2023-01-03T22:10:55.138Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-03T22:10:55.138Z] 213ec9aee27d: Pulling fs layer [2023-01-03T22:10:55.138Z] 4583459ba037: Pulling fs layer [2023-01-03T22:10:55.138Z] 93c1e223e6f2: Pulling fs layer [2023-01-03T22:10:55.138Z] 53926ce57604: Pulling fs layer [2023-01-03T22:10:55.138Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-03T22:10:55.138Z] 22ff95d597cd: Pulling fs layer [2023-01-03T22:10:55.138Z] 12d6caf4c0d1: Pulling fs layer [2023-01-03T22:10:55.138Z] 96b7cbca73a9: Pulling fs layer [2023-01-03T22:10:55.138Z] a7acece74701: Pulling fs layer [2023-01-03T22:10:55.138Z] 53926ce57604: Waiting [2023-01-03T22:10:55.138Z] 21b2b0c7a3f4: Waiting [2023-01-03T22:10:55.138Z] 22ff95d597cd: Waiting [2023-01-03T22:10:55.138Z] 12d6caf4c0d1: Waiting [2023-01-03T22:10:55.138Z] 96b7cbca73a9: Waiting [2023-01-03T22:10:55.138Z] a7acece74701: Waiting [2023-01-03T22:10:55.138Z] 93c1e223e6f2: Verifying Checksum [2023-01-03T22:10:55.138Z] 93c1e223e6f2: Download complete [2023-01-03T22:10:55.138Z] 4583459ba037: Verifying Checksum [2023-01-03T22:10:55.138Z] 4583459ba037: Download complete [2023-01-03T22:10:55.138Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-03T22:10:55.138Z] 21b2b0c7a3f4: Download complete [2023-01-03T22:10:55.138Z] 22ff95d597cd: Verifying Checksum [2023-01-03T22:10:55.138Z] 22ff95d597cd: Download complete [2023-01-03T22:10:55.138Z] 213ec9aee27d: Verifying Checksum [2023-01-03T22:10:55.398Z] 12d6caf4c0d1: Verifying Checksum [2023-01-03T22:10:55.398Z] 12d6caf4c0d1: Download complete [2023-01-03T22:10:55.398Z] 213ec9aee27d: Pull complete [2023-01-03T22:10:55.398Z] 4583459ba037: Pull complete [2023-01-03T22:10:55.656Z] 93c1e223e6f2: Pull complete [2023-01-03T22:10:55.656Z] a7acece74701: Verifying Checksum [2023-01-03T22:10:55.656Z] a7acece74701: Download complete [2023-01-03T22:10:56.231Z] 96b7cbca73a9: Verifying Checksum [2023-01-03T22:10:56.231Z] 96b7cbca73a9: Download complete [2023-01-03T22:10:56.231Z] 53926ce57604: Verifying Checksum [2023-01-03T22:10:56.231Z] 53926ce57604: Download complete [2023-01-03T22:10:59.516Z] 53926ce57604: Pull complete [2023-01-03T22:10:59.516Z] 21b2b0c7a3f4: Pull complete [2023-01-03T22:10:59.516Z] 22ff95d597cd: Pull complete [2023-01-03T22:10:59.516Z] 12d6caf4c0d1: Pull complete [2023-01-03T22:11:01.418Z] 96b7cbca73a9: Pull complete [2023-01-03T22:11:02.350Z] a7acece74701: Pull complete [2023-01-03T22:11:02.350Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-03T22:11:02.350Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-03T22:11:02.350Z] ---> db6d94c90886 [2023-01-03T22:11:02.350Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-01-03T22:11:03.735Z] ---> Running in 58eddeec02be [2023-01-03T22:11:03.735Z] Removing intermediate container 58eddeec02be [2023-01-03T22:11:03.735Z] ---> d4833d6055ca [2023-01-03T22:11:03.735Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T22:11:03.735Z] ---> Running in 3d8d4402cef6 [2023-01-03T22:11:03.993Z] Removing intermediate container 3d8d4402cef6 [2023-01-03T22:11:03.993Z] ---> f4ca9a500f6c [2023-01-03T22:11:03.993Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-01-03T22:11:03.993Z] ---> Running in a0aa1dbc1570 [2023-01-03T22:11:03.993Z] Removing intermediate container a0aa1dbc1570 [2023-01-03T22:11:03.993Z] ---> c6895fec5435 [2023-01-03T22:11:03.993Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-01-03T22:11:03.993Z] ---> Running in 2210e43352f6 [2023-01-03T22:11:03.993Z] Removing intermediate container 2210e43352f6 [2023-01-03T22:11:03.993Z] ---> 9a29c7397106 [2023-01-03T22:11:03.993Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-01-03T22:11:03.993Z] ---> Running in f479d640dca5 [2023-01-03T22:11:04.251Z] Removing intermediate container f479d640dca5 [2023-01-03T22:11:04.251Z] ---> 6d76667540aa [2023-01-03T22:11:04.251Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-03T22:11:04.251Z] ---> Running in 330c34966864 [2023-01-03T22:11:04.512Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-03T22:11:04.512Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-03T22:11:04.770Z] OK: 211 MiB in 51 packages [2023-01-03T22:11:05.339Z] Removing intermediate container 330c34966864 [2023-01-03T22:11:05.339Z] ---> dfec7b3d59f3 [2023-01-03T22:11:05.339Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-01-03T22:11:05.339Z] ---> Running in c5b0d0967ca5 [2023-01-03T22:11:05.339Z] Removing intermediate container c5b0d0967ca5 [2023-01-03T22:11:05.339Z] ---> 71052e8ed685 [2023-01-03T22:11:05.339Z] Step 10/13 : COPY go.mod vendor* ./ [2023-01-03T22:11:05.339Z] ---> 6fc49d7b761a [2023-01-03T22:11:05.339Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T22:11:05.339Z] ---> Running in 03cabc6631a1 [2023-01-03T22:11:08.649Z] Still waiting to schedule task [2023-01-03T22:11:08.649Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-01-03T22:11:23.427Z] Removing intermediate container 03cabc6631a1 [2023-01-03T22:11:23.427Z] ---> f397184cd7bc [2023-01-03T22:11:23.427Z] Step 12/13 : COPY . . [2023-01-03T22:11:23.427Z] ---> 8fc6ad27feaa [2023-01-03T22:11:23.427Z] Step 13/13 : RUN ${MAKE} [2023-01-03T22:11:23.427Z] ---> Running in 44ce3a24da54 [2023-01-03T22:11:23.427Z] noop [2023-01-03T22:11:23.427Z] Removing intermediate container 44ce3a24da54 [2023-01-03T22:11:23.427Z] ---> 82e567aa3a64 [2023-01-03T22:11:23.427Z] Successfully built 82e567aa3a64 [2023-01-03T22:11:23.427Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T22:11:23.737Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-03T22:11:23.737Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T22:11:23.802Z] prd-ubuntu20.04-docker-8c-8g-966 does not seem to be running inside a container [2023-01-03T22:11:23.831Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-185 -v /w/workspace/undry_device-onvif-camera_PR-185:/w/workspace/undry_device-onvif-camera_PR-185:rw,z -v /w/workspace/undry_device-onvif-camera_PR-185@tmp:/w/workspace/undry_device-onvif-camera_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-03T22:11:24.132Z] $ docker top 454991832f9e8c611b64eee035a132e00cb8a549db573eafd319ce786584dbcb -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T22:11:24.471Z] + go version [2023-01-03T22:11:24.471Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-03T22:11:24.484Z] $ docker stop --time=1 454991832f9e8c611b64eee035a132e00cb8a549db573eafd319ce786584dbcb [2023-01-03T22:11:25.715Z] $ docker rm -f --volumes 454991832f9e8c611b64eee035a132e00cb8a549db573eafd319ce786584dbcb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T22:11:26.088Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-03T22:11:26.089Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T22:11:26.156Z] prd-ubuntu20.04-docker-8c-8g-966 does not seem to be running inside a container [2023-01-03T22:11:26.187Z] $ 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-185 -v /w/workspace/undry_device-onvif-camera_PR-185:/w/workspace/undry_device-onvif-camera_PR-185:rw,z -v /w/workspace/undry_device-onvif-camera_PR-185@tmp:/w/workspace/undry_device-onvif-camera_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-03T22:11:26.502Z] $ docker top 61a00dad284819447bd4ffaef02559811d8fcbe4bc1c990a20c6eb55ed31e2c1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T22:11:26.841Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-185 [Pipeline] fileExists [Pipeline] sh [2023-01-03T22:11:27.138Z] + make test [2023-01-03T22:11:27.138Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-03T22:11:27.402Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-01-03T22:11:37.361Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-01-03T22:11:39.264Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.031s coverage: 29.3% of statements [2023-01-03T22:11:39.264Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-01-03T22:11:39.264Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.262s coverage: 86.5% of statements [2023-01-03T22:11:47.371Z] 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-03T22:11:47.371Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-03T22:11:49.894Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-03T22:11:49.894Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-03T22:11:49.894Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-03T22:11:49.907Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-03T22:11:49.919Z] $ docker stop --time=1 61a00dad284819447bd4ffaef02559811d8fcbe4bc1c990a20c6eb55ed31e2c1 [2023-01-03T22:11:51.530Z] $ docker rm -f --volumes 61a00dad284819447bd4ffaef02559811d8fcbe4bc1c990a20c6eb55ed31e2c1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T22:11:51.970Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-03T22:11:52.029Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-03T22:11:52.554Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-03T22:11:52.838Z] + ls -al . [2023-01-03T22:11:52.838Z] total 248 [2023-01-03T22:11:52.838Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 3 22:11 . [2023-01-03T22:11:52.838Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 22:10 .. [2023-01-03T22:11:52.838Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 22:11 .git [2023-01-03T22:11:52.838Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 22:10 .github [2023-01-03T22:11:52.838Z] -rw-rw-r-- 1 jenkins jenkins 496 Jan 3 22:10 .gitignore [2023-01-03T22:11:52.838Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 3 22:10 .golangci.yml [2023-01-03T22:11:52.838Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 22:10 .semver [2023-01-03T22:11:52.838Z] -rw-rw-r-- 1 jenkins jenkins 9742 Jan 3 22:10 Attribution.txt [2023-01-03T22:11:52.838Z] -rw-rw-r-- 1 jenkins jenkins 6312 Jan 3 22:10 CHANGELOG.md [2023-01-03T22:11:52.838Z] -rw-rw-r-- 1 jenkins jenkins 1619 Jan 3 22:10 Dockerfile [2023-01-03T22:11:52.838Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 22:10 GOVERNANCE.md [2023-01-03T22:11:52.838Z] -rw-rw-r-- 1 jenkins jenkins 734 Jan 3 22:10 Jenkinsfile [2023-01-03T22:11:52.838Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jan 3 22:10 LICENSE [2023-01-03T22:11:52.839Z] -rw-rw-r-- 1 jenkins jenkins 2858 Jan 3 22:10 Makefile [2023-01-03T22:11:52.839Z] -rw-rw-r-- 1 jenkins jenkins 625 Jan 3 22:10 OWNERS.md [2023-01-03T22:11:52.839Z] -rw-rw-r-- 1 jenkins jenkins 6595 Jan 3 22:10 README.md [2023-01-03T22:11:52.839Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 22:10 VERSION [2023-01-03T22:11:52.839Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 22:10 bin [2023-01-03T22:11:52.839Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 22:10 cmd [2023-01-03T22:11:52.839Z] -rw-r--r-- 1 jenkins jenkins 79184 Jan 3 22:11 coverage.out [2023-01-03T22:11:52.839Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 3 22:10 doc [2023-01-03T22:11:52.839Z] -rw-rw-r-- 1 jenkins jenkins 3688 Jan 3 22:10 go.mod [2023-01-03T22:11:52.839Z] -rw-rw-r-- 1 jenkins jenkins 46249 Jan 3 22:10 go.sum [2023-01-03T22:11:52.839Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 22:10 internal [2023-01-03T22:11:52.839Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 22:10 snap [2023-01-03T22:11:52.839Z] -rw-rw-r-- 1 jenkins jenkins 236 Jan 3 22:10 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T22:11:53.143Z] + 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=6c332c3cfc004ac7f1d259f7ad602df466d457d0 --label arch=amd64 --label version=0.0.0 . [2023-01-03T22:11:53.143Z] Sending build context to Docker daemon 27.62MB [2023-01-03T22:11:53.143Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T22:11:53.143Z] Step 2/26 : FROM ${BASE} AS builder [2023-01-03T22:11:53.143Z] ---> 82e567aa3a64 [2023-01-03T22:11:53.143Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-01-03T22:11:53.400Z] ---> Running in dcd00fba5838 [2023-01-03T22:11:53.400Z] Removing intermediate container dcd00fba5838 [2023-01-03T22:11:53.400Z] ---> a1c2077e9934 [2023-01-03T22:11:53.400Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T22:11:53.400Z] ---> Running in 34085f117bff [2023-01-03T22:11:53.400Z] Removing intermediate container 34085f117bff [2023-01-03T22:11:53.400Z] ---> ecdb250479df [2023-01-03T22:11:53.400Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-01-03T22:11:53.401Z] ---> Running in e1a7f6d495ea [2023-01-03T22:11:53.658Z] Removing intermediate container e1a7f6d495ea [2023-01-03T22:11:53.658Z] ---> 9677cce64717 [2023-01-03T22:11:53.658Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-01-03T22:11:53.658Z] ---> Running in 542852e37cab [2023-01-03T22:11:53.658Z] Removing intermediate container 542852e37cab [2023-01-03T22:11:53.658Z] ---> f18a43d6222d [2023-01-03T22:11:53.658Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-01-03T22:11:53.658Z] ---> Running in aee10a53502d [2023-01-03T22:11:53.658Z] Removing intermediate container aee10a53502d [2023-01-03T22:11:53.658Z] ---> 09734b27f6a9 [2023-01-03T22:11:53.658Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-03T22:11:53.658Z] ---> Running in b3ff92e0934e [2023-01-03T22:11:53.915Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-03T22:11:54.173Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-03T22:11:54.173Z] OK: 211 MiB in 51 packages [2023-01-03T22:11:54.738Z] Removing intermediate container b3ff92e0934e [2023-01-03T22:11:54.738Z] ---> 0f9db32a5a69 [2023-01-03T22:11:54.738Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-01-03T22:11:54.738Z] ---> Running in 83d22fb5cc68 [2023-01-03T22:11:54.738Z] Removing intermediate container 83d22fb5cc68 [2023-01-03T22:11:54.738Z] ---> ea3db0001270 [2023-01-03T22:11:54.738Z] Step 10/26 : COPY go.mod vendor* ./ [2023-01-03T22:11:54.738Z] ---> 4dbcb9e9997f [2023-01-03T22:11:54.738Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T22:11:54.738Z] ---> Running in a1472bf229c4 [2023-01-03T22:11:55.672Z] Removing intermediate container a1472bf229c4 [2023-01-03T22:11:55.672Z] ---> 8e933e7228e5 [2023-01-03T22:11:55.672Z] Step 12/26 : COPY . . [2023-01-03T22:11:55.929Z] ---> c735be8e6f69 [2023-01-03T22:11:55.929Z] Step 13/26 : RUN ${MAKE} [2023-01-03T22:11:55.929Z] ---> Running in 594868eeaadb [2023-01-03T22:11:56.187Z] 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.5" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2023-01-03T22:12:18.098Z] Removing intermediate container 594868eeaadb [2023-01-03T22:12:18.098Z] ---> dc4255ec1d02 [2023-01-03T22:12:18.098Z] Step 14/26 : FROM alpine:3.16 [2023-01-03T22:12:18.098Z] 3.16: Pulling from library/alpine [2023-01-03T22:12:18.098Z] ca7dd9ec2225: Pulling fs layer [2023-01-03T22:12:18.098Z] ca7dd9ec2225: Verifying Checksum [2023-01-03T22:12:18.098Z] ca7dd9ec2225: Download complete [2023-01-03T22:12:18.098Z] ca7dd9ec2225: Pull complete [2023-01-03T22:12:18.098Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-03T22:12:18.098Z] Status: Downloaded newer image for alpine:3.16 [2023-01-03T22:12:18.098Z] ---> bfe296a52501 [2023-01-03T22:12:18.098Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-01-03T22:12:18.098Z] ---> Running in f9c94e1a15ff [2023-01-03T22:12:18.098Z] Removing intermediate container f9c94e1a15ff [2023-01-03T22:12:18.098Z] ---> 8d5842debd73 [2023-01-03T22:12:18.098Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-03T22:12:18.098Z] ---> Running in 6f5c5459e07d [2023-01-03T22:12:18.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-03T22:12:18.098Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-03T22:12:18.098Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-03T22:12:18.098Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-03T22:12:18.098Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-03T22:12:18.098Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-03T22:12:18.098Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-03T22:12:18.098Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-03T22:12:18.098Z] Executing busybox-1.35.0-r17.trigger [2023-01-03T22:12:18.098Z] OK: 8 MiB in 20 packages [2023-01-03T22:12:18.098Z] Removing intermediate container 6f5c5459e07d [2023-01-03T22:12:18.098Z] ---> 05155f291950 [2023-01-03T22:12:18.098Z] Step 17/26 : WORKDIR / [2023-01-03T22:12:18.098Z] ---> Running in e1a47839fd27 [2023-01-03T22:12:18.098Z] Removing intermediate container e1a47839fd27 [2023-01-03T22:12:18.098Z] ---> 8d7be8b3d99c [2023-01-03T22:12:18.098Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-01-03T22:12:18.358Z] ---> b1bfb8f0adca [2023-01-03T22:12:18.358Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-01-03T22:12:18.616Z] ---> aa7bee44d9b4 [2023-01-03T22:12:18.616Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-01-03T22:12:18.616Z] ---> c095918df740 [2023-01-03T22:12:18.616Z] Step 21/26 : EXPOSE 59984 [2023-01-03T22:12:18.616Z] ---> Running in 9d1ac723ed0e [2023-01-03T22:12:18.874Z] Removing intermediate container 9d1ac723ed0e [2023-01-03T22:12:18.874Z] ---> b13e7fe5d9e8 [2023-01-03T22:12:18.874Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-01-03T22:12:18.874Z] ---> Running in 4c6228e4a53c [2023-01-03T22:12:18.874Z] Removing intermediate container 4c6228e4a53c [2023-01-03T22:12:18.874Z] ---> 4d4656d5d7fd [2023-01-03T22:12:18.874Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-03T22:12:18.874Z] ---> Running in d2fdc52d6b75 [2023-01-03T22:12:18.874Z] Removing intermediate container d2fdc52d6b75 [2023-01-03T22:12:18.874Z] ---> e5fca413809c [2023-01-03T22:12:18.874Z] Step 24/26 : LABEL arch=amd64 [2023-01-03T22:12:18.874Z] ---> Running in d89fbd003538 [2023-01-03T22:12:19.132Z] Removing intermediate container d89fbd003538 [2023-01-03T22:12:19.132Z] ---> 851a030a63ff [2023-01-03T22:12:19.132Z] Step 25/26 : LABEL git_sha=6c332c3cfc004ac7f1d259f7ad602df466d457d0 [2023-01-03T22:12:19.132Z] ---> Running in a6c2a80227d8 [2023-01-03T22:12:19.132Z] Removing intermediate container a6c2a80227d8 [2023-01-03T22:12:19.132Z] ---> 4e8352a42c34 [2023-01-03T22:12:19.132Z] Step 26/26 : LABEL version=0.0.0 [2023-01-03T22:12:19.132Z] ---> Running in 06134fac2ffb [2023-01-03T22:12:19.132Z] Removing intermediate container 06134fac2ffb [2023-01-03T22:12:19.132Z] ---> 1c56ba32d42b [2023-01-03T22:12:19.132Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-03T22:12:19.132Z] Successfully built 1c56ba32d42b [2023-01-03T22:12:19.132Z] 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-03T22:12:19.567Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T22:12:19.567Z] [2023-01-03T22:12:19.567Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T22:12:19.875Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T22:12:19.875Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-03T22:12:19.875Z] 5eb5b503b376: Pulling fs layer [2023-01-03T22:12:19.875Z] 5c69ac0246d0: Pulling fs layer [2023-01-03T22:12:19.875Z] ec43610c2a17: Pulling fs layer [2023-01-03T22:12:19.875Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-03T22:12:19.875Z] 33b1e0a273af: Pulling fs layer [2023-01-03T22:12:19.875Z] 5d3b04190fa2: Pulling fs layer [2023-01-03T22:12:19.875Z] 2f39f015ded8: Pulling fs layer [2023-01-03T22:12:19.875Z] 3a2ae6a8a46f: Waiting [2023-01-03T22:12:19.875Z] 5d3b04190fa2: Waiting [2023-01-03T22:12:19.875Z] 2f39f015ded8: Waiting [2023-01-03T22:12:19.875Z] 33b1e0a273af: Waiting [2023-01-03T22:12:19.875Z] 5c69ac0246d0: Download complete [2023-01-03T22:12:19.875Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-03T22:12:19.875Z] 3a2ae6a8a46f: Download complete [2023-01-03T22:12:20.136Z] 33b1e0a273af: Verifying Checksum [2023-01-03T22:12:20.136Z] 33b1e0a273af: Download complete [2023-01-03T22:12:20.136Z] 5d3b04190fa2: Verifying Checksum [2023-01-03T22:12:20.136Z] 5d3b04190fa2: Download complete [2023-01-03T22:12:20.136Z] ec43610c2a17: Verifying Checksum [2023-01-03T22:12:20.136Z] ec43610c2a17: Download complete [2023-01-03T22:12:20.136Z] 5eb5b503b376: Download complete [2023-01-03T22:12:21.504Z] 5eb5b503b376: Pull complete [2023-01-03T22:12:21.504Z] 5c69ac0246d0: Pull complete [2023-01-03T22:12:21.762Z] ec43610c2a17: Pull complete [2023-01-03T22:12:21.762Z] 3a2ae6a8a46f: Pull complete [2023-01-03T22:12:22.021Z] 33b1e0a273af: Pull complete [2023-01-03T22:12:22.021Z] 5d3b04190fa2: Pull complete [2023-01-03T22:12:26.201Z] 2f39f015ded8: Pull complete [2023-01-03T22:12:26.201Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-03T22:12:26.201Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T22:12:26.201Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T22:12:26.279Z] prd-ubuntu20.04-docker-8c-8g-966 does not seem to be running inside a container [2023-01-03T22:12:26.313Z] $ 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-185 -v /w/workspace/undry_device-onvif-camera_PR-185:/w/workspace/undry_device-onvif-camera_PR-185:rw,z -v /w/workspace/undry_device-onvif-camera_PR-185@tmp:/w/workspace/undry_device-onvif-camera_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-03T22:12:27.494Z] $ docker top fc29e8a5c2150a7184a211baa31e909c65d6c8decd279fdc0b0247c04d26ac6f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T22:12:27.868Z] ---> job-cost.sh [2023-01-03T22:12:27.868Z] lf-activate-venv: SKIPPING [2023-01-03T22:12:27.868Z] INFO: No Stack... [2023-01-03T22:12:28.128Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-03T22:12:28.387Z] INFO: Archiving Costs [Pipeline] sh [2023-01-03T22:12:28.683Z] + cat /w/workspace/undry_device-onvif-camera_PR-185/archives/cost.csv [2023-01-03T22:12:28.683Z] + cut -d, -f6 [Pipeline] lock [2023-01-03T22:12:28.700Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-185-12-stack-cost] [2023-01-03T22:12:28.708Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-185-12-stack-cost] did not exist. Created. [2023-01-03T22:12:28.708Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-185-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-03T22:12:29.015Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-03T22:12:29.043Z] Stashed 1 file(s) [Pipeline] } [2023-01-03T22:12:29.049Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-185-12-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-03T22:12:29.066Z] $ docker stop --time=1 fc29e8a5c2150a7184a211baa31e909c65d6c8decd279fdc0b0247c04d26ac6f [2023-01-03T22:12:30.201Z] $ docker rm -f --volumes fc29e8a5c2150a7184a211baa31e909c65d6c8decd279fdc0b0247c04d26ac6f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-03T22:13:35.607Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-970 in /w/workspace/undry_device-onvif-camera_PR-185 [Pipeline] { [Pipeline] ws [2023-01-03T22:13:35.619Z] Running in /w/workspace/device-onvif-camera/12 [Pipeline] { [Pipeline] checkout [2023-01-03T22:13:35.662Z] The recommended git tool is: git [2023-01-03T22:13:41.690Z] using credential edgex-jenkins-ssh [2023-01-03T22:13:41.704Z] Cloning the remote Git repository [2023-01-03T22:13:41.764Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-03T22:13:41.864Z] > git init /w/workspace/device-onvif-camera/12 # timeout=10 [2023-01-03T22:13:42.060Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-03T22:13:42.061Z] > git --version # timeout=10 [2023-01-03T22:13:42.085Z] > git --version # 'git version 2.25.1' [2023-01-03T22:13:42.087Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-03T22:13:42.149Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-03T22:13:43.615Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-01-03T22:13:43.639Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-03T22:13:45.418Z] Merging remotes/origin/main commit e283d27a39f6608c4972b60e45559292c212ac31 into PR head commit 659f5a409730c1aa6059f10a7d2527ba47038078 [2023-01-03T22:13:44.692Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-01-03T22:13:44.736Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-01-03T22:13:44.737Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-03T22:13:44.754Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/185/head:refs/remotes/origin/PR-185 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-03T22:13:45.440Z] > git config core.sparsecheckout # timeout=10 [2023-01-03T22:13:45.459Z] > git checkout -f 659f5a409730c1aa6059f10a7d2527ba47038078 # timeout=10 [2023-01-03T22:13:45.723Z] > git remote # timeout=10 [2023-01-03T22:13:45.741Z] > git config --get remote.origin.url # timeout=10 [2023-01-03T22:13:45.764Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-03T22:13:45.779Z] > git merge e283d27a39f6608c4972b60e45559292c212ac31 # timeout=10 [2023-01-03T22:13:46.455Z] Merge succeeded, producing 836e24e7756ba93edb4a8484df4e1e848a673a77 [2023-01-03T22:13:46.456Z] Checking out Revision 836e24e7756ba93edb4a8484df4e1e848a673a77 (PR-185) [2023-01-03T22:13:46.438Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-03T22:13:46.465Z] > git config core.sparsecheckout # timeout=10 [2023-01-03T22:13:46.481Z] > git checkout -f 836e24e7756ba93edb4a8484df4e1e848a673a77 # timeout=10 [2023-01-03T22:13:50.297Z] Commit message: "Merge commit 'e283d27a39f6608c4972b60e45559292c212ac31' into HEAD" [2023-01-03T22:13:50.324Z] First time build. Skipping changelog. [2023-01-03T22:13:50.307Z] > git rev-list --no-walk ef0daf47ab9bf2562a96929f4bb644dcb7e19234 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-03T22:13:51.273Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-03T22:13:51.273Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-03T22:13:51.273Z] Dload Upload Total Spent Left Speed [2023-01-03T22:13:51.273Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 200k 0 --:--:-- --:--:-- --:--:-- 197k [Pipeline] sh [2023-01-03T22:13:51.904Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-03T22:13:52.233Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2023-01-03T22:13:52.233Z] /etc/docker/daemon.json [2023-01-03T22:13:52.233Z] { [2023-01-03T22:13:52.233Z] "registry-mirrors": [ [2023-01-03T22:13:52.233Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-03T22:13:52.233Z] ], [2023-01-03T22:13:52.233Z] "bip": "10.250.0.254/24", [2023-01-03T22:13:52.233Z] "hosts": [ [2023-01-03T22:13:52.233Z] "tcp://0.0.0.0:5555", [2023-01-03T22:13:52.233Z] "unix:///var/run/docker.sock" [2023-01-03T22:13:52.233Z] ], [2023-01-03T22:13:52.233Z] "mtu": 1458, [2023-01-03T22:13:52.233Z] "selinux-enabled": true, [2023-01-03T22:13:52.233Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-03T22:13:52.233Z] } [Pipeline] sh [2023-01-03T22:13:52.586Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-03T22:13:52.990Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T22:14:11.294Z] provisioning config files... [2023-01-03T22:14:11.323Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/12@tmp/config2316066946192826067tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T22:14:11.691Z] ---> docker-login.sh [2023-01-03T22:14:11.691Z] nexus3.edgexfoundry.org:10001 [2023-01-03T22:14:12.282Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T22:14:12.282Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T22:14:12.282Z] Configure a credential helper to remove this warning. See [2023-01-03T22:14:12.282Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T22:14:12.282Z] [2023-01-03T22:14:12.282Z] Login Succeeded [2023-01-03T22:14:12.554Z] nexus3.edgexfoundry.org:10002 [2023-01-03T22:14:12.827Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T22:14:12.827Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T22:14:12.827Z] Configure a credential helper to remove this warning. See [2023-01-03T22:14:12.827Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T22:14:12.827Z] [2023-01-03T22:14:12.827Z] Login Succeeded [2023-01-03T22:14:12.827Z] nexus3.edgexfoundry.org:10003 [2023-01-03T22:14:13.097Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T22:14:13.365Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T22:14:13.365Z] Configure a credential helper to remove this warning. See [2023-01-03T22:14:13.365Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T22:14:13.365Z] [2023-01-03T22:14:13.365Z] Login Succeeded [2023-01-03T22:14:13.365Z] nexus3.edgexfoundry.org:10004 [2023-01-03T22:14:13.638Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T22:14:13.638Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T22:14:13.638Z] Configure a credential helper to remove this warning. See [2023-01-03T22:14:13.638Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T22:14:13.638Z] [2023-01-03T22:14:13.638Z] Login Succeeded [2023-01-03T22:14:13.638Z] docker.io [2023-01-03T22:14:13.906Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-03T22:14:14.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-03T22:14:14.176Z] Configure a credential helper to remove this warning. See [2023-01-03T22:14:14.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-03T22:14:14.176Z] [2023-01-03T22:14:14.176Z] Login Succeeded [2023-01-03T22:14:14.176Z] ---> docker-login.sh ends [Pipeline] } [2023-01-03T22:14:14.191Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-03T22:14:14.457Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T22:14:14.470Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-03T22:14:14.481Z] ========================================================= [2023-01-03T22:14:14.481Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-03T22:14:14.481Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T22:14:14.825Z] + 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-03T22:14:15.412Z] Sending build context to Docker daemon 20.46MB [2023-01-03T22:14:15.412Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T22:14:15.412Z] Step 2/13 : FROM ${BASE} AS builder [2023-01-03T22:14:15.686Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-03T22:14:15.686Z] 9b18e9b68314: Pulling fs layer [2023-01-03T22:14:15.686Z] 35d82f9e3411: Pulling fs layer [2023-01-03T22:14:15.686Z] e16973657156: Pulling fs layer [2023-01-03T22:14:15.686Z] fc693d55d65f: Pulling fs layer [2023-01-03T22:14:15.686Z] 7e9fc2657dce: Pulling fs layer [2023-01-03T22:14:15.686Z] dda99020689f: Pulling fs layer [2023-01-03T22:14:15.686Z] db1c61fa0a46: Pulling fs layer [2023-01-03T22:14:15.686Z] 891c053d2c06: Pulling fs layer [2023-01-03T22:14:15.686Z] fc693d55d65f: Waiting [2023-01-03T22:14:15.686Z] 7e9fc2657dce: Waiting [2023-01-03T22:14:15.686Z] dda99020689f: Waiting [2023-01-03T22:14:15.686Z] db1c61fa0a46: Waiting [2023-01-03T22:14:15.686Z] 891c053d2c06: Waiting [2023-01-03T22:14:15.686Z] e16973657156: Verifying Checksum [2023-01-03T22:14:15.686Z] e16973657156: Download complete [2023-01-03T22:14:15.686Z] 35d82f9e3411: Verifying Checksum [2023-01-03T22:14:15.686Z] 35d82f9e3411: Download complete [2023-01-03T22:14:15.686Z] 7e9fc2657dce: Verifying Checksum [2023-01-03T22:14:15.686Z] 7e9fc2657dce: Download complete [2023-01-03T22:14:15.686Z] dda99020689f: Download complete [2023-01-03T22:14:15.686Z] 9b18e9b68314: Download complete [2023-01-03T22:14:16.668Z] 9b18e9b68314: Pull complete [2023-01-03T22:14:16.939Z] 891c053d2c06: Verifying Checksum [2023-01-03T22:14:16.939Z] 891c053d2c06: Download complete [2023-01-03T22:14:17.216Z] 35d82f9e3411: Pull complete [2023-01-03T22:14:17.811Z] e16973657156: Pull complete [2023-01-03T22:14:18.081Z] db1c61fa0a46: Verifying Checksum [2023-01-03T22:14:18.081Z] db1c61fa0a46: Download complete [2023-01-03T22:14:18.672Z] fc693d55d65f: Verifying Checksum [2023-01-03T22:14:18.672Z] fc693d55d65f: Download complete [2023-01-03T22:14:31.017Z] fc693d55d65f: Pull complete [2023-01-03T22:14:31.017Z] 7e9fc2657dce: Pull complete [2023-01-03T22:14:31.017Z] dda99020689f: Pull complete [2023-01-03T22:14:36.378Z] db1c61fa0a46: Pull complete [2023-01-03T22:14:38.346Z] 891c053d2c06: Pull complete [2023-01-03T22:14:38.346Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-03T22:14:38.346Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-03T22:14:38.346Z] ---> f96f9c87975a [2023-01-03T22:14:38.346Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-01-03T22:14:40.292Z] ---> Running in 7005ef677adf [2023-01-03T22:14:40.292Z] Removing intermediate container 7005ef677adf [2023-01-03T22:14:40.292Z] ---> b5c60e930cc3 [2023-01-03T22:14:40.292Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T22:14:40.292Z] ---> Running in d0f745e10268 [2023-01-03T22:14:40.560Z] Removing intermediate container d0f745e10268 [2023-01-03T22:14:40.560Z] ---> d2ab56170112 [2023-01-03T22:14:40.560Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-01-03T22:14:40.828Z] ---> Running in 59f150ffdf6c [2023-01-03T22:14:41.095Z] Removing intermediate container 59f150ffdf6c [2023-01-03T22:14:41.095Z] ---> c0e086a26993 [2023-01-03T22:14:41.095Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-01-03T22:14:41.095Z] ---> Running in b9352a7131dc [2023-01-03T22:14:41.363Z] Removing intermediate container b9352a7131dc [2023-01-03T22:14:41.363Z] ---> ba003f205329 [2023-01-03T22:14:41.363Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-01-03T22:14:41.629Z] ---> Running in efe60885750f [2023-01-03T22:14:41.898Z] Removing intermediate container efe60885750f [2023-01-03T22:14:41.898Z] ---> 7429cfd664ad [2023-01-03T22:14:41.898Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-03T22:14:41.898Z] ---> Running in 710fcbd6bfd0 [2023-01-03T22:14:43.309Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-03T22:14:43.309Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-03T22:14:44.730Z] OK: 221 MiB in 51 packages [2023-01-03T22:14:45.692Z] Removing intermediate container 710fcbd6bfd0 [2023-01-03T22:14:45.692Z] ---> 8317be8a0b73 [2023-01-03T22:14:45.692Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-01-03T22:14:45.692Z] ---> Running in 520d8560d090 [2023-01-03T22:14:45.961Z] Removing intermediate container 520d8560d090 [2023-01-03T22:14:45.961Z] ---> dba2d8415709 [2023-01-03T22:14:45.961Z] Step 10/13 : COPY go.mod vendor* ./ [2023-01-03T22:14:46.547Z] ---> f77ae8abcb06 [2023-01-03T22:14:46.547Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T22:14:46.547Z] ---> Running in f84b55884eff [2023-01-03T22:15:54.476Z] Removing intermediate container f84b55884eff [2023-01-03T22:15:54.476Z] ---> 8b70a6a50793 [2023-01-03T22:15:54.476Z] Step 12/13 : COPY . . [2023-01-03T22:15:54.476Z] ---> fc476f9d8d29 [2023-01-03T22:15:54.476Z] Step 13/13 : RUN ${MAKE} [2023-01-03T22:15:54.476Z] ---> Running in c161bf187c2b [2023-01-03T22:15:54.476Z] noop [2023-01-03T22:15:54.476Z] Removing intermediate container c161bf187c2b [2023-01-03T22:15:54.476Z] ---> 104215c5b1f8 [2023-01-03T22:15:54.476Z] Successfully built 104215c5b1f8 [2023-01-03T22:15:54.476Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T22:15:54.839Z] + docker inspect -f . ci-base-image-arm64 [2023-01-03T22:15:54.839Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T22:15:55.075Z] prd-ubuntu20.04-docker-arm64-4c-16g-970 does not seem to be running inside a container [2023-01-03T22:15:55.152Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/12 -v /w/workspace/device-onvif-camera/12:/w/workspace/device-onvif-camera/12:rw,z -v /w/workspace/device-onvif-camera/12@tmp:/w/workspace/device-onvif-camera/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-03T22:15:56.447Z] $ docker top 3ec5ae90b49d8d8bdf3b8929484ffdaede806cd3036267bbfccf8a6bb7adce8d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T22:15:57.287Z] + go version [2023-01-03T22:15:57.287Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-03T22:15:57.314Z] $ docker stop --time=1 3ec5ae90b49d8d8bdf3b8929484ffdaede806cd3036267bbfccf8a6bb7adce8d [2023-01-03T22:15:58.950Z] $ docker rm -f --volumes 3ec5ae90b49d8d8bdf3b8929484ffdaede806cd3036267bbfccf8a6bb7adce8d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T22:15:59.479Z] + docker inspect -f . ci-base-image-arm64 [2023-01-03T22:15:59.479Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T22:15:59.664Z] prd-ubuntu20.04-docker-arm64-4c-16g-970 does not seem to be running inside a container [2023-01-03T22:15:59.742Z] $ 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/12 -v /w/workspace/device-onvif-camera/12:/w/workspace/device-onvif-camera/12:rw,z -v /w/workspace/device-onvif-camera/12@tmp:/w/workspace/device-onvif-camera/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-03T22:16:01.093Z] $ docker top bb88b5865007ba0d35d30349f712e69b87cf89ff4f2a5b3711ac20d082ae44a2 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T22:16:01.945Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/12 [Pipeline] fileExists [Pipeline] sh [2023-01-03T22:16:02.600Z] + make test [2023-01-03T22:16:02.600Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2023-01-03T22:16:04.563Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-01-03T22:17:56.314Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2023-01-03T22:18:00.586Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.219s coverage: 29.3% of statements [2023-01-03T22:18:00.586Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-01-03T22:18:22.702Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 29.368s coverage: 86.5% of statements [2023-01-03T22:18:22.702Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-03T22:18:22.702Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2023-01-03T22:19:01.618Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-03T22:19:01.618Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-03T22:19:01.895Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-03T22:19:02.231Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-03T22:19:02.250Z] $ docker stop --time=1 bb88b5865007ba0d35d30349f712e69b87cf89ff4f2a5b3711ac20d082ae44a2 [2023-01-03T22:19:04.506Z] $ docker rm -f --volumes bb88b5865007ba0d35d30349f712e69b87cf89ff4f2a5b3711ac20d082ae44a2 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-03T22:19:05.601Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-03T22:19:05.627Z] Warning: overwriting stash ‘coverage-report’ [2023-01-03T22:19:06.461Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-03T22:19:06.869Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-03T22:19:07.231Z] + ls -al . [2023-01-03T22:19:07.231Z] total 244 [2023-01-03T22:19:07.231Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 3 22:16 . [2023-01-03T22:19:07.231Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 22:13 .. [2023-01-03T22:19:07.231Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 3 22:13 .git [2023-01-03T22:19:07.231Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 22:13 .github [2023-01-03T22:19:07.231Z] -rw-rw-r-- 1 jenkins jenkins 496 Jan 3 22:13 .gitignore [2023-01-03T22:19:07.231Z] -rw-rw-r-- 1 jenkins jenkins 42 Jan 3 22:13 .golangci.yml [2023-01-03T22:19:07.231Z] -rw-rw-r-- 1 jenkins jenkins 9742 Jan 3 22:13 Attribution.txt [2023-01-03T22:19:07.231Z] -rw-rw-r-- 1 jenkins jenkins 6312 Jan 3 22:13 CHANGELOG.md [2023-01-03T22:19:07.231Z] -rw-rw-r-- 1 jenkins jenkins 1619 Jan 3 22:13 Dockerfile [2023-01-03T22:19:07.231Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 3 22:13 GOVERNANCE.md [2023-01-03T22:19:07.231Z] -rw-rw-r-- 1 jenkins jenkins 734 Jan 3 22:13 Jenkinsfile [2023-01-03T22:19:07.231Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jan 3 22:13 LICENSE [2023-01-03T22:19:07.231Z] -rw-rw-r-- 1 jenkins jenkins 2858 Jan 3 22:13 Makefile [2023-01-03T22:19:07.231Z] -rw-rw-r-- 1 jenkins jenkins 625 Jan 3 22:13 OWNERS.md [2023-01-03T22:19:07.231Z] -rw-rw-r-- 1 jenkins jenkins 6595 Jan 3 22:13 README.md [2023-01-03T22:19:07.231Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 3 22:10 VERSION [2023-01-03T22:19:07.231Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 3 22:13 bin [2023-01-03T22:19:07.231Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 3 22:13 cmd [2023-01-03T22:19:07.231Z] -rw-r--r-- 1 jenkins jenkins 79184 Jan 3 22:18 coverage.out [2023-01-03T22:19:07.231Z] drwxrwxr-x 6 jenkins jenkins 4096 Jan 3 22:13 doc [2023-01-03T22:19:07.231Z] -rw-rw-r-- 1 jenkins jenkins 3688 Jan 3 22:13 go.mod [2023-01-03T22:19:07.231Z] -rw-rw-r-- 1 jenkins jenkins 46249 Jan 3 22:13 go.sum [2023-01-03T22:19:07.231Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 22:13 internal [2023-01-03T22:19:07.231Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 3 22:13 snap [2023-01-03T22:19:07.231Z] -rw-rw-r-- 1 jenkins jenkins 236 Jan 3 22:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T22:19:07.614Z] + 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=836e24e7756ba93edb4a8484df4e1e848a673a77 --label arch=arm64 --label version=0.0.0 . [2023-01-03T22:19:08.249Z] Sending build context to Docker daemon 20.54MB [2023-01-03T22:19:08.249Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2023-01-03T22:19:08.249Z] Step 2/26 : FROM ${BASE} AS builder [2023-01-03T22:19:08.249Z] ---> 104215c5b1f8 [2023-01-03T22:19:08.249Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2023-01-03T22:19:09.210Z] ---> Running in 3b82d36e9f3c [2023-01-03T22:19:09.491Z] Removing intermediate container 3b82d36e9f3c [2023-01-03T22:19:09.491Z] ---> 290f4b2d605c [2023-01-03T22:19:09.491Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-03T22:19:09.760Z] ---> Running in 45a9aff0c043 [2023-01-03T22:19:10.031Z] Removing intermediate container 45a9aff0c043 [2023-01-03T22:19:10.031Z] ---> 6b1f218e66ad [2023-01-03T22:19:10.031Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2023-01-03T22:19:10.031Z] ---> Running in 55eb95516d98 [2023-01-03T22:19:10.306Z] Removing intermediate container 55eb95516d98 [2023-01-03T22:19:10.306Z] ---> ddf7bd9e8f6e [2023-01-03T22:19:10.306Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2023-01-03T22:19:10.582Z] ---> Running in 7eb8acf55fac [2023-01-03T22:19:10.851Z] Removing intermediate container 7eb8acf55fac [2023-01-03T22:19:10.851Z] ---> a3528ae4951e [2023-01-03T22:19:10.851Z] Step 7/26 : LABEL Name=edgex-device-onvif-camera [2023-01-03T22:19:10.851Z] ---> Running in eedccf41f733 [2023-01-03T22:19:11.119Z] Removing intermediate container eedccf41f733 [2023-01-03T22:19:11.119Z] ---> 605892134eaa [2023-01-03T22:19:11.119Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-03T22:19:12.072Z] ---> Running in 4ff59446648c [2023-01-03T22:19:12.345Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-03T22:19:12.931Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-03T22:19:13.902Z] OK: 221 MiB in 51 packages [2023-01-03T22:19:14.866Z] Removing intermediate container 4ff59446648c [2023-01-03T22:19:14.866Z] ---> 5a678477f8c7 [2023-01-03T22:19:14.866Z] Step 9/26 : WORKDIR /device-onvif-camera [2023-01-03T22:19:14.866Z] ---> Running in d762ad7f0945 [2023-01-03T22:19:15.133Z] Removing intermediate container d762ad7f0945 [2023-01-03T22:19:15.133Z] ---> 9e5bc16964e0 [2023-01-03T22:19:15.133Z] Step 10/26 : COPY go.mod vendor* ./ [2023-01-03T22:19:15.722Z] ---> f951aff3e135 [2023-01-03T22:19:15.722Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-03T22:19:15.722Z] ---> Running in add9ea4852c9 [2023-01-03T22:19:18.308Z] Removing intermediate container add9ea4852c9 [2023-01-03T22:19:18.308Z] ---> f0ded78f3506 [2023-01-03T22:19:18.308Z] Step 12/26 : COPY . . [2023-01-03T22:19:19.723Z] ---> 29c581e32bd9 [2023-01-03T22:19:19.723Z] Step 13/26 : RUN ${MAKE} [2023-01-03T22:19:19.723Z] ---> Running in 890cbdbdd1ce [2023-01-03T22:19:20.695Z] 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.5" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2023-01-03T22:22:12.457Z] Removing intermediate container 890cbdbdd1ce [2023-01-03T22:22:12.457Z] ---> d2b6e800d2a5 [2023-01-03T22:22:12.457Z] Step 14/26 : FROM alpine:3.16 [2023-01-03T22:22:12.457Z] 3.16: Pulling from library/alpine [2023-01-03T22:22:12.457Z] 6875df1f5354: Pulling fs layer [2023-01-03T22:22:12.457Z] 6875df1f5354: Verifying Checksum [2023-01-03T22:22:12.457Z] 6875df1f5354: Download complete [2023-01-03T22:22:12.457Z] 6875df1f5354: Pull complete [2023-01-03T22:22:12.457Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-03T22:22:12.457Z] Status: Downloaded newer image for alpine:3.16 [2023-01-03T22:22:12.457Z] ---> 2b4661558fb8 [2023-01-03T22:22:12.457Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2023-01-03T22:22:12.457Z] ---> Running in 06f9e0751a6c [2023-01-03T22:22:12.457Z] Removing intermediate container 06f9e0751a6c [2023-01-03T22:22:12.457Z] ---> 91e93efda7b3 [2023-01-03T22:22:12.457Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2023-01-03T22:22:12.457Z] ---> Running in a1bd8867a0fb [2023-01-03T22:22:12.457Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-03T22:22:12.457Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-03T22:22:12.457Z] (1/6) Installing dumb-init (1.2.5-r1) [2023-01-03T22:22:12.457Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2023-01-03T22:22:12.457Z] (3/6) Installing libsodium (1.0.18-r0) [2023-01-03T22:22:12.457Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2023-01-03T22:22:12.457Z] (5/6) Installing libzmq (4.3.4-r0) [2023-01-03T22:22:12.457Z] (6/6) Installing zeromq (4.3.4-r0) [2023-01-03T22:22:12.457Z] Executing busybox-1.35.0-r17.trigger [2023-01-03T22:22:12.457Z] OK: 8 MiB in 20 packages [2023-01-03T22:22:12.457Z] Removing intermediate container a1bd8867a0fb [2023-01-03T22:22:12.457Z] ---> adae74a1b87c [2023-01-03T22:22:12.457Z] Step 17/26 : WORKDIR / [2023-01-03T22:22:12.457Z] ---> Running in 80e95799f3ad [2023-01-03T22:22:12.457Z] Removing intermediate container 80e95799f3ad [2023-01-03T22:22:12.457Z] ---> 9c3bc1267406 [2023-01-03T22:22:12.457Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2023-01-03T22:22:12.457Z] ---> 26672be6c968 [2023-01-03T22:22:12.457Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2023-01-03T22:22:12.457Z] ---> ff5cf146efcb [2023-01-03T22:22:12.457Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2023-01-03T22:22:12.457Z] ---> bc4d56be44c6 [2023-01-03T22:22:12.457Z] Step 21/26 : EXPOSE 59984 [2023-01-03T22:22:12.457Z] ---> Running in 8621fc8b2d58 [2023-01-03T22:22:12.457Z] Removing intermediate container 8621fc8b2d58 [2023-01-03T22:22:12.457Z] ---> f09da1252cf9 [2023-01-03T22:22:12.457Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2023-01-03T22:22:12.457Z] ---> Running in 9b1ad3cacb7b [2023-01-03T22:22:12.457Z] Removing intermediate container 9b1ad3cacb7b [2023-01-03T22:22:12.457Z] ---> 814f3e3d226e [2023-01-03T22:22:12.457Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] [2023-01-03T22:22:12.457Z] ---> Running in 9f3dca37391f [2023-01-03T22:22:12.457Z] Removing intermediate container 9f3dca37391f [2023-01-03T22:22:12.457Z] ---> 30b0bb1d4a59 [2023-01-03T22:22:12.457Z] Step 24/26 : LABEL arch=arm64 [2023-01-03T22:22:12.457Z] ---> Running in 820d0ad60090 [2023-01-03T22:22:12.726Z] Removing intermediate container 820d0ad60090 [2023-01-03T22:22:12.726Z] ---> 8f8d6dd959cd [2023-01-03T22:22:12.726Z] Step 25/26 : LABEL git_sha=836e24e7756ba93edb4a8484df4e1e848a673a77 [2023-01-03T22:22:12.726Z] ---> Running in e0dafbdc5ca8 [2023-01-03T22:22:12.993Z] Removing intermediate container e0dafbdc5ca8 [2023-01-03T22:22:12.993Z] ---> 455f9522c13c [2023-01-03T22:22:12.993Z] Step 26/26 : LABEL version=0.0.0 [2023-01-03T22:22:12.993Z] ---> Running in 50040a812f09 [2023-01-03T22:22:13.259Z] Removing intermediate container 50040a812f09 [2023-01-03T22:22:13.259Z] ---> 3d1217d36f00 [2023-01-03T22:22:13.259Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-03T22:22:13.526Z] Successfully built 3d1217d36f00 [2023-01-03T22:22:13.526Z] 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-03T22:22:13.963Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-03T22:22:13.963Z] [2023-01-03T22:22:13.963Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T22:22:14.291Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-03T22:22:14.291Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-03T22:22:14.291Z] 8998bd30e6a1: Pulling fs layer [2023-01-03T22:22:14.291Z] 04944245beec: Pulling fs layer [2023-01-03T22:22:14.291Z] 699f458cf7ca: Pulling fs layer [2023-01-03T22:22:14.291Z] 765212b225bb: Pulling fs layer [2023-01-03T22:22:14.291Z] f23df028b6ca: Pulling fs layer [2023-01-03T22:22:14.291Z] d65c8cfc05b1: Pulling fs layer [2023-01-03T22:22:14.291Z] 2437ff75d9bd: Pulling fs layer [2023-01-03T22:22:14.291Z] 765212b225bb: Waiting [2023-01-03T22:22:14.291Z] f23df028b6ca: Waiting [2023-01-03T22:22:14.291Z] d65c8cfc05b1: Waiting [2023-01-03T22:22:14.291Z] 2437ff75d9bd: Waiting [2023-01-03T22:22:14.560Z] 04944245beec: Verifying Checksum [2023-01-03T22:22:14.560Z] 04944245beec: Download complete [2023-01-03T22:22:14.560Z] 765212b225bb: Verifying Checksum [2023-01-03T22:22:14.560Z] 765212b225bb: Download complete [2023-01-03T22:22:14.560Z] f23df028b6ca: Verifying Checksum [2023-01-03T22:22:14.560Z] f23df028b6ca: Download complete [2023-01-03T22:22:14.560Z] d65c8cfc05b1: Verifying Checksum [2023-01-03T22:22:14.560Z] d65c8cfc05b1: Download complete [2023-01-03T22:22:14.827Z] 699f458cf7ca: Verifying Checksum [2023-01-03T22:22:14.827Z] 699f458cf7ca: Download complete [2023-01-03T22:22:15.097Z] 8998bd30e6a1: Verifying Checksum [2023-01-03T22:22:15.097Z] 8998bd30e6a1: Download complete [2023-01-03T22:22:17.711Z] 2437ff75d9bd: Verifying Checksum [2023-01-03T22:22:17.711Z] 2437ff75d9bd: Download complete [2023-01-03T22:22:19.119Z] 8998bd30e6a1: Pull complete [2023-01-03T22:22:19.387Z] 04944245beec: Pull complete [2023-01-03T22:22:20.795Z] 699f458cf7ca: Pull complete [2023-01-03T22:22:20.795Z] 765212b225bb: Pull complete [2023-01-03T22:22:21.377Z] f23df028b6ca: Pull complete [2023-01-03T22:22:21.643Z] d65c8cfc05b1: Pull complete [2023-01-03T22:22:33.946Z] 2437ff75d9bd: Pull complete [2023-01-03T22:22:33.946Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-03T22:22:33.946Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-03T22:22:33.946Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T22:22:34.130Z] prd-ubuntu20.04-docker-arm64-4c-16g-970 does not seem to be running inside a container [2023-01-03T22:22:34.202Z] $ 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/12 -v /w/workspace/device-onvif-camera/12:/w/workspace/device-onvif-camera/12:rw,z -v /w/workspace/device-onvif-camera/12@tmp:/w/workspace/device-onvif-camera/12@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-03T22:22:36.910Z] $ docker top 8d8f917f5b0330c712151a242840ed2a2425ead64c5ef9c9821ee72248bbf9da -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-03T22:22:37.736Z] ---> job-cost.sh [2023-01-03T22:22:37.736Z] lf-activate-venv: SKIPPING [2023-01-03T22:22:37.736Z] INFO: No Stack... [2023-01-03T22:22:38.007Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-03T22:22:38.969Z] INFO: Archiving Costs [Pipeline] sh [2023-01-03T22:22:39.615Z] + cat /w/workspace/device-onvif-camera/12/archives/cost.csv [2023-01-03T22:22:39.615Z] + cut -d, -f6 [Pipeline] lock [2023-01-03T22:22:39.650Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-185-12-stack-cost] [2023-01-03T22:22:39.657Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-185-12-stack-cost] did not exist. Created. [2023-01-03T22:22:39.657Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-185-12-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-03T22:22:40.314Z] /w/workspace/device-onvif-camera/12@tmp/durable-a2c8e216/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-03T22:22:40.649Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-03T22:22:40.673Z] Warning: overwriting stash ‘stack-cost’ [2023-01-03T22:22:40.733Z] Stashed 1 file(s) [Pipeline] } [2023-01-03T22:22:40.743Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-185-12-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-03T22:22:40.764Z] $ docker stop --time=1 8d8f917f5b0330c712151a242840ed2a2425ead64c5ef9c9821ee72248bbf9da [2023-01-03T22:22:42.239Z] $ docker rm -f --volumes 8d8f917f5b0330c712151a242840ed2a2425ead64c5ef9c9821ee72248bbf9da [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-03T22:22:42.603Z] provisioning config files... [2023-01-03T22:22:42.610Z] copy managed file [device-onvif-camera-codecov-token] to file:/w/workspace/undry_device-onvif-camera_PR-185@tmp/config15314950466074590171tmp [Pipeline] { [Pipeline] sh [2023-01-03T22:22:42.901Z] + set +x [2023-01-03T22:22:42.901Z] + bash -s -- [2023-01-03T22:22:42.901Z] + curl -s https://codecov.io/bash [2023-01-03T22:22:42.901Z] [2023-01-03T22:22:42.901Z] _____ _ [2023-01-03T22:22:42.901Z] / ____| | | [2023-01-03T22:22:42.901Z] | | ___ __| | ___ ___ _____ __ [2023-01-03T22:22:42.901Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-03T22:22:42.901Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-03T22:22:42.901Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-03T22:22:42.901Z] Bash-1.0.6 [2023-01-03T22:22:42.901Z] [2023-01-03T22:22:42.901Z] [2023-01-03T22:22:42.901Z] ==> git version 2.25.1 found [2023-01-03T22:22:42.901Z] ==> 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-03T22:22:42.901Z] Release-Date: 2020-01-08 [2023-01-03T22:22:42.901Z] 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-03T22:22:42.901Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-03T22:22:42.901Z] ==> Jenkins CI detected. [2023-01-03T22:22:42.901Z] current dir:  /w/workspace/undry_device-onvif-camera_PR-185 [2023-01-03T22:22:42.901Z] project root: . [2023-01-03T22:22:42.901Z] --> token set from env [2023-01-03T22:22:42.901Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-03T22:22:42.901Z] ==> Running gcov in . (disable via -X gcov) [2023-01-03T22:22:42.901Z] ==> Python coveragepy not found [2023-01-03T22:22:42.901Z] ==> Searching for coverage reports in: [2023-01-03T22:22:42.901Z] + . [2023-01-03T22:22:42.901Z] -> Found 1 reports [2023-01-03T22:22:42.901Z] ==> Detecting git/mercurial file structure [2023-01-03T22:22:43.160Z] ==> Reading reports [2023-01-03T22:22:43.160Z] + ./coverage.out bytes=79184 [2023-01-03T22:22:43.160Z] ==> Appending adjustments [2023-01-03T22:22:43.160Z] https://docs.codecov.io/docs/fixing-reports [2023-01-03T22:22:43.160Z] + Found adjustments [2023-01-03T22:22:43.160Z] ==> Gzipping contents [2023-01-03T22:22:43.160Z] 12K /tmp/codecov.uYlLoh.gz [2023-01-03T22:22:43.160Z] ==> Uploading reports [2023-01-03T22:22:43.160Z] url: https://codecov.io [2023-01-03T22:22:43.160Z] query: branch=PR-185&commit=6c332c3cfc004ac7f1d259f7ad602df466d457d0&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-185%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=185&job=&cmd_args= [2023-01-03T22:22:43.160Z] -> Pinging Codecov [2023-01-03T22:22:43.160Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=191b7872-c352-4e56-a28e-da2c102d163d&branch=PR-185&commit=6c332c3cfc004ac7f1d259f7ad602df466d457d0&build=12&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-onvif-camera%2Fjob%2FPR-185%2F12%2F&name=&tag=&slug=edgexfoundry%2Fdevice-onvif-camera&service=jenkins&flags=&pr=185&job=&cmd_args= [2023-01-03T22:22:43.727Z] -> Uploading to [2023-01-03T22:22:43.727Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-03/F29A59C45E3A92E06B3E522C9905F8EF/6c332c3cfc004ac7f1d259f7ad602df466d457d0/80ff1611-6982-45e0-b17c-f076cfb61fcd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230103%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230103T222243Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=80b4600b751a9d2ec191143c1fd366b6b05450e341fd219fb4b6a8ca84c3dcc4 [2023-01-03T22:22:43.727Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-03T22:22:43.727Z] Dload Upload Total Spent Left Speed [2023-01-03T22:22:43.727Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 10869 0 0 100 10869 0 37479 --:--:-- --:--:-- --:--:-- 37479 [2023-01-03T22:22:43.985Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-onvif-camera/commit/6c332c3cfc004ac7f1d259f7ad602df466d457d0 [Pipeline] } [2023-01-03T22:22:43.992Z] 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-03T22:22:44.633Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-185/archives ] [2023-01-03T22:22:44.633Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-185/archives [2023-01-03T22:22:44.633Z] total 16 [2023-01-03T22:22:44.633Z] drwxr-xr-x 3 root root 4096 Jan 3 22:12 . [2023-01-03T22:22:44.633Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 3 22:12 .. [2023-01-03T22:22:44.633Z] drwxr-xr-x 2 root root 4096 Jan 3 22:12 cost [2023-01-03T22:22:44.633Z] -rw-r--r-- 1 root root 92 Jan 3 22:12 cost.csv [2023-01-03T22:22:44.633Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-185/archives [2023-01-03T22:22:44.633Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-185/archives [2023-01-03T22:22:44.633Z] total 16 [2023-01-03T22:22:44.633Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 3 22:12 . [2023-01-03T22:22:44.633Z] drwxrwxr-x 11 jenkins jenkins 4096 Jan 3 22:12 .. [2023-01-03T22:22:44.633Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 3 22:12 cost [2023-01-03T22:22:44.633Z] -rw-r--r-- 1 jenkins jenkins 92 Jan 3 22:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-03T22:22:44.915Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T22:22:45.768Z] ---> package-listing.sh [2023-01-03T22:22:45.768Z] ++ facter osfamily [2023-01-03T22:22:45.768Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-03T22:22:46.026Z] + OS_FAMILY=debian [2023-01-03T22:22:46.026Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-185 [2023-01-03T22:22:46.026Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-03T22:22:46.026Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-03T22:22:46.026Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-03T22:22:46.026Z] + PACKAGES=/tmp/packages_start.txt [2023-01-03T22:22:46.026Z] + '[' /w/workspace/undry_device-onvif-camera_PR-185 ']' [2023-01-03T22:22:46.026Z] + PACKAGES=/tmp/packages_end.txt [2023-01-03T22:22:46.026Z] + case "${OS_FAMILY}" in [2023-01-03T22:22:46.026Z] + dpkg -l [2023-01-03T22:22:46.026Z] + grep '^ii' [2023-01-03T22:22:46.026Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-03T22:22:46.026Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-03T22:22:46.026Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-03T22:22:46.026Z] + '[' /w/workspace/undry_device-onvif-camera_PR-185 ']' [2023-01-03T22:22:46.026Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-185/archives/ [2023-01-03T22:22:46.026Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-185/archives/ [Pipeline] echo [2023-01-03T22:22:46.037Z] 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-185/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-03T22:22:46.311Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-03T22:22:46.863Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-03T22:22:46.863Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-03T22:22:46.928Z] prd-ubuntu20.04-docker-8c-8g-966 does not seem to be running inside a container [2023-01-03T22:22:46.954Z] $ 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-185/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-185 -v /w/workspace/undry_device-onvif-camera_PR-185:/w/workspace/undry_device-onvif-camera_PR-185:rw,z -v /w/workspace/undry_device-onvif-camera_PR-185@tmp:/w/workspace/undry_device-onvif-camera_PR-185@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-03T22:22:47.133Z] $ docker top 500d4cd6840feeff3139392552b90dfac55a783db8ee54fd414918a0804b279c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-03T22:22:47.468Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-03T22:22:47.752Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-03T22:22:48.030Z] + ls /var/log/sa-host [2023-01-03T22:22:48.030Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-03T22:22:48.094Z] provisioning config files... [2023-01-03T22:22:48.102Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-185@tmp/config7077710526751526617tmp [Pipeline] { [Pipeline] echo [2023-01-03T22:22:48.113Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T22:22:48.392Z] ---> create-netrc.sh [Pipeline] } [2023-01-03T22:22:48.398Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-03T22:22:48.712Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-03T22:22:48.720Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T22:22:49.004Z] ---> sudo-logs.sh [2023-01-03T22:22:49.004Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-03T22:22:49.029Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T22:22:49.313Z] ---> job-cost.sh [2023-01-03T22:22:49.313Z] lf-activate-venv: SKIPPING [2023-01-03T22:22:49.313Z] DEBUG: total: 0.2199999988079071 [2023-01-03T22:22:49.313Z] INFO: Retrieving Stack Cost... [2023-01-03T22:22:49.881Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-03T22:22:50.140Z] INFO: Archiving Costs [Pipeline] echo [2023-01-03T22:22:50.155Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-03T22:22:50.436Z] ---> logs-deploy.sh [2023-01-03T22:22:50.437Z] lf-activate-venv: SKIPPING [2023-01-03T22:22:50.437Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-185/12 [2023-01-03T22:22:50.437Z] INFO: archiving workspace using pattern(s): [2023-01-03T22:22:51.370Z] Archives upload complete. [2023-01-03T22:22:51.370Z] INFO: archiving logs to Nexus