Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 8a3386b2ee541d18e88ea65fa18280a00a2df7ca rather than 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 Obtained Jenkinsfile from 8a3386b2ee541d18e88ea65fa18280a00a2df7ca 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-ssh14650831087207861716.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh9048102405041741646.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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-153/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-153/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh13338453003322727892.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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-ssh15396825826970314686.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-153/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-153/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh4824481138274185772.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-28617 in /w/workspace/undry_device-onvif-camera_PR-153 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE 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-153 # 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 8a3386b2ee541d18e88ea65fa18280a00a2df7ca into PR head commit 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 Merge succeeded, producing 0d7e4a19f4cb43bf39240ffa3052c833522314ef Checking out Revision 0d7e4a19f4cb43bf39240ffa3052c833522314ef (PR-153) > 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/153/head:refs/remotes/origin/PR-153 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 8a3386b2ee541d18e88ea65fa18280a00a2df7ca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0d7e4a19f4cb43bf39240ffa3052c833522314ef # timeout=10 Commit message: "Merge commit '8a3386b2ee541d18e88ea65fa18280a00a2df7ca' into HEAD" > git rev-list --no-walk 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-09-07T10:10:49.434Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-09-07T10:10:49.482Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-09-07T10:10:49.502Z] ========================================================= [2022-09-07T10:10:49.502Z] EdgeX Global Pipelines Version Info [2022-09-07T10:10:49.502Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-09-07T10:10:50.277Z] ------------------- [2022-09-07T10:10:50.277Z] stable info: [2022-09-07T10:10:50.277Z] ------------------- [2022-09-07T10:10:50.277Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-09-07T10:10:50.277Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-07T10:10:50.277Z] Message: update stable to v1.0.239 [2022-09-07T10:10:50.853Z] ------------------- [2022-09-07T10:10:50.853Z] experimental info: [2022-09-07T10:10:50.853Z] ------------------- [2022-09-07T10:10:50.853Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-09-07T10:10:50.853Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-09-07T10:10:50.853Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-09-07T10:10:51.115Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-09-07T10:10:51.126Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-09-07T10:10:51.136Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-09-07T10:10:51.146Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-09-07T10:10:51.155Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-09-07T10:10:51.165Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-09-07T10:10:51.174Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-09-07T10:10:51.184Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-09-07T10:10:51.199Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-09-07T10:10:51.212Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-09-07T10:10:51.225Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-09-07T10:10:51.242Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-09-07T10:10:51.258Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-09-07T10:10:51.268Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-09-07T10:10:51.278Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-09-07T10:10:51.288Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-09-07T10:10:51.297Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-09-07T10:10:51.314Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-09-07T10:10:51.329Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-09-07T10:10:51.342Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-09-07T10:10:51.353Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-09-07T10:10:51.366Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-09-07T10:10:51.384Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-09-07T10:10:51.392Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-09-07T10:10:51.401Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-09-07T10:10:51.409Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-09-07T10:10:51.420Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-09-07T10:10:51.430Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-153 [Pipeline] echo [2022-09-07T10:10:51.439Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-153 [Pipeline] echo [2022-09-07T10:10:51.447Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-153 [Pipeline] echo [2022-09-07T10:10:51.455Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0d7e4a19f4cb43bf39240ffa3052c833522314ef [Pipeline] echo [2022-09-07T10:10:51.463Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0d7e4a1 [Pipeline] echo [2022-09-07T10:10:51.473Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-07T10:10:51.508Z] provisioning config files... [2022-09-07T10:10:51.522Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-153@tmp/config4482755919304237397tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-07T10:10:51.863Z] ---> docker-login.sh [2022-09-07T10:10:51.863Z] nexus3.edgexfoundry.org:10001 [2022-09-07T10:10:52.126Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-07T10:10:52.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-07T10:10:52.126Z] Configure a credential helper to remove this warning. See [2022-09-07T10:10:52.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-07T10:10:52.126Z] [2022-09-07T10:10:52.126Z] Login Succeeded [2022-09-07T10:10:52.126Z] nexus3.edgexfoundry.org:10002 [2022-09-07T10:10:52.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-07T10:10:52.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-07T10:10:52.394Z] Configure a credential helper to remove this warning. See [2022-09-07T10:10:52.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-07T10:10:52.394Z] [2022-09-07T10:10:52.394Z] Login Succeeded [2022-09-07T10:10:52.394Z] nexus3.edgexfoundry.org:10003 [2022-09-07T10:10:52.394Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-07T10:10:52.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-07T10:10:52.394Z] Configure a credential helper to remove this warning. See [2022-09-07T10:10:52.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-07T10:10:52.394Z] [2022-09-07T10:10:52.394Z] Login Succeeded [2022-09-07T10:10:52.394Z] nexus3.edgexfoundry.org:10004 [2022-09-07T10:10:52.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-07T10:10:52.657Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-07T10:10:52.657Z] Configure a credential helper to remove this warning. See [2022-09-07T10:10:52.657Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-07T10:10:52.657Z] [2022-09-07T10:10:52.657Z] Login Succeeded [2022-09-07T10:10:52.657Z] docker.io [2022-09-07T10:10:52.657Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-07T10:10:53.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-07T10:10:53.233Z] Configure a credential helper to remove this warning. See [2022-09-07T10:10:53.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-07T10:10:53.233Z] [2022-09-07T10:10:53.233Z] Login Succeeded [2022-09-07T10:10:53.233Z] ---> docker-login.sh ends [Pipeline] } [2022-09-07T10:10:53.242Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-09-07T10:10:53.619Z] + git rev-list -1 --merges 0d7e4a19f4cb43bf39240ffa3052c833522314ef~1..0d7e4a19f4cb43bf39240ffa3052c833522314ef [Pipeline] echo [2022-09-07T10:10:53.650Z] -----------> git rev-list -1 --merges 0d7e4a19f4cb43bf39240ffa3052c833522314ef~1..0d7e4a19f4cb43bf39240ffa3052c833522314ef 0d7e4a19f4cb43bf39240ffa3052c833522314ef [2022-09-07T10:10:53.650Z] 0d7e4a19f4cb43bf39240ffa3052c833522314ef [false] [Pipeline] sh [2022-09-07T10:10:53.949Z] + git log --format=format:%s -1 0d7e4a19f4cb43bf39240ffa3052c833522314ef [Pipeline] echo [2022-09-07T10:10:53.963Z] ========================================================= [2022-09-07T10:10:53.963Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-09-07T10:10:53.963Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-07T10:10:54.309Z] + git log --format=format:%s -1 0d7e4a19f4cb43bf39240ffa3052c833522314ef [Pipeline] echo [2022-09-07T10:10:54.321Z] [semverPrep] GIT_COMMIT: 0d7e4a19f4cb43bf39240ffa3052c833522314ef, Commit Message: Merge commit '8a3386b2ee541d18e88ea65fa18280a00a2df7ca' into HEAD [Pipeline] echo [2022-09-07T10:10:54.329Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-09-07T10:10:54.670Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-09-07T10:10:54.670Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-09-07T10:10:54.670Z] + [ -e /tmp/ssh_known_hosts ] [2022-09-07T10:10:54.670Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-09-07T10:10:54.670Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-09-07T10:10:54.670Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-09-07T10:10:54.670Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-07T10:10:55.046Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-07T10:10:55.046Z] [2022-09-07T10:10:55.046Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-07T10:10:55.356Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-07T10:10:55.356Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-09-07T10:10:55.356Z] b85a868b505f: Pulling fs layer [2022-09-07T10:10:55.356Z] e2be974225ed: Pulling fs layer [2022-09-07T10:10:55.356Z] 339a4e72a1f5: Pulling fs layer [2022-09-07T10:10:55.356Z] 988bab9f4d93: Pulling fs layer [2022-09-07T10:10:55.356Z] 1469e6f7b9e6: Pulling fs layer [2022-09-07T10:10:55.356Z] eaf3925da568: Pulling fs layer [2022-09-07T10:10:55.356Z] bab4dde63d76: Pulling fs layer [2022-09-07T10:10:55.356Z] bde34c3a00c8: Pulling fs layer [2022-09-07T10:10:55.356Z] b352a97aabf1: Pulling fs layer [2022-09-07T10:10:55.356Z] 4872d77fe225: Pulling fs layer [2022-09-07T10:10:55.356Z] 5851b861e8e6: Pulling fs layer [2022-09-07T10:10:55.356Z] 988bab9f4d93: Waiting [2022-09-07T10:10:55.356Z] 1469e6f7b9e6: Waiting [2022-09-07T10:10:55.356Z] b352a97aabf1: Waiting [2022-09-07T10:10:55.356Z] 4872d77fe225: Waiting [2022-09-07T10:10:55.356Z] 5851b861e8e6: Waiting [2022-09-07T10:10:55.356Z] bde34c3a00c8: Waiting [2022-09-07T10:10:55.356Z] e2be974225ed: Download complete [2022-09-07T10:10:55.356Z] 988bab9f4d93: Verifying Checksum [2022-09-07T10:10:55.356Z] 988bab9f4d93: Download complete [2022-09-07T10:10:55.618Z] 1469e6f7b9e6: Verifying Checksum [2022-09-07T10:10:55.618Z] 1469e6f7b9e6: Download complete [2022-09-07T10:10:55.618Z] 339a4e72a1f5: Verifying Checksum [2022-09-07T10:10:55.618Z] 339a4e72a1f5: Download complete [2022-09-07T10:10:55.618Z] eaf3925da568: Verifying Checksum [2022-09-07T10:10:55.618Z] eaf3925da568: Download complete [2022-09-07T10:10:55.618Z] bde34c3a00c8: Download complete [2022-09-07T10:10:55.618Z] b352a97aabf1: Verifying Checksum [2022-09-07T10:10:55.618Z] b352a97aabf1: Download complete [2022-09-07T10:10:55.618Z] 4872d77fe225: Verifying Checksum [2022-09-07T10:10:55.618Z] 4872d77fe225: Download complete [2022-09-07T10:10:55.618Z] 5851b861e8e6: Verifying Checksum [2022-09-07T10:10:55.618Z] b85a868b505f: Verifying Checksum [2022-09-07T10:10:55.618Z] b85a868b505f: Download complete [2022-09-07T10:10:55.878Z] bab4dde63d76: Verifying Checksum [2022-09-07T10:10:55.878Z] bab4dde63d76: Download complete [2022-09-07T10:10:57.264Z] b85a868b505f: Pull complete [2022-09-07T10:10:57.264Z] e2be974225ed: Pull complete [2022-09-07T10:10:57.835Z] 339a4e72a1f5: Pull complete [2022-09-07T10:10:57.835Z] 988bab9f4d93: Pull complete [2022-09-07T10:10:58.097Z] 1469e6f7b9e6: Pull complete [2022-09-07T10:10:58.358Z] eaf3925da568: Pull complete [2022-09-07T10:11:00.280Z] bab4dde63d76: Pull complete [2022-09-07T10:11:00.280Z] bde34c3a00c8: Pull complete [2022-09-07T10:11:00.546Z] b352a97aabf1: Pull complete [2022-09-07T10:11:00.546Z] 4872d77fe225: Pull complete [2022-09-07T10:11:00.546Z] 5851b861e8e6: Pull complete [2022-09-07T10:11:00.546Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-09-07T10:11:00.546Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-09-07T10:11:00.546Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-07T10:11:00.651Z] prd-ubuntu20.04-docker-8c-8g-28617 does not seem to be running inside a container [2022-09-07T10:11:00.690Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@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-devops/py-git-semver:0.1.4 cat [2022-09-07T10:11:02.237Z] $ docker top 9a9955191062175af030ec57d6dc607db263fa0cab6e6a14d3b52be18274912b -eo pid,comm [2022-09-07T10:11:02.311Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2022-09-07T10:11:02.311Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-09-07T10:11:02.346Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-07T10:11:02.346Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-07T10:11:02.480Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-07T10:11:02.485Z] $ docker exec 9a9955191062175af030ec57d6dc607db263fa0cab6e6a14d3b52be18274912b ssh-agent [2022-09-07T10:11:02.622Z] SSH_AUTH_SOCK=/tmp/ssh-z1NSZWszhDN8/agent.33 [2022-09-07T10:11:02.622Z] SSH_AGENT_PID=39 [2022-09-07T10:11:02.630Z] Running ssh-add (command line suppressed) [2022-09-07T10:11:02.764Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_4671121549143937685.key (/w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_4671121549143937685.key) [2022-09-07T10:11:02.779Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-07T10:11:03.072Z] + git tag --points-at HEAD [Pipeline] } [2022-09-07T10:11:03.095Z] $ docker exec --env ******** --env ******** 9a9955191062175af030ec57d6dc607db263fa0cab6e6a14d3b52be18274912b ssh-agent -k [2022-09-07T10:11:03.223Z] unset SSH_AUTH_SOCK; [2022-09-07T10:11:03.223Z] unset SSH_AGENT_PID; [2022-09-07T10:11:03.224Z] echo Agent pid 39 killed; [2022-09-07T10:11:03.234Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-09-07T10:11:03.256Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-09-07T10:11:03.256Z] [ssh-agent] Looking for ssh-agent implementation... [2022-09-07T10:11:03.402Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-09-07T10:11:03.407Z] $ docker exec 9a9955191062175af030ec57d6dc607db263fa0cab6e6a14d3b52be18274912b ssh-agent [2022-09-07T10:11:03.537Z] SSH_AUTH_SOCK=/tmp/ssh-C1hstu25n4O6/agent.72 [2022-09-07T10:11:03.537Z] SSH_AGENT_PID=78 [2022-09-07T10:11:03.543Z] Running ssh-add (command line suppressed) [2022-09-07T10:11:03.661Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_6925414646558771541.key (/w/workspace/undry_device-onvif-camera_PR-153@tmp/private_key_6925414646558771541.key) [2022-09-07T10:11:03.677Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-09-07T10:11:03.968Z] + git semver init [2022-09-07T10:11:04.229Z] 2022-09-07 10:11:04,177 [run_init] DEBUG init version:0.0.0 force:False [2022-09-07T10:11:04.229Z] 2022-09-07 10:11:04,178 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-153/.semver [2022-09-07T10:11:04.229Z] 2022-09-07 10:11:04,178 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-153/.semver [2022-09-07T10:11:04.229Z] 2022-09-07 10:11:04,178 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-153/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-153, universal_newlines=False, shell=None, istream=None) [2022-09-07T10:11:05.171Z] 2022-09-07 10:11:05,128 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-153/.git/info/exclude [2022-09-07T10:11:05.171Z] 2022-09-07 10:11:05,129 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-153/.semver/PR-153 with force:False [2022-09-07T10:11:05.171Z] 2022-09-07 10:11:05,129 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-153/.semver/PR-153 [2022-09-07T10:11:05.171Z] 2022-09-07 10:11:05,133 [execute] INFO git cat-file --batch-check [2022-09-07T10:11:05.171Z] 2022-09-07 10:11:05,134 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-153/.semver, universal_newlines=False, shell=None, istream=) [2022-09-07T10:11:05.171Z] 2022-09-07 10:11:05,143 [execute] INFO git cat-file --batch [2022-09-07T10:11:05.171Z] 2022-09-07 10:11:05,144 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-153/.semver, universal_newlines=False, shell=None, istream=) [2022-09-07T10:11:05.171Z] 2022-09-07 10:11:05,151 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-153/.semver/PR-153 [2022-09-07T10:11:05.171Z] 0.0.0 [Pipeline] } [2022-09-07T10:11:05.443Z] $ docker exec --env ******** --env ******** 9a9955191062175af030ec57d6dc607db263fa0cab6e6a14d3b52be18274912b ssh-agent -k [2022-09-07T10:11:05.550Z] unset SSH_AUTH_SOCK; [2022-09-07T10:11:05.551Z] unset SSH_AGENT_PID; [2022-09-07T10:11:05.551Z] echo Agent pid 78 killed; [2022-09-07T10:11:05.558Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-09-07T10:11:05.866Z] + git semver [Pipeline] } [2022-09-07T10:11:06.154Z] $ docker stop --time=1 9a9955191062175af030ec57d6dc607db263fa0cab6e6a14d3b52be18274912b [2022-09-07T10:11:07.477Z] $ docker rm -f 9a9955191062175af030ec57d6dc607db263fa0cab6e6a14d3b52be18274912b [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-07T10:11:07.834Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-09-07T10:11:08.091Z] Stashed 1 file(s) [Pipeline] echo [2022-09-07T10:11:08.094Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-07T10:11:08.209Z] provisioning config files... [2022-09-07T10:11:08.222Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-153@tmp/config2814861380139471481tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-07T10:11:08.523Z] ---> docker-login.sh [2022-09-07T10:11:08.523Z] nexus3.edgexfoundry.org:10001 [2022-09-07T10:11:08.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-07T10:11:08.523Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-07T10:11:08.523Z] Configure a credential helper to remove this warning. See [2022-09-07T10:11:08.523Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-07T10:11:08.523Z] [2022-09-07T10:11:08.523Z] Login Succeeded [2022-09-07T10:11:08.523Z] nexus3.edgexfoundry.org:10002 [2022-09-07T10:11:08.523Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-07T10:11:08.784Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-07T10:11:08.785Z] Configure a credential helper to remove this warning. See [2022-09-07T10:11:08.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-07T10:11:08.785Z] [2022-09-07T10:11:08.785Z] Login Succeeded [2022-09-07T10:11:08.785Z] nexus3.edgexfoundry.org:10003 [2022-09-07T10:11:08.785Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-07T10:11:08.785Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-07T10:11:08.785Z] Configure a credential helper to remove this warning. See [2022-09-07T10:11:08.785Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-07T10:11:08.785Z] [2022-09-07T10:11:08.785Z] Login Succeeded [2022-09-07T10:11:08.785Z] nexus3.edgexfoundry.org:10004 [2022-09-07T10:11:09.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-07T10:11:09.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-07T10:11:09.047Z] Configure a credential helper to remove this warning. See [2022-09-07T10:11:09.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-07T10:11:09.047Z] [2022-09-07T10:11:09.047Z] Login Succeeded [2022-09-07T10:11:09.047Z] docker.io [2022-09-07T10:11:09.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-07T10:11:09.618Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-07T10:11:09.618Z] Configure a credential helper to remove this warning. See [2022-09-07T10:11:09.618Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-07T10:11:09.618Z] [2022-09-07T10:11:09.618Z] Login Succeeded [2022-09-07T10:11:09.618Z] ---> docker-login.sh ends [Pipeline] } [2022-09-07T10:11:09.626Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-07T10:11:09.717Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-07T10:11:09.730Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-07T10:11:09.738Z] ========================================================= [2022-09-07T10:11:09.738Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-09-07T10:11:09.738Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-07T10:11:10.048Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-07T10:11:10.048Z] Sending build context to Docker daemon 20.67MB [2022-09-07T10:11:10.048Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-07T10:11:10.048Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-07T10:11:10.309Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-09-07T10:11:10.309Z] 2408cc74d12b: Pulling fs layer [2022-09-07T10:11:10.309Z] ea60b727a1ce: Pulling fs layer [2022-09-07T10:11:10.309Z] 30c4a7721957: Pulling fs layer [2022-09-07T10:11:10.309Z] 370296b7ddb6: Pulling fs layer [2022-09-07T10:11:10.309Z] 7c6cee850709: Pulling fs layer [2022-09-07T10:11:10.309Z] 39a5fcdaea64: Pulling fs layer [2022-09-07T10:11:10.309Z] d94ebbe4e438: Pulling fs layer [2022-09-07T10:11:10.309Z] bcfd1f05c69d: Pulling fs layer [2022-09-07T10:11:10.309Z] 59ccb84bbe0f: Pulling fs layer [2022-09-07T10:11:10.309Z] 370296b7ddb6: Waiting [2022-09-07T10:11:10.309Z] 7c6cee850709: Waiting [2022-09-07T10:11:10.309Z] 39a5fcdaea64: Waiting [2022-09-07T10:11:10.309Z] bcfd1f05c69d: Waiting [2022-09-07T10:11:10.309Z] d94ebbe4e438: Waiting [2022-09-07T10:11:10.309Z] 59ccb84bbe0f: Waiting [2022-09-07T10:11:10.309Z] 30c4a7721957: Verifying Checksum [2022-09-07T10:11:10.309Z] 30c4a7721957: Download complete [2022-09-07T10:11:10.309Z] ea60b727a1ce: Download complete [2022-09-07T10:11:10.309Z] 7c6cee850709: Verifying Checksum [2022-09-07T10:11:10.309Z] 7c6cee850709: Download complete [2022-09-07T10:11:10.309Z] 39a5fcdaea64: Verifying Checksum [2022-09-07T10:11:10.309Z] 39a5fcdaea64: Download complete [2022-09-07T10:11:10.309Z] 2408cc74d12b: Verifying Checksum [2022-09-07T10:11:10.309Z] 2408cc74d12b: Download complete [2022-09-07T10:11:10.309Z] d94ebbe4e438: Verifying Checksum [2022-09-07T10:11:10.309Z] d94ebbe4e438: Download complete [2022-09-07T10:11:10.568Z] 2408cc74d12b: Pull complete [2022-09-07T10:11:10.568Z] ea60b727a1ce: Pull complete [2022-09-07T10:11:10.829Z] 30c4a7721957: Pull complete [2022-09-07T10:11:10.829Z] 59ccb84bbe0f: Verifying Checksum [2022-09-07T10:11:10.829Z] 59ccb84bbe0f: Download complete [2022-09-07T10:11:11.090Z] bcfd1f05c69d: Download complete [2022-09-07T10:11:11.090Z] 370296b7ddb6: Verifying Checksum [2022-09-07T10:11:11.090Z] 370296b7ddb6: Download complete [2022-09-07T10:11:15.308Z] 370296b7ddb6: Pull complete [2022-09-07T10:11:15.308Z] 7c6cee850709: Pull complete [2022-09-07T10:11:15.308Z] 39a5fcdaea64: Pull complete [2022-09-07T10:11:15.308Z] d94ebbe4e438: Pull complete [2022-09-07T10:11:17.903Z] bcfd1f05c69d: Pull complete [2022-09-07T10:11:18.194Z] 59ccb84bbe0f: Pull complete [2022-09-07T10:11:18.194Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-09-07T10:11:18.194Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-09-07T10:11:18.194Z] ---> a4fb48ad2a94 [2022-09-07T10:11:18.194Z] Step 3/13 : ARG MAKE="make build" [2022-09-07T10:11:20.132Z] ---> Running in 69fa87e62d6f [2022-09-07T10:11:20.132Z] Removing intermediate container 69fa87e62d6f [2022-09-07T10:11:20.132Z] ---> 159454f39d40 [2022-09-07T10:11:20.132Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-07T10:11:20.132Z] ---> Running in 8a6beb38eb8c [2022-09-07T10:11:20.132Z] Removing intermediate container 8a6beb38eb8c [2022-09-07T10:11:20.132Z] ---> 4d4214a14fce [2022-09-07T10:11:20.132Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-07T10:11:20.394Z] ---> Running in ae066eab1673 [2022-09-07T10:11:20.394Z] Removing intermediate container ae066eab1673 [2022-09-07T10:11:20.394Z] ---> 5de5eb1de9da [2022-09-07T10:11:20.394Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-07T10:11:20.394Z] ---> Running in c90ae43110d6 [2022-09-07T10:11:20.394Z] Removing intermediate container c90ae43110d6 [2022-09-07T10:11:20.394Z] ---> e80a4ea8fdba [2022-09-07T10:11:20.394Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-07T10:11:20.655Z] ---> Running in b1a61d5052ec [2022-09-07T10:11:21.228Z] Removing intermediate container b1a61d5052ec [2022-09-07T10:11:21.228Z] ---> 4b309fee6234 [2022-09-07T10:11:21.228Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-07T10:11:21.228Z] ---> Running in 3a4b35fb7f7e [2022-09-07T10:11:21.487Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-09-07T10:11:22.428Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-09-07T10:11:22.689Z] OK: 211 MiB in 51 packages [2022-09-07T10:11:22.949Z] Removing intermediate container 3a4b35fb7f7e [2022-09-07T10:11:22.949Z] ---> ed339ce1c983 [2022-09-07T10:11:22.949Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-07T10:11:22.949Z] ---> Running in a5be9c2d4a67 [2022-09-07T10:11:23.175Z] Still waiting to schedule task [2022-09-07T10:11:23.175Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-09-07T10:11:23.209Z] Removing intermediate container a5be9c2d4a67 [2022-09-07T10:11:23.209Z] ---> cb211023c670 [2022-09-07T10:11:23.210Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-07T10:11:23.210Z] ---> 90cd23e2e198 [2022-09-07T10:11:23.210Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-07T10:11:23.469Z] ---> Running in 2dcef85c59b4 [2022-09-07T10:11:38.374Z] Removing intermediate container 2dcef85c59b4 [2022-09-07T10:11:38.374Z] ---> ce7c0ebc3ef3 [2022-09-07T10:11:38.374Z] Step 12/13 : COPY . . [2022-09-07T10:11:38.945Z] ---> 87120f54f8f0 [2022-09-07T10:11:38.945Z] Step 13/13 : RUN ${MAKE} [2022-09-07T10:11:38.945Z] ---> Running in 550c76e5c365 [2022-09-07T10:11:39.205Z] noop [2022-09-07T10:11:39.464Z] Removing intermediate container 550c76e5c365 [2022-09-07T10:11:39.464Z] ---> 7d8baac7b501 [2022-09-07T10:11:39.464Z] Successfully built 7d8baac7b501 [2022-09-07T10:11:39.725Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-07T10:11:40.041Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-07T10:11:40.041Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-07T10:11:40.118Z] prd-ubuntu20.04-docker-8c-8g-28617 does not seem to be running inside a container [2022-09-07T10:11:40.180Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-07T10:11:40.566Z] $ docker top 0aed3434679dfc790cea3824ebe052f264a22f039fe1c6102ecf98bbcf9f4086 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-07T10:11:40.943Z] + go version [2022-09-07T10:11:40.943Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-09-07T10:11:40.955Z] $ docker stop --time=1 0aed3434679dfc790cea3824ebe052f264a22f039fe1c6102ecf98bbcf9f4086 [2022-09-07T10:11:42.240Z] $ docker rm -f 0aed3434679dfc790cea3824ebe052f264a22f039fe1c6102ecf98bbcf9f4086 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-07T10:11:42.653Z] + docker inspect -f . ci-base-image-x86_64 [2022-09-07T10:11:42.653Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-07T10:11:42.743Z] prd-ubuntu20.04-docker-8c-8g-28617 does not seem to be running inside a container [2022-09-07T10:11:42.779Z] $ 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-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-09-07T10:11:43.158Z] $ docker top 3ca8e785eff7ef57d260d2072a6556dbe33e0139434930995e94bc3e9ca2de48 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-07T10:11:43.511Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-153 [Pipeline] fileExists [Pipeline] sh [2022-09-07T10:11:43.808Z] + make test [2022-09-07T10:11:43.808Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-07T10:11:44.067Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-07T10:11:56.293Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-07T10:11:56.293Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.037s coverage: 28.2% of statements [2022-09-07T10:11:56.293Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-07T10:11:59.589Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.261s coverage: 13.8% of statements [2022-09-07T10:12:07.726Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-09-07T10:12:07.726Z] internal/driver/onvifdiscovery_test.go:19:2: `uuid1` is unused (deadcode) [2022-09-07T10:12:07.726Z] uuid1 = "1793ddc8-28b0-11ed-a261-0242ac120002" [2022-09-07T10:12:07.726Z] ^ [2022-09-07T10:12:07.726Z] make: *** [Makefile:58: lint] Error 1 [Pipeline] } [2022-09-07T10:12:07.741Z] $ docker stop --time=1 3ca8e785eff7ef57d260d2072a6556dbe33e0139434930995e94bc3e9ca2de48 [2022-09-07T10:12:09.663Z] $ docker rm -f 3ca8e785eff7ef57d260d2072a6556dbe33e0139434930995e94bc3e9ca2de48 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-07T10:12:10.289Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-07T10:12:10.289Z] [2022-09-07T10:12:10.289Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-07T10:12:10.589Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-07T10:12:10.590Z] latest: Pulling from edgex-lftools-log-publisher [2022-09-07T10:12:10.590Z] 5eb5b503b376: Pulling fs layer [2022-09-07T10:12:10.590Z] 5c69ac0246d0: Pulling fs layer [2022-09-07T10:12:10.590Z] ec43610c2a17: Pulling fs layer [2022-09-07T10:12:10.590Z] 3a2ae6a8a46f: Pulling fs layer [2022-09-07T10:12:10.590Z] 33b1e0a273af: Pulling fs layer [2022-09-07T10:12:10.590Z] 5d3b04190fa2: Pulling fs layer [2022-09-07T10:12:10.590Z] 2f39f015ded8: Pulling fs layer [2022-09-07T10:12:10.590Z] 5d3b04190fa2: Waiting [2022-09-07T10:12:10.590Z] 3a2ae6a8a46f: Waiting [2022-09-07T10:12:10.590Z] 33b1e0a273af: Waiting [2022-09-07T10:12:10.590Z] 2f39f015ded8: Waiting [2022-09-07T10:12:10.590Z] 5c69ac0246d0: Verifying Checksum [2022-09-07T10:12:10.590Z] 5c69ac0246d0: Download complete [2022-09-07T10:12:10.590Z] 3a2ae6a8a46f: Verifying Checksum [2022-09-07T10:12:10.590Z] 3a2ae6a8a46f: Download complete [2022-09-07T10:12:10.590Z] 33b1e0a273af: Verifying Checksum [2022-09-07T10:12:10.590Z] 33b1e0a273af: Download complete [2022-09-07T10:12:10.590Z] 5d3b04190fa2: Verifying Checksum [2022-09-07T10:12:10.590Z] 5d3b04190fa2: Download complete [2022-09-07T10:12:10.850Z] ec43610c2a17: Verifying Checksum [2022-09-07T10:12:10.850Z] ec43610c2a17: Download complete [2022-09-07T10:12:10.850Z] 5eb5b503b376: Verifying Checksum [2022-09-07T10:12:10.850Z] 5eb5b503b376: Download complete [2022-09-07T10:12:11.419Z] 2f39f015ded8: Download complete [2022-09-07T10:12:12.358Z] 5eb5b503b376: Pull complete [2022-09-07T10:12:12.358Z] 5c69ac0246d0: Pull complete [2022-09-07T10:12:12.928Z] ec43610c2a17: Pull complete [2022-09-07T10:12:12.928Z] 3a2ae6a8a46f: Pull complete [2022-09-07T10:12:13.187Z] 33b1e0a273af: Pull complete [2022-09-07T10:12:13.187Z] 5d3b04190fa2: Pull complete [2022-09-07T10:12:18.623Z] 2f39f015ded8: Pull complete [2022-09-07T10:12:18.623Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-09-07T10:12:18.623Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-07T10:12:18.623Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-07T10:12:18.721Z] prd-ubuntu20.04-docker-8c-8g-28617 does not seem to be running inside a container [2022-09-07T10:12:18.762Z] $ 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-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-07T10:12:20.569Z] $ docker top 5734040e2477a70c237f5a01afbd158128046eab75630fa8c08ef9ea099ce036 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-07T10:12:20.997Z] ---> job-cost.sh [2022-09-07T10:12:20.997Z] lf-activate-venv: SKIPPING [2022-09-07T10:12:20.997Z] INFO: No Stack... [2022-09-07T10:12:21.568Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-07T10:12:21.831Z] INFO: Archiving Costs [Pipeline] sh [2022-09-07T10:12:22.123Z] + cat /w/workspace/undry_device-onvif-camera_PR-153/archives/cost.csv [2022-09-07T10:12:22.123Z] + cut -d, -f6 [Pipeline] lock [2022-09-07T10:12:22.139Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-153-2-stack-cost] [2022-09-07T10:12:22.145Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-2-stack-cost] did not exist. Created. [2022-09-07T10:12:22.145Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-153-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-07T10:12:22.449Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-09-07T10:12:22.493Z] Stashed 1 file(s) [Pipeline] } [2022-09-07T10:12:22.499Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-07T10:12:22.522Z] $ docker stop --time=1 5734040e2477a70c237f5a01afbd158128046eab75630fa8c08ef9ea099ce036 [2022-09-07T10:12:23.696Z] $ docker rm -f 5734040e2477a70c237f5a01afbd158128046eab75630fa8c08ef9ea099ce036 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-09-07T10:12:23.818Z] Failed in branch amd64 [2022-09-07T10:13:55.141Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-28620 in /w/workspace/undry_device-onvif-camera_PR-153 [Pipeline] { [Pipeline] ws [2022-09-07T10:13:55.153Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2022-09-07T10:13:55.205Z] Selected Git installation does not exist. Using Default [2022-09-07T10:13:55.205Z] The recommended git tool is: NONE [2022-09-07T10:14:03.288Z] using credential edgex-jenkins-ssh [2022-09-07T10:14:03.320Z] Cloning the remote Git repository [2022-09-07T10:14:03.393Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-07T10:14:03.485Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2022-09-07T10:14:03.586Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-07T10:14:03.587Z] > git --version # timeout=10 [2022-09-07T10:14:03.612Z] > git --version # 'git version 2.25.1' [2022-09-07T10:14:03.615Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-07T10:14:03.726Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-07T10:14:04.966Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-07T10:14:04.989Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-09-07T10:14:05.026Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-09-07T10:14:05.140Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-09-07T10:14:05.141Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-07T10:14:05.158Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/153/head:refs/remotes/origin/PR-153 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-09-07T10:14:05.786Z] Merging remotes/origin/main commit 8a3386b2ee541d18e88ea65fa18280a00a2df7ca into PR head commit 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 [2022-09-07T10:14:06.442Z] Merge succeeded, producing bfae56c1ca6cf327ccebc131fa3798453e4e4661 [2022-09-07T10:14:06.442Z] Checking out Revision bfae56c1ca6cf327ccebc131fa3798453e4e4661 (PR-153) [2022-09-07T10:14:05.806Z] > git config core.sparsecheckout # timeout=10 [2022-09-07T10:14:05.826Z] > git checkout -f 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 # timeout=10 [2022-09-07T10:14:06.056Z] > git remote # timeout=10 [2022-09-07T10:14:06.077Z] > git config --get remote.origin.url # timeout=10 [2022-09-07T10:14:06.093Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-09-07T10:14:06.107Z] > git merge 8a3386b2ee541d18e88ea65fa18280a00a2df7ca # timeout=10 [2022-09-07T10:14:06.414Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-09-07T10:14:06.451Z] > git config core.sparsecheckout # timeout=10 [2022-09-07T10:14:06.467Z] > git checkout -f bfae56c1ca6cf327ccebc131fa3798453e4e4661 # timeout=10 [2022-09-07T10:14:10.752Z] Commit message: "Merge commit '8a3386b2ee541d18e88ea65fa18280a00a2df7ca' into HEAD" [2022-09-07T10:14:10.787Z] > git rev-list --no-walk 3226209c2bee02a2c3f88a8f088e6e7f686d6dc3 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-07T10:14:12.577Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-09-07T10:14:12.577Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-09-07T10:14:12.577Z] Dload Upload Total Spent Left Speed [2022-09-07T10:14:12.577Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 205k 0 --:--:-- --:--:-- --:--:-- 208k [Pipeline] sh [2022-09-07T10:14:13.239Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-09-07T10:14:13.600Z] + + sudo tee /etc/docker/daemon.new [2022-09-07T10:14:13.601Z] sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-09-07T10:14:13.601Z] { [2022-09-07T10:14:13.601Z] "registry-mirrors": [ [2022-09-07T10:14:13.601Z] "https://nexus3.edgexfoundry.org:10001" [2022-09-07T10:14:13.601Z] ], [2022-09-07T10:14:13.601Z] "bip": "10.250.0.254/24", [2022-09-07T10:14:13.601Z] "hosts": [ [2022-09-07T10:14:13.601Z] "tcp://0.0.0.0:5555", [2022-09-07T10:14:13.601Z] "unix:///var/run/docker.sock" [2022-09-07T10:14:13.601Z] ], [2022-09-07T10:14:13.601Z] "mtu": 1458, [2022-09-07T10:14:13.601Z] "selinux-enabled": true, [2022-09-07T10:14:13.601Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-09-07T10:14:13.601Z] } [Pipeline] sh [2022-09-07T10:14:13.962Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-09-07T10:14:14.318Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-07T10:14:32.866Z] provisioning config files... [2022-09-07T10:14:32.892Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config656055887981340783tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-07T10:14:33.258Z] ---> docker-login.sh [2022-09-07T10:14:33.258Z] nexus3.edgexfoundry.org:10001 [2022-09-07T10:14:33.857Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-07T10:14:34.130Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-07T10:14:34.130Z] Configure a credential helper to remove this warning. See [2022-09-07T10:14:34.130Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-07T10:14:34.130Z] [2022-09-07T10:14:34.130Z] Login Succeeded [2022-09-07T10:14:34.130Z] nexus3.edgexfoundry.org:10002 [2022-09-07T10:14:34.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-07T10:14:34.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-07T10:14:34.725Z] Configure a credential helper to remove this warning. See [2022-09-07T10:14:34.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-07T10:14:34.725Z] [2022-09-07T10:14:34.725Z] Login Succeeded [2022-09-07T10:14:34.725Z] nexus3.edgexfoundry.org:10003 [2022-09-07T10:14:34.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-07T10:14:35.275Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-07T10:14:35.275Z] Configure a credential helper to remove this warning. See [2022-09-07T10:14:35.275Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-07T10:14:35.275Z] [2022-09-07T10:14:35.275Z] Login Succeeded [2022-09-07T10:14:35.275Z] nexus3.edgexfoundry.org:10004 [2022-09-07T10:14:35.549Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-07T10:14:35.821Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-07T10:14:35.821Z] Configure a credential helper to remove this warning. See [2022-09-07T10:14:35.821Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-07T10:14:35.821Z] [2022-09-07T10:14:35.821Z] Login Succeeded [2022-09-07T10:14:35.821Z] docker.io [2022-09-07T10:14:36.093Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-09-07T10:14:36.367Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-09-07T10:14:36.367Z] Configure a credential helper to remove this warning. See [2022-09-07T10:14:36.367Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-09-07T10:14:36.367Z] [2022-09-07T10:14:36.367Z] Login Succeeded [2022-09-07T10:14:36.641Z] ---> docker-login.sh ends [Pipeline] } [2022-09-07T10:14:36.659Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-09-07T10:14:36.925Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-07T10:14:36.938Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-09-07T10:14:36.948Z] ========================================================= [2022-09-07T10:14:36.948Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-09-07T10:14:36.948Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-07T10:14:37.322Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-09-07T10:14:37.927Z] Sending build context to Docker daemon 14.15MB [2022-09-07T10:14:37.928Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-09-07T10:14:37.928Z] Step 2/13 : FROM ${BASE} AS builder [2022-09-07T10:14:38.208Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-09-07T10:14:38.208Z] b3c136eddcbf: Pulling fs layer [2022-09-07T10:14:38.208Z] c0a3192eca97: Pulling fs layer [2022-09-07T10:14:38.208Z] a050256f5b6f: Pulling fs layer [2022-09-07T10:14:38.208Z] 656be50a0ddc: Pulling fs layer [2022-09-07T10:14:38.208Z] 2bbca73fdf42: Pulling fs layer [2022-09-07T10:14:38.208Z] 46d945488cbd: Pulling fs layer [2022-09-07T10:14:38.208Z] 8a5474983e97: Pulling fs layer [2022-09-07T10:14:38.208Z] 329c88fbcd65: Pulling fs layer [2022-09-07T10:14:38.208Z] 656be50a0ddc: Waiting [2022-09-07T10:14:38.208Z] 2bbca73fdf42: Waiting [2022-09-07T10:14:38.208Z] 46d945488cbd: Waiting [2022-09-07T10:14:38.208Z] 8a5474983e97: Waiting [2022-09-07T10:14:38.208Z] 329c88fbcd65: Waiting [2022-09-07T10:14:38.208Z] a050256f5b6f: Verifying Checksum [2022-09-07T10:14:38.208Z] a050256f5b6f: Download complete [2022-09-07T10:14:38.208Z] c0a3192eca97: Verifying Checksum [2022-09-07T10:14:38.208Z] c0a3192eca97: Download complete [2022-09-07T10:14:38.208Z] 2bbca73fdf42: Download complete [2022-09-07T10:14:38.208Z] 46d945488cbd: Verifying Checksum [2022-09-07T10:14:38.208Z] 46d945488cbd: Download complete [2022-09-07T10:14:38.208Z] b3c136eddcbf: Download complete [2022-09-07T10:14:39.200Z] b3c136eddcbf: Pull complete [2022-09-07T10:14:39.200Z] 329c88fbcd65: Verifying Checksum [2022-09-07T10:14:39.200Z] 329c88fbcd65: Download complete [2022-09-07T10:14:39.801Z] c0a3192eca97: Pull complete [2022-09-07T10:14:40.077Z] a050256f5b6f: Pull complete [2022-09-07T10:14:40.676Z] 8a5474983e97: Verifying Checksum [2022-09-07T10:14:40.676Z] 8a5474983e97: Download complete [2022-09-07T10:14:41.288Z] 656be50a0ddc: Verifying Checksum [2022-09-07T10:14:41.288Z] 656be50a0ddc: Download complete [2022-09-07T10:14:53.707Z] 656be50a0ddc: Pull complete [2022-09-07T10:14:54.305Z] 2bbca73fdf42: Pull complete [2022-09-07T10:14:54.305Z] 46d945488cbd: Pull complete [2022-09-07T10:15:01.040Z] 8a5474983e97: Pull complete [2022-09-07T10:15:04.471Z] 329c88fbcd65: Pull complete [2022-09-07T10:15:04.471Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-09-07T10:15:04.471Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-09-07T10:15:04.471Z] ---> ff4287adb874 [2022-09-07T10:15:04.471Z] Step 3/13 : ARG MAKE="make build" [2022-09-07T10:15:05.076Z] ---> Running in 58d4ad63ca8c [2022-09-07T10:15:05.352Z] Removing intermediate container 58d4ad63ca8c [2022-09-07T10:15:05.352Z] ---> 5f8236316cac [2022-09-07T10:15:05.352Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-07T10:15:05.352Z] ---> Running in 42abee6254d9 [2022-09-07T10:15:05.638Z] Removing intermediate container 42abee6254d9 [2022-09-07T10:15:05.638Z] ---> 4573f8b5ab43 [2022-09-07T10:15:05.638Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-09-07T10:15:05.912Z] ---> Running in e9481a291964 [2022-09-07T10:15:06.188Z] Removing intermediate container e9481a291964 [2022-09-07T10:15:06.188Z] ---> 93c651133001 [2022-09-07T10:15:06.188Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-09-07T10:15:06.188Z] ---> Running in ed31b6bf5df7 [2022-09-07T10:15:06.466Z] Removing intermediate container ed31b6bf5df7 [2022-09-07T10:15:06.466Z] ---> 8ffb0674de8a [2022-09-07T10:15:06.466Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-07T10:15:06.744Z] ---> Running in c967b57d2955 [2022-09-07T10:15:08.742Z] Removing intermediate container c967b57d2955 [2022-09-07T10:15:08.742Z] ---> 466cd1f1e7b1 [2022-09-07T10:15:08.742Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-07T10:15:08.742Z] ---> Running in 369e05b878f5 [2022-09-07T10:15:09.722Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-07T10:15:10.706Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-07T10:15:11.692Z] OK: 221 MiB in 51 packages [2022-09-07T10:15:12.294Z] Removing intermediate container 369e05b878f5 [2022-09-07T10:15:12.294Z] ---> 51b17ba05434 [2022-09-07T10:15:12.294Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-09-07T10:15:12.294Z] ---> Running in 915a956b4dc8 [2022-09-07T10:15:12.895Z] Removing intermediate container 915a956b4dc8 [2022-09-07T10:15:12.895Z] ---> d8354636077e [2022-09-07T10:15:12.895Z] Step 10/13 : COPY go.mod vendor* ./ [2022-09-07T10:15:13.492Z] ---> 8091754615e1 [2022-09-07T10:15:13.492Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-07T10:15:13.492Z] ---> Running in 8a641948da45 [2022-09-07T10:16:10.050Z] Removing intermediate container 8a641948da45 [2022-09-07T10:16:10.050Z] ---> c0809c2cd4c8 [2022-09-07T10:16:10.050Z] Step 12/13 : COPY . . [2022-09-07T10:16:10.050Z] ---> e7447adbf666 [2022-09-07T10:16:10.050Z] Step 13/13 : RUN ${MAKE} [2022-09-07T10:16:10.050Z] ---> Running in b124ebbc61cc [2022-09-07T10:16:10.050Z] noop [2022-09-07T10:16:10.050Z] Removing intermediate container b124ebbc61cc [2022-09-07T10:16:10.050Z] ---> 794bfbe9853f [2022-09-07T10:16:10.050Z] Successfully built 794bfbe9853f [2022-09-07T10:16:10.050Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-07T10:16:10.440Z] + docker inspect -f . ci-base-image-arm64 [2022-09-07T10:16:10.440Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-07T10:16:10.720Z] prd-ubuntu20.04-docker-arm64-4c-16g-28620 does not seem to be running inside a container [2022-09-07T10:16:10.820Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-07T10:16:12.298Z] $ docker top d9fd213af0726d1b101f6c0dce1cb8779cf125854a487f54efa06e0d63b1ed6a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-07T10:16:13.252Z] + go version [2022-09-07T10:16:13.252Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-09-07T10:16:13.283Z] $ docker stop --time=1 d9fd213af0726d1b101f6c0dce1cb8779cf125854a487f54efa06e0d63b1ed6a [2022-09-07T10:16:15.031Z] $ docker rm -f d9fd213af0726d1b101f6c0dce1cb8779cf125854a487f54efa06e0d63b1ed6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-07T10:16:15.692Z] + docker inspect -f . ci-base-image-arm64 [2022-09-07T10:16:15.692Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-07T10:16:15.964Z] prd-ubuntu20.04-docker-arm64-4c-16g-28620 does not seem to be running inside a container [2022-09-07T10:16:16.063Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-09-07T10:16:17.516Z] $ docker top 42705353ab1481bda48f85e8383ee474412f73d3f0a1d2dbc8575a5791d525fb -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-07T10:16:18.480Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2022-09-07T10:16:19.159Z] + make test [2022-09-07T10:16:19.159Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-09-07T10:16:21.155Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-09-07T10:17:58.117Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-09-07T10:18:10.576Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.192s coverage: 28.2% of statements [2022-09-07T10:18:10.576Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2022-09-07T10:18:32.763Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.021s coverage: 13.8% of statements [2022-09-07T10:18:32.763Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-09-07T10:18:32.763Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-09-07T10:18:59.658Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-09-07T10:18:59.658Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-09-07T10:18:59.658Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-09-07T10:18:59.683Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-09-07T10:18:59.702Z] $ docker stop --time=1 42705353ab1481bda48f85e8383ee474412f73d3f0a1d2dbc8575a5791d525fb [2022-09-07T10:19:01.495Z] $ docker rm -f 42705353ab1481bda48f85e8383ee474412f73d3f0a1d2dbc8575a5791d525fb [Pipeline] // withDockerContainer [Pipeline] sh [2022-09-07T10:19:02.614Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-09-07T10:19:03.311Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-09-07T10:19:03.787Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-09-07T10:19:04.136Z] + ls -al . [2022-09-07T10:19:04.136Z] total 228 [2022-09-07T10:19:04.136Z] drwxrwxr-x 9 jenkins jenkins 4096 Sep 7 10:16 . [2022-09-07T10:19:04.136Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 10:14 .. [2022-09-07T10:19:04.136Z] drwxrwxr-x 8 jenkins jenkins 4096 Sep 7 10:14 .git [2022-09-07T10:19:04.136Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 10:14 .github [2022-09-07T10:19:04.136Z] -rw-rw-r-- 1 jenkins jenkins 418 Sep 7 10:14 .gitignore [2022-09-07T10:19:04.136Z] -rw-rw-r-- 1 jenkins jenkins 42 Sep 7 10:14 .golangci.yml [2022-09-07T10:19:04.136Z] -rw-rw-r-- 1 jenkins jenkins 9739 Sep 7 10:14 Attribution.txt [2022-09-07T10:19:04.136Z] -rw-rw-r-- 1 jenkins jenkins 1498 Sep 7 10:14 CHANGELOG.md [2022-09-07T10:19:04.136Z] -rw-rw-r-- 1 jenkins jenkins 1669 Sep 7 10:14 Dockerfile [2022-09-07T10:19:04.136Z] -rw-rw-r-- 1 jenkins jenkins 677 Sep 7 10:14 GOVERNANCE.md [2022-09-07T10:19:04.136Z] -rw-rw-r-- 1 jenkins jenkins 734 Sep 7 10:14 Jenkinsfile [2022-09-07T10:19:04.136Z] -rw-rw-r-- 1 jenkins jenkins 11348 Sep 7 10:14 LICENSE [2022-09-07T10:19:04.136Z] -rw-rw-r-- 1 jenkins jenkins 2649 Sep 7 10:14 Makefile [2022-09-07T10:19:04.136Z] -rw-rw-r-- 1 jenkins jenkins 625 Sep 7 10:14 OWNERS.md [2022-09-07T10:19:04.136Z] -rw-rw-r-- 1 jenkins jenkins 5796 Sep 7 10:14 README.md [2022-09-07T10:19:04.136Z] -rw-rw-r-- 1 jenkins jenkins 5 Sep 7 10:11 VERSION [2022-09-07T10:19:04.136Z] drwxrwxr-x 2 jenkins jenkins 4096 Sep 7 10:14 bin [2022-09-07T10:19:04.136Z] drwxrwxr-x 3 jenkins jenkins 4096 Sep 7 10:14 cmd [2022-09-07T10:19:04.136Z] -rw-r--r-- 1 jenkins jenkins 75926 Sep 7 10:18 coverage.out [2022-09-07T10:19:04.136Z] drwxrwxr-x 6 jenkins jenkins 4096 Sep 7 10:14 doc [2022-09-07T10:19:04.136Z] -rw-rw-r-- 1 jenkins jenkins 3747 Sep 7 10:14 go.mod [2022-09-07T10:19:04.136Z] -rw-rw-r-- 1 jenkins jenkins 39690 Sep 7 10:14 go.sum [2022-09-07T10:19:04.136Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 10:14 internal [2022-09-07T10:19:04.136Z] drwxrwxr-x 4 jenkins jenkins 4096 Sep 7 10:14 snap [2022-09-07T10:19:04.136Z] -rw-rw-r-- 1 jenkins jenkins 236 Sep 7 10:14 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-07T10:19:04.515Z] + 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=bfae56c1ca6cf327ccebc131fa3798453e4e4661 --label arch=arm64 --label version=0.0.0 . [2022-09-07T10:19:05.119Z] Sending build context to Docker daemon 14.23MB [2022-09-07T10:19:05.119Z] Step 1/26 : ARG BASE=golang:1.18-alpine3.16 [2022-09-07T10:19:05.119Z] Step 2/26 : FROM ${BASE} AS builder [2022-09-07T10:19:05.119Z] ---> 794bfbe9853f [2022-09-07T10:19:05.119Z] Step 3/26 : ARG MAKE="make build" [2022-09-07T10:19:05.399Z] ---> Running in d74acfa418f9 [2022-09-07T10:19:05.675Z] Removing intermediate container d74acfa418f9 [2022-09-07T10:19:05.675Z] ---> 08c4ce1f1ef2 [2022-09-07T10:19:05.675Z] Step 4/26 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-09-07T10:19:05.675Z] ---> Running in f9d2e21a67b3 [2022-09-07T10:19:06.282Z] Removing intermediate container f9d2e21a67b3 [2022-09-07T10:19:06.282Z] ---> 2ca7ea9759f4 [2022-09-07T10:19:06.282Z] Step 5/26 : ARG ALPINE_PKG_EXTRA="" [2022-09-07T10:19:06.282Z] ---> Running in 3107e769da1d [2022-09-07T10:19:06.563Z] Removing intermediate container 3107e769da1d [2022-09-07T10:19:06.563Z] ---> 582a6825b770 [2022-09-07T10:19:06.563Z] Step 6/26 : LABEL Name=edgex-device-onvif-camera [2022-09-07T10:19:06.563Z] ---> Running in 4fc873bd0ac9 [2022-09-07T10:19:06.853Z] Removing intermediate container 4fc873bd0ac9 [2022-09-07T10:19:06.853Z] ---> e02342568e3b [2022-09-07T10:19:06.853Z] Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-09-07T10:19:07.136Z] ---> Running in 6e006d739189 [2022-09-07T10:19:09.130Z] Removing intermediate container 6e006d739189 [2022-09-07T10:19:09.130Z] ---> 5bbe53de3826 [2022-09-07T10:19:09.130Z] Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-09-07T10:19:09.130Z] ---> Running in a2746ad5c8ac [2022-09-07T10:19:10.140Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-07T10:19:11.133Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-07T10:19:12.586Z] OK: 221 MiB in 51 packages [2022-09-07T10:19:13.593Z] Removing intermediate container a2746ad5c8ac [2022-09-07T10:19:13.593Z] ---> d99a51223dad [2022-09-07T10:19:13.593Z] Step 9/26 : WORKDIR /device-onvif-camera [2022-09-07T10:19:13.593Z] ---> Running in 53c40e19689e [2022-09-07T10:19:13.871Z] Removing intermediate container 53c40e19689e [2022-09-07T10:19:13.871Z] ---> 3026d7303210 [2022-09-07T10:19:13.871Z] Step 10/26 : COPY go.mod vendor* ./ [2022-09-07T10:19:14.479Z] ---> 3a1fbfcec7d5 [2022-09-07T10:19:14.479Z] Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-09-07T10:19:14.479Z] ---> Running in 7746722261f9 [2022-09-07T10:19:17.127Z] Removing intermediate container 7746722261f9 [2022-09-07T10:19:17.127Z] ---> a0dd63a2c2da [2022-09-07T10:19:17.127Z] Step 12/26 : COPY . . [2022-09-07T10:19:19.121Z] ---> 195d9c68f8ca [2022-09-07T10:19:19.121Z] Step 13/26 : RUN ${MAKE} [2022-09-07T10:19:19.121Z] ---> Running in 7648dff62a01 [2022-09-07T10:19:20.112Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-onvif-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.3.0-dev.18" -trimpath -mod=readonly -buildmode=pie -o cmd/device-onvif-camera ./cmd [2022-09-07T10:21:57.127Z] Removing intermediate container 7648dff62a01 [2022-09-07T10:21:57.127Z] ---> ece48f94865e [2022-09-07T10:21:57.127Z] Step 14/26 : FROM alpine:3.16 [2022-09-07T10:21:57.127Z] 3.16: Pulling from library/alpine [2022-09-07T10:21:57.127Z] 9b18e9b68314: Pulling fs layer [2022-09-07T10:21:57.127Z] 9b18e9b68314: Download complete [2022-09-07T10:21:57.127Z] 9b18e9b68314: Pull complete [2022-09-07T10:21:57.127Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-09-07T10:21:57.127Z] Status: Downloaded newer image for alpine:3.16 [2022-09-07T10:21:57.127Z] ---> a6215f271958 [2022-09-07T10:21:57.127Z] Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-09-07T10:21:57.127Z] ---> Running in 9dc3d90e6a5c [2022-09-07T10:21:57.127Z] Removing intermediate container 9dc3d90e6a5c [2022-09-07T10:21:57.127Z] ---> b0a584b8f9bc [2022-09-07T10:21:57.127Z] Step 16/26 : RUN apk add --update --no-cache zeromq dumb-init [2022-09-07T10:21:57.127Z] ---> Running in 8c56c596ef7e [2022-09-07T10:21:57.127Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-09-07T10:21:57.127Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-09-07T10:21:57.127Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-09-07T10:21:57.127Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-09-07T10:21:57.127Z] (3/6) Installing libsodium (1.0.18-r0) [2022-09-07T10:21:57.127Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-09-07T10:21:57.127Z] (5/6) Installing libzmq (4.3.4-r0) [2022-09-07T10:21:57.127Z] (6/6) Installing zeromq (4.3.4-r0) [2022-09-07T10:21:57.127Z] Executing busybox-1.35.0-r17.trigger [2022-09-07T10:21:57.127Z] OK: 8 MiB in 20 packages [2022-09-07T10:21:57.127Z] Removing intermediate container 8c56c596ef7e [2022-09-07T10:21:57.127Z] ---> 157f4ebe2072 [2022-09-07T10:21:57.127Z] Step 17/26 : WORKDIR / [2022-09-07T10:21:57.127Z] ---> Running in 82afde795b98 [2022-09-07T10:21:57.127Z] Removing intermediate container 82afde795b98 [2022-09-07T10:21:57.127Z] ---> f514d816622a [2022-09-07T10:21:57.127Z] Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / [2022-09-07T10:21:57.127Z] ---> e78a77a28a88 [2022-09-07T10:21:57.127Z] Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / [2022-09-07T10:21:57.127Z] ---> aaf017aa4a63 [2022-09-07T10:21:57.127Z] Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / [2022-09-07T10:21:57.127Z] ---> afe6e777b6f6 [2022-09-07T10:21:57.127Z] Step 21/26 : EXPOSE 59984 [2022-09-07T10:21:57.127Z] ---> Running in 6f6aa0ee49bd [2022-09-07T10:21:57.728Z] Removing intermediate container 6f6aa0ee49bd [2022-09-07T10:21:57.728Z] ---> a15daa940d69 [2022-09-07T10:21:57.728Z] Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] [2022-09-07T10:21:57.728Z] ---> Running in b380ff0f8fa0 [2022-09-07T10:21:58.009Z] Removing intermediate container b380ff0f8fa0 [2022-09-07T10:21:58.009Z] ---> 87d446130d70 [2022-09-07T10:21:58.009Z] Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res"] [2022-09-07T10:21:58.009Z] ---> Running in dbb9a45f2464 [2022-09-07T10:21:58.611Z] Removing intermediate container dbb9a45f2464 [2022-09-07T10:21:58.611Z] ---> 92d7ceaab286 [2022-09-07T10:21:58.611Z] Step 24/26 : LABEL arch=arm64 [2022-09-07T10:21:58.611Z] ---> Running in 87ea738fecb9 [2022-09-07T10:21:58.888Z] Removing intermediate container 87ea738fecb9 [2022-09-07T10:21:58.888Z] ---> 3817b8f68dc9 [2022-09-07T10:21:58.888Z] Step 25/26 : LABEL git_sha=bfae56c1ca6cf327ccebc131fa3798453e4e4661 [2022-09-07T10:21:58.888Z] ---> Running in 17b9fea2193b [2022-09-07T10:21:59.163Z] Removing intermediate container 17b9fea2193b [2022-09-07T10:21:59.163Z] ---> 6989978d20a0 [2022-09-07T10:21:59.163Z] Step 26/26 : LABEL version=0.0.0 [2022-09-07T10:21:59.444Z] ---> Running in 6e7792aac590 [2022-09-07T10:21:59.719Z] Removing intermediate container 6e7792aac590 [2022-09-07T10:21:59.719Z] ---> 01ac00e15a64 [2022-09-07T10:21:59.719Z] [Warning] One or more build-args [ARCH] were not consumed [2022-09-07T10:21:59.719Z] Successfully built 01ac00e15a64 [2022-09-07T10:21:59.719Z] Successfully tagged device-onvif-camera-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-07T10:22:00.204Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-07T10:22:00.204Z] [2022-09-07T10:22:00.204Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-07T10:22:00.563Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-07T10:22:00.843Z] arm64: Pulling from edgex-lftools-log-publisher [2022-09-07T10:22:00.843Z] 8998bd30e6a1: Pulling fs layer [2022-09-07T10:22:00.843Z] 04944245beec: Pulling fs layer [2022-09-07T10:22:00.843Z] 699f458cf7ca: Pulling fs layer [2022-09-07T10:22:00.843Z] 765212b225bb: Pulling fs layer [2022-09-07T10:22:00.843Z] f23df028b6ca: Pulling fs layer [2022-09-07T10:22:00.843Z] d65c8cfc05b1: Pulling fs layer [2022-09-07T10:22:00.843Z] 2437ff75d9bd: Pulling fs layer [2022-09-07T10:22:00.843Z] 765212b225bb: Waiting [2022-09-07T10:22:00.843Z] f23df028b6ca: Waiting [2022-09-07T10:22:00.843Z] 2437ff75d9bd: Waiting [2022-09-07T10:22:00.843Z] d65c8cfc05b1: Waiting [2022-09-07T10:22:00.843Z] 04944245beec: Verifying Checksum [2022-09-07T10:22:00.843Z] 04944245beec: Download complete [2022-09-07T10:22:00.843Z] 765212b225bb: Download complete [2022-09-07T10:22:00.843Z] f23df028b6ca: Verifying Checksum [2022-09-07T10:22:00.843Z] f23df028b6ca: Download complete [2022-09-07T10:22:01.119Z] d65c8cfc05b1: Verifying Checksum [2022-09-07T10:22:01.119Z] d65c8cfc05b1: Download complete [2022-09-07T10:22:01.119Z] 699f458cf7ca: Verifying Checksum [2022-09-07T10:22:01.119Z] 699f458cf7ca: Download complete [2022-09-07T10:22:01.395Z] 8998bd30e6a1: Verifying Checksum [2022-09-07T10:22:01.395Z] 8998bd30e6a1: Download complete [2022-09-07T10:22:04.043Z] 2437ff75d9bd: Verifying Checksum [2022-09-07T10:22:04.043Z] 2437ff75d9bd: Download complete [2022-09-07T10:22:06.030Z] 8998bd30e6a1: Pull complete [2022-09-07T10:22:06.307Z] 04944245beec: Pull complete [2022-09-07T10:22:07.755Z] 699f458cf7ca: Pull complete [2022-09-07T10:22:08.039Z] 765212b225bb: Pull complete [2022-09-07T10:22:09.026Z] f23df028b6ca: Pull complete [2022-09-07T10:22:09.301Z] d65c8cfc05b1: Pull complete [2022-09-07T10:22:24.425Z] 2437ff75d9bd: Pull complete [2022-09-07T10:22:24.425Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-09-07T10:22:24.425Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-09-07T10:22:24.425Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-07T10:22:24.678Z] prd-ubuntu20.04-docker-arm64-4c-16g-28620 does not seem to be running inside a container [2022-09-07T10:22:24.776Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-09-07T10:22:27.489Z] $ docker top e45e49b560d45d2673cc6995da5b47d4b764c3fb7ee18c24b88dbf20f68ed2a4 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-09-07T10:22:28.452Z] ---> job-cost.sh [2022-09-07T10:22:28.452Z] lf-activate-venv: SKIPPING [2022-09-07T10:22:28.452Z] INFO: No Stack... [2022-09-07T10:22:29.047Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-09-07T10:22:30.030Z] INFO: Archiving Costs [Pipeline] sh [2022-09-07T10:22:30.704Z] + cut -d, -f6 [2022-09-07T10:22:30.704Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [Pipeline] lock [2022-09-07T10:22:30.783Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-153-2-stack-cost] [2022-09-07T10:22:30.791Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-2-stack-cost] did not exist. Created. [2022-09-07T10:22:30.791Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-153-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-09-07T10:22:31.481Z] /w/workspace/device-onvif-camera/2@tmp/durable-fa57bd46/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-09-07T10:22:32.167Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-09-07T10:22:32.198Z] Warning: overwriting stash ‘stack-cost’ [2022-09-07T10:22:32.258Z] Stashed 1 file(s) [Pipeline] } [2022-09-07T10:22:32.265Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-153-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-09-07T10:22:32.294Z] $ docker stop --time=1 e45e49b560d45d2673cc6995da5b47d4b764c3fb7ee18c24b88dbf20f68ed2a4 [2022-09-07T10:22:33.816Z] $ docker rm -f e45e49b560d45d2673cc6995da5b47d4b764c3fb7ee18c24b88dbf20f68ed2a4 [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) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-09-07T10:22:34.798Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-153/archives ] [2022-09-07T10:22:34.798Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-153/archives [2022-09-07T10:22:34.798Z] total 16 [2022-09-07T10:22:34.798Z] drwxr-xr-x 3 root root 4096 Sep 7 10:12 . [2022-09-07T10:22:34.798Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 7 10:12 .. [2022-09-07T10:22:34.798Z] drwxr-xr-x 2 root root 4096 Sep 7 10:12 cost [2022-09-07T10:22:34.798Z] -rw-r--r-- 1 root root 91 Sep 7 10:12 cost.csv [2022-09-07T10:22:34.798Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-153/archives [2022-09-07T10:22:34.798Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-153/archives [2022-09-07T10:22:34.798Z] total 16 [2022-09-07T10:22:34.798Z] drwxr-xr-x 3 jenkins jenkins 4096 Sep 7 10:12 . [2022-09-07T10:22:34.798Z] drwxrwxr-x 11 jenkins jenkins 4096 Sep 7 10:12 .. [2022-09-07T10:22:34.798Z] drwxr-xr-x 2 jenkins jenkins 4096 Sep 7 10:12 cost [2022-09-07T10:22:34.798Z] -rw-r--r-- 1 jenkins jenkins 91 Sep 7 10:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-09-07T10:22:35.090Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-07T10:22:35.953Z] ---> package-listing.sh [2022-09-07T10:22:35.953Z] ++ facter osfamily [2022-09-07T10:22:35.953Z] ++ tr '[:upper:]' '[:lower:]' [2022-09-07T10:22:36.215Z] + OS_FAMILY=debian [2022-09-07T10:22:36.215Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-153 [2022-09-07T10:22:36.215Z] + START_PACKAGES=/tmp/packages_start.txt [2022-09-07T10:22:36.215Z] + END_PACKAGES=/tmp/packages_end.txt [2022-09-07T10:22:36.215Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-09-07T10:22:36.215Z] + PACKAGES=/tmp/packages_start.txt [2022-09-07T10:22:36.215Z] + '[' /w/workspace/undry_device-onvif-camera_PR-153 ']' [2022-09-07T10:22:36.215Z] + PACKAGES=/tmp/packages_end.txt [2022-09-07T10:22:36.215Z] + case "${OS_FAMILY}" in [2022-09-07T10:22:36.215Z] + dpkg -l [2022-09-07T10:22:36.215Z] + grep '^ii' [2022-09-07T10:22:36.215Z] + '[' -f /tmp/packages_start.txt ']' [2022-09-07T10:22:36.215Z] + '[' -f /tmp/packages_end.txt ']' [2022-09-07T10:22:36.215Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-09-07T10:22:36.215Z] + '[' /w/workspace/undry_device-onvif-camera_PR-153 ']' [2022-09-07T10:22:36.215Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-153/archives/ [2022-09-07T10:22:36.215Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-153/archives/ [Pipeline] echo [2022-09-07T10:22:36.226Z] 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-153/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-09-07T10:22:36.556Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-09-07T10:22:36.905Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-09-07T10:22:36.905Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-09-07T10:22:36.990Z] prd-ubuntu20.04-docker-8c-8g-28617 does not seem to be running inside a container [2022-09-07T10:22:37.027Z] $ 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-153/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-153 -v /w/workspace/undry_device-onvif-camera_PR-153:/w/workspace/undry_device-onvif-camera_PR-153:rw,z -v /w/workspace/undry_device-onvif-camera_PR-153@tmp:/w/workspace/undry_device-onvif-camera_PR-153@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-09-07T10:22:37.260Z] $ docker top 718299485fb442db0e5d549c145dc98ff239ed583f1e78ca91566cf0f710f742 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-09-07T10:22:37.612Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-09-07T10:22:37.901Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-09-07T10:22:38.191Z] + ls /var/log/sa-host [2022-09-07T10:22:38.191Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-09-07T10:22:38.262Z] provisioning config files... [2022-09-07T10:22:38.271Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-153@tmp/config8138237343498494207tmp [Pipeline] { [Pipeline] echo [2022-09-07T10:22:38.286Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-07T10:22:38.575Z] ---> create-netrc.sh [Pipeline] } [2022-09-07T10:22:38.582Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-09-07T10:22:38.904Z] ---> python-tools-install.sh [Pipeline] echo [2022-09-07T10:22:38.914Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-07T10:22:39.202Z] ---> sudo-logs.sh [2022-09-07T10:22:39.202Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-09-07T10:22:39.225Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-07T10:22:39.509Z] ---> job-cost.sh [2022-09-07T10:22:39.509Z] lf-activate-venv: SKIPPING [2022-09-07T10:22:39.509Z] DEBUG: total: 0.2199999988079071 [2022-09-07T10:22:39.509Z] INFO: Retrieving Stack Cost... [2022-09-07T10:22:40.082Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-09-07T10:22:40.652Z] INFO: Archiving Costs [Pipeline] echo [2022-09-07T10:22:40.663Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-09-07T10:22:40.949Z] ---> logs-deploy.sh [2022-09-07T10:22:40.949Z] lf-activate-venv: SKIPPING [2022-09-07T10:22:40.949Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-153/2 [2022-09-07T10:22:40.949Z] INFO: archiving workspace using pattern(s): [2022-09-07T10:22:41.886Z] Archives upload complete. [2022-09-07T10:22:41.886Z] INFO: archiving logs to Nexus