Pull request #81 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 ChristianDarr-personal for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at 19d22e422abd2bf1e17912171b3c0bb2febc4a3e rather than c42fd471127165706481da0ca66c467f38a127dc Obtained Jenkinsfile from 19d22e422abd2bf1e17912171b3c0bb2febc4a3e 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-ssh22284945985552649.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-ssh4765453968304037721.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-81/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-81/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16733228564351493367.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-ssh6600299132928938585.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-81/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-81/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh12123883484684020260.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 ‘prd-ubuntu20.04-docker-8c-8g-1692’ is offline Running on prd-ubuntu20.04-docker-8c-8g-1694 in /w/workspace/oundry_device-onvif-camera_PR-81 [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-81 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/81/head:refs/remotes/origin/PR-81 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 19d22e422abd2bf1e17912171b3c0bb2febc4a3e into PR head commit c42fd471127165706481da0ca66c467f38a127dc Merge succeeded, producing bb4dceb3d03006ae68f83a2a6f71827234cbcc16 Checking out Revision bb4dceb3d03006ae68f83a2a6f71827234cbcc16 (PR-81) > git config core.sparsecheckout # timeout=10 > git checkout -f c42fd471127165706481da0ca66c467f38a127dc # 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 19d22e422abd2bf1e17912171b3c0bb2febc4a3e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bb4dceb3d03006ae68f83a2a6f71827234cbcc16 # timeout=10 Commit message: "Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-07T22:41:28.882Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-07T22:41:28.967Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-07T22:41:28.993Z] ========================================================= [2022-06-07T22:41:28.993Z] EdgeX Global Pipelines Version Info [2022-06-07T22:41:28.993Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 5e5f413254ceb7c751dff220c972a1e802ed8f1e # timeout=10 [2022-06-07T22:41:29.800Z] ------------------- [2022-06-07T22:41:29.800Z] stable info: [2022-06-07T22:41:29.800Z] ------------------- [2022-06-07T22:41:29.800Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-07T22:41:29.800Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-07T22:41:29.800Z] Message: update stable to v1.0.234 [2022-06-07T22:41:30.379Z] ------------------- [2022-06-07T22:41:30.379Z] experimental info: [2022-06-07T22:41:30.379Z] ------------------- [2022-06-07T22:41:30.379Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-07T22:41:30.379Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-07T22:41:30.379Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-07T22:41:30.612Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-06-07T22:41:30.625Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-06-07T22:41:30.639Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-07T22:41:30.655Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-07T22:41:30.673Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-07T22:41:30.686Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-07T22:41:30.702Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-07T22:41:30.721Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-07T22:41:30.741Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-07T22:41:30.758Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-07T22:41:30.777Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-07T22:41:30.793Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-06-07T22:41:30.810Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-07T22:41:30.829Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-07T22:41:30.853Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-07T22:41:30.873Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-07T22:41:30.890Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-07T22:41:30.920Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-07T22:41:30.936Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-07T22:41:30.954Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-07T22:41:30.970Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-07T22:41:30.987Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-07T22:41:31.006Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-07T22:41:31.024Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-07T22:41:31.040Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-07T22:41:31.054Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-07T22:41:31.069Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-07T22:41:31.085Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-81 [Pipeline] echo [2022-06-07T22:41:31.100Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-81 [Pipeline] echo [2022-06-07T22:41:31.115Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-81 [Pipeline] echo [2022-06-07T22:41:31.128Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bb4dceb3d03006ae68f83a2a6f71827234cbcc16 [Pipeline] echo [2022-06-07T22:41:31.145Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bb4dceb [Pipeline] echo [2022-06-07T22:41:31.172Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T22:41:31.224Z] provisioning config files... [2022-06-07T22:41:31.240Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config1250569078443877121tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T22:41:31.567Z] ---> docker-login.sh [2022-06-07T22:41:31.567Z] nexus3.edgexfoundry.org:10001 [2022-06-07T22:41:31.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:41:31.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:41:31.835Z] Configure a credential helper to remove this warning. See [2022-06-07T22:41:31.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:41:31.835Z] [2022-06-07T22:41:31.835Z] Login Succeeded [2022-06-07T22:41:31.835Z] nexus3.edgexfoundry.org:10002 [2022-06-07T22:41:31.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:41:32.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:41:32.113Z] Configure a credential helper to remove this warning. See [2022-06-07T22:41:32.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:41:32.113Z] [2022-06-07T22:41:32.113Z] Login Succeeded [2022-06-07T22:41:32.113Z] nexus3.edgexfoundry.org:10003 [2022-06-07T22:41:32.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:41:32.113Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:41:32.113Z] Configure a credential helper to remove this warning. See [2022-06-07T22:41:32.113Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:41:32.113Z] [2022-06-07T22:41:32.113Z] Login Succeeded [2022-06-07T22:41:32.113Z] nexus3.edgexfoundry.org:10004 [2022-06-07T22:41:32.113Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:41:32.379Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:41:32.379Z] Configure a credential helper to remove this warning. See [2022-06-07T22:41:32.379Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:41:32.379Z] [2022-06-07T22:41:32.379Z] Login Succeeded [2022-06-07T22:41:32.379Z] docker.io [2022-06-07T22:41:32.379Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:41:32.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:41:32.645Z] Configure a credential helper to remove this warning. See [2022-06-07T22:41:32.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:41:32.645Z] [2022-06-07T22:41:32.645Z] Login Succeeded [2022-06-07T22:41:32.645Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T22:41:32.659Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-07T22:41:33.129Z] + git rev-list -1 --merges bb4dceb3d03006ae68f83a2a6f71827234cbcc16~1..bb4dceb3d03006ae68f83a2a6f71827234cbcc16 [Pipeline] echo [2022-06-07T22:41:33.236Z] -----------> git rev-list -1 --merges bb4dceb3d03006ae68f83a2a6f71827234cbcc16~1..bb4dceb3d03006ae68f83a2a6f71827234cbcc16 bb4dceb3d03006ae68f83a2a6f71827234cbcc16 [2022-06-07T22:41:33.236Z] bb4dceb3d03006ae68f83a2a6f71827234cbcc16 [false] [Pipeline] sh [2022-06-07T22:41:33.552Z] + git log --format=format:%s -1 bb4dceb3d03006ae68f83a2a6f71827234cbcc16 [Pipeline] echo [2022-06-07T22:41:33.569Z] ========================================================= [2022-06-07T22:41:33.569Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-07T22:41:33.569Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T22:41:33.948Z] + git log --format=format:%s -1 bb4dceb3d03006ae68f83a2a6f71827234cbcc16 [Pipeline] echo [2022-06-07T22:41:33.965Z] [semverPrep] GIT_COMMIT: bb4dceb3d03006ae68f83a2a6f71827234cbcc16, Commit Message: Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD [Pipeline] echo [2022-06-07T22:41:33.977Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-07T22:41:34.410Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-07T22:41:34.410Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-07T22:41:34.410Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-07T22:41:34.410Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-07T22:41:34.410Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-07T22:41:34.410Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-07T22:41:34.410Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T22:41:34.901Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T22:41:34.901Z] [2022-06-07T22:41:34.901Z] 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-07T22:41:35.212Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T22:41:35.212Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-07T22:41:35.212Z] 42c077c10790: Pulling fs layer [2022-06-07T22:41:35.212Z] f63e77b7563a: Pulling fs layer [2022-06-07T22:41:35.212Z] bd5fdadae976: Pulling fs layer [2022-06-07T22:41:35.212Z] 205491f53016: Pulling fs layer [2022-06-07T22:41:35.212Z] df18705c85c3: Pulling fs layer [2022-06-07T22:41:35.212Z] bdb3f477010e: Pulling fs layer [2022-06-07T22:41:35.212Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-07T22:41:35.212Z] 2c6e9b1d212d: Pulling fs layer [2022-06-07T22:41:35.212Z] bdb8f0575790: Pulling fs layer [2022-06-07T22:41:35.212Z] 386e3cb2ff24: Pulling fs layer [2022-06-07T22:41:35.212Z] 2343380bae48: Pulling fs layer [2022-06-07T22:41:35.212Z] df18705c85c3: Waiting [2022-06-07T22:41:35.212Z] bdb8f0575790: Waiting [2022-06-07T22:41:35.212Z] bdb3f477010e: Waiting [2022-06-07T22:41:35.212Z] 386e3cb2ff24: Waiting [2022-06-07T22:41:35.212Z] c8a8fc8e1c8f: Waiting [2022-06-07T22:41:35.212Z] 205491f53016: Waiting [2022-06-07T22:41:35.212Z] f63e77b7563a: Download complete [2022-06-07T22:41:35.212Z] 205491f53016: Verifying Checksum [2022-06-07T22:41:35.212Z] 205491f53016: Download complete [2022-06-07T22:41:35.474Z] bd5fdadae976: Verifying Checksum [2022-06-07T22:41:35.474Z] bd5fdadae976: Download complete [2022-06-07T22:41:35.474Z] bdb3f477010e: Download complete [2022-06-07T22:41:35.474Z] df18705c85c3: Verifying Checksum [2022-06-07T22:41:35.474Z] df18705c85c3: Download complete [2022-06-07T22:41:35.474Z] 2c6e9b1d212d: Download complete [2022-06-07T22:41:35.474Z] bdb8f0575790: Download complete [2022-06-07T22:41:35.474Z] 386e3cb2ff24: Verifying Checksum [2022-06-07T22:41:35.474Z] 386e3cb2ff24: Download complete [2022-06-07T22:41:35.735Z] 2343380bae48: Verifying Checksum [2022-06-07T22:41:35.735Z] 2343380bae48: Download complete [2022-06-07T22:41:35.735Z] 42c077c10790: Download complete [2022-06-07T22:41:35.997Z] c8a8fc8e1c8f: Download complete [2022-06-07T22:41:36.939Z] 42c077c10790: Pull complete [2022-06-07T22:41:36.939Z] f63e77b7563a: Pull complete [2022-06-07T22:41:37.522Z] bd5fdadae976: Pull complete [2022-06-07T22:41:37.522Z] 205491f53016: Pull complete [2022-06-07T22:41:37.791Z] df18705c85c3: Pull complete [2022-06-07T22:41:37.791Z] bdb3f477010e: Pull complete [2022-06-07T22:41:39.719Z] c8a8fc8e1c8f: Pull complete [2022-06-07T22:41:39.982Z] 2c6e9b1d212d: Pull complete [2022-06-07T22:41:39.982Z] bdb8f0575790: Pull complete [2022-06-07T22:41:39.982Z] 386e3cb2ff24: Pull complete [2022-06-07T22:41:40.247Z] 2343380bae48: Pull complete [2022-06-07T22:41:40.247Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-07T22:41:40.247Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T22:41:40.247Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T22:41:40.403Z] prd-ubuntu20.04-docker-8c-8g-1694 does not seem to be running inside a container [2022-06-07T22:41:40.471Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-07T22:41:41.912Z] $ docker top 34ba441a5d3164866feb0577ae65ee36ace94d3205a2591e32b596f431ede6a3 -eo pid,comm [2022-06-07T22:41:41.976Z] 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-07T22:41:41.976Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-07T22:41:42.017Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T22:41:42.017Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T22:41:42.139Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T22:41:42.148Z] $ docker exec 34ba441a5d3164866feb0577ae65ee36ace94d3205a2591e32b596f431ede6a3 ssh-agent [2022-06-07T22:41:42.270Z] SSH_AUTH_SOCK=/tmp/ssh-YxUqrsCPvrQc/agent.34 [2022-06-07T22:41:42.270Z] SSH_AGENT_PID=40 [2022-06-07T22:41:42.278Z] Running ssh-add (command line suppressed) [2022-06-07T22:41:42.408Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_7783581693907549222.key (/w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_7783581693907549222.key) [2022-06-07T22:41:42.428Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T22:41:42.765Z] + git tag --points-at HEAD [Pipeline] } [2022-06-07T22:41:42.798Z] $ docker exec --env ******** --env ******** 34ba441a5d3164866feb0577ae65ee36ace94d3205a2591e32b596f431ede6a3 ssh-agent -k [2022-06-07T22:41:42.919Z] unset SSH_AUTH_SOCK; [2022-06-07T22:41:42.920Z] unset SSH_AGENT_PID; [2022-06-07T22:41:42.920Z] echo Agent pid 40 killed; [2022-06-07T22:41:42.941Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-07T22:41:42.985Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T22:41:42.985Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T22:41:43.133Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T22:41:43.142Z] $ docker exec 34ba441a5d3164866feb0577ae65ee36ace94d3205a2591e32b596f431ede6a3 ssh-agent [2022-06-07T22:41:43.275Z] SSH_AUTH_SOCK=/tmp/ssh-njCm0Mvo1HVA/agent.73 [2022-06-07T22:41:43.275Z] SSH_AGENT_PID=79 [2022-06-07T22:41:43.285Z] Running ssh-add (command line suppressed) [2022-06-07T22:41:43.414Z] Identity added: /w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_2814621540593180478.key (/w/workspace/oundry_device-onvif-camera_PR-81@tmp/private_key_2814621540593180478.key) [2022-06-07T22:41:43.424Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T22:41:43.729Z] + git semver init [2022-06-07T22:41:44.016Z] 2022-06-07 22:41:43,945 [run_init] DEBUG init version:0.0.0 force:False [2022-06-07T22:41:44.017Z] 2022-06-07 22:41:43,946 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/oundry_device-onvif-camera_PR-81/.semver [2022-06-07T22:41:44.017Z] 2022-06-07 22:41:43,946 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/oundry_device-onvif-camera_PR-81/.semver [2022-06-07T22:41:44.017Z] 2022-06-07 22:41:43,947 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/oundry_device-onvif-camera_PR-81/.semver'], cwd=/w/workspace/oundry_device-onvif-camera_PR-81, universal_newlines=False, shell=None, istream=None) [2022-06-07T22:41:44.989Z] 2022-06-07 22:41:44,621 [append_file] DEBUG append to file:/w/workspace/oundry_device-onvif-camera_PR-81/.git/info/exclude [2022-06-07T22:41:44.989Z] 2022-06-07 22:41:44,622 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 with force:False [2022-06-07T22:41:44.989Z] 2022-06-07 22:41:44,622 [write_file] DEBUG write to file:/w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 [2022-06-07T22:41:44.989Z] 2022-06-07 22:41:44,627 [execute] INFO git cat-file --batch-check [2022-06-07T22:41:44.989Z] 2022-06-07 22:41:44,628 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/oundry_device-onvif-camera_PR-81/.semver, universal_newlines=False, shell=None, istream=) [2022-06-07T22:41:44.989Z] 2022-06-07 22:41:44,635 [execute] INFO git cat-file --batch [2022-06-07T22:41:44.989Z] 2022-06-07 22:41:44,635 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/oundry_device-onvif-camera_PR-81/.semver, universal_newlines=False, shell=None, istream=) [2022-06-07T22:41:44.989Z] 2022-06-07 22:41:44,641 [read_version] DEBUG read version from /w/workspace/oundry_device-onvif-camera_PR-81/.semver/PR-81 [2022-06-07T22:41:44.989Z] 0.0.0 [Pipeline] } [2022-06-07T22:41:45.007Z] $ docker exec --env ******** --env ******** 34ba441a5d3164866feb0577ae65ee36ace94d3205a2591e32b596f431ede6a3 ssh-agent -k [2022-06-07T22:41:45.126Z] unset SSH_AUTH_SOCK; [2022-06-07T22:41:45.126Z] unset SSH_AGENT_PID; [2022-06-07T22:41:45.126Z] echo Agent pid 79 killed; [2022-06-07T22:41:45.134Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-07T22:41:45.453Z] + git semver [Pipeline] } [2022-06-07T22:41:45.742Z] $ docker stop --time=1 34ba441a5d3164866feb0577ae65ee36ace94d3205a2591e32b596f431ede6a3 [2022-06-07T22:41:47.105Z] $ docker rm -f 34ba441a5d3164866feb0577ae65ee36ace94d3205a2591e32b596f431ede6a3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T22:41:47.487Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-07T22:41:47.773Z] Stashed 1 file(s) [Pipeline] echo [2022-06-07T22:41:47.775Z] [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-07T22:41:48.029Z] provisioning config files... [2022-06-07T22:41:48.055Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config7207753735586896541tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T22:41:48.415Z] ---> docker-login.sh [2022-06-07T22:41:48.415Z] nexus3.edgexfoundry.org:10001 [2022-06-07T22:41:48.415Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:41:48.415Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:41:48.415Z] Configure a credential helper to remove this warning. See [2022-06-07T22:41:48.415Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:41:48.415Z] [2022-06-07T22:41:48.415Z] Login Succeeded [2022-06-07T22:41:48.415Z] nexus3.edgexfoundry.org:10002 [2022-06-07T22:41:48.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:41:48.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:41:48.692Z] Configure a credential helper to remove this warning. See [2022-06-07T22:41:48.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:41:48.692Z] [2022-06-07T22:41:48.692Z] Login Succeeded [2022-06-07T22:41:48.692Z] nexus3.edgexfoundry.org:10003 [2022-06-07T22:41:48.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:41:48.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:41:48.692Z] Configure a credential helper to remove this warning. See [2022-06-07T22:41:48.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:41:48.692Z] [2022-06-07T22:41:48.692Z] Login Succeeded [2022-06-07T22:41:48.692Z] nexus3.edgexfoundry.org:10004 [2022-06-07T22:41:48.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:41:48.981Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:41:48.981Z] Configure a credential helper to remove this warning. See [2022-06-07T22:41:48.981Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:41:48.981Z] [2022-06-07T22:41:48.981Z] Login Succeeded [2022-06-07T22:41:48.981Z] docker.io [2022-06-07T22:41:48.981Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:41:49.260Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:41:49.260Z] Configure a credential helper to remove this warning. See [2022-06-07T22:41:49.260Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:41:49.260Z] [2022-06-07T22:41:49.260Z] Login Succeeded [2022-06-07T22:41:49.260Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T22:41:49.275Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-07T22:41:49.388Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T22:41:49.419Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T22:41:49.439Z] ========================================================= [2022-06-07T22:41:49.439Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-07T22:41:49.439Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T22:41:49.817Z] + 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-07T22:41:49.817Z] Sending build context to Docker daemon 8.935MB [2022-06-07T22:41:49.817Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T22:41:49.817Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-07T22:41:50.109Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-07T22:41:50.109Z] 59bf1c3509f3: Pulling fs layer [2022-06-07T22:41:50.109Z] 666ba61612fd: Pulling fs layer [2022-06-07T22:41:50.109Z] 8ed8ca486205: Pulling fs layer [2022-06-07T22:41:50.109Z] cc1cd167ecdc: Pulling fs layer [2022-06-07T22:41:50.109Z] c516ae0d96e1: Pulling fs layer [2022-06-07T22:41:50.109Z] 684cea983483: Pulling fs layer [2022-06-07T22:41:50.109Z] dd3240ac7de5: Pulling fs layer [2022-06-07T22:41:50.109Z] b1e948a4e11c: Pulling fs layer [2022-06-07T22:41:50.109Z] a8fd76ee1af6: Pulling fs layer [2022-06-07T22:41:50.109Z] 646ad004c059: Pulling fs layer [2022-06-07T22:41:50.109Z] dd3240ac7de5: Waiting [2022-06-07T22:41:50.109Z] b1e948a4e11c: Waiting [2022-06-07T22:41:50.109Z] a8fd76ee1af6: Waiting [2022-06-07T22:41:50.109Z] 646ad004c059: Waiting [2022-06-07T22:41:50.109Z] cc1cd167ecdc: Waiting [2022-06-07T22:41:50.109Z] c516ae0d96e1: Waiting [2022-06-07T22:41:50.109Z] 684cea983483: Waiting [2022-06-07T22:41:50.109Z] 8ed8ca486205: Verifying Checksum [2022-06-07T22:41:50.109Z] 8ed8ca486205: Download complete [2022-06-07T22:41:50.109Z] 666ba61612fd: Verifying Checksum [2022-06-07T22:41:50.109Z] 666ba61612fd: Download complete [2022-06-07T22:41:50.109Z] c516ae0d96e1: Verifying Checksum [2022-06-07T22:41:50.109Z] c516ae0d96e1: Download complete [2022-06-07T22:41:50.109Z] 684cea983483: Verifying Checksum [2022-06-07T22:41:50.109Z] 684cea983483: Download complete [2022-06-07T22:41:50.109Z] dd3240ac7de5: Verifying Checksum [2022-06-07T22:41:50.109Z] dd3240ac7de5: Download complete [2022-06-07T22:41:50.109Z] 59bf1c3509f3: Verifying Checksum [2022-06-07T22:41:50.109Z] 59bf1c3509f3: Download complete [2022-06-07T22:41:50.396Z] 59bf1c3509f3: Pull complete [2022-06-07T22:41:50.396Z] 666ba61612fd: Pull complete [2022-06-07T22:41:50.396Z] b1e948a4e11c: Verifying Checksum [2022-06-07T22:41:50.396Z] b1e948a4e11c: Download complete [2022-06-07T22:41:50.677Z] 8ed8ca486205: Pull complete [2022-06-07T22:41:52.097Z] a8fd76ee1af6: Verifying Checksum [2022-06-07T22:41:52.098Z] a8fd76ee1af6: Download complete [2022-06-07T22:41:52.098Z] 646ad004c059: Verifying Checksum [2022-06-07T22:41:52.098Z] 646ad004c059: Download complete [2022-06-07T22:41:52.356Z] cc1cd167ecdc: Verifying Checksum [2022-06-07T22:41:52.356Z] cc1cd167ecdc: Download complete [2022-06-07T22:41:56.638Z] cc1cd167ecdc: Pull complete [2022-06-07T22:41:56.638Z] c516ae0d96e1: Pull complete [2022-06-07T22:41:56.638Z] 684cea983483: Pull complete [2022-06-07T22:41:56.638Z] dd3240ac7de5: Pull complete [2022-06-07T22:41:56.638Z] b1e948a4e11c: Pull complete [2022-06-07T22:41:58.609Z] a8fd76ee1af6: Pull complete [2022-06-07T22:41:59.589Z] 646ad004c059: Pull complete [2022-06-07T22:41:59.589Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-07T22:41:59.589Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-07T22:41:59.589Z] ---> 8f69c11f6b0c [2022-06-07T22:41:59.589Z] Step 3/13 : ARG MAKE="make build" [2022-06-07T22:42:01.024Z] ---> Running in 8d3ed9ba861b [2022-06-07T22:42:01.309Z] Removing intermediate container 8d3ed9ba861b [2022-06-07T22:42:01.309Z] ---> 44c7651a602d [2022-06-07T22:42:01.309Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T22:42:01.309Z] ---> Running in 1d498acb12b8 [2022-06-07T22:42:01.309Z] Removing intermediate container 1d498acb12b8 [2022-06-07T22:42:01.309Z] ---> dcfde3f94821 [2022-06-07T22:42:01.309Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T22:42:01.309Z] ---> Running in a2f2bba76f91 [2022-06-07T22:42:01.580Z] Removing intermediate container a2f2bba76f91 [2022-06-07T22:42:01.581Z] ---> 2ac7861b855b [2022-06-07T22:42:01.581Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-07T22:42:01.581Z] ---> Running in 44f7424bc9ec [2022-06-07T22:42:01.581Z] Removing intermediate container 44f7424bc9ec [2022-06-07T22:42:01.581Z] ---> a50a54aa8d82 [2022-06-07T22:42:01.581Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T22:42:01.581Z] ---> Running in 297e2126a025 [2022-06-07T22:42:02.165Z] Removing intermediate container 297e2126a025 [2022-06-07T22:42:02.165Z] ---> 56874e7460bc [2022-06-07T22:42:02.165Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T22:42:02.165Z] ---> Running in c42b3241fe1e [2022-06-07T22:42:02.759Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-07T22:42:02.953Z] Still waiting to schedule task [2022-06-07T22:42:02.953Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-1693’ is offline [2022-06-07T22:42:03.343Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-07T22:42:03.609Z] OK: 221 MiB in 52 packages [2022-06-07T22:42:04.185Z] Removing intermediate container c42b3241fe1e [2022-06-07T22:42:04.185Z] ---> 98f18898a274 [2022-06-07T22:42:04.185Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-07T22:42:04.185Z] ---> Running in af76a56ab31c [2022-06-07T22:42:04.185Z] Removing intermediate container af76a56ab31c [2022-06-07T22:42:04.185Z] ---> f3bc12995f9f [2022-06-07T22:42:04.185Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-07T22:42:04.470Z] ---> fd587b403b9b [2022-06-07T22:42:04.470Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T22:42:04.470Z] ---> Running in f4c70dfe391d [2022-06-07T22:42:19.594Z] Removing intermediate container f4c70dfe391d [2022-06-07T22:42:19.594Z] ---> 76fe2729d471 [2022-06-07T22:42:19.594Z] Step 12/13 : COPY . . [2022-06-07T22:42:19.594Z] ---> 04625ebb2a43 [2022-06-07T22:42:19.594Z] Step 13/13 : RUN ${MAKE} [2022-06-07T22:42:19.594Z] ---> Running in 445d6e6f4c15 [2022-06-07T22:42:19.594Z] noop [2022-06-07T22:42:19.885Z] Removing intermediate container 445d6e6f4c15 [2022-06-07T22:42:19.885Z] ---> d4184e0962f0 [2022-06-07T22:42:19.885Z] Successfully built d4184e0962f0 [2022-06-07T22:42:19.885Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T22:42:20.316Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-07T22:42:20.317Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T22:42:20.452Z] prd-ubuntu20.04-docker-8c-8g-1694 does not seem to be running inside a container [2022-06-07T22:42:20.544Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-07T22:42:20.977Z] $ docker top 6461acbdcb4582f8e6de196b97a5f6ed9d118812aeb45b6632766c8f8ef5d113 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T22:42:21.403Z] + go version [2022-06-07T22:42:21.404Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-07T22:42:21.422Z] $ docker stop --time=1 6461acbdcb4582f8e6de196b97a5f6ed9d118812aeb45b6632766c8f8ef5d113 [2022-06-07T22:42:22.756Z] $ docker rm -f 6461acbdcb4582f8e6de196b97a5f6ed9d118812aeb45b6632766c8f8ef5d113 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T22:42:23.349Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-07T22:42:23.349Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T22:42:23.505Z] prd-ubuntu20.04-docker-8c-8g-1694 does not seem to be running inside a container [2022-06-07T22:42:23.646Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/oundry_device-onvif-camera_PR-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-07T22:42:24.088Z] $ docker top 2757fe0bf5065cd4cec1cb09d13c7425dc47fc701848fb4de5625c3c3875fd36 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-07T22:42:24.589Z] + make test [2022-06-07T22:42:24.589Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-07T22:42:24.885Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-07T22:42:34.968Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-07T22:42:35.236Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.016s coverage: 1.2% of statements [2022-06-07T22:42:39.504Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.069s coverage: 13.8% of statements [2022-06-07T22:42:47.747Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-07T22:42:52.049Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-07T22:42:52.049Z] ./internal/driver/driver.go [2022-06-07T22:42:52.049Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-07T22:42:52.049Z] make: *** [Makefile:57: test] Error 1 [Pipeline] } [2022-06-07T22:42:52.080Z] $ docker stop --time=1 2757fe0bf5065cd4cec1cb09d13c7425dc47fc701848fb4de5625c3c3875fd36 [2022-06-07T22:42:54.150Z] $ docker rm -f 2757fe0bf5065cd4cec1cb09d13c7425dc47fc701848fb4de5625c3c3875fd36 [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-07T22:42:54.927Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T22:42:54.927Z] [2022-06-07T22:42:54.927Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T22:42:55.296Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T22:42:55.296Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-07T22:42:55.296Z] 5eb5b503b376: Pulling fs layer [2022-06-07T22:42:55.296Z] 5c69ac0246d0: Pulling fs layer [2022-06-07T22:42:55.296Z] ec43610c2a17: Pulling fs layer [2022-06-07T22:42:55.296Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-07T22:42:55.296Z] 33b1e0a273af: Pulling fs layer [2022-06-07T22:42:55.296Z] 5d3b04190fa2: Pulling fs layer [2022-06-07T22:42:55.296Z] 2f39f015ded8: Pulling fs layer [2022-06-07T22:42:55.296Z] 2f39f015ded8: Waiting [2022-06-07T22:42:55.296Z] 3a2ae6a8a46f: Waiting [2022-06-07T22:42:55.296Z] 5d3b04190fa2: Waiting [2022-06-07T22:42:55.296Z] 33b1e0a273af: Waiting [2022-06-07T22:42:55.296Z] 5c69ac0246d0: Verifying Checksum [2022-06-07T22:42:55.296Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-07T22:42:55.296Z] 3a2ae6a8a46f: Download complete [2022-06-07T22:42:55.296Z] 33b1e0a273af: Verifying Checksum [2022-06-07T22:42:55.296Z] 33b1e0a273af: Download complete [2022-06-07T22:42:55.562Z] 5d3b04190fa2: Verifying Checksum [2022-06-07T22:42:55.562Z] 5d3b04190fa2: Download complete [2022-06-07T22:42:55.562Z] ec43610c2a17: Verifying Checksum [2022-06-07T22:42:55.562Z] ec43610c2a17: Download complete [2022-06-07T22:42:55.562Z] 5eb5b503b376: Verifying Checksum [2022-06-07T22:42:55.563Z] 5eb5b503b376: Download complete [2022-06-07T22:42:56.558Z] 2f39f015ded8: Download complete [2022-06-07T22:42:57.148Z] 5eb5b503b376: Pull complete [2022-06-07T22:42:57.410Z] 5c69ac0246d0: Pull complete [2022-06-07T22:42:57.997Z] ec43610c2a17: Pull complete [2022-06-07T22:42:57.997Z] 3a2ae6a8a46f: Pull complete [2022-06-07T22:42:58.267Z] 33b1e0a273af: Pull complete [2022-06-07T22:42:58.267Z] 5d3b04190fa2: Pull complete [2022-06-07T22:43:03.602Z] 2f39f015ded8: Pull complete [2022-06-07T22:43:03.602Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-07T22:43:03.602Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T22:43:03.602Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T22:43:03.732Z] prd-ubuntu20.04-docker-8c-8g-1694 does not seem to be running inside a container [2022-06-07T22:43:03.841Z] $ 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-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-07T22:43:05.939Z] $ docker top 996ebd250d9c651372ac97860d3484850595cf30d883bd63b95d7fe6797cf1b2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T22:43:06.364Z] ---> job-cost.sh [2022-06-07T22:43:06.364Z] lf-activate-venv: SKIPPING [2022-06-07T22:43:06.364Z] INFO: No Stack... [2022-06-07T22:43:06.946Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-07T22:43:07.212Z] INFO: Archiving Costs [Pipeline] sh [2022-06-07T22:43:07.525Z] + cat /w/workspace/oundry_device-onvif-camera_PR-81/archives/cost.csv [2022-06-07T22:43:07.526Z] + cut -d, -f6 [Pipeline] lock [2022-06-07T22:43:07.545Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-81-7-stack-cost] [2022-06-07T22:43:07.557Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-7-stack-cost] did not exist. Created. [2022-06-07T22:43:07.557Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-81-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-07T22:43:07.890Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-07T22:43:07.938Z] Stashed 1 file(s) [Pipeline] } [2022-06-07T22:43:07.953Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-07T22:43:07.981Z] $ docker stop --time=1 996ebd250d9c651372ac97860d3484850595cf30d883bd63b95d7fe6797cf1b2 [2022-06-07T22:43:09.172Z] $ docker rm -f 996ebd250d9c651372ac97860d3484850595cf30d883bd63b95d7fe6797cf1b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-07T22:43:09.343Z] Failed in branch amd64 [2022-06-07T22:43:42.830Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1695 in /w/workspace/oundry_device-onvif-camera_PR-81 [Pipeline] { [Pipeline] ws [2022-06-07T22:43:42.846Z] Running in /w/workspace/device-onvif-camera/7 [Pipeline] { [Pipeline] checkout [2022-06-07T22:43:42.887Z] Selected Git installation does not exist. Using Default [2022-06-07T22:43:42.887Z] The recommended git tool is: NONE [2022-06-07T22:43:48.045Z] using credential edgex-jenkins-ssh [2022-06-07T22:43:48.073Z] Cloning the remote Git repository [2022-06-07T22:43:48.129Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-07T22:43:48.229Z] > git init /w/workspace/device-onvif-camera/7 # timeout=10 [2022-06-07T22:43:48.312Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-07T22:43:48.312Z] > git --version # timeout=10 [2022-06-07T22:43:48.329Z] > git --version # 'git version 2.25.1' [2022-06-07T22:43:48.331Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T22:43:48.449Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-07T22:43:49.873Z] Merging remotes/origin/main commit 19d22e422abd2bf1e17912171b3c0bb2febc4a3e into PR head commit c42fd471127165706481da0ca66c467f38a127dc [2022-06-07T22:43:50.254Z] Merge succeeded, producing 34550789741a4b9a815ecef927b119849de77219 [2022-06-07T22:43:50.255Z] Checking out Revision 34550789741a4b9a815ecef927b119849de77219 (PR-81) [2022-06-07T22:43:49.250Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-07T22:43:49.267Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-07T22:43:49.291Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-06-07T22:43:49.324Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-06-07T22:43:49.325Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T22:43:49.338Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/81/head:refs/remotes/origin/PR-81 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-07T22:43:49.896Z] > git config core.sparsecheckout # timeout=10 [2022-06-07T22:43:49.917Z] > git checkout -f c42fd471127165706481da0ca66c467f38a127dc # timeout=10 [2022-06-07T22:43:50.062Z] > git remote # timeout=10 [2022-06-07T22:43:50.077Z] > git config --get remote.origin.url # timeout=10 [2022-06-07T22:43:50.091Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T22:43:50.103Z] > git merge 19d22e422abd2bf1e17912171b3c0bb2febc4a3e # timeout=10 [2022-06-07T22:43:50.233Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-07T22:43:50.265Z] > git config core.sparsecheckout # timeout=10 [2022-06-07T22:43:50.287Z] > git checkout -f 34550789741a4b9a815ecef927b119849de77219 # timeout=10 [2022-06-07T22:43:54.686Z] Commit message: "Merge commit '19d22e422abd2bf1e17912171b3c0bb2febc4a3e' into HEAD" [2022-06-07T22:43:54.713Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T22:43:55.653Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-07T22:43:55.653Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-07T22:43:55.653Z] Dload Upload Total Spent Left Speed [2022-06-07T22:43:55.653Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 40572 0 --:--:-- --:--:-- --:--:-- 40572 [2022-06-07T22:43:54.696Z] > git rev-list --no-walk 5e5f413254ceb7c751dff220c972a1e802ed8f1e # timeout=10 [Pipeline] sh [2022-06-07T22:43:56.549Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-07T22:43:56.914Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-07T22:43:56.914Z] + sudo tee /etc/docker/daemon.new [2022-06-07T22:43:56.914Z] { [2022-06-07T22:43:56.914Z] "registry-mirrors": [ [2022-06-07T22:43:56.914Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-07T22:43:56.914Z] ], [2022-06-07T22:43:56.914Z] "bip": "10.250.0.254/24", [2022-06-07T22:43:56.914Z] "hosts": [ [2022-06-07T22:43:56.914Z] "tcp://0.0.0.0:5555", [2022-06-07T22:43:56.914Z] "unix:///var/run/docker.sock" [2022-06-07T22:43:56.914Z] ], [2022-06-07T22:43:56.914Z] "mtu": 1458, [2022-06-07T22:43:56.914Z] "selinux-enabled": true, [2022-06-07T22:43:56.914Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-07T22:43:56.914Z] } [Pipeline] sh [2022-06-07T22:43:57.275Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-07T22:43:57.638Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T22:44:16.113Z] provisioning config files... [2022-06-07T22:44:16.140Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/7@tmp/config6390999705876675356tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T22:44:16.557Z] ---> docker-login.sh [2022-06-07T22:44:16.557Z] nexus3.edgexfoundry.org:10001 [2022-06-07T22:44:17.200Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:44:17.479Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:44:17.479Z] Configure a credential helper to remove this warning. See [2022-06-07T22:44:17.479Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:44:17.479Z] [2022-06-07T22:44:17.479Z] Login Succeeded [2022-06-07T22:44:17.479Z] nexus3.edgexfoundry.org:10002 [2022-06-07T22:44:17.757Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:44:17.757Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:44:17.757Z] Configure a credential helper to remove this warning. See [2022-06-07T22:44:17.757Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:44:17.757Z] [2022-06-07T22:44:17.757Z] Login Succeeded [2022-06-07T22:44:17.757Z] nexus3.edgexfoundry.org:10003 [2022-06-07T22:44:18.358Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:44:18.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:44:18.358Z] Configure a credential helper to remove this warning. See [2022-06-07T22:44:18.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:44:18.358Z] [2022-06-07T22:44:18.358Z] Login Succeeded [2022-06-07T22:44:18.358Z] nexus3.edgexfoundry.org:10004 [2022-06-07T22:44:18.643Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:44:18.924Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:44:18.924Z] Configure a credential helper to remove this warning. See [2022-06-07T22:44:18.924Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:44:18.924Z] [2022-06-07T22:44:18.924Z] Login Succeeded [2022-06-07T22:44:18.924Z] docker.io [2022-06-07T22:44:19.207Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T22:44:19.501Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T22:44:19.501Z] Configure a credential helper to remove this warning. See [2022-06-07T22:44:19.501Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T22:44:19.501Z] [2022-06-07T22:44:19.501Z] Login Succeeded [2022-06-07T22:44:19.501Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T22:44:19.541Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-07T22:44:20.135Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T22:44:20.162Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T22:44:20.187Z] ========================================================= [2022-06-07T22:44:20.187Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-07T22:44:20.187Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T22:44:20.645Z] + 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-07T22:44:20.942Z] Sending build context to Docker daemon 6.156MB [2022-06-07T22:44:20.942Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T22:44:20.942Z] Step 2/13 : FROM ${BASE} AS builder [2022-06-07T22:44:21.245Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-07T22:44:21.245Z] 9b3977197b4f: Pulling fs layer [2022-06-07T22:44:21.245Z] 1a89e8eeedd5: Pulling fs layer [2022-06-07T22:44:21.245Z] 94645a83ff95: Pulling fs layer [2022-06-07T22:44:21.245Z] e6fb740bc735: Pulling fs layer [2022-06-07T22:44:21.245Z] 3a77bd46dcc9: Pulling fs layer [2022-06-07T22:44:21.245Z] 355e64cbe906: Pulling fs layer [2022-06-07T22:44:21.245Z] 63ab81a10011: Pulling fs layer [2022-06-07T22:44:21.245Z] 555d1d1c4555: Pulling fs layer [2022-06-07T22:44:21.245Z] 7d9057610161: Pulling fs layer [2022-06-07T22:44:21.245Z] e6fb740bc735: Waiting [2022-06-07T22:44:21.245Z] 3a77bd46dcc9: Waiting [2022-06-07T22:44:21.245Z] 355e64cbe906: Waiting [2022-06-07T22:44:21.245Z] 7d9057610161: Waiting [2022-06-07T22:44:21.245Z] 63ab81a10011: Waiting [2022-06-07T22:44:21.245Z] 555d1d1c4555: Waiting [2022-06-07T22:44:21.245Z] 94645a83ff95: Verifying Checksum [2022-06-07T22:44:21.245Z] 94645a83ff95: Download complete [2022-06-07T22:44:21.245Z] 1a89e8eeedd5: Verifying Checksum [2022-06-07T22:44:21.245Z] 1a89e8eeedd5: Download complete [2022-06-07T22:44:21.245Z] 3a77bd46dcc9: Verifying Checksum [2022-06-07T22:44:21.245Z] 3a77bd46dcc9: Download complete [2022-06-07T22:44:21.245Z] 355e64cbe906: Verifying Checksum [2022-06-07T22:44:21.245Z] 355e64cbe906: Download complete [2022-06-07T22:44:21.245Z] 63ab81a10011: Verifying Checksum [2022-06-07T22:44:21.245Z] 9b3977197b4f: Verifying Checksum [2022-06-07T22:44:21.245Z] 9b3977197b4f: Download complete [2022-06-07T22:44:21.245Z] 63ab81a10011: Download complete [2022-06-07T22:44:22.254Z] 9b3977197b4f: Pull complete [2022-06-07T22:44:22.530Z] 7d9057610161: Verifying Checksum [2022-06-07T22:44:22.530Z] 7d9057610161: Download complete [2022-06-07T22:44:22.817Z] 1a89e8eeedd5: Pull complete [2022-06-07T22:44:23.104Z] 94645a83ff95: Pull complete [2022-06-07T22:44:23.384Z] 555d1d1c4555: Verifying Checksum [2022-06-07T22:44:23.384Z] 555d1d1c4555: Download complete [2022-06-07T22:44:23.990Z] e6fb740bc735: Verifying Checksum [2022-06-07T22:44:23.990Z] e6fb740bc735: Download complete [2022-06-07T22:44:36.470Z] e6fb740bc735: Pull complete [2022-06-07T22:44:36.470Z] 3a77bd46dcc9: Pull complete [2022-06-07T22:44:36.470Z] 355e64cbe906: Pull complete [2022-06-07T22:44:36.470Z] 63ab81a10011: Pull complete [2022-06-07T22:44:43.222Z] 555d1d1c4555: Pull complete [2022-06-07T22:44:44.696Z] 7d9057610161: Pull complete [2022-06-07T22:44:44.696Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-07T22:44:44.696Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-07T22:44:44.971Z] ---> 819e984ddca1 [2022-06-07T22:44:44.971Z] Step 3/13 : ARG MAKE="make build" [2022-06-07T22:44:45.581Z] ---> Running in 6eb1474ba444 [2022-06-07T22:44:45.862Z] Removing intermediate container 6eb1474ba444 [2022-06-07T22:44:45.862Z] ---> d7422f3d55dc [2022-06-07T22:44:45.862Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T22:44:46.160Z] ---> Running in bba702dc0c31 [2022-06-07T22:44:46.437Z] Removing intermediate container bba702dc0c31 [2022-06-07T22:44:46.438Z] ---> 6fc6d8ac7b22 [2022-06-07T22:44:46.438Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T22:44:46.438Z] ---> Running in db349487c296 [2022-06-07T22:44:46.717Z] Removing intermediate container db349487c296 [2022-06-07T22:44:46.717Z] ---> 2f1c51896a1c [2022-06-07T22:44:46.717Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-06-07T22:44:46.996Z] ---> Running in cf382e811061 [2022-06-07T22:44:47.274Z] Removing intermediate container cf382e811061 [2022-06-07T22:44:47.274Z] ---> 7b83f355ba9a [2022-06-07T22:44:47.274Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T22:44:47.274Z] ---> Running in b82187364b91 [2022-06-07T22:44:49.273Z] Removing intermediate container b82187364b91 [2022-06-07T22:44:49.274Z] ---> b0693902e690 [2022-06-07T22:44:49.274Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T22:44:49.274Z] ---> Running in bb1982bf54db [2022-06-07T22:44:49.885Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-07T22:44:50.900Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-07T22:44:51.917Z] OK: 220 MiB in 52 packages [2022-06-07T22:44:52.545Z] Removing intermediate container bb1982bf54db [2022-06-07T22:44:52.545Z] ---> 640b5931ccf2 [2022-06-07T22:44:52.545Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-06-07T22:44:52.545Z] ---> Running in 3637545d30d5 [2022-06-07T22:44:52.843Z] Removing intermediate container 3637545d30d5 [2022-06-07T22:44:52.843Z] ---> 0b2beacbc4c1 [2022-06-07T22:44:52.843Z] Step 10/13 : COPY go.mod vendor* ./ [2022-06-07T22:44:53.454Z] ---> b4dd47a2566d [2022-06-07T22:44:53.454Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T22:44:53.454Z] ---> Running in ee92b25d928d [2022-06-07T22:45:40.720Z] Removing intermediate container ee92b25d928d [2022-06-07T22:45:40.720Z] ---> fbd67d523c92 [2022-06-07T22:45:40.720Z] Step 12/13 : COPY . . [2022-06-07T22:45:41.321Z] ---> 57211d94c99c [2022-06-07T22:45:41.321Z] Step 13/13 : RUN ${MAKE} [2022-06-07T22:45:41.321Z] ---> Running in eae8aef7a2ea [2022-06-07T22:45:42.781Z] noop [2022-06-07T22:45:43.387Z] Removing intermediate container eae8aef7a2ea [2022-06-07T22:45:43.387Z] ---> 8b3a8a82cd22 [2022-06-07T22:45:43.387Z] Successfully built 8b3a8a82cd22 [2022-06-07T22:45:43.387Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T22:45:43.763Z] + docker inspect -f . ci-base-image-arm64 [2022-06-07T22:45:43.763Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T22:45:44.018Z] prd-ubuntu20.04-docker-arm64-4c-16g-1695 does not seem to be running inside a container [2022-06-07T22:45:44.105Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-07T22:45:45.398Z] $ docker top d8c7ef1552f95766190aff20ec0c85f7d0fc75b541c058fd32c34a3e380d8b74 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T22:45:46.362Z] + go version [2022-06-07T22:45:46.362Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-07T22:45:46.403Z] $ docker stop --time=1 d8c7ef1552f95766190aff20ec0c85f7d0fc75b541c058fd32c34a3e380d8b74 [2022-06-07T22:45:48.019Z] $ docker rm -f d8c7ef1552f95766190aff20ec0c85f7d0fc75b541c058fd32c34a3e380d8b74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T22:45:48.652Z] + docker inspect -f . ci-base-image-arm64 [2022-06-07T22:45:48.652Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T22:45:48.893Z] prd-ubuntu20.04-docker-arm64-4c-16g-1695 does not seem to be running inside a container [2022-06-07T22:45:48.988Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-07T22:45:50.225Z] $ docker top 773021543aec08ba5eaf0309d2b5352cff701c27075e68a6b45ab76366bdd2db -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-07T22:45:51.154Z] + make test [2022-06-07T22:45:51.154Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-07T22:45:53.153Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-06-07T22:47:15.076Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-06-07T22:47:15.076Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.075s coverage: 1.2% of statements [2022-06-07T22:47:41.935Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 27.847s coverage: 13.8% of statements [2022-06-07T22:47:41.935Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-07T22:47:41.935Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-07T22:48:04.201Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-07T22:48:04.201Z] ./internal/driver/driver.go [2022-06-07T22:48:04.201Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-07T22:48:04.476Z] make: *** [Makefile:57: test] Error 1 [Pipeline] } [2022-06-07T22:48:04.509Z] $ docker stop --time=1 773021543aec08ba5eaf0309d2b5352cff701c27075e68a6b45ab76366bdd2db [2022-06-07T22:48:06.256Z] $ docker rm -f 773021543aec08ba5eaf0309d2b5352cff701c27075e68a6b45ab76366bdd2db [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-07T22:48:07.436Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T22:48:07.436Z] [2022-06-07T22:48:07.436Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T22:48:07.819Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T22:48:08.113Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-07T22:48:08.113Z] 8998bd30e6a1: Pulling fs layer [2022-06-07T22:48:08.113Z] 04944245beec: Pulling fs layer [2022-06-07T22:48:08.113Z] 699f458cf7ca: Pulling fs layer [2022-06-07T22:48:08.113Z] 765212b225bb: Pulling fs layer [2022-06-07T22:48:08.113Z] f23df028b6ca: Pulling fs layer [2022-06-07T22:48:08.113Z] d65c8cfc05b1: Pulling fs layer [2022-06-07T22:48:08.113Z] 2437ff75d9bd: Pulling fs layer [2022-06-07T22:48:08.113Z] f23df028b6ca: Waiting [2022-06-07T22:48:08.113Z] d65c8cfc05b1: Waiting [2022-06-07T22:48:08.113Z] 2437ff75d9bd: Waiting [2022-06-07T22:48:08.113Z] 765212b225bb: Waiting [2022-06-07T22:48:08.113Z] 04944245beec: Verifying Checksum [2022-06-07T22:48:08.113Z] 04944245beec: Download complete [2022-06-07T22:48:08.113Z] 765212b225bb: Verifying Checksum [2022-06-07T22:48:08.113Z] 765212b225bb: Download complete [2022-06-07T22:48:08.396Z] f23df028b6ca: Verifying Checksum [2022-06-07T22:48:08.396Z] f23df028b6ca: Download complete [2022-06-07T22:48:08.396Z] d65c8cfc05b1: Verifying Checksum [2022-06-07T22:48:08.397Z] d65c8cfc05b1: Download complete [2022-06-07T22:48:08.397Z] 699f458cf7ca: Verifying Checksum [2022-06-07T22:48:08.397Z] 699f458cf7ca: Download complete [2022-06-07T22:48:08.998Z] 8998bd30e6a1: Verifying Checksum [2022-06-07T22:48:08.998Z] 8998bd30e6a1: Download complete [2022-06-07T22:48:10.991Z] 2437ff75d9bd: Verifying Checksum [2022-06-07T22:48:10.991Z] 2437ff75d9bd: Download complete [2022-06-07T22:48:13.775Z] 8998bd30e6a1: Pull complete [2022-06-07T22:48:14.056Z] 04944245beec: Pull complete [2022-06-07T22:48:16.053Z] 699f458cf7ca: Pull complete [2022-06-07T22:48:16.053Z] 765212b225bb: Pull complete [2022-06-07T22:48:16.654Z] f23df028b6ca: Pull complete [2022-06-07T22:48:16.928Z] d65c8cfc05b1: Pull complete [2022-06-07T22:48:32.060Z] 2437ff75d9bd: Pull complete [2022-06-07T22:48:32.060Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-07T22:48:32.060Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T22:48:32.060Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T22:48:32.329Z] prd-ubuntu20.04-docker-arm64-4c-16g-1695 does not seem to be running inside a container [2022-06-07T22:48:32.466Z] $ 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/7 -v /w/workspace/device-onvif-camera/7:/w/workspace/device-onvif-camera/7:rw,z -v /w/workspace/device-onvif-camera/7@tmp:/w/workspace/device-onvif-camera/7@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-07T22:48:34.229Z] $ docker top f7fe3e802b70d5ddbcab63f48ea7e393334edf94c8187da4074e21d51e37049a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T22:48:35.142Z] ---> job-cost.sh [2022-06-07T22:48:35.142Z] lf-activate-venv: SKIPPING [2022-06-07T22:48:35.142Z] INFO: No Stack... [2022-06-07T22:48:35.737Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-07T22:48:36.330Z] INFO: Archiving Costs [Pipeline] sh [2022-06-07T22:48:37.000Z] + + cat /w/workspace/device-onvif-camera/7/archives/cost.csvcut [2022-06-07T22:48:37.000Z] -d, -f6 [Pipeline] lock [2022-06-07T22:48:37.066Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-81-7-stack-cost] [2022-06-07T22:48:37.071Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-7-stack-cost] did not exist. Created. [2022-06-07T22:48:37.071Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-81-7-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-07T22:48:37.748Z] /w/workspace/device-onvif-camera/7@tmp/durable-f9b034ce/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-07T22:48:38.421Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-07T22:48:38.442Z] Warning: overwriting stash ‘stack-cost’ [2022-06-07T22:48:38.888Z] Stashed 1 file(s) [Pipeline] } [2022-06-07T22:48:38.896Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-81-7-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-07T22:48:38.922Z] $ docker stop --time=1 f7fe3e802b70d5ddbcab63f48ea7e393334edf94c8187da4074e21d51e37049a [2022-06-07T22:48:40.417Z] $ docker rm -f f7fe3e802b70d5ddbcab63f48ea7e393334edf94c8187da4074e21d51e37049a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-07T22:48:40.746Z] 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-07T22:48:41.559Z] + [ -d /w/workspace/oundry_device-onvif-camera_PR-81/archives ] [2022-06-07T22:48:41.559Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-81/archives [2022-06-07T22:48:41.559Z] total 16 [2022-06-07T22:48:41.559Z] drwxr-xr-x 3 root root 4096 Jun 7 22:43 . [2022-06-07T22:48:41.559Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 22:43 .. [2022-06-07T22:48:41.559Z] drwxr-xr-x 2 root root 4096 Jun 7 22:43 cost [2022-06-07T22:48:41.559Z] -rw-r--r-- 1 root root 89 Jun 7 22:43 cost.csv [2022-06-07T22:48:41.559Z] + sudo chown -R jenkins:jenkins /w/workspace/oundry_device-onvif-camera_PR-81/archives [2022-06-07T22:48:41.559Z] + ls -al /w/workspace/oundry_device-onvif-camera_PR-81/archives [2022-06-07T22:48:41.559Z] total 16 [2022-06-07T22:48:41.559Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 22:43 . [2022-06-07T22:48:41.559Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 22:43 .. [2022-06-07T22:48:41.559Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 7 22:43 cost [2022-06-07T22:48:41.559Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 7 22:43 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-07T22:48:41.855Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T22:48:42.729Z] ---> package-listing.sh [2022-06-07T22:48:42.730Z] ++ facter osfamily [2022-06-07T22:48:42.730Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-07T22:48:42.994Z] + OS_FAMILY=debian [2022-06-07T22:48:42.994Z] + workspace=/w/workspace/oundry_device-onvif-camera_PR-81 [2022-06-07T22:48:42.994Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-07T22:48:42.994Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-07T22:48:42.994Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-07T22:48:42.994Z] + PACKAGES=/tmp/packages_start.txt [2022-06-07T22:48:42.994Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-81 ']' [2022-06-07T22:48:42.994Z] + PACKAGES=/tmp/packages_end.txt [2022-06-07T22:48:42.994Z] + case "${OS_FAMILY}" in [2022-06-07T22:48:42.994Z] + dpkg -l [2022-06-07T22:48:42.994Z] + grep '^ii' [2022-06-07T22:48:42.994Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-07T22:48:42.994Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-07T22:48:42.994Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-07T22:48:42.994Z] + '[' /w/workspace/oundry_device-onvif-camera_PR-81 ']' [2022-06-07T22:48:42.994Z] + mkdir -p /w/workspace/oundry_device-onvif-camera_PR-81/archives/ [2022-06-07T22:48:42.994Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/oundry_device-onvif-camera_PR-81/archives/ [Pipeline] echo [2022-06-07T22:48:43.005Z] 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-81/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-07T22:48:43.290Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T22:48:43.897Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T22:48:43.897Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T22:48:44.021Z] prd-ubuntu20.04-docker-8c-8g-1694 does not seem to be running inside a container [2022-06-07T22:48:44.092Z] $ 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-81/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-81 -v /w/workspace/oundry_device-onvif-camera_PR-81:/w/workspace/oundry_device-onvif-camera_PR-81:rw,z -v /w/workspace/oundry_device-onvif-camera_PR-81@tmp:/w/workspace/oundry_device-onvif-camera_PR-81@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-07T22:48:44.350Z] $ docker top 9df29aeaf870bf55b6c345fe51ae69ebe2cef760e9ae2c5b0f80fb14622bd69a -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T22:48:44.881Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-07T22:48:45.221Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-07T22:48:45.593Z] + ls /var/log/sa-host [2022-06-07T22:48:45.593Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T22:48:45.881Z] provisioning config files... [2022-06-07T22:48:45.893Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/oundry_device-onvif-camera_PR-81@tmp/config7795657059399177638tmp [Pipeline] { [Pipeline] echo [2022-06-07T22:48:45.918Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T22:48:46.276Z] ---> create-netrc.sh [Pipeline] } [2022-06-07T22:48:46.307Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-07T22:48:46.705Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-07T22:48:46.719Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T22:48:47.050Z] ---> sudo-logs.sh [2022-06-07T22:48:47.050Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-07T22:48:47.081Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T22:48:47.370Z] ---> job-cost.sh [2022-06-07T22:48:47.370Z] lf-activate-venv: SKIPPING [2022-06-07T22:48:47.370Z] DEBUG: total: 0.2199999988079071 [2022-06-07T22:48:47.370Z] INFO: Retrieving Stack Cost... [2022-06-07T22:48:47.945Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-07T22:48:48.209Z] INFO: Archiving Costs [Pipeline] echo [2022-06-07T22:48:48.226Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T22:48:48.534Z] ---> logs-deploy.sh [2022-06-07T22:48:48.534Z] lf-activate-venv: SKIPPING [2022-06-07T22:48:48.534Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-81/7 [2022-06-07T22:48:48.534Z] INFO: archiving workspace using pattern(s): [2022-06-07T22:48:49.501Z] Archives upload complete. [2022-06-07T22:48:49.501Z] INFO: archiving logs to Nexus