Pull request #91 updated 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 ajcasagrande for edgexfoundry/device-onvif-camera Obtained Jenkinsfile from 78edb2e18077c7b755f91a2667f86559cbfd1cc6+8374ad439d5c8571ae7424cc77de71a785d5a0ca (54669c8f9962e2709bb60e0cde130725cd83eef9) 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-ssh18155308148470116144.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh1650272816819709880.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-91/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-91/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12330149206660092721.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > 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-ssh10826216226601144597.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-91/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-91/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5899661690254873018.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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] ========================================================= [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.17 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: false SWAGGER_API_FOLDERS: openapi/v1 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-16122 in /w/workspace/oundry_device-onvif-camera_PR-91 [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/oundry_device-onvif-camera_PR-91 # 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 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit 78edb2e18077c7b755f91a2667f86559cbfd1cc6 Merge succeeded, producing 78edb2e18077c7b755f91a2667f86559cbfd1cc6 Checking out Revision 78edb2e18077c7b755f91a2667f86559cbfd1cc6 (PR-91) > 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/91/head:refs/remotes/origin/PR-91 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 78edb2e18077c7b755f91a2667f86559cbfd1cc6 # 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 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 78edb2e18077c7b755f91a2667f86559cbfd1cc6 # timeout=10 Commit message: "fix: move device save state to top of loop" > git rev-list --no-walk 2ac0656f1c720f0ab4eba7386d31c91d08757e36 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-27T17:42:50.530Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-27T17:42:50.587Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-27T17:42:50.603Z] ========================================================= [2022-06-27T17:42:50.603Z] EdgeX Global Pipelines Version Info [2022-06-27T17:42:50.603Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-27T17:42:51.383Z] ------------------- [2022-06-27T17:42:51.383Z] stable info: [2022-06-27T17:42:51.383Z] ------------------- [2022-06-27T17:42:51.383Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-27T17:42:51.383Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T17:42:51.383Z] Message: update stable to v1.0.234 [2022-06-27T17:42:51.957Z] ------------------- [2022-06-27T17:42:51.957Z] experimental info: [2022-06-27T17:42:51.957Z] ------------------- [2022-06-27T17:42:51.957Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-27T17:42:51.957Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-27T17:42:51.957Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-27T17:42:52.163Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-27T17:42:52.178Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-27T17:42:52.189Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-27T17:42:52.202Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-27T17:42:52.213Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-27T17:42:52.224Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-27T17:42:52.235Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-27T17:42:52.246Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-27T17:42:52.260Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-27T17:42:52.279Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-27T17:42:52.295Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-27T17:42:52.311Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-27T17:42:52.323Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-27T17:42:52.334Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-27T17:42:52.348Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T17:42:52.361Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-27T17:42:52.371Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T17:42:52.387Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-27T17:42:52.398Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-27T17:42:52.407Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-27T17:42:52.421Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-27T17:42:52.434Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-27T17:42:52.444Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-27T17:42:52.455Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-27T17:42:52.467Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-27T17:42:52.478Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-27T17:42:52.490Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-27T17:42:52.501Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-91 [Pipeline] echo [2022-06-27T17:42:52.512Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-91 [Pipeline] echo [2022-06-27T17:42:52.524Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-91 [Pipeline] echo [2022-06-27T17:42:52.538Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 78edb2e18077c7b755f91a2667f86559cbfd1cc6 [Pipeline] echo [2022-06-27T17:42:52.549Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 78edb2e [Pipeline] echo [2022-06-27T17:42:52.562Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T17:42:52.598Z] provisioning config files... [2022-06-27T17:42:52.617Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-91@tmp/config6360508093537767526tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T17:42:52.924Z] ---> docker-login.sh [2022-06-27T17:42:52.924Z] nexus3.edgexfoundry.org:10001 [2022-06-27T17:42:53.187Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T17:42:53.187Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T17:42:53.187Z] Configure a credential helper to remove this warning. See [2022-06-27T17:42:53.187Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T17:42:53.187Z] [2022-06-27T17:42:53.187Z] Login Succeeded [2022-06-27T17:42:53.187Z] nexus3.edgexfoundry.org:10002 [2022-06-27T17:42:53.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T17:42:53.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T17:42:53.448Z] Configure a credential helper to remove this warning. See [2022-06-27T17:42:53.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T17:42:53.448Z] [2022-06-27T17:42:53.448Z] Login Succeeded [2022-06-27T17:42:53.448Z] nexus3.edgexfoundry.org:10003 [2022-06-27T17:42:53.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T17:42:53.448Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T17:42:53.448Z] Configure a credential helper to remove this warning. See [2022-06-27T17:42:53.448Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T17:42:53.448Z] [2022-06-27T17:42:53.448Z] Login Succeeded [2022-06-27T17:42:53.448Z] nexus3.edgexfoundry.org:10004 [2022-06-27T17:42:53.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T17:42:53.710Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T17:42:53.710Z] Configure a credential helper to remove this warning. See [2022-06-27T17:42:53.710Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T17:42:53.710Z] [2022-06-27T17:42:53.710Z] Login Succeeded [2022-06-27T17:42:53.710Z] docker.io [2022-06-27T17:42:53.710Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T17:42:54.285Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T17:42:54.285Z] Configure a credential helper to remove this warning. See [2022-06-27T17:42:54.285Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T17:42:54.285Z] [2022-06-27T17:42:54.285Z] Login Succeeded [2022-06-27T17:42:54.285Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T17:42:54.293Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-27T17:42:54.667Z] + git rev-list -1 --merges 78edb2e18077c7b755f91a2667f86559cbfd1cc6~1..78edb2e18077c7b755f91a2667f86559cbfd1cc6 [Pipeline] echo [2022-06-27T17:42:54.704Z] -----------> git rev-list -1 --merges 78edb2e18077c7b755f91a2667f86559cbfd1cc6~1..78edb2e18077c7b755f91a2667f86559cbfd1cc6 78edb2e18077c7b755f91a2667f86559cbfd1cc6 [false] [Pipeline] sh [2022-06-27T17:42:55.002Z] + git log --format=format:%s -1 78edb2e18077c7b755f91a2667f86559cbfd1cc6 [Pipeline] echo [2022-06-27T17:42:55.019Z] ========================================================= [2022-06-27T17:42:55.019Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-27T17:42:55.019Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T17:42:55.366Z] + git log --format=format:%s -1 78edb2e18077c7b755f91a2667f86559cbfd1cc6 [Pipeline] echo [2022-06-27T17:42:55.379Z] [semverPrep] GIT_COMMIT: 78edb2e18077c7b755f91a2667f86559cbfd1cc6, Commit Message: fix: move device save state to top of loop [Pipeline] echo [2022-06-27T17:42:55.389Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-27T17:42:55.759Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-27T17:42:55.759Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-27T17:42:55.759Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-27T17:42:55.759Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-27T17:42:55.759Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-27T17:42:55.759Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-27T17:42:55.759Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T17:42:56.185Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T17:42:56.185Z] [2022-06-27T17:42:56.185Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T17:42:56.504Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T17:42:56.504Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-27T17:42:56.504Z] 42c077c10790: Pulling fs layer [2022-06-27T17:42:56.504Z] f63e77b7563a: Pulling fs layer [2022-06-27T17:42:56.504Z] bd5fdadae976: Pulling fs layer [2022-06-27T17:42:56.504Z] 205491f53016: Pulling fs layer [2022-06-27T17:42:56.504Z] df18705c85c3: Pulling fs layer [2022-06-27T17:42:56.504Z] bdb3f477010e: Pulling fs layer [2022-06-27T17:42:56.504Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-27T17:42:56.504Z] 2c6e9b1d212d: Pulling fs layer [2022-06-27T17:42:56.504Z] bdb8f0575790: Pulling fs layer [2022-06-27T17:42:56.504Z] 386e3cb2ff24: Pulling fs layer [2022-06-27T17:42:56.504Z] 2343380bae48: Pulling fs layer [2022-06-27T17:42:56.504Z] c8a8fc8e1c8f: Waiting [2022-06-27T17:42:56.504Z] 2c6e9b1d212d: Waiting [2022-06-27T17:42:56.504Z] 205491f53016: Waiting [2022-06-27T17:42:56.504Z] 2343380bae48: Waiting [2022-06-27T17:42:56.504Z] bdb3f477010e: Waiting [2022-06-27T17:42:56.504Z] df18705c85c3: Waiting [2022-06-27T17:42:56.504Z] 386e3cb2ff24: Waiting [2022-06-27T17:42:56.504Z] f63e77b7563a: Verifying Checksum [2022-06-27T17:42:56.504Z] f63e77b7563a: Download complete [2022-06-27T17:42:56.504Z] 205491f53016: Verifying Checksum [2022-06-27T17:42:56.504Z] 205491f53016: Download complete [2022-06-27T17:42:56.504Z] df18705c85c3: Verifying Checksum [2022-06-27T17:42:56.504Z] df18705c85c3: Download complete [2022-06-27T17:42:56.766Z] bdb3f477010e: Verifying Checksum [2022-06-27T17:42:56.766Z] bdb3f477010e: Download complete [2022-06-27T17:42:56.766Z] bd5fdadae976: Verifying Checksum [2022-06-27T17:42:56.766Z] bd5fdadae976: Download complete [2022-06-27T17:42:56.766Z] 2c6e9b1d212d: Download complete [2022-06-27T17:42:56.766Z] bdb8f0575790: Verifying Checksum [2022-06-27T17:42:56.766Z] bdb8f0575790: Download complete [2022-06-27T17:42:56.766Z] 386e3cb2ff24: Download complete [2022-06-27T17:42:56.766Z] 2343380bae48: Verifying Checksum [2022-06-27T17:42:56.766Z] 2343380bae48: Download complete [2022-06-27T17:42:56.766Z] 42c077c10790: Verifying Checksum [2022-06-27T17:42:56.766Z] 42c077c10790: Download complete [2022-06-27T17:42:57.025Z] c8a8fc8e1c8f: Download complete [2022-06-27T17:42:58.405Z] 42c077c10790: Pull complete [2022-06-27T17:42:58.405Z] f63e77b7563a: Pull complete [2022-06-27T17:42:58.976Z] bd5fdadae976: Pull complete [2022-06-27T17:42:58.976Z] 205491f53016: Pull complete [2022-06-27T17:42:59.237Z] df18705c85c3: Pull complete [2022-06-27T17:42:59.237Z] bdb3f477010e: Pull complete [2022-06-27T17:43:01.147Z] c8a8fc8e1c8f: Pull complete [2022-06-27T17:43:01.413Z] 2c6e9b1d212d: Pull complete [2022-06-27T17:43:01.413Z] bdb8f0575790: Pull complete [2022-06-27T17:43:01.413Z] 386e3cb2ff24: Pull complete [2022-06-27T17:43:01.675Z] 2343380bae48: Pull complete [2022-06-27T17:43:01.675Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-27T17:43:01.675Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-27T17:43:01.675Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T17:43:01.774Z] prd-ubuntu20.04-docker-8c-8g-16122 does not seem to be running inside a container [2022-06-27T17:43:01.815Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-91 -v /w/workspace/oundry_device-onvif-camera_PR-91:/w/workspace/oundry_device-onvif-camera_PR-91:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-91@tmp:/w/workspace/oundry_device-onvif-camera_PR-91@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-27T17:43:03.360Z] $ docker top c16d1910060caf2ae4a3143c5820331c8461889679705ccfe67f1375232a8105 -eo pid,comm [2022-06-27T17:43:03.433Z] 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-06-27T17:43:03.433Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-27T17:43:03.468Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T17:43:03.468Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T17:43:03.586Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T17:43:03.591Z] $ docker exec c16d1910060caf2ae4a3143c5820331c8461889679705ccfe67f1375232a8105 ssh-agent [2022-06-27T17:43:03.713Z] SSH_AUTH_SOCK=/tmp/ssh-ANLIKx5uwWND/agent.32 [2022-06-27T17:43:03.713Z] SSH_AGENT_PID=38 [2022-06-27T17:43:03.719Z] Running ssh-add (command line suppressed) [2022-06-27T17:43:03.841Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-91@tmp/private_key_4026967375403418841.key (/w/workspace/oundry_device-onvif-camera_PR-91@tmp/private_key_4026967375403418841.key) [2022-06-27T17:43:03.853Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T17:43:04.144Z] + git tag --points-at HEAD [Pipeline] } [2022-06-27T17:43:04.159Z] $ docker exec --env ******** --env ******** c16d1910060caf2ae4a3143c5820331c8461889679705ccfe67f1375232a8105 ssh-agent -k [2022-06-27T17:43:04.281Z] unset SSH_AUTH_SOCK; [2022-06-27T17:43:04.281Z] unset SSH_AGENT_PID; [2022-06-27T17:43:04.281Z] echo Agent pid 38 killed; [2022-06-27T17:43:04.292Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-27T17:43:04.314Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-27T17:43:04.314Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-27T17:43:04.438Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-27T17:43:04.443Z] $ docker exec c16d1910060caf2ae4a3143c5820331c8461889679705ccfe67f1375232a8105 ssh-agent [2022-06-27T17:43:04.574Z] SSH_AUTH_SOCK=/tmp/ssh-Oggzqi2aKRPN/agent.71 [2022-06-27T17:43:04.574Z] SSH_AGENT_PID=77 [2022-06-27T17:43:04.580Z] Running ssh-add (command line suppressed) [2022-06-27T17:43:04.698Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-91@tmp/private_key_6627903085920029125.key (/w/workspace/oundry_device-onvif-camera_PR-91@tmp/private_key_6627903085920029125.key) [2022-06-27T17:43:04.714Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-27T17:43:05.001Z] + git semver init [2022-06-27T17:43:05.263Z] 2022-06-27 17:43:05,196 [run_init] DEBUG init version:0.0.0 force:False [2022-06-27T17:43:05.263Z] 2022-06-27 17:43:05,197 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-91/.semver [2022-06-27T17:43:05.263Z] 2022-06-27 17:43:05,197 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-91/.semver [2022-06-27T17:43:05.263Z] 2022-06-27 17:43:05,198 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-91/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-91, universal_newlines=False, shell=None, istream=None) [2022-06-27T17:43:06.209Z] 2022-06-27 17:43:05,906 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-91/.git/info/exclude [2022-06-27T17:43:06.209Z] 2022-06-27 17:43:05,906 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-91/.semver/PR-91 with force:False [2022-06-27T17:43:06.209Z] 2022-06-27 17:43:05,906 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-91/.semver/PR-91 [2022-06-27T17:43:06.209Z] 2022-06-27 17:43:05,911 [execute] INFO git cat-file --batch-check [2022-06-27T17:43:06.209Z] 2022-06-27 17:43:05,911 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-91/.semver, universal_newlines=False, shell=None, istream=) [2022-06-27T17:43:06.209Z] 2022-06-27 17:43:05,917 [execute] INFO git cat-file --batch [2022-06-27T17:43:06.209Z] 2022-06-27 17:43:05,917 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-91/.semver, universal_newlines=False, shell=None, istream=) [2022-06-27T17:43:06.209Z] 2022-06-27 17:43:05,922 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-91/.semver/PR-91 [2022-06-27T17:43:06.209Z] 0.0.0 [Pipeline] } [2022-06-27T17:43:06.223Z] $ docker exec --env ******** --env ******** c16d1910060caf2ae4a3143c5820331c8461889679705ccfe67f1375232a8105 ssh-agent -k [2022-06-27T17:43:06.346Z] unset SSH_AUTH_SOCK; [2022-06-27T17:43:06.346Z] unset SSH_AGENT_PID; [2022-06-27T17:43:06.346Z] echo Agent pid 77 killed; [2022-06-27T17:43:06.356Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-27T17:43:06.666Z] + git semver [Pipeline] } [2022-06-27T17:43:06.944Z] $ docker stop --time=1 c16d1910060caf2ae4a3143c5820331c8461889679705ccfe67f1375232a8105 [2022-06-27T17:43:08.296Z] $ docker rm -f c16d1910060caf2ae4a3143c5820331c8461889679705ccfe67f1375232a8105 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-27T17:43:08.660Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-27T17:43:08.914Z] Stashed 1 file(s) [Pipeline] echo [2022-06-27T17:43:08.916Z] [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-06-27T17:43:09.026Z] provisioning config files... [2022-06-27T17:43:09.037Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-91@tmp/config3616787332997960954tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T17:43:09.341Z] ---> docker-login.sh [2022-06-27T17:43:09.341Z] nexus3.edgexfoundry.org:10001 [2022-06-27T17:43:09.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T17:43:09.341Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T17:43:09.341Z] Configure a credential helper to remove this warning. See [2022-06-27T17:43:09.341Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T17:43:09.341Z] [2022-06-27T17:43:09.341Z] Login Succeeded [2022-06-27T17:43:09.341Z] nexus3.edgexfoundry.org:10002 [2022-06-27T17:43:09.341Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T17:43:09.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T17:43:09.603Z] Configure a credential helper to remove this warning. See [2022-06-27T17:43:09.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T17:43:09.603Z] [2022-06-27T17:43:09.603Z] Login Succeeded [2022-06-27T17:43:09.603Z] nexus3.edgexfoundry.org:10003 [2022-06-27T17:43:09.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T17:43:09.603Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T17:43:09.603Z] Configure a credential helper to remove this warning. See [2022-06-27T17:43:09.603Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T17:43:09.603Z] [2022-06-27T17:43:09.603Z] Login Succeeded [2022-06-27T17:43:09.603Z] nexus3.edgexfoundry.org:10004 [2022-06-27T17:43:09.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T17:43:09.864Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T17:43:09.864Z] Configure a credential helper to remove this warning. See [2022-06-27T17:43:09.864Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T17:43:09.864Z] [2022-06-27T17:43:09.864Z] Login Succeeded [2022-06-27T17:43:09.864Z] docker.io [2022-06-27T17:43:09.864Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T17:43:10.126Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T17:43:10.126Z] Configure a credential helper to remove this warning. See [2022-06-27T17:43:10.126Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T17:43:10.126Z] [2022-06-27T17:43:10.126Z] Login Succeeded [2022-06-27T17:43:10.126Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T17:43:10.135Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T17:43:10.198Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T17:43:10.212Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T17:43:10.218Z] ========================================================= [2022-06-27T17:43:10.218Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-27T17:43:10.218Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T17:43:10.544Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-27T17:43:10.544Z] Sending build context to Docker daemon 8.783MB [2022-06-27T17:43:10.544Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T17:43:10.544Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-27T17:43:10.544Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-27T17:43:10.544Z] 59bf1c3509f3: Pulling fs layer [2022-06-27T17:43:10.544Z] 666ba61612fd: Pulling fs layer [2022-06-27T17:43:10.544Z] 8ed8ca486205: Pulling fs layer [2022-06-27T17:43:10.544Z] cc1cd167ecdc: Pulling fs layer [2022-06-27T17:43:10.544Z] c516ae0d96e1: Pulling fs layer [2022-06-27T17:43:10.544Z] 684cea983483: Pulling fs layer [2022-06-27T17:43:10.544Z] dd3240ac7de5: Pulling fs layer [2022-06-27T17:43:10.544Z] b1e948a4e11c: Pulling fs layer [2022-06-27T17:43:10.544Z] a8fd76ee1af6: Pulling fs layer [2022-06-27T17:43:10.544Z] 646ad004c059: Pulling fs layer [2022-06-27T17:43:10.544Z] c516ae0d96e1: Waiting [2022-06-27T17:43:10.544Z] 684cea983483: Waiting [2022-06-27T17:43:10.544Z] a8fd76ee1af6: Waiting [2022-06-27T17:43:10.544Z] dd3240ac7de5: Waiting [2022-06-27T17:43:10.545Z] b1e948a4e11c: Waiting [2022-06-27T17:43:10.545Z] 646ad004c059: Waiting [2022-06-27T17:43:10.545Z] cc1cd167ecdc: Waiting [2022-06-27T17:43:10.545Z] 8ed8ca486205: Download complete [2022-06-27T17:43:10.545Z] 666ba61612fd: Verifying Checksum [2022-06-27T17:43:10.545Z] 666ba61612fd: Download complete [2022-06-27T17:43:10.545Z] c516ae0d96e1: Verifying Checksum [2022-06-27T17:43:10.545Z] c516ae0d96e1: Download complete [2022-06-27T17:43:10.807Z] 684cea983483: Verifying Checksum [2022-06-27T17:43:10.807Z] 684cea983483: Download complete [2022-06-27T17:43:10.807Z] dd3240ac7de5: Verifying Checksum [2022-06-27T17:43:10.807Z] dd3240ac7de5: Download complete [2022-06-27T17:43:10.807Z] 59bf1c3509f3: Verifying Checksum [2022-06-27T17:43:10.807Z] 59bf1c3509f3: Download complete [2022-06-27T17:43:10.807Z] b1e948a4e11c: Verifying Checksum [2022-06-27T17:43:10.807Z] b1e948a4e11c: Download complete [2022-06-27T17:43:10.807Z] 59bf1c3509f3: Pull complete [2022-06-27T17:43:11.070Z] 666ba61612fd: Pull complete [2022-06-27T17:43:11.070Z] 8ed8ca486205: Pull complete [2022-06-27T17:43:11.333Z] a8fd76ee1af6: Verifying Checksum [2022-06-27T17:43:11.333Z] a8fd76ee1af6: Download complete [2022-06-27T17:43:11.333Z] 646ad004c059: Verifying Checksum [2022-06-27T17:43:11.593Z] cc1cd167ecdc: Verifying Checksum [2022-06-27T17:43:11.593Z] cc1cd167ecdc: Download complete [2022-06-27T17:43:14.885Z] cc1cd167ecdc: Pull complete [2022-06-27T17:43:14.885Z] c516ae0d96e1: Pull complete [2022-06-27T17:43:15.146Z] 684cea983483: Pull complete [2022-06-27T17:43:15.146Z] dd3240ac7de5: Pull complete [2022-06-27T17:43:15.146Z] b1e948a4e11c: Pull complete [2022-06-27T17:43:17.681Z] a8fd76ee1af6: Pull complete [2022-06-27T17:43:17.941Z] 646ad004c059: Pull complete [2022-06-27T17:43:17.941Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-27T17:43:17.941Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-27T17:43:17.941Z] ---> 8f69c11f6b0c [2022-06-27T17:43:17.941Z] Step 3/13 : ARG MAKE="make build" [2022-06-27T17:43:19.868Z] ---> Running in 23fa7b968089 [2022-06-27T17:43:19.868Z] Removing intermediate container 23fa7b968089 [2022-06-27T17:43:19.868Z] ---> 550f1221d29e [2022-06-27T17:43:19.868Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T17:43:19.868Z] ---> Running in a9c2b5381699 [2022-06-27T17:43:20.129Z] Removing intermediate container a9c2b5381699 [2022-06-27T17:43:20.129Z] ---> 401bdd43166c [2022-06-27T17:43:20.129Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T17:43:20.129Z] ---> Running in cdf27a5e0e6f [2022-06-27T17:43:20.129Z] Removing intermediate container cdf27a5e0e6f [2022-06-27T17:43:20.129Z] ---> b5e03abdfb25 [2022-06-27T17:43:20.129Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-27T17:43:20.129Z] ---> Running in ec3188d493c1 [2022-06-27T17:43:20.389Z] Removing intermediate container ec3188d493c1 [2022-06-27T17:43:20.389Z] ---> 7b7fc1306b28 [2022-06-27T17:43:20.389Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T17:43:20.389Z] ---> Running in 5ed43d928316 [2022-06-27T17:43:20.961Z] Removing intermediate container 5ed43d928316 [2022-06-27T17:43:20.961Z] ---> 53164429ae93 [2022-06-27T17:43:20.961Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T17:43:20.961Z] ---> Running in 68081a1a63e5 [2022-06-27T17:43:21.228Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-27T17:43:22.169Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-27T17:43:22.429Z] OK: 221 MiB in 52 packages [2022-06-27T17:43:22.689Z] Removing intermediate container 68081a1a63e5 [2022-06-27T17:43:22.689Z] ---> 49351a6636c5 [2022-06-27T17:43:22.689Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-27T17:43:22.689Z] ---> Running in d0d3afb26cbf [2022-06-27T17:43:22.949Z] Removing intermediate container d0d3afb26cbf [2022-06-27T17:43:22.949Z] ---> 8920c062ccd9 [2022-06-27T17:43:22.949Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-27T17:43:22.949Z] ---> 8703fcb811c3 [2022-06-27T17:43:22.949Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T17:43:23.209Z] ---> Running in d3176bf11cfc [2022-06-27T17:43:23.996Z] Still waiting to schedule task [2022-06-27T17:43:23.997Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-06-27T17:43:41.328Z] Removing intermediate container d3176bf11cfc [2022-06-27T17:43:41.328Z] ---> 5ab573f8a16a [2022-06-27T17:43:41.328Z] Step 12/13 : COPY . . [2022-06-27T17:43:41.328Z] ---> dc22f643eb80 [2022-06-27T17:43:41.328Z] Step 13/13 : RUN ${MAKE} [2022-06-27T17:43:41.328Z] ---> Running in 74b4d9df5953 [2022-06-27T17:43:41.328Z] noop [2022-06-27T17:43:41.328Z] Removing intermediate container 74b4d9df5953 [2022-06-27T17:43:41.328Z] ---> b9f4b56f8425 [2022-06-27T17:43:41.328Z] Successfully built b9f4b56f8425 [2022-06-27T17:43:41.328Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T17:43:41.665Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T17:43:41.665Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T17:43:41.747Z] prd-ubuntu20.04-docker-8c-8g-16122 does not seem to be running inside a container [2022-06-27T17:43:41.796Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-91 -v /w/workspace/oundry_device-onvif-camera_PR-91:/w/workspace/oundry_device-onvif-camera_PR-91:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-91@tmp:/w/workspace/oundry_device-onvif-camera_PR-91@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-27T17:43:42.194Z] $ docker top fe745716201232e77ae157f8a256e14a21532f5b9f6b8b16c417c1c83264f669 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T17:43:42.547Z] + go version [2022-06-27T17:43:42.548Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-27T17:43:42.564Z] $ docker stop --time=1 fe745716201232e77ae157f8a256e14a21532f5b9f6b8b16c417c1c83264f669 [2022-06-27T17:43:43.844Z] $ docker rm -f fe745716201232e77ae157f8a256e14a21532f5b9f6b8b16c417c1c83264f669 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T17:43:44.254Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-27T17:43:44.254Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T17:43:44.334Z] prd-ubuntu20.04-docker-8c-8g-16122 does not seem to be running inside a container [2022-06-27T17:43:44.386Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-91 -v /w/workspace/oundry_device-onvif-camera_PR-91:/w/workspace/oundry_device-onvif-camera_PR-91:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-91@tmp:/w/workspace/oundry_device-onvif-camera_PR-91@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-27T17:43:44.771Z] $ docker top c4174f1eb3214625275abc68fca7f8e5a8fff598964099d53c4647078ba1679e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T17:43:45.189Z] + make test [2022-06-27T17:43:45.189Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T17:43:45.447Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-27T17:43:55.431Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-27T17:43:55.431Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.017s coverage: 1.2% of statements [2022-06-27T17:43:58.730Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.857s coverage: 13.8% of statements [2022-06-27T17:44:05.301Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T17:44:09.515Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T17:44:09.515Z] ./internal/driver/checkstatuses.go [2022-06-27T17:44:09.515Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T17:44:09.515Z] make: *** [Makefile:57: test] Error 1 [Pipeline] } [2022-06-27T17:44:09.534Z] $ docker stop --time=1 c4174f1eb3214625275abc68fca7f8e5a8fff598964099d53c4647078ba1679e [2022-06-27T17:44:11.290Z] $ docker rm -f c4174f1eb3214625275abc68fca7f8e5a8fff598964099d53c4647078ba1679e [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-06-27T17:44:11.861Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T17:44:11.861Z] [2022-06-27T17:44:11.861Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T17:44:12.160Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T17:44:12.160Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-27T17:44:12.160Z] 5eb5b503b376: Pulling fs layer [2022-06-27T17:44:12.160Z] 5c69ac0246d0: Pulling fs layer [2022-06-27T17:44:12.160Z] ec43610c2a17: Pulling fs layer [2022-06-27T17:44:12.160Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-27T17:44:12.160Z] 33b1e0a273af: Pulling fs layer [2022-06-27T17:44:12.160Z] 5d3b04190fa2: Pulling fs layer [2022-06-27T17:44:12.160Z] 2f39f015ded8: Pulling fs layer [2022-06-27T17:44:12.160Z] 5d3b04190fa2: Waiting [2022-06-27T17:44:12.160Z] 3a2ae6a8a46f: Waiting [2022-06-27T17:44:12.160Z] 2f39f015ded8: Waiting [2022-06-27T17:44:12.160Z] 5c69ac0246d0: Download complete [2022-06-27T17:44:12.160Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-27T17:44:12.160Z] 33b1e0a273af: Download complete [2022-06-27T17:44:12.419Z] ec43610c2a17: Verifying Checksum [2022-06-27T17:44:12.419Z] ec43610c2a17: Download complete [2022-06-27T17:44:12.419Z] 5d3b04190fa2: Verifying Checksum [2022-06-27T17:44:12.419Z] 5d3b04190fa2: Download complete [2022-06-27T17:44:12.419Z] 5eb5b503b376: Verifying Checksum [2022-06-27T17:44:12.419Z] 5eb5b503b376: Download complete [2022-06-27T17:44:12.990Z] 2f39f015ded8: Download complete [2022-06-27T17:44:13.931Z] 5eb5b503b376: Pull complete [2022-06-27T17:44:13.931Z] 5c69ac0246d0: Pull complete [2022-06-27T17:44:14.191Z] ec43610c2a17: Pull complete [2022-06-27T17:44:14.450Z] 3a2ae6a8a46f: Pull complete [2022-06-27T17:44:14.710Z] 33b1e0a273af: Pull complete [2022-06-27T17:44:14.710Z] 5d3b04190fa2: Pull complete [2022-06-27T17:44:18.904Z] 2f39f015ded8: Pull complete [2022-06-27T17:44:18.904Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-27T17:44:18.904Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T17:44:18.904Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T17:44:18.993Z] prd-ubuntu20.04-docker-8c-8g-16122 does not seem to be running inside a container [2022-06-27T17:44:19.035Z] $ 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/oundry_device-onvif-camera_PR-91 -v /w/workspace/oundry_device-onvif-camera_PR-91:/w/workspace/oundry_device-onvif-camera_PR-91:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-91@tmp:/w/workspace/oundry_device-onvif-camera_PR-91@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-27T17:44:20.652Z] $ docker top 3bece1c0196d1c5d90719bdab74da1e67d72c57e63b33ac884fa41682af79d9e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T17:44:21.056Z] ---> job-cost.sh [2022-06-27T17:44:21.056Z] lf-activate-venv: SKIPPING [2022-06-27T17:44:21.056Z] INFO: No Stack... [2022-06-27T17:44:21.318Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T17:44:21.889Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T17:44:22.188Z] + cat /w/workspace/oundry_device-onvif-camera_PR-91/archives/cost.csv [2022-06-27T17:44:22.188Z] + cut -d, -f6 [Pipeline] lock [2022-06-27T17:44:22.202Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-91-2-stack-cost] [2022-06-27T17:44:22.208Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-91-2-stack-cost] did not exist. Created. [2022-06-27T17:44:22.208Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-91-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T17:44:22.514Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-27T17:44:22.550Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T17:44:22.556Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-91-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T17:44:22.578Z] $ docker stop --time=1 3bece1c0196d1c5d90719bdab74da1e67d72c57e63b33ac884fa41682af79d9e [2022-06-27T17:44:23.743Z] $ docker rm -f 3bece1c0196d1c5d90719bdab74da1e67d72c57e63b33ac884fa41682af79d9e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-27T17:44:23.848Z] Failed in branch amd64 [2022-06-27T17:44:55.856Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-16123 in /w/workspace/oundry_device-onvif-camera_PR-91 [Pipeline] { [Pipeline] ws [2022-06-27T17:44:55.868Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2022-06-27T17:44:55.939Z] Selected Git installation does not exist. Using Default [2022-06-27T17:44:55.939Z] The recommended git tool is: NONE [2022-06-27T17:45:02.741Z] using credential edgex-jenkins-ssh [2022-06-27T17:45:02.757Z] Cloning the remote Git repository [2022-06-27T17:45:02.818Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-27T17:45:02.920Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2022-06-27T17:45:02.992Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-27T17:45:02.992Z] > git --version # timeout=10 [2022-06-27T17:45:03.009Z] > git --version # 'git version 2.25.1' [2022-06-27T17:45:03.011Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T17:45:03.153Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T17:45:04.549Z] Merging remotes/origin/main commit 8374ad439d5c8571ae7424cc77de71a785d5a0ca into PR head commit 78edb2e18077c7b755f91a2667f86559cbfd1cc6 [2022-06-27T17:45:04.814Z] Merge succeeded, producing 78edb2e18077c7b755f91a2667f86559cbfd1cc6 [2022-06-27T17:45:04.815Z] Checking out Revision 78edb2e18077c7b755f91a2667f86559cbfd1cc6 (PR-91) [2022-06-27T17:45:03.950Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-27T17:45:03.971Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-27T17:45:03.995Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-27T17:45:04.025Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-27T17:45:04.026Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T17:45:04.057Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/91/head:refs/remotes/origin/PR-91 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-27T17:45:04.569Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T17:45:04.591Z] > git checkout -f 78edb2e18077c7b755f91a2667f86559cbfd1cc6 # timeout=10 [2022-06-27T17:45:04.726Z] > git remote # timeout=10 [2022-06-27T17:45:04.744Z] > git config --get remote.origin.url # timeout=10 [2022-06-27T17:45:04.759Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-27T17:45:04.770Z] > git merge 8374ad439d5c8571ae7424cc77de71a785d5a0ca # timeout=10 [2022-06-27T17:45:04.793Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-27T17:45:04.823Z] > git config core.sparsecheckout # timeout=10 [2022-06-27T17:45:04.833Z] > git checkout -f 78edb2e18077c7b755f91a2667f86559cbfd1cc6 # timeout=10 [2022-06-27T17:45:09.015Z] Commit message: "fix: move device save state to top of loop" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-27T17:45:09.920Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-27T17:45:09.920Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-27T17:45:09.920Z] Dload Upload Total Spent Left Speed [2022-06-27T17:45:09.920Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 83924 0 --:--:-- --:--:-- --:--:-- 83924 [Pipeline] sh [2022-06-27T17:45:10.688Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-27T17:45:11.030Z] + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}sudo /etc/docker/daemon.json tee [2022-06-27T17:45:11.030Z] /etc/docker/daemon.new [2022-06-27T17:45:11.030Z] { [2022-06-27T17:45:11.030Z] "registry-mirrors": [ [2022-06-27T17:45:11.030Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-27T17:45:11.030Z] ], [2022-06-27T17:45:11.030Z] "bip": "10.250.0.254/24", [2022-06-27T17:45:11.030Z] "hosts": [ [2022-06-27T17:45:11.030Z] "tcp://0.0.0.0:5555", [2022-06-27T17:45:11.030Z] "unix:///var/run/docker.sock" [2022-06-27T17:45:11.030Z] ], [2022-06-27T17:45:11.030Z] "mtu": 1458, [2022-06-27T17:45:11.030Z] "selinux-enabled": true, [2022-06-27T17:45:11.030Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-27T17:45:11.030Z] } [Pipeline] sh [2022-06-27T17:45:11.385Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-27T17:45:11.728Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T17:45:30.071Z] provisioning config files... [2022-06-27T17:45:30.095Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config7570469337482340160tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T17:45:30.449Z] ---> docker-login.sh [2022-06-27T17:45:30.449Z] nexus3.edgexfoundry.org:10001 [2022-06-27T17:45:31.050Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T17:45:31.328Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T17:45:31.328Z] Configure a credential helper to remove this warning. See [2022-06-27T17:45:31.328Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T17:45:31.328Z] [2022-06-27T17:45:31.328Z] Login Succeeded [2022-06-27T17:45:31.328Z] nexus3.edgexfoundry.org:10002 [2022-06-27T17:45:31.610Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T17:45:31.883Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T17:45:31.884Z] Configure a credential helper to remove this warning. See [2022-06-27T17:45:31.884Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T17:45:31.884Z] [2022-06-27T17:45:31.884Z] Login Succeeded [2022-06-27T17:45:31.884Z] nexus3.edgexfoundry.org:10003 [2022-06-27T17:45:32.156Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T17:45:32.156Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T17:45:32.156Z] Configure a credential helper to remove this warning. See [2022-06-27T17:45:32.156Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T17:45:32.156Z] [2022-06-27T17:45:32.156Z] Login Succeeded [2022-06-27T17:45:32.156Z] nexus3.edgexfoundry.org:10004 [2022-06-27T17:45:32.438Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T17:45:32.712Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T17:45:32.712Z] Configure a credential helper to remove this warning. See [2022-06-27T17:45:32.712Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T17:45:32.712Z] [2022-06-27T17:45:32.712Z] Login Succeeded [2022-06-27T17:45:32.712Z] docker.io [2022-06-27T17:45:32.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-27T17:45:33.283Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-27T17:45:33.283Z] Configure a credential helper to remove this warning. See [2022-06-27T17:45:33.283Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-27T17:45:33.283Z] [2022-06-27T17:45:33.283Z] Login Succeeded [2022-06-27T17:45:33.283Z] ---> docker-login.sh ends [Pipeline] } [2022-06-27T17:45:33.304Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-27T17:45:33.810Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T17:45:33.828Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-27T17:45:33.840Z] ========================================================= [2022-06-27T17:45:33.840Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-27T17:45:33.840Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T17:45:34.247Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-27T17:45:34.519Z] Sending build context to Docker daemon 5.989MB [2022-06-27T17:45:34.793Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-27T17:45:34.793Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-27T17:45:34.793Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-27T17:45:34.793Z] 9b3977197b4f: Pulling fs layer [2022-06-27T17:45:34.793Z] 1a89e8eeedd5: Pulling fs layer [2022-06-27T17:45:34.793Z] 94645a83ff95: Pulling fs layer [2022-06-27T17:45:34.793Z] e6fb740bc735: Pulling fs layer [2022-06-27T17:45:34.793Z] 3a77bd46dcc9: Pulling fs layer [2022-06-27T17:45:34.793Z] e6fb740bc735: Waiting [2022-06-27T17:45:34.793Z] 355e64cbe906: Pulling fs layer [2022-06-27T17:45:34.793Z] 63ab81a10011: Pulling fs layer [2022-06-27T17:45:34.793Z] 555d1d1c4555: Pulling fs layer [2022-06-27T17:45:34.793Z] 3a77bd46dcc9: Waiting [2022-06-27T17:45:34.793Z] 7d9057610161: Pulling fs layer [2022-06-27T17:45:34.793Z] 63ab81a10011: Waiting [2022-06-27T17:45:34.793Z] 555d1d1c4555: Waiting [2022-06-27T17:45:34.793Z] 355e64cbe906: Waiting [2022-06-27T17:45:34.793Z] 7d9057610161: Waiting [2022-06-27T17:45:34.793Z] 94645a83ff95: Verifying Checksum [2022-06-27T17:45:34.793Z] 94645a83ff95: Download complete [2022-06-27T17:45:34.793Z] 1a89e8eeedd5: Download complete [2022-06-27T17:45:34.793Z] 3a77bd46dcc9: Verifying Checksum [2022-06-27T17:45:34.793Z] 3a77bd46dcc9: Download complete [2022-06-27T17:45:34.793Z] 355e64cbe906: Verifying Checksum [2022-06-27T17:45:34.793Z] 355e64cbe906: Download complete [2022-06-27T17:45:34.793Z] 9b3977197b4f: Download complete [2022-06-27T17:45:34.793Z] 63ab81a10011: Verifying Checksum [2022-06-27T17:45:34.793Z] 63ab81a10011: Download complete [2022-06-27T17:45:35.786Z] 9b3977197b4f: Pull complete [2022-06-27T17:45:36.063Z] 7d9057610161: Verifying Checksum [2022-06-27T17:45:36.063Z] 7d9057610161: Download complete [2022-06-27T17:45:36.344Z] 1a89e8eeedd5: Pull complete [2022-06-27T17:45:36.618Z] 94645a83ff95: Pull complete [2022-06-27T17:45:37.220Z] 555d1d1c4555: Verifying Checksum [2022-06-27T17:45:37.220Z] 555d1d1c4555: Download complete [2022-06-27T17:45:37.494Z] e6fb740bc735: Verifying Checksum [2022-06-27T17:45:37.494Z] e6fb740bc735: Download complete [2022-06-27T17:45:49.904Z] e6fb740bc735: Pull complete [2022-06-27T17:45:49.904Z] 3a77bd46dcc9: Pull complete [2022-06-27T17:45:50.177Z] 355e64cbe906: Pull complete [2022-06-27T17:45:50.452Z] 63ab81a10011: Pull complete [2022-06-27T17:45:57.170Z] 555d1d1c4555: Pull complete [2022-06-27T17:45:58.605Z] 7d9057610161: Pull complete [2022-06-27T17:45:58.605Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-27T17:45:58.605Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-27T17:45:58.605Z] ---> 819e984ddca1 [2022-06-27T17:45:58.605Z] Step 3/13 : ARG MAKE="make build" [2022-06-27T17:46:00.049Z] ---> Running in 1cdbaef589b8 [2022-06-27T17:46:00.329Z] Removing intermediate container 1cdbaef589b8 [2022-06-27T17:46:00.329Z] ---> 4bf0c2471e9a [2022-06-27T17:46:00.329Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-27T17:46:00.611Z] ---> Running in 5f3dfe0ce063 [2022-06-27T17:46:00.887Z] Removing intermediate container 5f3dfe0ce063 [2022-06-27T17:46:00.887Z] ---> d05c516a2291 [2022-06-27T17:46:00.887Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-27T17:46:00.887Z] ---> Running in 054347f4490d [2022-06-27T17:46:01.161Z] Removing intermediate container 054347f4490d [2022-06-27T17:46:01.161Z] ---> f60240d79d23 [2022-06-27T17:46:01.161Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-27T17:46:01.161Z] ---> Running in 85b2b57412d9 [2022-06-27T17:46:01.441Z] Removing intermediate container 85b2b57412d9 [2022-06-27T17:46:01.442Z] ---> 5c918ba5c654 [2022-06-27T17:46:01.442Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-27T17:46:01.442Z] ---> Running in ae2c3d4937cc [2022-06-27T17:46:03.436Z] Removing intermediate container ae2c3d4937cc [2022-06-27T17:46:03.436Z] ---> 4fa7dd7b7aac [2022-06-27T17:46:03.436Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-27T17:46:03.436Z] ---> Running in 38964d897b14 [2022-06-27T17:46:05.420Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-27T17:46:06.397Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-27T17:46:07.383Z] OK: 220 MiB in 52 packages [2022-06-27T17:46:07.983Z] Removing intermediate container 38964d897b14 [2022-06-27T17:46:07.983Z] ---> 756f1dfd5119 [2022-06-27T17:46:07.983Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-27T17:46:07.983Z] ---> Running in c6287a098abd [2022-06-27T17:46:08.259Z] Removing intermediate container c6287a098abd [2022-06-27T17:46:08.259Z] ---> 775ce8d715d2 [2022-06-27T17:46:08.259Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-27T17:46:08.864Z] ---> e92f58a23df4 [2022-06-27T17:46:08.864Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-27T17:46:08.864Z] ---> Running in 6a1626273574 [2022-06-27T17:46:55.832Z] Removing intermediate container 6a1626273574 [2022-06-27T17:46:55.832Z] ---> f181a80ebbd2 [2022-06-27T17:46:55.832Z] Step 12/13 : COPY . . [2022-06-27T17:46:55.832Z] ---> bfb30bdd0199 [2022-06-27T17:46:55.832Z] Step 13/13 : RUN ${MAKE} [2022-06-27T17:46:55.832Z] ---> Running in 0df9376bbee2 [2022-06-27T17:46:55.832Z] noop [2022-06-27T17:46:56.119Z] Removing intermediate container 0df9376bbee2 [2022-06-27T17:46:56.119Z] ---> a3f5ad8a1a2a [2022-06-27T17:46:56.119Z] Successfully built a3f5ad8a1a2a [2022-06-27T17:46:56.119Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T17:46:56.488Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T17:46:56.488Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T17:46:56.739Z] prd-ubuntu20.04-docker-arm64-4c-16g-16123 does not seem to be running inside a container [2022-06-27T17:46:56.826Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2022-06-27T17:46:58.112Z] $ docker top 85a9dd0eb4bdf7e62fa22013307236c41504f56d20f498b9888d07ffa408e725 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T17:46:59.004Z] + go version [2022-06-27T17:46:59.004Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-27T17:46:59.035Z] $ docker stop --time=1 85a9dd0eb4bdf7e62fa22013307236c41504f56d20f498b9888d07ffa408e725 [2022-06-27T17:47:00.677Z] $ docker rm -f 85a9dd0eb4bdf7e62fa22013307236c41504f56d20f498b9888d07ffa408e725 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T17:47:01.271Z] + docker inspect -f . ci-base-image-arm64 [2022-06-27T17:47:01.271Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T17:47:01.511Z] prd-ubuntu20.04-docker-arm64-4c-16g-16123 does not seem to be running inside a container [2022-06-27T17:47:01.603Z] $ 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 ******** -e ******** ci-base-image-arm64 cat [2022-06-27T17:47:02.903Z] $ docker top 672331302edeb0b0dacdafa5b5f103f3d6351624acba657faaf4e1fc56d5b540 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-27T17:47:03.820Z] + make test [2022-06-27T17:47:03.820Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-27T17:47:05.817Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-27T17:48:27.665Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-27T17:48:27.665Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.084s coverage: 1.2% of statements [2022-06-27T17:49:06.693Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 38.863s coverage: 13.8% of statements [2022-06-27T17:49:06.693Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-27T17:49:06.693Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-27T17:49:33.503Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-27T17:49:33.503Z] ./internal/driver/checkstatuses.go [2022-06-27T17:49:33.503Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-27T17:49:33.503Z] make: *** [Makefile:57: test] Error 1 [Pipeline] } [2022-06-27T17:49:33.535Z] $ docker stop --time=1 672331302edeb0b0dacdafa5b5f103f3d6351624acba657faaf4e1fc56d5b540 [2022-06-27T17:49:35.305Z] $ docker rm -f 672331302edeb0b0dacdafa5b5f103f3d6351624acba657faaf4e1fc56d5b540 [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 Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T17:49:36.373Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T17:49:36.373Z] [2022-06-27T17:49:36.373Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T17:49:36.724Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T17:49:37.000Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-27T17:49:37.000Z] 8998bd30e6a1: Pulling fs layer [2022-06-27T17:49:37.000Z] 04944245beec: Pulling fs layer [2022-06-27T17:49:37.000Z] 699f458cf7ca: Pulling fs layer [2022-06-27T17:49:37.000Z] 765212b225bb: Pulling fs layer [2022-06-27T17:49:37.000Z] f23df028b6ca: Pulling fs layer [2022-06-27T17:49:37.000Z] d65c8cfc05b1: Pulling fs layer [2022-06-27T17:49:37.000Z] 2437ff75d9bd: Pulling fs layer [2022-06-27T17:49:37.000Z] 765212b225bb: Waiting [2022-06-27T17:49:37.000Z] f23df028b6ca: Waiting [2022-06-27T17:49:37.000Z] d65c8cfc05b1: Waiting [2022-06-27T17:49:37.000Z] 2437ff75d9bd: Waiting [2022-06-27T17:49:37.000Z] 04944245beec: Download complete [2022-06-27T17:49:37.000Z] 765212b225bb: Verifying Checksum [2022-06-27T17:49:37.000Z] 765212b225bb: Download complete [2022-06-27T17:49:37.000Z] f23df028b6ca: Verifying Checksum [2022-06-27T17:49:37.000Z] f23df028b6ca: Download complete [2022-06-27T17:49:37.276Z] d65c8cfc05b1: Verifying Checksum [2022-06-27T17:49:37.276Z] d65c8cfc05b1: Download complete [2022-06-27T17:49:37.276Z] 699f458cf7ca: Verifying Checksum [2022-06-27T17:49:37.276Z] 699f458cf7ca: Download complete [2022-06-27T17:49:37.551Z] 8998bd30e6a1: Verifying Checksum [2022-06-27T17:49:37.551Z] 8998bd30e6a1: Download complete [2022-06-27T17:49:40.178Z] 2437ff75d9bd: Verifying Checksum [2022-06-27T17:49:40.178Z] 2437ff75d9bd: Download complete [2022-06-27T17:49:42.160Z] 8998bd30e6a1: Pull complete [2022-06-27T17:49:42.432Z] 04944245beec: Pull complete [2022-06-27T17:49:43.871Z] 699f458cf7ca: Pull complete [2022-06-27T17:49:44.143Z] 765212b225bb: Pull complete [2022-06-27T17:49:45.123Z] f23df028b6ca: Pull complete [2022-06-27T17:49:45.123Z] d65c8cfc05b1: Pull complete [2022-06-27T17:50:00.219Z] 2437ff75d9bd: Pull complete [2022-06-27T17:50:00.219Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-27T17:50:00.219Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-27T17:50:00.219Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T17:50:00.467Z] prd-ubuntu20.04-docker-arm64-4c-16g-16123 does not seem to be running inside a container [2022-06-27T17:50:00.562Z] $ 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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-27T17:50:03.047Z] $ docker top 7ff2fa79d1a57cc1c38e17f2b3a309e14cb1c5f2cafd1d77868a9b8b368b2592 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-27T17:50:03.959Z] ---> job-cost.sh [2022-06-27T17:50:03.959Z] lf-activate-venv: SKIPPING [2022-06-27T17:50:03.959Z] INFO: No Stack... [2022-06-27T17:50:04.554Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-27T17:50:05.151Z] INFO: Archiving Costs [Pipeline] sh [2022-06-27T17:50:05.818Z] + cut -d, -f6 [2022-06-27T17:50:05.818Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [Pipeline] lock [2022-06-27T17:50:05.881Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-91-2-stack-cost] [2022-06-27T17:50:05.890Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-91-2-stack-cost] did not exist. Created. [2022-06-27T17:50:05.890Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-91-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-27T17:50:06.577Z] /w/workspace/device-onvif-camera/2@tmp/durable-17522c1e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-27T17:50:07.256Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-27T17:50:07.284Z] Warning: overwriting stash ‘stack-cost’ [2022-06-27T17:50:07.763Z] Stashed 1 file(s) [Pipeline] } [2022-06-27T17:50:07.770Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-91-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-27T17:50:07.795Z] $ docker stop --time=1 7ff2fa79d1a57cc1c38e17f2b3a309e14cb1c5f2cafd1d77868a9b8b368b2592 [2022-06-27T17:50:09.309Z] $ docker rm -f 7ff2fa79d1a57cc1c38e17f2b3a309e14cb1c5f2cafd1d77868a9b8b368b2592 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-27T17:50:09.620Z] Failed in branch arm64 [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-06-27T17:50:10.303Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-91/archives ] [2022-06-27T17:50:10.304Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-91/archives [2022-06-27T17:50:10.304Z] total 16 [2022-06-27T17:50:10.304Z] drwxr-xr-x 3 root root 4096 Jun 27 17:44 . [2022-06-27T17:50:10.304Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 17:44 .. [2022-06-27T17:50:10.304Z] drwxr-xr-x 2 root root 4096 Jun 27 17:44 cost [2022-06-27T17:50:10.304Z] -rw-r--r-- 1 root root 89 Jun 27 17:44 cost.csv [2022-06-27T17:50:10.304Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-91/archives [2022-06-27T17:50:10.304Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-91/archives [2022-06-27T17:50:10.304Z] total 16 [2022-06-27T17:50:10.304Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 27 17:44 . [2022-06-27T17:50:10.304Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 27 17:44 .. [2022-06-27T17:50:10.304Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 27 17:44 cost [2022-06-27T17:50:10.304Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 27 17:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-27T17:50:10.596Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T17:50:11.461Z] ---> package-listing.sh [2022-06-27T17:50:11.461Z] ++ facter osfamily [2022-06-27T17:50:11.461Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-27T17:50:11.721Z] + OS_FAMILY=debian [2022-06-27T17:50:11.721Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-91 [2022-06-27T17:50:11.721Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-27T17:50:11.721Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-27T17:50:11.721Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-27T17:50:11.721Z] + PACKAGES=/tmp/packages_start.txt [2022-06-27T17:50:11.721Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-91 ']' [2022-06-27T17:50:11.721Z] + PACKAGES=/tmp/packages_end.txt [2022-06-27T17:50:11.721Z] + case "${OS_FAMILY}" in [2022-06-27T17:50:11.721Z] + dpkg -l [2022-06-27T17:50:11.721Z] + grep '^ii' [2022-06-27T17:50:11.721Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-27T17:50:11.721Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-27T17:50:11.721Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-27T17:50:11.721Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-91 ']' [2022-06-27T17:50:11.721Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-91/archives/ [2022-06-27T17:50:11.721Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-91/archives/ [Pipeline] echo [2022-06-27T17:50:11.732Z] 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/oundry_device-onvif-camera_PR-91/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-27T17:50:12.014Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-27T17:50:12.585Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-27T17:50:12.585Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-27T17:50:12.665Z] prd-ubuntu20.04-docker-8c-8g-16122 does not seem to be running inside a container [2022-06-27T17:50:12.704Z] $ 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/oundry_device-onvif-camera_PR-91/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/oundry_device-onvif-camera_PR-91 -v /w/workspace/oundry_device-onvif-camera_PR-91:/w/workspace/oundry_device-onvif-camera_PR-91:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-91@tmp:/w/workspace/oundry_device-onvif-camera_PR-91@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-06-27T17:50:12.924Z] $ docker top a1d6bee3ae2e6d5f421f64f14eb95c14d6d7b4cd4959d50ed8ec0b31427c2a2b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-27T17:50:13.285Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-27T17:50:13.575Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-27T17:50:13.861Z] + ls /var/log/sa-host [2022-06-27T17:50:13.861Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-27T17:50:13.992Z] provisioning config files... [2022-06-27T17:50:14.001Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-91@tmp/config68410349844286823tmp [Pipeline] { [Pipeline] echo [2022-06-27T17:50:14.015Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T17:50:14.297Z] ---> create-netrc.sh [Pipeline] } [2022-06-27T17:50:14.312Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-27T17:50:14.698Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-27T17:50:14.712Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T17:50:15.005Z] ---> sudo-logs.sh [2022-06-27T17:50:15.005Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-27T17:50:15.028Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T17:50:15.311Z] ---> job-cost.sh [2022-06-27T17:50:15.311Z] lf-activate-venv: SKIPPING [2022-06-27T17:50:15.311Z] DEBUG: total: 0.2199999988079071 [2022-06-27T17:50:15.311Z] INFO: Retrieving Stack Cost... [2022-06-27T17:50:15.572Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-27T17:50:16.143Z] INFO: Archiving Costs [Pipeline] echo [2022-06-27T17:50:16.154Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-27T17:50:16.440Z] ---> logs-deploy.sh [2022-06-27T17:50:16.440Z] lf-activate-venv: SKIPPING [2022-06-27T17:50:16.440Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-91/2 [2022-06-27T17:50:16.440Z] INFO: archiving workspace using pattern(s): [2022-06-27T17:50:17.381Z] Archives upload complete. [2022-06-27T17:50:17.381Z] INFO: archiving logs to Nexus