Pull request #149 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 EdgeX-Camera-Management for edgexfoundry/device-onvif-camera Loading trusted files from base branch main at b7cedde85df3692c69591f25206326ca90501e4e rather than 43a7de078c9fcfff079bbac4f4eb0e402a9618f9 Obtained Jenkinsfile from b7cedde85df3692c69591f25206326ca90501e4e 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-ssh2245291038079949701.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh17682238487978485481.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-149/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-149/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12335404459572595295.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh17917778666421818472.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-149/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-149/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10833891453906608657.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-23980 in /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout Selected Git installation does not exist. Using Default The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git > git init /w/workspace/undry_device-onvif-camera_PR-149 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit b7cedde85df3692c69591f25206326ca90501e4e into PR head commit 43a7de078c9fcfff079bbac4f4eb0e402a9618f9 Merge succeeded, producing 43a7de078c9fcfff079bbac4f4eb0e402a9618f9 Checking out Revision 43a7de078c9fcfff079bbac4f4eb0e402a9618f9 (PR-149) > 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/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 43a7de078c9fcfff079bbac4f4eb0e402a9618f9 # 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 b7cedde85df3692c69591f25206326ca90501e4e # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 43a7de078c9fcfff079bbac4f4eb0e402a9618f9 # timeout=10 Commit message: "test: pr updates" > git rev-list --no-walk 2f781575491c841ae15c40439f19df8de3c71576 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-08-30T19:51:37.232Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-08-30T19:51:37.306Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-08-30T19:51:37.326Z] ========================================================= [2022-08-30T19:51:37.326Z] EdgeX Global Pipelines Version Info [2022-08-30T19:51:37.326Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-08-30T19:51:38.100Z] ------------------- [2022-08-30T19:51:38.101Z] stable info: [2022-08-30T19:51:38.101Z] ------------------- [2022-08-30T19:51:38.101Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-08-30T19:51:38.101Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-30T19:51:38.101Z] Message: update stable to v1.0.239 [2022-08-30T19:51:38.674Z] ------------------- [2022-08-30T19:51:38.674Z] experimental info: [2022-08-30T19:51:38.674Z] ------------------- [2022-08-30T19:51:38.674Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-08-30T19:51:38.674Z] Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d [2022-08-30T19:51:38.674Z] Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-08-30T19:51:38.926Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2022-08-30T19:51:38.937Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2022-08-30T19:51:38.951Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-08-30T19:51:38.966Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-08-30T19:51:38.985Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-08-30T19:51:39.002Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-08-30T19:51:39.012Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-08-30T19:51:39.024Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-08-30T19:51:39.038Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-08-30T19:51:39.058Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-08-30T19:51:39.077Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-08-30T19:51:39.094Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2022-08-30T19:51:39.110Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-08-30T19:51:39.125Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-08-30T19:51:39.137Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-08-30T19:51:39.152Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-08-30T19:51:39.165Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-08-30T19:51:39.182Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-08-30T19:51:39.200Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-08-30T19:51:39.216Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-08-30T19:51:39.231Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2022-08-30T19:51:39.247Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2022-08-30T19:51:39.264Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-08-30T19:51:39.280Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-08-30T19:51:39.297Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-08-30T19:51:39.315Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-08-30T19:51:39.331Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-08-30T19:51:39.340Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-149 [Pipeline] echo [2022-08-30T19:51:39.349Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-149 [Pipeline] echo [2022-08-30T19:51:39.364Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-149 [Pipeline] echo [2022-08-30T19:51:39.376Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 43a7de078c9fcfff079bbac4f4eb0e402a9618f9 [Pipeline] echo [2022-08-30T19:51:39.385Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 43a7de0 [Pipeline] echo [2022-08-30T19:51:39.394Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-30T19:51:39.447Z] provisioning config files... [2022-08-30T19:51:39.462Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config8869026461143434792tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T19:51:39.767Z] ---> docker-login.sh [2022-08-30T19:51:39.767Z] nexus3.edgexfoundry.org:10001 [2022-08-30T19:51:40.028Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T19:51:40.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T19:51:40.289Z] Configure a credential helper to remove this warning. See [2022-08-30T19:51:40.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T19:51:40.289Z] [2022-08-30T19:51:40.289Z] Login Succeeded [2022-08-30T19:51:40.289Z] nexus3.edgexfoundry.org:10002 [2022-08-30T19:51:40.289Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T19:51:40.289Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T19:51:40.289Z] Configure a credential helper to remove this warning. See [2022-08-30T19:51:40.289Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T19:51:40.289Z] [2022-08-30T19:51:40.289Z] Login Succeeded [2022-08-30T19:51:40.289Z] nexus3.edgexfoundry.org:10003 [2022-08-30T19:51:40.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T19:51:40.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T19:51:40.550Z] Configure a credential helper to remove this warning. See [2022-08-30T19:51:40.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T19:51:40.550Z] [2022-08-30T19:51:40.550Z] Login Succeeded [2022-08-30T19:51:40.550Z] nexus3.edgexfoundry.org:10004 [2022-08-30T19:51:40.550Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T19:51:40.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T19:51:40.550Z] Configure a credential helper to remove this warning. See [2022-08-30T19:51:40.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T19:51:40.550Z] [2022-08-30T19:51:40.550Z] Login Succeeded [2022-08-30T19:51:40.550Z] docker.io [2022-08-30T19:51:40.811Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T19:51:41.073Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T19:51:41.073Z] Configure a credential helper to remove this warning. See [2022-08-30T19:51:41.073Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T19:51:41.073Z] [2022-08-30T19:51:41.073Z] Login Succeeded [2022-08-30T19:51:41.073Z] ---> docker-login.sh ends [Pipeline] } [2022-08-30T19:51:41.082Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-08-30T19:51:41.474Z] + git rev-list -1 --merges 43a7de078c9fcfff079bbac4f4eb0e402a9618f9~1..43a7de078c9fcfff079bbac4f4eb0e402a9618f9 [Pipeline] echo [2022-08-30T19:51:41.513Z] -----------> git rev-list -1 --merges 43a7de078c9fcfff079bbac4f4eb0e402a9618f9~1..43a7de078c9fcfff079bbac4f4eb0e402a9618f9 43a7de078c9fcfff079bbac4f4eb0e402a9618f9 [false] [Pipeline] sh [2022-08-30T19:51:41.808Z] + git log --format=format:%s -1 43a7de078c9fcfff079bbac4f4eb0e402a9618f9 [Pipeline] echo [2022-08-30T19:51:41.825Z] ========================================================= [2022-08-30T19:51:41.825Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-08-30T19:51:41.825Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-30T19:51:42.166Z] + git log --format=format:%s -1 43a7de078c9fcfff079bbac4f4eb0e402a9618f9 [Pipeline] echo [2022-08-30T19:51:42.177Z] [semverPrep] GIT_COMMIT: 43a7de078c9fcfff079bbac4f4eb0e402a9618f9, Commit Message: test: pr updates [Pipeline] echo [2022-08-30T19:51:42.185Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-08-30T19:51:42.554Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-08-30T19:51:42.554Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-08-30T19:51:42.554Z] + [ -e /tmp/ssh_known_hosts ] [2022-08-30T19:51:42.554Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-08-30T19:51:42.554Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-08-30T19:51:42.554Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-08-30T19:51:42.554Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T19:51:43.049Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-30T19:51:43.049Z] [2022-08-30T19:51:43.049Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T19:51:43.360Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-30T19:51:43.360Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-08-30T19:51:43.360Z] b85a868b505f: Pulling fs layer [2022-08-30T19:51:43.360Z] e2be974225ed: Pulling fs layer [2022-08-30T19:51:43.360Z] 339a4e72a1f5: Pulling fs layer [2022-08-30T19:51:43.360Z] 988bab9f4d93: Pulling fs layer [2022-08-30T19:51:43.360Z] 1469e6f7b9e6: Pulling fs layer [2022-08-30T19:51:43.360Z] eaf3925da568: Pulling fs layer [2022-08-30T19:51:43.360Z] bab4dde63d76: Pulling fs layer [2022-08-30T19:51:43.360Z] bde34c3a00c8: Pulling fs layer [2022-08-30T19:51:43.360Z] eaf3925da568: Waiting [2022-08-30T19:51:43.360Z] 1469e6f7b9e6: Waiting [2022-08-30T19:51:43.360Z] 988bab9f4d93: Waiting [2022-08-30T19:51:43.360Z] bab4dde63d76: Waiting [2022-08-30T19:51:43.361Z] bde34c3a00c8: Waiting [2022-08-30T19:51:43.361Z] b352a97aabf1: Pulling fs layer [2022-08-30T19:51:43.361Z] 4872d77fe225: Pulling fs layer [2022-08-30T19:51:43.361Z] 5851b861e8e6: Pulling fs layer [2022-08-30T19:51:43.361Z] b352a97aabf1: Waiting [2022-08-30T19:51:43.361Z] 5851b861e8e6: Waiting [2022-08-30T19:51:43.361Z] e2be974225ed: Download complete [2022-08-30T19:51:43.361Z] 988bab9f4d93: Download complete [2022-08-30T19:51:43.621Z] 1469e6f7b9e6: Verifying Checksum [2022-08-30T19:51:43.621Z] 1469e6f7b9e6: Download complete [2022-08-30T19:51:43.621Z] eaf3925da568: Verifying Checksum [2022-08-30T19:51:43.621Z] eaf3925da568: Download complete [2022-08-30T19:51:43.621Z] 339a4e72a1f5: Verifying Checksum [2022-08-30T19:51:43.622Z] 339a4e72a1f5: Download complete [2022-08-30T19:51:43.622Z] bde34c3a00c8: Verifying Checksum [2022-08-30T19:51:43.622Z] bde34c3a00c8: Download complete [2022-08-30T19:51:43.622Z] b352a97aabf1: Verifying Checksum [2022-08-30T19:51:43.622Z] b352a97aabf1: Download complete [2022-08-30T19:51:43.622Z] 4872d77fe225: Verifying Checksum [2022-08-30T19:51:43.622Z] 4872d77fe225: Download complete [2022-08-30T19:51:43.622Z] 5851b861e8e6: Verifying Checksum [2022-08-30T19:51:43.622Z] 5851b861e8e6: Download complete [2022-08-30T19:51:43.622Z] b85a868b505f: Verifying Checksum [2022-08-30T19:51:43.622Z] b85a868b505f: Download complete [2022-08-30T19:51:43.882Z] bab4dde63d76: Verifying Checksum [2022-08-30T19:51:43.882Z] bab4dde63d76: Download complete [2022-08-30T19:51:44.822Z] b85a868b505f: Pull complete [2022-08-30T19:51:45.086Z] e2be974225ed: Pull complete [2022-08-30T19:51:45.657Z] 339a4e72a1f5: Pull complete [2022-08-30T19:51:45.657Z] 988bab9f4d93: Pull complete [2022-08-30T19:51:45.919Z] 1469e6f7b9e6: Pull complete [2022-08-30T19:51:45.919Z] eaf3925da568: Pull complete [2022-08-30T19:51:47.863Z] bab4dde63d76: Pull complete [2022-08-30T19:51:48.124Z] bde34c3a00c8: Pull complete [2022-08-30T19:51:48.386Z] b352a97aabf1: Pull complete [2022-08-30T19:51:48.647Z] 4872d77fe225: Pull complete [2022-08-30T19:51:48.647Z] 5851b861e8e6: Pull complete [2022-08-30T19:51:48.647Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-08-30T19:51:48.647Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-08-30T19:51:48.647Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T19:51:48.747Z] prd-ubuntu20.04-docker-8c-8g-23980 does not seem to be running inside a container [2022-08-30T19:51:48.787Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-08-30T19:51:50.850Z] $ docker top 1bf8bfd29a373a43addc9d3335528a21118b5d6eef88c9cb4ad76ef9f7dfd493 -eo pid,comm [2022-08-30T19:51:50.906Z] 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-08-30T19:51:50.906Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-08-30T19:51:50.941Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-30T19:51:50.941Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-30T19:51:51.080Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-30T19:51:51.088Z] $ docker exec 1bf8bfd29a373a43addc9d3335528a21118b5d6eef88c9cb4ad76ef9f7dfd493 ssh-agent [2022-08-30T19:51:51.216Z] SSH_AUTH_SOCK=/tmp/ssh-CFsMAEfwsIjK/agent.34 [2022-08-30T19:51:51.216Z] SSH_AGENT_PID=40 [2022-08-30T19:51:51.223Z] Running ssh-add (command line suppressed) [2022-08-30T19:51:51.342Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_1202113409518482913.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_1202113409518482913.key) [2022-08-30T19:51:51.350Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-30T19:51:51.644Z] + git tag --points-at HEAD [Pipeline] } [2022-08-30T19:51:51.662Z] $ docker exec --env ******** --env ******** 1bf8bfd29a373a43addc9d3335528a21118b5d6eef88c9cb4ad76ef9f7dfd493 ssh-agent -k [2022-08-30T19:51:51.776Z] unset SSH_AUTH_SOCK; [2022-08-30T19:51:51.776Z] unset SSH_AGENT_PID; [2022-08-30T19:51:51.776Z] echo Agent pid 40 killed; [2022-08-30T19:51:51.791Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-08-30T19:51:51.821Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-08-30T19:51:51.821Z] [ssh-agent] Looking for ssh-agent implementation... [2022-08-30T19:51:51.947Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-08-30T19:51:51.955Z] $ docker exec 1bf8bfd29a373a43addc9d3335528a21118b5d6eef88c9cb4ad76ef9f7dfd493 ssh-agent [2022-08-30T19:51:52.083Z] SSH_AUTH_SOCK=/tmp/ssh-3P4Z8kM2iVnR/agent.72 [2022-08-30T19:51:52.083Z] SSH_AGENT_PID=79 [2022-08-30T19:51:52.088Z] Running ssh-add (command line suppressed) [2022-08-30T19:51:52.226Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_8962180362494270815.key (/w/workspace/undry_device-onvif-camera_PR-149@tmp/private_key_8962180362494270815.key) [2022-08-30T19:51:52.236Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-08-30T19:51:52.529Z] + git semver init [2022-08-30T19:51:52.790Z] 2022-08-30 19:51:52,712 [run_init] DEBUG init version:0.0.0 force:False [2022-08-30T19:51:52.790Z] 2022-08-30 19:51:52,713 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-149/.semver [2022-08-30T19:51:52.790Z] 2022-08-30 19:51:52,713 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-149/.semver [2022-08-30T19:51:52.790Z] 2022-08-30 19:51:52,714 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-149/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-149, universal_newlines=False, shell=None, istream=None) [2022-08-30T19:51:53.732Z] 2022-08-30 19:51:53,608 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-149/.git/info/exclude [2022-08-30T19:51:53.732Z] 2022-08-30 19:51:53,608 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 with force:False [2022-08-30T19:51:53.732Z] 2022-08-30 19:51:53,608 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 [2022-08-30T19:51:53.732Z] 2022-08-30 19:51:53,612 [execute] INFO git cat-file --batch-check [2022-08-30T19:51:53.732Z] 2022-08-30 19:51:53,613 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-149/.semver, universal_newlines=False, shell=None, istream=) [2022-08-30T19:51:53.732Z] 2022-08-30 19:51:53,618 [execute] INFO git cat-file --batch [2022-08-30T19:51:53.732Z] 2022-08-30 19:51:53,618 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-149/.semver, universal_newlines=False, shell=None, istream=) [2022-08-30T19:51:53.732Z] 2022-08-30 19:51:53,621 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-149/.semver/PR-149 [2022-08-30T19:51:53.732Z] 0.0.0 [Pipeline] } [2022-08-30T19:51:53.749Z] $ docker exec --env ******** --env ******** 1bf8bfd29a373a43addc9d3335528a21118b5d6eef88c9cb4ad76ef9f7dfd493 ssh-agent -k [2022-08-30T19:51:53.853Z] unset SSH_AUTH_SOCK; [2022-08-30T19:51:53.853Z] unset SSH_AGENT_PID; [2022-08-30T19:51:53.853Z] echo Agent pid 79 killed; [2022-08-30T19:51:53.861Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-08-30T19:51:54.165Z] + git semver [Pipeline] } [2022-08-30T19:51:54.450Z] $ docker stop --time=1 1bf8bfd29a373a43addc9d3335528a21118b5d6eef88c9cb4ad76ef9f7dfd493 [2022-08-30T19:51:55.755Z] $ docker rm -f 1bf8bfd29a373a43addc9d3335528a21118b5d6eef88c9cb4ad76ef9f7dfd493 [Pipeline] // withDockerContainer [Pipeline] sh [2022-08-30T19:51:56.109Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-08-30T19:51:56.368Z] Stashed 1 file(s) [Pipeline] echo [2022-08-30T19:51:56.371Z] [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-08-30T19:51:56.497Z] provisioning config files... [2022-08-30T19:51:56.507Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config7124522574388119229tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T19:51:56.809Z] ---> docker-login.sh [2022-08-30T19:51:56.809Z] nexus3.edgexfoundry.org:10001 [2022-08-30T19:51:56.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T19:51:56.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T19:51:56.809Z] Configure a credential helper to remove this warning. See [2022-08-30T19:51:56.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T19:51:56.809Z] [2022-08-30T19:51:56.809Z] Login Succeeded [2022-08-30T19:51:56.809Z] nexus3.edgexfoundry.org:10002 [2022-08-30T19:51:56.809Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T19:51:57.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T19:51:57.069Z] Configure a credential helper to remove this warning. See [2022-08-30T19:51:57.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T19:51:57.069Z] [2022-08-30T19:51:57.069Z] Login Succeeded [2022-08-30T19:51:57.069Z] nexus3.edgexfoundry.org:10003 [2022-08-30T19:51:57.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T19:51:57.069Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T19:51:57.069Z] Configure a credential helper to remove this warning. See [2022-08-30T19:51:57.069Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T19:51:57.069Z] [2022-08-30T19:51:57.069Z] Login Succeeded [2022-08-30T19:51:57.069Z] nexus3.edgexfoundry.org:10004 [2022-08-30T19:51:57.069Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T19:51:57.331Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T19:51:57.331Z] Configure a credential helper to remove this warning. See [2022-08-30T19:51:57.331Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T19:51:57.331Z] [2022-08-30T19:51:57.331Z] Login Succeeded [2022-08-30T19:51:57.331Z] docker.io [2022-08-30T19:51:57.331Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T19:51:57.591Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T19:51:57.591Z] Configure a credential helper to remove this warning. See [2022-08-30T19:51:57.591Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T19:51:57.591Z] [2022-08-30T19:51:57.591Z] Login Succeeded [2022-08-30T19:51:57.591Z] ---> docker-login.sh ends [Pipeline] } [2022-08-30T19:51:57.600Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-30T19:51:57.678Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T19:51:57.696Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T19:51:57.703Z] ========================================================= [2022-08-30T19:51:57.703Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-08-30T19:51:57.703Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T19:51:58.030Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-30T19:51:58.030Z] Sending build context to Docker daemon 20.62MB [2022-08-30T19:51:58.030Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-30T19:51:58.030Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-30T19:51:58.293Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-08-30T19:51:58.293Z] 2408cc74d12b: Pulling fs layer [2022-08-30T19:51:58.293Z] ea60b727a1ce: Pulling fs layer [2022-08-30T19:51:58.293Z] 30c4a7721957: Pulling fs layer [2022-08-30T19:51:58.293Z] 370296b7ddb6: Pulling fs layer [2022-08-30T19:51:58.293Z] 7c6cee850709: Pulling fs layer [2022-08-30T19:51:58.293Z] 39a5fcdaea64: Pulling fs layer [2022-08-30T19:51:58.293Z] d94ebbe4e438: Pulling fs layer [2022-08-30T19:51:58.293Z] bcfd1f05c69d: Pulling fs layer [2022-08-30T19:51:58.293Z] 59ccb84bbe0f: Pulling fs layer [2022-08-30T19:51:58.293Z] 370296b7ddb6: Waiting [2022-08-30T19:51:58.293Z] 7c6cee850709: Waiting [2022-08-30T19:51:58.293Z] 39a5fcdaea64: Waiting [2022-08-30T19:51:58.293Z] d94ebbe4e438: Waiting [2022-08-30T19:51:58.293Z] bcfd1f05c69d: Waiting [2022-08-30T19:51:58.293Z] 59ccb84bbe0f: Waiting [2022-08-30T19:51:58.293Z] 30c4a7721957: Verifying Checksum [2022-08-30T19:51:58.293Z] 30c4a7721957: Download complete [2022-08-30T19:51:58.293Z] ea60b727a1ce: Download complete [2022-08-30T19:51:58.293Z] 7c6cee850709: Verifying Checksum [2022-08-30T19:51:58.293Z] 7c6cee850709: Download complete [2022-08-30T19:51:58.293Z] 39a5fcdaea64: Verifying Checksum [2022-08-30T19:51:58.293Z] 39a5fcdaea64: Download complete [2022-08-30T19:51:58.293Z] 2408cc74d12b: Verifying Checksum [2022-08-30T19:51:58.293Z] 2408cc74d12b: Download complete [2022-08-30T19:51:58.293Z] d94ebbe4e438: Verifying Checksum [2022-08-30T19:51:58.293Z] d94ebbe4e438: Download complete [2022-08-30T19:51:58.556Z] 2408cc74d12b: Pull complete [2022-08-30T19:51:58.556Z] ea60b727a1ce: Pull complete [2022-08-30T19:51:58.556Z] 30c4a7721957: Pull complete [2022-08-30T19:51:58.556Z] 59ccb84bbe0f: Verifying Checksum [2022-08-30T19:51:58.556Z] 59ccb84bbe0f: Download complete [2022-08-30T19:51:58.817Z] bcfd1f05c69d: Verifying Checksum [2022-08-30T19:51:58.817Z] bcfd1f05c69d: Download complete [2022-08-30T19:51:59.078Z] 370296b7ddb6: Download complete [2022-08-30T19:52:03.281Z] 370296b7ddb6: Pull complete [2022-08-30T19:52:03.281Z] 7c6cee850709: Pull complete [2022-08-30T19:52:03.281Z] 39a5fcdaea64: Pull complete [2022-08-30T19:52:03.281Z] d94ebbe4e438: Pull complete [2022-08-30T19:52:05.189Z] bcfd1f05c69d: Pull complete [2022-08-30T19:52:05.757Z] 59ccb84bbe0f: Pull complete [2022-08-30T19:52:05.757Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-08-30T19:52:05.757Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-08-30T19:52:05.757Z] ---> a4fb48ad2a94 [2022-08-30T19:52:05.757Z] Step 3/13 : ARG MAKE="make build" [2022-08-30T19:52:09.962Z] ---> Running in 4c77f2472dc1 [2022-08-30T19:52:09.962Z] Removing intermediate container 4c77f2472dc1 [2022-08-30T19:52:09.962Z] ---> df0a7fd84ace [2022-08-30T19:52:09.962Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-30T19:52:09.962Z] ---> Running in 5b778c4f7818 [2022-08-30T19:52:09.962Z] Removing intermediate container 5b778c4f7818 [2022-08-30T19:52:09.962Z] ---> e757aa63ecae [2022-08-30T19:52:09.962Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-30T19:52:09.962Z] ---> Running in e9f73bde3a6b [2022-08-30T19:52:09.962Z] Removing intermediate container e9f73bde3a6b [2022-08-30T19:52:09.962Z] ---> 625e99c4375a [2022-08-30T19:52:09.962Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-30T19:52:09.962Z] ---> Running in b544b4856e66 [2022-08-30T19:52:09.962Z] Removing intermediate container b544b4856e66 [2022-08-30T19:52:09.962Z] ---> ff0c22110733 [2022-08-30T19:52:09.962Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-30T19:52:09.962Z] ---> Running in f8bf7c50da7b [2022-08-30T19:52:10.533Z] Removing intermediate container f8bf7c50da7b [2022-08-30T19:52:10.533Z] ---> 136fc717c88a [2022-08-30T19:52:10.533Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-30T19:52:10.533Z] ---> Running in 5f56dfdea5cd [2022-08-30T19:52:10.533Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-08-30T19:52:11.463Z] Still waiting to schedule task [2022-08-30T19:52:11.463Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2022-08-30T19:52:11.474Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-08-30T19:52:11.736Z] OK: 211 MiB in 51 packages [2022-08-30T19:52:11.997Z] Removing intermediate container 5f56dfdea5cd [2022-08-30T19:52:11.997Z] ---> b147ecfaddf0 [2022-08-30T19:52:11.997Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-30T19:52:11.997Z] ---> Running in a2a551d1cfc3 [2022-08-30T19:52:12.258Z] Removing intermediate container a2a551d1cfc3 [2022-08-30T19:52:12.258Z] ---> c59abb035473 [2022-08-30T19:52:12.258Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-30T19:52:12.258Z] ---> dac12ccc7b94 [2022-08-30T19:52:12.258Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-30T19:52:12.258Z] ---> Running in 77aca18b27c7 [2022-08-30T19:52:44.388Z] Removing intermediate container 77aca18b27c7 [2022-08-30T19:52:44.388Z] ---> 340cc79cf458 [2022-08-30T19:52:44.388Z] Step 12/13 : COPY . . [2022-08-30T19:52:44.388Z] ---> 930ebe693006 [2022-08-30T19:52:44.388Z] Step 13/13 : RUN ${MAKE} [2022-08-30T19:52:44.388Z] ---> Running in 9d3b1447dd05 [2022-08-30T19:52:44.388Z] noop [2022-08-30T19:52:44.388Z] Removing intermediate container 9d3b1447dd05 [2022-08-30T19:52:44.388Z] ---> 7d37e77bc5ff [2022-08-30T19:52:44.388Z] Successfully built 7d37e77bc5ff [2022-08-30T19:52:44.388Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T19:52:44.712Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-30T19:52:44.712Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T19:52:44.794Z] prd-ubuntu20.04-docker-8c-8g-23980 does not seem to be running inside a container [2022-08-30T19:52:44.836Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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 ******** ci-base-image-x86_64 cat [2022-08-30T19:52:45.174Z] $ docker top f2d3904f7b9a96aff761124ab845a4b950a38ab3a8795a0a65449f709ae18850 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T19:52:45.560Z] + go version [2022-08-30T19:52:45.560Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-08-30T19:52:45.597Z] $ docker stop --time=1 f2d3904f7b9a96aff761124ab845a4b950a38ab3a8795a0a65449f709ae18850 [2022-08-30T19:52:47.081Z] $ docker rm -f f2d3904f7b9a96aff761124ab845a4b950a38ab3a8795a0a65449f709ae18850 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T19:52:47.504Z] + docker inspect -f . ci-base-image-x86_64 [2022-08-30T19:52:47.504Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T19:52:47.587Z] prd-ubuntu20.04-docker-8c-8g-23980 does not seem to be running inside a container [2022-08-30T19:52:47.623Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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 ******** ci-base-image-x86_64 cat [2022-08-30T19:52:47.985Z] $ docker top c68972760cc01cb1ec855c306dfebf2551a64626f2a6a6e3647364d7eab97e4f -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T19:52:48.346Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] fileExists [Pipeline] sh [2022-08-30T19:52:48.651Z] + make test [2022-08-30T19:52:48.651Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-30T19:52:48.910Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-30T19:52:58.889Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-30T19:53:00.270Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.032s coverage: 24.0% of statements [2022-08-30T19:53:04.479Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 5.463s coverage: 13.8% of statements [2022-08-30T19:53:12.632Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2022-08-30T19:53:12.632Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-30T19:53:15.932Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-30T19:53:15.932Z] ./internal/driver/driver_test.go [2022-08-30T19:53:15.932Z] ./internal/driver/driver.go [2022-08-30T19:53:15.932Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-30T19:53:15.932Z] make: *** [Makefile:63: test] Error 1 [Pipeline] } [2022-08-30T19:53:15.952Z] $ docker stop --time=1 c68972760cc01cb1ec855c306dfebf2551a64626f2a6a6e3647364d7eab97e4f [2022-08-30T19:53:18.342Z] $ docker rm -f c68972760cc01cb1ec855c306dfebf2551a64626f2a6a6e3647364d7eab97e4f [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-08-30T19:53:18.938Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T19:53:18.938Z] [2022-08-30T19:53:18.938Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T19:53:19.244Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T19:53:19.245Z] latest: Pulling from edgex-lftools-log-publisher [2022-08-30T19:53:19.245Z] 5eb5b503b376: Pulling fs layer [2022-08-30T19:53:19.245Z] 5c69ac0246d0: Pulling fs layer [2022-08-30T19:53:19.245Z] ec43610c2a17: Pulling fs layer [2022-08-30T19:53:19.245Z] 3a2ae6a8a46f: Pulling fs layer [2022-08-30T19:53:19.245Z] 33b1e0a273af: Pulling fs layer [2022-08-30T19:53:19.245Z] 5d3b04190fa2: Pulling fs layer [2022-08-30T19:53:19.245Z] 2f39f015ded8: Pulling fs layer [2022-08-30T19:53:19.245Z] 33b1e0a273af: Waiting [2022-08-30T19:53:19.245Z] 2f39f015ded8: Waiting [2022-08-30T19:53:19.245Z] 3a2ae6a8a46f: Waiting [2022-08-30T19:53:19.245Z] 5c69ac0246d0: Verifying Checksum [2022-08-30T19:53:19.245Z] 5c69ac0246d0: Download complete [2022-08-30T19:53:19.245Z] 3a2ae6a8a46f: Verifying Checksum [2022-08-30T19:53:19.245Z] 3a2ae6a8a46f: Download complete [2022-08-30T19:53:19.504Z] 33b1e0a273af: Verifying Checksum [2022-08-30T19:53:19.504Z] 33b1e0a273af: Download complete [2022-08-30T19:53:19.504Z] 5d3b04190fa2: Verifying Checksum [2022-08-30T19:53:19.504Z] 5d3b04190fa2: Download complete [2022-08-30T19:53:19.504Z] ec43610c2a17: Verifying Checksum [2022-08-30T19:53:19.504Z] ec43610c2a17: Download complete [2022-08-30T19:53:19.504Z] 5eb5b503b376: Verifying Checksum [2022-08-30T19:53:19.504Z] 5eb5b503b376: Download complete [2022-08-30T19:53:20.071Z] 2f39f015ded8: Download complete [2022-08-30T19:53:21.013Z] 5eb5b503b376: Pull complete [2022-08-30T19:53:21.581Z] 5c69ac0246d0: Pull complete [2022-08-30T19:53:21.840Z] ec43610c2a17: Pull complete [2022-08-30T19:53:21.840Z] 3a2ae6a8a46f: Pull complete [2022-08-30T19:53:22.104Z] 33b1e0a273af: Pull complete [2022-08-30T19:53:22.364Z] 5d3b04190fa2: Pull complete [2022-08-30T19:53:27.671Z] 2f39f015ded8: Pull complete [2022-08-30T19:53:27.671Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-08-30T19:53:27.671Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T19:53:27.671Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T19:53:27.771Z] prd-ubuntu20.04-docker-8c-8g-23980 does not seem to be running inside a container [2022-08-30T19:53:27.813Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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-08-30T19:53:37.930Z] $ docker top 40b498024bc619cacdaf457c476a50dd8fb0fc2d7edd0997b997838119785832 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T19:53:38.370Z] ---> job-cost.sh [2022-08-30T19:53:38.370Z] lf-activate-venv: SKIPPING [2022-08-30T19:53:38.370Z] INFO: No Stack... [2022-08-30T19:53:38.952Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-30T19:53:39.213Z] INFO: Archiving Costs [Pipeline] sh [2022-08-30T19:53:39.520Z] + cat /w/workspace/undry_device-onvif-camera_PR-149/archives/cost.csv [2022-08-30T19:53:39.520Z] + cut -d, -f6 [Pipeline] lock [2022-08-30T19:53:39.536Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-10-stack-cost] [2022-08-30T19:53:39.541Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-10-stack-cost] did not exist. Created. [2022-08-30T19:53:39.541Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-30T19:53:39.859Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-08-30T19:53:39.914Z] Stashed 1 file(s) [Pipeline] } [2022-08-30T19:53:39.920Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-10-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-30T19:53:39.945Z] $ docker stop --time=1 40b498024bc619cacdaf457c476a50dd8fb0fc2d7edd0997b997838119785832 [2022-08-30T19:53:41.701Z] $ docker rm -f 40b498024bc619cacdaf457c476a50dd8fb0fc2d7edd0997b997838119785832 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-30T19:53:41.916Z] Failed in branch amd64 [2022-08-30T19:53:48.174Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-23981 in /w/workspace/undry_device-onvif-camera_PR-149 [Pipeline] { [Pipeline] ws [2022-08-30T19:53:48.186Z] Running in /w/workspace/device-onvif-camera/10 [Pipeline] { [Pipeline] checkout [2022-08-30T19:53:48.230Z] Selected Git installation does not exist. Using Default [2022-08-30T19:53:48.230Z] The recommended git tool is: NONE [2022-08-30T19:53:55.013Z] using credential edgex-jenkins-ssh [2022-08-30T19:53:55.033Z] Cloning the remote Git repository [2022-08-30T19:53:55.114Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-30T19:53:55.189Z] > git init /w/workspace/device-onvif-camera/10 # timeout=10 [2022-08-30T19:53:55.337Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-30T19:53:55.338Z] > git --version # timeout=10 [2022-08-30T19:53:55.382Z] > git --version # 'git version 2.25.1' [2022-08-30T19:53:55.384Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-30T19:53:55.543Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-30T19:53:59.937Z] Merging remotes/origin/main commit b7cedde85df3692c69591f25206326ca90501e4e into PR head commit 43a7de078c9fcfff079bbac4f4eb0e402a9618f9 [2022-08-30T19:54:00.273Z] Merge succeeded, producing 43a7de078c9fcfff079bbac4f4eb0e402a9618f9 [2022-08-30T19:54:00.273Z] Checking out Revision 43a7de078c9fcfff079bbac4f4eb0e402a9618f9 (PR-149) [2022-08-30T19:53:59.005Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-30T19:53:59.094Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-08-30T19:53:59.160Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2022-08-30T19:53:59.263Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2022-08-30T19:53:59.269Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-30T19:53:59.324Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/149/head:refs/remotes/origin/PR-149 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-08-30T19:53:59.957Z] > git config core.sparsecheckout # timeout=10 [2022-08-30T19:53:59.973Z] > git checkout -f 43a7de078c9fcfff079bbac4f4eb0e402a9618f9 # timeout=10 [2022-08-30T19:54:00.188Z] > git remote # timeout=10 [2022-08-30T19:54:00.204Z] > git config --get remote.origin.url # timeout=10 [2022-08-30T19:54:00.219Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-08-30T19:54:00.231Z] > git merge b7cedde85df3692c69591f25206326ca90501e4e # timeout=10 [2022-08-30T19:54:00.257Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-08-30T19:54:00.280Z] > git config core.sparsecheckout # timeout=10 [2022-08-30T19:54:00.294Z] > git checkout -f 43a7de078c9fcfff079bbac4f4eb0e402a9618f9 # timeout=10 [2022-08-30T19:54:04.553Z] Commit message: "test: pr updates" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-08-30T19:54:05.502Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-08-30T19:54:05.502Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-08-30T19:54:05.502Z] Dload Upload Total Spent Left Speed [2022-08-30T19:54:05.502Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 85148 0 --:--:-- --:--:-- --:--:-- 85727 [Pipeline] sh [2022-08-30T19:54:06.280Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-08-30T19:54:06.621Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json+ [2022-08-30T19:54:06.621Z] sudo tee /etc/docker/daemon.new [2022-08-30T19:54:06.621Z] { [2022-08-30T19:54:06.621Z] "registry-mirrors": [ [2022-08-30T19:54:06.621Z] "https://nexus3.edgexfoundry.org:10001" [2022-08-30T19:54:06.621Z] ], [2022-08-30T19:54:06.621Z] "bip": "10.250.0.254/24", [2022-08-30T19:54:06.621Z] "hosts": [ [2022-08-30T19:54:06.621Z] "tcp://0.0.0.0:5555", [2022-08-30T19:54:06.621Z] "unix:///var/run/docker.sock" [2022-08-30T19:54:06.621Z] ], [2022-08-30T19:54:06.621Z] "mtu": 1458, [2022-08-30T19:54:06.621Z] "selinux-enabled": true, [2022-08-30T19:54:06.621Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-08-30T19:54:06.621Z] } [Pipeline] sh [2022-08-30T19:54:06.967Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-08-30T19:54:07.507Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-30T19:54:25.850Z] provisioning config files... [2022-08-30T19:54:25.872Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/10@tmp/config5302577498864349696tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T19:54:26.354Z] ---> docker-login.sh [2022-08-30T19:54:26.355Z] nexus3.edgexfoundry.org:10001 [2022-08-30T19:54:26.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T19:54:27.225Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T19:54:27.225Z] Configure a credential helper to remove this warning. See [2022-08-30T19:54:27.225Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T19:54:27.225Z] [2022-08-30T19:54:27.225Z] Login Succeeded [2022-08-30T19:54:27.225Z] nexus3.edgexfoundry.org:10002 [2022-08-30T19:54:27.497Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T19:54:27.497Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T19:54:27.497Z] Configure a credential helper to remove this warning. See [2022-08-30T19:54:27.497Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T19:54:27.497Z] [2022-08-30T19:54:27.497Z] Login Succeeded [2022-08-30T19:54:27.497Z] nexus3.edgexfoundry.org:10003 [2022-08-30T19:54:27.769Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T19:54:28.041Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T19:54:28.041Z] Configure a credential helper to remove this warning. See [2022-08-30T19:54:28.041Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T19:54:28.041Z] [2022-08-30T19:54:28.041Z] Login Succeeded [2022-08-30T19:54:28.041Z] nexus3.edgexfoundry.org:10004 [2022-08-30T19:54:28.315Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T19:54:28.315Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T19:54:28.315Z] Configure a credential helper to remove this warning. See [2022-08-30T19:54:28.315Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T19:54:28.315Z] [2022-08-30T19:54:28.315Z] Login Succeeded [2022-08-30T19:54:28.315Z] docker.io [2022-08-30T19:54:28.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-08-30T19:54:29.182Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-08-30T19:54:29.182Z] Configure a credential helper to remove this warning. See [2022-08-30T19:54:29.182Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-08-30T19:54:29.183Z] [2022-08-30T19:54:29.183Z] Login Succeeded [2022-08-30T19:54:29.183Z] ---> docker-login.sh ends [Pipeline] } [2022-08-30T19:54:29.199Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-08-30T19:54:29.456Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T19:54:29.472Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-08-30T19:54:29.482Z] ========================================================= [2022-08-30T19:54:29.482Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-08-30T19:54:29.482Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T19:54:29.838Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2022-08-30T19:54:30.431Z] Sending build context to Docker daemon 14.14MB [2022-08-30T19:54:30.431Z] Step 1/13 : ARG BASE=golang:1.18-alpine3.16 [2022-08-30T19:54:30.431Z] Step 2/13 : FROM ${BASE} AS builder [2022-08-30T19:54:30.431Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-08-30T19:54:30.431Z] b3c136eddcbf: Pulling fs layer [2022-08-30T19:54:30.431Z] c0a3192eca97: Pulling fs layer [2022-08-30T19:54:30.431Z] a050256f5b6f: Pulling fs layer [2022-08-30T19:54:30.431Z] 656be50a0ddc: Pulling fs layer [2022-08-30T19:54:30.431Z] 2bbca73fdf42: Pulling fs layer [2022-08-30T19:54:30.431Z] 46d945488cbd: Pulling fs layer [2022-08-30T19:54:30.431Z] 8a5474983e97: Pulling fs layer [2022-08-30T19:54:30.431Z] 329c88fbcd65: Pulling fs layer [2022-08-30T19:54:30.431Z] 46d945488cbd: Waiting [2022-08-30T19:54:30.431Z] 8a5474983e97: Waiting [2022-08-30T19:54:30.431Z] 329c88fbcd65: Waiting [2022-08-30T19:54:30.431Z] 2bbca73fdf42: Waiting [2022-08-30T19:54:30.431Z] 656be50a0ddc: Waiting [2022-08-30T19:54:30.431Z] a050256f5b6f: Verifying Checksum [2022-08-30T19:54:30.431Z] a050256f5b6f: Download complete [2022-08-30T19:54:30.431Z] c0a3192eca97: Verifying Checksum [2022-08-30T19:54:30.431Z] c0a3192eca97: Download complete [2022-08-30T19:54:30.431Z] 2bbca73fdf42: Verifying Checksum [2022-08-30T19:54:30.431Z] 2bbca73fdf42: Download complete [2022-08-30T19:54:30.707Z] b3c136eddcbf: Verifying Checksum [2022-08-30T19:54:30.707Z] b3c136eddcbf: Download complete [2022-08-30T19:54:30.707Z] 46d945488cbd: Verifying Checksum [2022-08-30T19:54:30.707Z] 46d945488cbd: Download complete [2022-08-30T19:54:31.318Z] b3c136eddcbf: Pull complete [2022-08-30T19:54:31.596Z] 329c88fbcd65: Verifying Checksum [2022-08-30T19:54:31.596Z] 329c88fbcd65: Download complete [2022-08-30T19:54:31.875Z] c0a3192eca97: Pull complete [2022-08-30T19:54:32.151Z] a050256f5b6f: Pull complete [2022-08-30T19:54:32.765Z] 8a5474983e97: Verifying Checksum [2022-08-30T19:54:32.765Z] 8a5474983e97: Download complete [2022-08-30T19:54:33.362Z] 656be50a0ddc: Verifying Checksum [2022-08-30T19:54:33.362Z] 656be50a0ddc: Download complete [2022-08-30T19:54:45.785Z] 656be50a0ddc: Pull complete [2022-08-30T19:54:46.063Z] 2bbca73fdf42: Pull complete [2022-08-30T19:54:46.338Z] 46d945488cbd: Pull complete [2022-08-30T19:54:53.070Z] 8a5474983e97: Pull complete [2022-08-30T19:54:54.506Z] 329c88fbcd65: Pull complete [2022-08-30T19:54:54.507Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-08-30T19:54:54.507Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-08-30T19:54:54.507Z] ---> ff4287adb874 [2022-08-30T19:54:54.507Z] Step 3/13 : ARG MAKE="make build" [2022-08-30T19:54:56.496Z] ---> Running in 7164e01371d5 [2022-08-30T19:54:56.496Z] Removing intermediate container 7164e01371d5 [2022-08-30T19:54:56.496Z] ---> 7a39ed6b9344 [2022-08-30T19:54:56.496Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev" [2022-08-30T19:54:56.496Z] ---> Running in dbcf9e044a13 [2022-08-30T19:54:56.770Z] Removing intermediate container dbcf9e044a13 [2022-08-30T19:54:56.770Z] ---> a08023873a1f [2022-08-30T19:54:56.770Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="" [2022-08-30T19:54:57.050Z] ---> Running in d4a992f06f26 [2022-08-30T19:54:57.321Z] Removing intermediate container d4a992f06f26 [2022-08-30T19:54:57.321Z] ---> df0d2cde5973 [2022-08-30T19:54:57.321Z] Step 6/13 : LABEL Name=edgex-device-onvif-camera [2022-08-30T19:54:57.322Z] ---> Running in 7ece72936880 [2022-08-30T19:54:57.597Z] Removing intermediate container 7ece72936880 [2022-08-30T19:54:57.597Z] ---> 5b3c5668c329 [2022-08-30T19:54:57.597Z] Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-08-30T19:54:57.597Z] ---> Running in f5952d540240 [2022-08-30T19:55:00.991Z] Removing intermediate container f5952d540240 [2022-08-30T19:55:00.991Z] ---> 6aee4755ccef [2022-08-30T19:55:00.991Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-08-30T19:55:00.991Z] ---> Running in e195ee151260 [2022-08-30T19:55:01.592Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-08-30T19:55:02.578Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-08-30T19:55:03.178Z] OK: 221 MiB in 51 packages [2022-08-30T19:55:04.163Z] Removing intermediate container e195ee151260 [2022-08-30T19:55:04.163Z] ---> 1ae7522dddce [2022-08-30T19:55:04.163Z] Step 9/13 : WORKDIR /device-onvif-camera [2022-08-30T19:55:04.163Z] ---> Running in fbe02e4c465e [2022-08-30T19:55:04.442Z] Removing intermediate container fbe02e4c465e [2022-08-30T19:55:04.442Z] ---> e132c0983779 [2022-08-30T19:55:04.442Z] Step 10/13 : COPY go.mod vendor* ./ [2022-08-30T19:55:05.048Z] ---> f56fc1b8d91c [2022-08-30T19:55:05.048Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-08-30T19:55:05.048Z] ---> Running in 77ae9ac775b9 [2022-08-30T19:56:01.616Z] Removing intermediate container 77ae9ac775b9 [2022-08-30T19:56:01.616Z] ---> 0e9c7da095fc [2022-08-30T19:56:01.616Z] Step 12/13 : COPY . . [2022-08-30T19:56:01.616Z] ---> ab6691e867a6 [2022-08-30T19:56:01.616Z] Step 13/13 : RUN ${MAKE} [2022-08-30T19:56:01.616Z] ---> Running in fa628dc767c2 [2022-08-30T19:56:01.616Z] noop [2022-08-30T19:56:01.616Z] Removing intermediate container fa628dc767c2 [2022-08-30T19:56:01.616Z] ---> 5a6042f25f8b [2022-08-30T19:56:01.616Z] Successfully built 5a6042f25f8b [2022-08-30T19:56:01.616Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T19:56:01.988Z] + docker inspect -f . ci-base-image-arm64 [2022-08-30T19:56:01.988Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T19:56:02.230Z] prd-ubuntu20.04-docker-arm64-4c-16g-23981 does not seem to be running inside a container [2022-08-30T19:56:02.313Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/10 -v /w/workspace/device-onvif-camera/10:/w/workspace/device-onvif-camera/10:rw,z -v /w/workspace/device-onvif-camera/10@tmp:/w/workspace/device-onvif-camera/10@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-08-30T19:56:03.638Z] $ docker top f7336f55efe04e07ed73eb2601a91a2a97928e1a4b02b809baa1498d0146febd -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T19:56:04.530Z] + go version [2022-08-30T19:56:04.530Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-08-30T19:56:04.554Z] $ docker stop --time=1 f7336f55efe04e07ed73eb2601a91a2a97928e1a4b02b809baa1498d0146febd [2022-08-30T19:56:06.208Z] $ docker rm -f f7336f55efe04e07ed73eb2601a91a2a97928e1a4b02b809baa1498d0146febd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T19:56:06.833Z] + docker inspect -f . ci-base-image-arm64 [2022-08-30T19:56:06.833Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T19:56:07.067Z] prd-ubuntu20.04-docker-arm64-4c-16g-23981 does not seem to be running inside a container [2022-08-30T19:56:07.151Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/10 -v /w/workspace/device-onvif-camera/10:/w/workspace/device-onvif-camera/10:rw,z -v /w/workspace/device-onvif-camera/10@tmp:/w/workspace/device-onvif-camera/10@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-08-30T19:56:08.434Z] $ docker top db41a31be8ccb5d67f7d6d8441fd0beb8a6a1d380e5e1560a5553321b4da20ad -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T19:56:09.362Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/10 [Pipeline] fileExists [Pipeline] sh [2022-08-30T19:56:10.034Z] + make test [2022-08-30T19:56:10.034Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-08-30T19:56:12.013Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2022-08-30T19:57:33.878Z] ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] [2022-08-30T19:57:42.197Z] ok github.com/edgexfoundry/device-onvif-camera/internal/driver 0.195s coverage: 24.0% of statements [2022-08-30T19:58:14.587Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 38.331s coverage: 13.8% of statements [2022-08-30T19:58:14.587Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-08-30T19:58:14.587Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-08-30T19:58:36.806Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-08-30T19:58:36.806Z] ./internal/driver/driver_test.go [2022-08-30T19:58:36.806Z] ./internal/driver/driver.go [2022-08-30T19:58:36.806Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-08-30T19:58:36.806Z] make: *** [Makefile:63: test] Error 1 [Pipeline] } [2022-08-30T19:58:36.832Z] $ docker stop --time=1 db41a31be8ccb5d67f7d6d8441fd0beb8a6a1d380e5e1560a5553321b4da20ad [2022-08-30T19:58:38.598Z] $ docker rm -f db41a31be8ccb5d67f7d6d8441fd0beb8a6a1d380e5e1560a5553321b4da20ad [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-08-30T19:58:39.709Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-30T19:58:39.709Z] [2022-08-30T19:58:39.709Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T19:58:40.058Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-30T19:58:40.337Z] arm64: Pulling from edgex-lftools-log-publisher [2022-08-30T19:58:40.337Z] 8998bd30e6a1: Pulling fs layer [2022-08-30T19:58:40.337Z] 04944245beec: Pulling fs layer [2022-08-30T19:58:40.337Z] 699f458cf7ca: Pulling fs layer [2022-08-30T19:58:40.337Z] 765212b225bb: Pulling fs layer [2022-08-30T19:58:40.337Z] f23df028b6ca: Pulling fs layer [2022-08-30T19:58:40.337Z] d65c8cfc05b1: Pulling fs layer [2022-08-30T19:58:40.337Z] 2437ff75d9bd: Pulling fs layer [2022-08-30T19:58:40.337Z] f23df028b6ca: Waiting [2022-08-30T19:58:40.337Z] d65c8cfc05b1: Waiting [2022-08-30T19:58:40.337Z] 2437ff75d9bd: Waiting [2022-08-30T19:58:40.337Z] 765212b225bb: Waiting [2022-08-30T19:58:40.337Z] 04944245beec: Verifying Checksum [2022-08-30T19:58:40.337Z] 04944245beec: Download complete [2022-08-30T19:58:40.615Z] 765212b225bb: Download complete [2022-08-30T19:58:40.615Z] f23df028b6ca: Download complete [2022-08-30T19:58:40.615Z] d65c8cfc05b1: Verifying Checksum [2022-08-30T19:58:40.615Z] d65c8cfc05b1: Download complete [2022-08-30T19:58:40.615Z] 699f458cf7ca: Verifying Checksum [2022-08-30T19:58:40.615Z] 699f458cf7ca: Download complete [2022-08-30T19:58:41.218Z] 8998bd30e6a1: Download complete [2022-08-30T19:58:43.837Z] 2437ff75d9bd: Verifying Checksum [2022-08-30T19:58:43.837Z] 2437ff75d9bd: Download complete [2022-08-30T19:58:45.818Z] 8998bd30e6a1: Pull complete [2022-08-30T19:58:45.818Z] 04944245beec: Pull complete [2022-08-30T19:58:47.257Z] 699f458cf7ca: Pull complete [2022-08-30T19:58:47.532Z] 765212b225bb: Pull complete [2022-08-30T19:58:48.513Z] f23df028b6ca: Pull complete [2022-08-30T19:58:48.788Z] d65c8cfc05b1: Pull complete [2022-08-30T19:59:03.893Z] 2437ff75d9bd: Pull complete [2022-08-30T19:59:03.893Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-08-30T19:59:03.893Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-08-30T19:59:03.893Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T19:59:04.141Z] prd-ubuntu20.04-docker-arm64-4c-16g-23981 does not seem to be running inside a container [2022-08-30T19:59:04.223Z] $ 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/10 -v /w/workspace/device-onvif-camera/10:/w/workspace/device-onvif-camera/10:rw,z -v /w/workspace/device-onvif-camera/10@tmp:/w/workspace/device-onvif-camera/10@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-08-30T19:59:06.639Z] $ docker top 7ab6f699303d093e62ccea37fd4c5e8f99b650b04e3d8572b0c8ba436fa2a3b3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-08-30T19:59:07.546Z] ---> job-cost.sh [2022-08-30T19:59:07.546Z] lf-activate-venv: SKIPPING [2022-08-30T19:59:07.546Z] INFO: No Stack... [2022-08-30T19:59:08.142Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-08-30T19:59:09.120Z] INFO: Archiving Costs [Pipeline] sh [2022-08-30T19:59:09.779Z] + cut -d, -f6 [2022-08-30T19:59:09.779Z] + cat /w/workspace/device-onvif-camera/10/archives/cost.csv [Pipeline] lock [2022-08-30T19:59:09.809Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-149-10-stack-cost] [2022-08-30T19:59:09.815Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-10-stack-cost] did not exist. Created. [2022-08-30T19:59:09.815Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-149-10-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-08-30T19:59:10.488Z] /w/workspace/device-onvif-camera/10@tmp/durable-4478be36/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-08-30T19:59:11.163Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-08-30T19:59:11.193Z] Warning: overwriting stash ‘stack-cost’ [2022-08-30T19:59:11.612Z] Stashed 1 file(s) [Pipeline] } [2022-08-30T19:59:11.619Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-149-10-stack-cost] [Pipeline] // lock [Pipeline] } [2022-08-30T19:59:11.639Z] $ docker stop --time=1 7ab6f699303d093e62ccea37fd4c5e8f99b650b04e3d8572b0c8ba436fa2a3b3 [2022-08-30T19:59:13.188Z] $ docker rm -f 7ab6f699303d093e62ccea37fd4c5e8f99b650b04e3d8572b0c8ba436fa2a3b3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-08-30T19:59:13.569Z] 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-08-30T19:59:14.304Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-149/archives ] [2022-08-30T19:59:14.304Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-30T19:59:14.304Z] total 16 [2022-08-30T19:59:14.304Z] drwxr-xr-x 3 root root 4096 Aug 30 19:53 . [2022-08-30T19:59:14.304Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 30 19:53 .. [2022-08-30T19:59:14.304Z] drwxr-xr-x 2 root root 4096 Aug 30 19:53 cost [2022-08-30T19:59:14.304Z] -rw-r--r-- 1 root root 92 Aug 30 19:53 cost.csv [2022-08-30T19:59:14.304Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-30T19:59:14.304Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-149/archives [2022-08-30T19:59:14.304Z] total 16 [2022-08-30T19:59:14.304Z] drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 19:53 . [2022-08-30T19:59:14.304Z] drwxrwxr-x 11 jenkins jenkins 4096 Aug 30 19:53 .. [2022-08-30T19:59:14.304Z] drwxr-xr-x 2 jenkins jenkins 4096 Aug 30 19:53 cost [2022-08-30T19:59:14.304Z] -rw-r--r-- 1 jenkins jenkins 92 Aug 30 19:53 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-08-30T19:59:14.603Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T19:59:15.474Z] ---> package-listing.sh [2022-08-30T19:59:15.474Z] ++ facter osfamily [2022-08-30T19:59:15.474Z] ++ tr '[:upper:]' '[:lower:]' [2022-08-30T19:59:15.736Z] + OS_FAMILY=debian [2022-08-30T19:59:15.736Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-149 [2022-08-30T19:59:15.736Z] + START_PACKAGES=/tmp/packages_start.txt [2022-08-30T19:59:15.736Z] + END_PACKAGES=/tmp/packages_end.txt [2022-08-30T19:59:15.736Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-08-30T19:59:15.736Z] + PACKAGES=/tmp/packages_start.txt [2022-08-30T19:59:15.736Z] + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' [2022-08-30T19:59:15.736Z] + PACKAGES=/tmp/packages_end.txt [2022-08-30T19:59:15.736Z] + case "${OS_FAMILY}" in [2022-08-30T19:59:15.736Z] + dpkg -l [2022-08-30T19:59:15.736Z] + grep '^ii' [2022-08-30T19:59:15.736Z] + '[' -f /tmp/packages_start.txt ']' [2022-08-30T19:59:15.736Z] + '[' -f /tmp/packages_end.txt ']' [2022-08-30T19:59:15.736Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-08-30T19:59:15.736Z] + '[' /w/workspace/undry_device-onvif-camera_PR-149 ']' [2022-08-30T19:59:15.736Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-149/archives/ [2022-08-30T19:59:15.736Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-149/archives/ [Pipeline] echo [2022-08-30T19:59:15.749Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-149/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-08-30T19:59:16.031Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-08-30T19:59:16.602Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-08-30T19:59:16.602Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-08-30T19:59:16.687Z] prd-ubuntu20.04-docker-8c-8g-23980 does not seem to be running inside a container [2022-08-30T19:59:16.729Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/undry_device-onvif-camera_PR-149/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/undry_device-onvif-camera_PR-149 -v /w/workspace/undry_device-onvif-camera_PR-149:/w/workspace/undry_device-onvif-camera_PR-149:rw,z -v /w/workspace/undry_device-onvif-camera_PR-149@tmp:/w/workspace/undry_device-onvif-camera_PR-149@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-08-30T19:59:16.918Z] $ docker top 69bfa5957a878cafda13958d3f545b4010f865d3e35b4d4ded7c5d0b376ad2e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-08-30T19:59:17.268Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-08-30T19:59:17.559Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-08-30T19:59:17.852Z] + ls /var/log/sa-host [2022-08-30T19:59:17.852Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-08-30T19:59:17.997Z] provisioning config files... [2022-08-30T19:59:18.007Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-149@tmp/config6301365541976098388tmp [Pipeline] { [Pipeline] echo [2022-08-30T19:59:18.024Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T19:59:18.307Z] ---> create-netrc.sh [Pipeline] } [2022-08-30T19:59:18.315Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-08-30T19:59:18.658Z] ---> python-tools-install.sh [Pipeline] echo [2022-08-30T19:59:18.668Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T19:59:18.956Z] ---> sudo-logs.sh [2022-08-30T19:59:18.956Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-08-30T19:59:18.986Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T19:59:19.275Z] ---> job-cost.sh [2022-08-30T19:59:19.275Z] lf-activate-venv: SKIPPING [2022-08-30T19:59:19.275Z] DEBUG: total: 0.2199999988079071 [2022-08-30T19:59:19.275Z] INFO: Retrieving Stack Cost... [2022-08-30T19:59:19.846Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-08-30T19:59:20.110Z] INFO: Archiving Costs [Pipeline] echo [2022-08-30T19:59:20.123Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-08-30T19:59:20.409Z] ---> logs-deploy.sh [2022-08-30T19:59:20.409Z] lf-activate-venv: SKIPPING [2022-08-30T19:59:20.409Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-149/10 [2022-08-30T19:59:20.409Z] INFO: archiving workspace using pattern(s): [2022-08-30T19:59:21.351Z] Archives upload complete. [2022-08-30T19:59:21.610Z] INFO: archiving logs to Nexus [2022-08-30T19:59:22.184Z] ---> uname -a: [2022-08-30T19:59:22.184Z] Linux prd-ubuntu20-04-docker-8c-8g-23980 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-08-30T19:59:22.184Z] [2022-08-30T19:59:22.184Z] [2022-08-30T19:59:22.184Z] ---> lscpu: [2022-08-30T19:59:22.184Z] Architecture: x86_64 [2022-08-30T19:59:22.184Z] CPU op-mode(s): 32-bit, 64-bit [2022-08-30T19:59:22.184Z] Byte Order: Little Endian [2022-08-30T19:59:22.184Z] Address sizes: 40 bits physical, 48 bits virtual [2022-08-30T19:59:22.184Z] CPU(s): 8 [2022-08-30T19:59:22.184Z] On-line CPU(s) list: 0-7 [2022-08-30T19:59:22.184Z] Thread(s) per core: 1 [2022-08-30T19:59:22.184Z] Core(s) per socket: 1 [2022-08-30T19:59:22.184Z] Socket(s): 8 [2022-08-30T19:59:22.184Z] NUMA node(s): 1 [2022-08-30T19:59:22.184Z] Vendor ID: AuthenticAMD [2022-08-30T19:59:22.184Z] CPU family: 23 [2022-08-30T19:59:22.184Z] Model: 49 [2022-08-30T19:59:22.184Z] Model name: AMD EPYC-Rome Processor [2022-08-30T19:59:22.184Z] Stepping: 0 [2022-08-30T19:59:22.184Z] CPU MHz: 2799.864 [2022-08-30T19:59:22.184Z] BogoMIPS: 5599.72 [2022-08-30T19:59:22.184Z] Virtualization: AMD-V [2022-08-30T19:59:22.184Z] Hypervisor vendor: KVM [2022-08-30T19:59:22.184Z] Virtualization type: full [2022-08-30T19:59:22.184Z] L1d cache: 256 KiB [2022-08-30T19:59:22.184Z] L1i cache: 256 KiB [2022-08-30T19:59:22.184Z] L2 cache: 4 MiB [2022-08-30T19:59:22.184Z] L3 cache: 128 MiB [2022-08-30T19:59:22.184Z] NUMA node0 CPU(s): 0-7 [2022-08-30T19:59:22.184Z] Vulnerability Itlb multihit: Not affected [2022-08-30T19:59:22.184Z] Vulnerability L1tf: Not affected [2022-08-30T19:59:22.184Z] Vulnerability Mds: Not affected [2022-08-30T19:59:22.184Z] Vulnerability Meltdown: Not affected [2022-08-30T19:59:22.184Z] Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp [2022-08-30T19:59:22.184Z] Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization [2022-08-30T19:59:22.184Z] Vulnerability Spectre v2: Mitigation; Full AMD retpoline, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling [2022-08-30T19:59:22.184Z] Vulnerability Srbds: Not affected [2022-08-30T19:59:22.184Z] Vulnerability Tsx async abort: Not affected [2022-08-30T19:59:22.184Z] Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities [2022-08-30T19:59:22.184Z] [2022-08-30T19:59:22.184Z] [2022-08-30T19:59:22.184Z] ---> nproc: [2022-08-30T19:59:22.184Z] 8 [2022-08-30T19:59:22.184Z] [2022-08-30T19:59:22.184Z]