Pull request #73 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-usb-camera Loading trusted files from base branch main at e0ef95115b204dfbd36822ed04c66be8fcb14502 rather than 55ed061ac16053824d0545066b2d023b9782f272 Obtained Jenkinsfile from e0ef95115b204dfbd36822ed04c66be8fcb14502 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-ssh12783555544546565346.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c432abcf2d142718d3fe157e81a44428d9b823e 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-ssh4444757047857265788.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 2c432abcf2d142718d3fe157e81a44428d9b823e The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-73/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-usb-camera/branches/PR-73/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh6036835766769713909.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c432abcf2d142718d3fe157e81a44428d9b823e (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c432abcf2d142718d3fe157e81a44428d9b823e # timeout=10 Commit message: "Merge pull request #406 from ernestojeda/go.18-debug" > 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-ssh8046356916568510578.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 6e371aaf151bd5004dee8fa40be4413046746612 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-73/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-usb-camera/branches/PR-73/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh572254274770545399.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 6e371aaf151bd5004dee8fa40be4413046746612 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6e371aaf151bd5004dee8fa40be4413046746612 # timeout=10 Commit message: "Chore: Update global-jjb to the latest v0.79.1" > 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-usb-camera] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-usb-camera-settings PROJECT: device-usb-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-usb-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-21404 in /w/workspace/xfoundry_device-usb-camera_PR-73 [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-usb-camera.git > git init /w/workspace/xfoundry_device-usb-camera_PR-73 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-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-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit e0ef95115b204dfbd36822ed04c66be8fcb14502 into PR head commit 55ed061ac16053824d0545066b2d023b9782f272 Merge succeeded, producing d11c0ae7d6cc8fb3eec99b6c4d0ad3788583cf6f Checking out Revision d11c0ae7d6cc8fb3eec99b6c4d0ad3788583cf6f (PR-73) > git config remote.origin.url git@github.com:edgexfoundry/device-usb-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-usb-camera.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/73/head:refs/remotes/origin/PR-73 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 55ed061ac16053824d0545066b2d023b9782f272 # 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 e0ef95115b204dfbd36822ed04c66be8fcb14502 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d11c0ae7d6cc8fb3eec99b6c4d0ad3788583cf6f # timeout=10 Commit message: "Merge commit 'e0ef95115b204dfbd36822ed04c66be8fcb14502' into HEAD" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-07-28T21:09:19.856Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-07-28T21:09:19.915Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-07-28T21:09:19.933Z] ========================================================= [2022-07-28T21:09:19.933Z] EdgeX Global Pipelines Version Info [2022-07-28T21:09:19.933Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh > git rev-list --no-walk 009227c5d39867df2c317f710bb770e3461253ef # timeout=10 [2022-07-28T21:09:20.665Z] ------------------- [2022-07-28T21:09:20.665Z] stable info: [2022-07-28T21:09:20.665Z] ------------------- [2022-07-28T21:09:20.665Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-28T21:09:20.665Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-28T21:09:20.665Z] Message: update stable to v1.0.238 [2022-07-28T21:09:21.238Z] ------------------- [2022-07-28T21:09:21.238Z] experimental info: [2022-07-28T21:09:21.238Z] ------------------- [2022-07-28T21:09:21.238Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-07-28T21:09:21.238Z] Commit SHA: 2c432abcf2d142718d3fe157e81a44428d9b823e [2022-07-28T21:09:21.238Z] Message: update experimental to v1.0.238 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-07-28T21:09:21.425Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2022-07-28T21:09:21.440Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2022-07-28T21:09:21.453Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-07-28T21:09:21.472Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-07-28T21:09:21.485Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-07-28T21:09:21.496Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-07-28T21:09:21.508Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-07-28T21:09:21.522Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-07-28T21:09:21.535Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-07-28T21:09:21.550Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-07-28T21:09:21.564Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-07-28T21:09:21.577Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2022-07-28T21:09:21.593Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-07-28T21:09:21.604Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-07-28T21:09:21.615Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-07-28T21:09:21.627Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-07-28T21:09:21.638Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-07-28T21:09:21.650Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-07-28T21:09:21.661Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-07-28T21:09:21.673Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-07-28T21:09:21.690Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-07-28T21:09:21.703Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-07-28T21:09:21.714Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-07-28T21:09:21.725Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-07-28T21:09:21.739Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-07-28T21:09:21.754Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-07-28T21:09:21.768Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-07-28T21:09:21.777Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-73 [Pipeline] echo [2022-07-28T21:09:21.789Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-73 [Pipeline] echo [2022-07-28T21:09:21.802Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-73 [Pipeline] echo [2022-07-28T21:09:21.814Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d11c0ae7d6cc8fb3eec99b6c4d0ad3788583cf6f [Pipeline] echo [2022-07-28T21:09:21.825Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d11c0ae [Pipeline] echo [2022-07-28T21:09:21.837Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-28T21:09:21.876Z] provisioning config files... [2022-07-28T21:09:21.888Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-73@tmp/config2233496778368665022tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-28T21:09:22.193Z] ---> docker-login.sh [2022-07-28T21:09:22.193Z] nexus3.edgexfoundry.org:10001 [2022-07-28T21:09:22.454Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T21:09:22.454Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T21:09:22.454Z] Configure a credential helper to remove this warning. See [2022-07-28T21:09:22.454Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T21:09:22.454Z] [2022-07-28T21:09:22.454Z] Login Succeeded [2022-07-28T21:09:22.454Z] nexus3.edgexfoundry.org:10002 [2022-07-28T21:09:22.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T21:09:22.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T21:09:22.715Z] Configure a credential helper to remove this warning. See [2022-07-28T21:09:22.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T21:09:22.715Z] [2022-07-28T21:09:22.715Z] Login Succeeded [2022-07-28T21:09:22.715Z] nexus3.edgexfoundry.org:10003 [2022-07-28T21:09:22.715Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T21:09:22.715Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T21:09:22.715Z] Configure a credential helper to remove this warning. See [2022-07-28T21:09:22.715Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T21:09:22.715Z] [2022-07-28T21:09:22.715Z] Login Succeeded [2022-07-28T21:09:22.715Z] nexus3.edgexfoundry.org:10004 [2022-07-28T21:09:22.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T21:09:22.979Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T21:09:22.979Z] Configure a credential helper to remove this warning. See [2022-07-28T21:09:22.979Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T21:09:22.979Z] [2022-07-28T21:09:22.979Z] Login Succeeded [2022-07-28T21:09:22.979Z] docker.io [2022-07-28T21:09:22.979Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T21:09:23.241Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T21:09:23.241Z] Configure a credential helper to remove this warning. See [2022-07-28T21:09:23.241Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T21:09:23.241Z] [2022-07-28T21:09:23.241Z] Login Succeeded [2022-07-28T21:09:23.241Z] ---> docker-login.sh ends [Pipeline] } [2022-07-28T21:09:23.250Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-07-28T21:09:23.636Z] + git rev-list -1 --merges d11c0ae7d6cc8fb3eec99b6c4d0ad3788583cf6f~1..d11c0ae7d6cc8fb3eec99b6c4d0ad3788583cf6f [Pipeline] echo [2022-07-28T21:09:23.666Z] -----------> git rev-list -1 --merges d11c0ae7d6cc8fb3eec99b6c4d0ad3788583cf6f~1..d11c0ae7d6cc8fb3eec99b6c4d0ad3788583cf6f d11c0ae7d6cc8fb3eec99b6c4d0ad3788583cf6f [2022-07-28T21:09:23.666Z] d11c0ae7d6cc8fb3eec99b6c4d0ad3788583cf6f [false] [Pipeline] sh [2022-07-28T21:09:23.964Z] + git log --format=format:%s -1 d11c0ae7d6cc8fb3eec99b6c4d0ad3788583cf6f [Pipeline] echo [2022-07-28T21:09:23.982Z] ========================================================= [2022-07-28T21:09:23.982Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-07-28T21:09:23.982Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-28T21:09:24.323Z] + git log --format=format:%s -1 d11c0ae7d6cc8fb3eec99b6c4d0ad3788583cf6f [Pipeline] echo [2022-07-28T21:09:24.339Z] [semverPrep] GIT_COMMIT: d11c0ae7d6cc8fb3eec99b6c4d0ad3788583cf6f, Commit Message: Merge commit 'e0ef95115b204dfbd36822ed04c66be8fcb14502' into HEAD [Pipeline] echo [2022-07-28T21:09:24.351Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-07-28T21:09:24.705Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-07-28T21:09:24.705Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-07-28T21:09:24.705Z] + [ -e /tmp/ssh_known_hosts ] [2022-07-28T21:09:24.705Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-07-28T21:09:24.705Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-07-28T21:09:24.705Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-07-28T21:09:24.705Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T21:09:25.069Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-28T21:09:25.069Z] [2022-07-28T21:09:25.069Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T21:09:25.378Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-28T21:09:25.378Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-07-28T21:09:25.378Z] b85a868b505f: Pulling fs layer [2022-07-28T21:09:25.378Z] e2be974225ed: Pulling fs layer [2022-07-28T21:09:25.378Z] 339a4e72a1f5: Pulling fs layer [2022-07-28T21:09:25.378Z] 988bab9f4d93: Pulling fs layer [2022-07-28T21:09:25.378Z] 1469e6f7b9e6: Pulling fs layer [2022-07-28T21:09:25.378Z] eaf3925da568: Pulling fs layer [2022-07-28T21:09:25.378Z] bab4dde63d76: Pulling fs layer [2022-07-28T21:09:25.378Z] bde34c3a00c8: Pulling fs layer [2022-07-28T21:09:25.378Z] b352a97aabf1: Pulling fs layer [2022-07-28T21:09:25.378Z] 4872d77fe225: Pulling fs layer [2022-07-28T21:09:25.378Z] 5851b861e8e6: Pulling fs layer [2022-07-28T21:09:25.378Z] bab4dde63d76: Waiting [2022-07-28T21:09:25.378Z] bde34c3a00c8: Waiting [2022-07-28T21:09:25.378Z] b352a97aabf1: Waiting [2022-07-28T21:09:25.378Z] 4872d77fe225: Waiting [2022-07-28T21:09:25.378Z] 5851b861e8e6: Waiting [2022-07-28T21:09:25.378Z] 988bab9f4d93: Waiting [2022-07-28T21:09:25.378Z] 1469e6f7b9e6: Waiting [2022-07-28T21:09:25.378Z] eaf3925da568: Waiting [2022-07-28T21:09:25.378Z] e2be974225ed: Download complete [2022-07-28T21:09:25.378Z] 988bab9f4d93: Verifying Checksum [2022-07-28T21:09:25.378Z] 988bab9f4d93: Download complete [2022-07-28T21:09:25.638Z] 1469e6f7b9e6: Verifying Checksum [2022-07-28T21:09:25.638Z] 1469e6f7b9e6: Download complete [2022-07-28T21:09:25.638Z] eaf3925da568: Download complete [2022-07-28T21:09:25.638Z] 339a4e72a1f5: Verifying Checksum [2022-07-28T21:09:25.638Z] 339a4e72a1f5: Download complete [2022-07-28T21:09:25.638Z] bde34c3a00c8: Verifying Checksum [2022-07-28T21:09:25.638Z] bde34c3a00c8: Download complete [2022-07-28T21:09:25.638Z] b352a97aabf1: Download complete [2022-07-28T21:09:25.638Z] 4872d77fe225: Verifying Checksum [2022-07-28T21:09:25.638Z] 4872d77fe225: Download complete [2022-07-28T21:09:25.638Z] 5851b861e8e6: Verifying Checksum [2022-07-28T21:09:25.638Z] 5851b861e8e6: Download complete [2022-07-28T21:09:25.638Z] b85a868b505f: Verifying Checksum [2022-07-28T21:09:25.638Z] b85a868b505f: Download complete [2022-07-28T21:09:25.899Z] bab4dde63d76: Verifying Checksum [2022-07-28T21:09:25.899Z] bab4dde63d76: Download complete [2022-07-28T21:09:27.280Z] b85a868b505f: Pull complete [2022-07-28T21:09:27.280Z] e2be974225ed: Pull complete [2022-07-28T21:09:27.540Z] 339a4e72a1f5: Pull complete [2022-07-28T21:09:27.801Z] 988bab9f4d93: Pull complete [2022-07-28T21:09:28.062Z] 1469e6f7b9e6: Pull complete [2022-07-28T21:09:28.062Z] eaf3925da568: Pull complete [2022-07-28T21:09:29.971Z] bab4dde63d76: Pull complete [2022-07-28T21:09:29.971Z] bde34c3a00c8: Pull complete [2022-07-28T21:09:30.231Z] b352a97aabf1: Pull complete [2022-07-28T21:09:30.231Z] 4872d77fe225: Pull complete [2022-07-28T21:09:30.231Z] 5851b861e8e6: Pull complete [2022-07-28T21:09:30.231Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-07-28T21:09:30.231Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-07-28T21:09:30.231Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T21:09:30.336Z] prd-ubuntu20.04-docker-8c-8g-21404 does not seem to be running inside a container [2022-07-28T21:09:30.361Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/xfoundry_device-usb-camera_PR-73 -v /w/workspace/xfoundry_device-usb-camera_PR-73:/w/workspace/xfoundry_device-usb-camera_PR-73:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-73@tmp:/w/workspace/xfoundry_device-usb-camera_PR-73@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-07-28T21:09:31.876Z] $ docker top 3920ee55d4b179ff483a108a677da20de2a1b80fc07cc59300f7e1dfe09743d9 -eo pid,comm [2022-07-28T21:09:31.959Z] 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-07-28T21:09:31.959Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-07-28T21:09:31.989Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-28T21:09:31.989Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-28T21:09:32.137Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-28T21:09:32.131Z] $ docker exec 3920ee55d4b179ff483a108a677da20de2a1b80fc07cc59300f7e1dfe09743d9 ssh-agent [2022-07-28T21:09:32.262Z] SSH_AUTH_SOCK=/tmp/ssh-RejBygPiseMx/agent.33 [2022-07-28T21:09:32.262Z] SSH_AGENT_PID=39 [2022-07-28T21:09:32.269Z] Running ssh-add (command line suppressed) [2022-07-28T21:09:32.389Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-73@tmp/private_key_7972934704307754703.key (/w/workspace/xfoundry_device-usb-camera_PR-73@tmp/private_key_7972934704307754703.key) [2022-07-28T21:09:32.413Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-28T21:09:32.703Z] + git tag --points-at HEAD [Pipeline] } [2022-07-28T21:09:32.712Z] $ docker exec --env ******** --env ******** 3920ee55d4b179ff483a108a677da20de2a1b80fc07cc59300f7e1dfe09743d9 ssh-agent -k [2022-07-28T21:09:32.835Z] unset SSH_AUTH_SOCK; [2022-07-28T21:09:32.835Z] unset SSH_AGENT_PID; [2022-07-28T21:09:32.836Z] echo Agent pid 39 killed; [2022-07-28T21:09:32.855Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-07-28T21:09:32.883Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-07-28T21:09:32.883Z] [ssh-agent] Looking for ssh-agent implementation... [2022-07-28T21:09:33.014Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-07-28T21:09:33.008Z] $ docker exec 3920ee55d4b179ff483a108a677da20de2a1b80fc07cc59300f7e1dfe09743d9 ssh-agent [2022-07-28T21:09:33.156Z] SSH_AUTH_SOCK=/tmp/ssh-qIeUVp7xfn4u/agent.72 [2022-07-28T21:09:33.156Z] SSH_AGENT_PID=79 [2022-07-28T21:09:33.161Z] Running ssh-add (command line suppressed) [2022-07-28T21:09:33.284Z] Identity added: /w/workspace/xfoundry_device-usb-camera_PR-73@tmp/private_key_6120412846119374538.key (/w/workspace/xfoundry_device-usb-camera_PR-73@tmp/private_key_6120412846119374538.key) [2022-07-28T21:09:33.308Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-07-28T21:09:33.596Z] + git semver init [2022-07-28T21:09:33.857Z] 2022-07-28 21:09:33,791 [run_init] DEBUG init version:0.0.0 force:False [2022-07-28T21:09:33.857Z] 2022-07-28 21:09:33,792 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/xfoundry_device-usb-camera_PR-73/.semver [2022-07-28T21:09:33.857Z] 2022-07-28 21:09:33,792 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/xfoundry_device-usb-camera_PR-73/.semver [2022-07-28T21:09:33.857Z] 2022-07-28 21:09:33,792 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/xfoundry_device-usb-camera_PR-73/.semver'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-73, universal_newlines=False, shell=None, istream=None) [2022-07-28T21:09:34.430Z] 2022-07-28 21:09:34,327 [append_file] DEBUG append to file:/w/workspace/xfoundry_device-usb-camera_PR-73/.git/info/exclude [2022-07-28T21:09:34.430Z] 2022-07-28 21:09:34,327 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/xfoundry_device-usb-camera_PR-73/.semver/PR-73 with force:False [2022-07-28T21:09:34.430Z] 2022-07-28 21:09:34,328 [write_file] DEBUG write to file:/w/workspace/xfoundry_device-usb-camera_PR-73/.semver/PR-73 [2022-07-28T21:09:34.430Z] 2022-07-28 21:09:34,332 [execute] INFO git cat-file --batch-check [2022-07-28T21:09:34.430Z] 2022-07-28 21:09:34,332 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-73/.semver, universal_newlines=False, shell=None, istream=) [2022-07-28T21:09:34.430Z] 2022-07-28 21:09:34,339 [execute] INFO git cat-file --batch [2022-07-28T21:09:34.430Z] 2022-07-28 21:09:34,340 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/xfoundry_device-usb-camera_PR-73/.semver, universal_newlines=False, shell=None, istream=) [2022-07-28T21:09:34.430Z] 2022-07-28 21:09:34,346 [read_version] DEBUG read version from /w/workspace/xfoundry_device-usb-camera_PR-73/.semver/PR-73 [2022-07-28T21:09:34.430Z] 0.0.0 [Pipeline] } [2022-07-28T21:09:34.435Z] $ docker exec --env ******** --env ******** 3920ee55d4b179ff483a108a677da20de2a1b80fc07cc59300f7e1dfe09743d9 ssh-agent -k [2022-07-28T21:09:34.554Z] unset SSH_AUTH_SOCK; [2022-07-28T21:09:34.555Z] unset SSH_AGENT_PID; [2022-07-28T21:09:34.555Z] echo Agent pid 79 killed; [2022-07-28T21:09:34.575Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-07-28T21:09:34.894Z] + git semver [Pipeline] } [2022-07-28T21:09:35.163Z] $ docker stop --time=1 3920ee55d4b179ff483a108a677da20de2a1b80fc07cc59300f7e1dfe09743d9 [2022-07-28T21:09:36.497Z] $ docker rm -f 3920ee55d4b179ff483a108a677da20de2a1b80fc07cc59300f7e1dfe09743d9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-28T21:09:36.866Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-07-28T21:09:37.129Z] Stashed 1 file(s) [Pipeline] echo [2022-07-28T21:09:37.132Z] [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-07-28T21:09:37.266Z] provisioning config files... [2022-07-28T21:09:37.274Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-73@tmp/config5758541736296177027tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-28T21:09:37.571Z] ---> docker-login.sh [2022-07-28T21:09:37.571Z] nexus3.edgexfoundry.org:10001 [2022-07-28T21:09:37.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T21:09:37.571Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T21:09:37.571Z] Configure a credential helper to remove this warning. See [2022-07-28T21:09:37.571Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T21:09:37.571Z] [2022-07-28T21:09:37.571Z] Login Succeeded [2022-07-28T21:09:37.571Z] nexus3.edgexfoundry.org:10002 [2022-07-28T21:09:37.571Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T21:09:37.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T21:09:37.831Z] Configure a credential helper to remove this warning. See [2022-07-28T21:09:37.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T21:09:37.831Z] [2022-07-28T21:09:37.831Z] Login Succeeded [2022-07-28T21:09:37.831Z] nexus3.edgexfoundry.org:10003 [2022-07-28T21:09:37.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T21:09:37.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T21:09:37.831Z] Configure a credential helper to remove this warning. See [2022-07-28T21:09:37.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T21:09:37.831Z] [2022-07-28T21:09:37.831Z] Login Succeeded [2022-07-28T21:09:37.831Z] nexus3.edgexfoundry.org:10004 [2022-07-28T21:09:38.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T21:09:38.091Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T21:09:38.091Z] Configure a credential helper to remove this warning. See [2022-07-28T21:09:38.091Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T21:09:38.091Z] [2022-07-28T21:09:38.091Z] Login Succeeded [2022-07-28T21:09:38.091Z] docker.io [2022-07-28T21:09:38.091Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T21:09:38.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T21:09:38.352Z] Configure a credential helper to remove this warning. See [2022-07-28T21:09:38.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T21:09:38.352Z] [2022-07-28T21:09:38.352Z] Login Succeeded [2022-07-28T21:09:38.352Z] ---> docker-login.sh ends [Pipeline] } [2022-07-28T21:09:38.359Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-28T21:09:38.417Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-28T21:09:38.432Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-28T21:09:38.443Z] ========================================================= [2022-07-28T21:09:38.443Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-07-28T21:09:38.443Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T21:09:38.773Z] + 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-07-28T21:09:38.773Z] Sending build context to Docker daemon 871.9kB [2022-07-28T21:09:38.773Z] Step 1/13 : ARG BASE=golang:1.17-alpine3.15 [2022-07-28T21:09:38.773Z] Step 2/13 : FROM ${BASE} AS builder [2022-07-28T21:09:38.773Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-07-28T21:09:38.773Z] 2408cc74d12b: Pulling fs layer [2022-07-28T21:09:38.773Z] ea60b727a1ce: Pulling fs layer [2022-07-28T21:09:38.773Z] 30c4a7721957: Pulling fs layer [2022-07-28T21:09:38.773Z] 370296b7ddb6: Pulling fs layer [2022-07-28T21:09:38.773Z] 7c6cee850709: Pulling fs layer [2022-07-28T21:09:38.773Z] 39a5fcdaea64: Pulling fs layer [2022-07-28T21:09:38.773Z] d94ebbe4e438: Pulling fs layer [2022-07-28T21:09:38.773Z] bcfd1f05c69d: Pulling fs layer [2022-07-28T21:09:38.773Z] 59ccb84bbe0f: Pulling fs layer [2022-07-28T21:09:38.773Z] 39a5fcdaea64: Waiting [2022-07-28T21:09:38.773Z] d94ebbe4e438: Waiting [2022-07-28T21:09:38.773Z] 370296b7ddb6: Waiting [2022-07-28T21:09:38.773Z] 7c6cee850709: Waiting [2022-07-28T21:09:38.773Z] bcfd1f05c69d: Waiting [2022-07-28T21:09:38.773Z] 59ccb84bbe0f: Waiting [2022-07-28T21:09:38.773Z] 30c4a7721957: Download complete [2022-07-28T21:09:38.773Z] ea60b727a1ce: Verifying Checksum [2022-07-28T21:09:38.773Z] ea60b727a1ce: Download complete [2022-07-28T21:09:38.773Z] 7c6cee850709: Verifying Checksum [2022-07-28T21:09:38.773Z] 7c6cee850709: Download complete [2022-07-28T21:09:38.773Z] 39a5fcdaea64: Verifying Checksum [2022-07-28T21:09:38.773Z] 39a5fcdaea64: Download complete [2022-07-28T21:09:39.034Z] 2408cc74d12b: Verifying Checksum [2022-07-28T21:09:39.034Z] 2408cc74d12b: Download complete [2022-07-28T21:09:39.034Z] d94ebbe4e438: Verifying Checksum [2022-07-28T21:09:39.034Z] d94ebbe4e438: Download complete [2022-07-28T21:09:39.034Z] 2408cc74d12b: Pull complete [2022-07-28T21:09:39.297Z] ea60b727a1ce: Pull complete [2022-07-28T21:09:39.297Z] 30c4a7721957: Pull complete [2022-07-28T21:09:39.297Z] 59ccb84bbe0f: Verifying Checksum [2022-07-28T21:09:39.297Z] 59ccb84bbe0f: Download complete [2022-07-28T21:09:39.867Z] bcfd1f05c69d: Verifying Checksum [2022-07-28T21:09:39.867Z] bcfd1f05c69d: Download complete [2022-07-28T21:09:39.867Z] 370296b7ddb6: Verifying Checksum [2022-07-28T21:09:39.867Z] 370296b7ddb6: Download complete [2022-07-28T21:09:44.061Z] 370296b7ddb6: Pull complete [2022-07-28T21:09:44.061Z] 7c6cee850709: Pull complete [2022-07-28T21:09:44.061Z] 39a5fcdaea64: Pull complete [2022-07-28T21:09:44.061Z] d94ebbe4e438: Pull complete [2022-07-28T21:09:45.971Z] bcfd1f05c69d: Pull complete [2022-07-28T21:09:46.910Z] 59ccb84bbe0f: Pull complete [2022-07-28T21:09:46.910Z] Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 [2022-07-28T21:09:46.910Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-07-28T21:09:46.910Z] ---> a4fb48ad2a94 [2022-07-28T21:09:46.910Z] Step 3/13 : ARG MAKE="make build" [2022-07-28T21:09:48.294Z] ---> Running in 481dea93e18a [2022-07-28T21:09:48.554Z] Removing intermediate container 481dea93e18a [2022-07-28T21:09:48.554Z] ---> 65bd4753d67c [2022-07-28T21:09:48.554Z] Step 4/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-07-28T21:09:48.554Z] ---> Running in b0dc43873b1b [2022-07-28T21:09:48.554Z] Removing intermediate container b0dc43873b1b [2022-07-28T21:09:48.554Z] ---> 7dbf5299c07f [2022-07-28T21:09:48.554Z] Step 5/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-28T21:09:48.814Z] ---> Running in 5977fcc90f3b [2022-07-28T21:09:48.814Z] Removing intermediate container 5977fcc90f3b [2022-07-28T21:09:48.814Z] ---> 0f314ec8601b [2022-07-28T21:09:48.814Z] Step 6/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-28T21:09:48.814Z] ---> Running in efde266b905d [2022-07-28T21:09:49.388Z] Removing intermediate container efde266b905d [2022-07-28T21:09:49.388Z] ---> d576f412c4a2 [2022-07-28T21:09:49.388Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-28T21:09:49.388Z] ---> Running in 96587c8a8d3d [2022-07-28T21:09:49.958Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-28T21:09:50.532Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-28T21:09:51.103Z] (1/80) Installing mesa (21.3.8-r1) [2022-07-28T21:09:51.103Z] (2/80) Installing libxau (1.0.9-r0) [2022-07-28T21:09:51.103Z] (3/80) Installing libxdmcp (1.1.3-r0) [2022-07-28T21:09:51.103Z] (4/80) Installing libxcb (1.15-r0) [2022-07-28T21:09:51.364Z] (5/80) Installing libx11 (1.8-r0) [2022-07-28T21:09:51.364Z] (6/80) Installing libxext (1.3.4-r0) [2022-07-28T21:09:51.625Z] (7/80) Installing libxfixes (6.0.0-r0) [2022-07-28T21:09:51.625Z] (8/80) Installing libxxf86vm (1.1.4-r2) [2022-07-28T21:09:51.625Z] (9/80) Installing libpciaccess (0.16-r0) [2022-07-28T21:09:51.887Z] (10/80) Installing libdrm (2.4.110-r0) [2022-07-28T21:09:51.887Z] (11/80) Installing mesa-glapi (21.3.8-r1) [2022-07-28T21:09:51.887Z] (12/80) Installing libxshmfence (1.3-r1) [2022-07-28T21:09:52.148Z] (13/80) Installing mesa-gl (21.3.8-r1) [2022-07-28T21:09:52.148Z] (14/80) Installing icu-data-full (71.1-r2) [2022-07-28T21:09:52.226Z] Still waiting to schedule task [2022-07-28T21:09:52.227Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-07-28T21:09:53.090Z] (15/80) Installing libice (1.0.10-r0) [2022-07-28T21:09:53.090Z] (16/80) Installing libuuid (2.38-r1) [2022-07-28T21:09:53.090Z] (17/80) Installing libsm (1.2.3-r0) [2022-07-28T21:09:53.090Z] (18/80) Installing libxt (1.2.1-r0) [2022-07-28T21:09:53.350Z] (19/80) Installing libxmu (1.1.3-r0) [2022-07-28T21:09:53.350Z] (20/80) Installing xset (1.2.4-r0) [2022-07-28T21:09:53.350Z] (21/80) Installing xprop (1.2.5-r0) [2022-07-28T21:09:53.610Z] (22/80) Installing xdg-utils (1.1.3-r3) [2022-07-28T21:09:53.610Z] (23/80) Installing dbus-libs (1.14.0-r1) [2022-07-28T21:09:53.610Z] (24/80) Installing libffi (3.4.2-r1) [2022-07-28T21:09:53.870Z] (25/80) Installing libintl (0.21-r2) [2022-07-28T21:09:53.870Z] (26/80) Installing libblkid (2.38-r1) [2022-07-28T21:09:53.870Z] (27/80) Installing libmount (2.38-r1) [2022-07-28T21:09:54.133Z] (28/80) Installing pcre (8.45-r2) [2022-07-28T21:09:54.133Z] (29/80) Installing glib (2.72.1-r0) [2022-07-28T21:09:54.394Z] (30/80) Installing icu-libs (71.1-r2) [2022-07-28T21:09:55.784Z] (31/80) Installing libpcre2-16 (10.40-r0) [2022-07-28T21:09:55.784Z] (32/80) Installing zstd-libs (1.5.2-r1) [2022-07-28T21:09:55.784Z] (33/80) Installing qt5-qtbase (5.15.4_git20220511-r1) [2022-07-28T21:09:57.169Z] (34/80) Installing hicolor-icon-theme (0.17-r1) [2022-07-28T21:09:57.169Z] (35/80) Installing wayland-libs-server (1.20.0-r0) [2022-07-28T21:09:57.429Z] (36/80) Installing mesa-gbm (21.3.8-r1) [2022-07-28T21:09:57.429Z] (37/80) Installing wayland-libs-client (1.20.0-r0) [2022-07-28T21:09:57.429Z] (38/80) Installing qt5-qtdeclarative (5.15.4_git20220514-r0) [2022-07-28T21:09:58.009Z] (39/80) Installing libxcomposite (0.4.5-r0) [2022-07-28T21:09:58.009Z] (40/80) Installing libbz2 (1.0.8-r1) [2022-07-28T21:09:58.009Z] (41/80) Installing libpng (1.6.37-r1) [2022-07-28T21:09:58.269Z] (42/80) Installing freetype (2.12.1-r0) [2022-07-28T21:09:58.269Z] (43/80) Installing fontconfig (2.14.0-r0) [2022-07-28T21:09:58.269Z] (44/80) Installing wayland-libs-cursor (1.20.0-r0) [2022-07-28T21:09:58.530Z] (45/80) Installing wayland-libs-egl (1.20.0-r0) [2022-07-28T21:09:58.531Z] (46/80) Installing xkeyboard-config (2.35.1-r0) [2022-07-28T21:09:58.531Z] (47/80) Installing xz-libs (5.2.5-r1) [2022-07-28T21:09:58.791Z] (48/80) Installing libxml2 (2.9.14-r0) [2022-07-28T21:09:58.791Z] (49/80) Installing libxkbcommon (1.4.1-r0) [2022-07-28T21:09:58.791Z] (50/80) Installing qt5-qtwayland (5.15.4_git20220511-r0) [2022-07-28T21:09:59.052Z] (51/80) Installing mesa-egl (21.3.8-r1) [2022-07-28T21:09:59.052Z] (52/80) Installing avahi-libs (0.8-r6) [2022-07-28T21:09:59.312Z] (53/80) Installing nettle (3.7.3-r0) [2022-07-28T21:09:59.312Z] (54/80) Installing p11-kit (0.24.1-r0) [2022-07-28T21:09:59.312Z] (55/80) Installing libtasn1 (4.18.0-r0) [2022-07-28T21:09:59.574Z] (56/80) Installing libunistring (1.0-r0) [2022-07-28T21:09:59.574Z] (57/80) Installing gnutls (3.7.6-r0) [2022-07-28T21:09:59.574Z] (58/80) Installing cups-libs (2.4.2-r0) [2022-07-28T21:09:59.835Z] (59/80) Installing graphite2 (1.3.14-r1) [2022-07-28T21:09:59.835Z] (60/80) Installing harfbuzz (4.3.0-r0) [2022-07-28T21:09:59.835Z] (61/80) Installing libevdev (1.12.1-r0) [2022-07-28T21:10:00.114Z] (62/80) Installing mtdev (1.1.6-r0) [2022-07-28T21:10:00.114Z] (63/80) Installing eudev-libs (3.2.11-r0) [2022-07-28T21:10:00.375Z] (64/80) Installing libinput-libs (1.20.1-r0) [2022-07-28T21:10:00.375Z] (65/80) Installing libjpeg-turbo (2.1.3-r1) [2022-07-28T21:10:00.375Z] (66/80) Installing xcb-util-wm (0.4.1-r1) [2022-07-28T21:10:00.375Z] (67/80) Installing xcb-util (0.4.0-r3) [2022-07-28T21:10:00.636Z] (68/80) Installing xcb-util-image (0.4.0-r1) [2022-07-28T21:10:00.636Z] (69/80) Installing xcb-util-keysyms (0.4.0-r1) [2022-07-28T21:10:00.636Z] (70/80) Installing xcb-util-renderutil (0.3.9-r1) [2022-07-28T21:10:00.897Z] (71/80) Installing libxkbcommon-x11 (1.4.1-r0) [2022-07-28T21:10:00.897Z] (72/80) Installing qt5-qtbase-x11 (5.15.4_git20220511-r1) [2022-07-28T21:10:01.468Z] (73/80) Installing v4l-utils-libs (1.22.1-r1) [2022-07-28T21:10:01.468Z] (74/80) Installing v4l-utils (1.22.1-r1) [2022-07-28T21:10:01.730Z] (75/80) Installing udev-init-scripts (35-r0) [2022-07-28T21:10:01.730Z] Executing udev-init-scripts-35-r0.post-install [2022-07-28T21:10:01.730Z] (76/80) Installing kmod-libs (29-r2) [2022-07-28T21:10:01.730Z] (77/80) Installing eudev (3.2.11-r0) [2022-07-28T21:10:01.990Z] (78/80) Installing eudev-dev (3.2.11-r0) [2022-07-28T21:10:01.990Z] (79/80) Installing v4l-utils-dvbv5 (1.22.1-r1) [2022-07-28T21:10:01.991Z] (80/80) Installing v4l-utils-dev (1.22.1-r1) [2022-07-28T21:10:02.250Z] Executing busybox-1.35.0-r13.trigger [2022-07-28T21:10:02.250Z] Executing eudev-3.2.11-r0.trigger [2022-07-28T21:10:02.250Z] OK: 330 MiB in 131 packages [2022-07-28T21:10:04.164Z] Removing intermediate container 96587c8a8d3d [2022-07-28T21:10:04.164Z] ---> e889229ce649 [2022-07-28T21:10:04.164Z] Step 8/13 : WORKDIR /device-usb-camera [2022-07-28T21:10:04.164Z] ---> Running in d3aa170c6aa4 [2022-07-28T21:10:04.164Z] Removing intermediate container d3aa170c6aa4 [2022-07-28T21:10:04.164Z] ---> 56161c71a9bc [2022-07-28T21:10:04.164Z] Step 9/13 : COPY go.mod vendor* ./ [2022-07-28T21:10:04.426Z] ---> 16c767e95f69 [2022-07-28T21:10:04.426Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-28T21:10:04.426Z] ---> Running in a140e69b9299 [2022-07-28T21:10:19.337Z] Removing intermediate container a140e69b9299 [2022-07-28T21:10:19.337Z] ---> 32b1a4ce4c0d [2022-07-28T21:10:19.337Z] Step 11/13 : COPY . . [2022-07-28T21:10:19.337Z] ---> 223a6f1b4f23 [2022-07-28T21:10:19.337Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-07-28T21:10:19.337Z] ---> Running in 11f157cb67fa [2022-07-28T21:10:19.337Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-28T21:10:19.337Z] Dload Upload Total Spent Left Speed [2022-07-28T21:10:19.337Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0    0 10753 0 --:--:-- --:--:-- --:--:-- 10836 [2022-07-28T21:10:19.337Z] Removing intermediate container 11f157cb67fa [2022-07-28T21:10:19.337Z] ---> fa7b6fcc1f2d [2022-07-28T21:10:19.337Z] Step 13/13 : RUN ${MAKE} [2022-07-28T21:10:19.337Z] ---> Running in 1c4a701a50a0 [2022-07-28T21:10:19.337Z] noop [2022-07-28T21:10:19.337Z] Removing intermediate container 1c4a701a50a0 [2022-07-28T21:10:19.337Z] ---> d69aabd2fef0 [2022-07-28T21:10:19.337Z] Successfully built d69aabd2fef0 [2022-07-28T21:10:19.337Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T21:10:19.657Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-28T21:10:19.657Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T21:10:19.742Z] prd-ubuntu20.04-docker-8c-8g-21404 does not seem to be running inside a container [2022-07-28T21:10:19.836Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/xfoundry_device-usb-camera_PR-73 -v /w/workspace/xfoundry_device-usb-camera_PR-73:/w/workspace/xfoundry_device-usb-camera_PR-73:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-73@tmp:/w/workspace/xfoundry_device-usb-camera_PR-73@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-07-28T21:10:20.222Z] $ docker top 53d01819e91095c6072fb5d2c97c5cc0836cff7a752a3d1098a6b2464b310833 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-28T21:10:20.635Z] + go version [2022-07-28T21:10:20.635Z] go version go1.18.3 linux/amd64 [Pipeline] } [2022-07-28T21:10:20.650Z] $ docker stop --time=1 53d01819e91095c6072fb5d2c97c5cc0836cff7a752a3d1098a6b2464b310833 [2022-07-28T21:10:21.935Z] $ docker rm -f 53d01819e91095c6072fb5d2c97c5cc0836cff7a752a3d1098a6b2464b310833 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T21:10:22.358Z] + docker inspect -f . ci-base-image-x86_64 [2022-07-28T21:10:22.358Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T21:10:22.438Z] prd-ubuntu20.04-docker-8c-8g-21404 does not seem to be running inside a container [2022-07-28T21:10:22.475Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/xfoundry_device-usb-camera_PR-73 -v /w/workspace/xfoundry_device-usb-camera_PR-73:/w/workspace/xfoundry_device-usb-camera_PR-73:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-73@tmp:/w/workspace/xfoundry_device-usb-camera_PR-73@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-07-28T21:10:22.878Z] $ docker top e9d964ac8a879e4d9aa62eb025c2a070e28192ea7ac26cde988fc6e1c5f79307 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-28T21:10:23.241Z] + git config --global --add safe.directory /w/workspace/xfoundry_device-usb-camera_PR-73 [Pipeline] fileExists [Pipeline] sh [2022-07-28T21:10:23.543Z] + make test [2022-07-28T21:10:23.543Z] CGO_ENABLED=1 go test ./... -coverprofile=coverage.out ./... [2022-07-28T21:10:23.801Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2022-07-28T21:10:33.781Z] ? github.com/edgexfoundry/device-usb-camera/cmd [no test files] [2022-07-28T21:10:33.781Z] ok github.com/edgexfoundry/device-usb-camera/internal/driver 0.018s coverage: 1.9% of statements [2022-07-28T21:10:40.349Z] CGO_ENABLED=1 go vet ./... [2022-07-28T21:10:42.260Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-07-28T21:10:42.260Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-07-28T21:10:42.260Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-07-28T21:10:42.843Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-07-28T21:10:42.860Z] $ docker stop --time=1 e9d964ac8a879e4d9aa62eb025c2a070e28192ea7ac26cde988fc6e1c5f79307 [2022-07-28T21:10:44.993Z] $ docker rm -f e9d964ac8a879e4d9aa62eb025c2a070e28192ea7ac26cde988fc6e1c5f79307 [Pipeline] // withDockerContainer [Pipeline] sh [2022-07-28T21:10:45.459Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-07-28T21:10:45.524Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-07-28T21:10:46.065Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-07-28T21:10:46.363Z] + ls -al . [2022-07-28T21:10:46.363Z] total 196 [2022-07-28T21:10:46.363Z] drwxrwxr-x 9 jenkins jenkins 4096 Jul 28 21:10 . [2022-07-28T21:10:46.363Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 21:09 .. [2022-07-28T21:10:46.363Z] drwxrwxr-x 8 jenkins jenkins 4096 Jul 28 21:10 .git [2022-07-28T21:10:46.363Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 28 21:09 .github [2022-07-28T21:10:46.363Z] -rw-rw-r-- 1 jenkins jenkins 414 Jul 28 21:09 .gitignore [2022-07-28T21:10:46.363Z] -rw-rw-r-- 1 jenkins jenkins 42 Jul 28 21:09 .golangci.yml [2022-07-28T21:10:46.363Z] -rw-rw-r-- 1 jenkins jenkins 77 Jul 28 21:09 .hadolint.yml [2022-07-28T21:10:46.363Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 28 21:09 .semver [2022-07-28T21:10:46.363Z] -rw-rw-r-- 1 jenkins jenkins 9065 Jul 28 21:09 Attribution.txt [2022-07-28T21:10:46.363Z] -rw-rw-r-- 1 jenkins jenkins 1206 Jul 28 21:09 CHANGELOG.md [2022-07-28T21:10:46.363Z] -rw-rw-r-- 1 jenkins jenkins 2410 Jul 28 21:09 Dockerfile [2022-07-28T21:10:46.363Z] -rw-rw-r-- 1 jenkins jenkins 678 Jul 28 21:09 GOVERNANCE.md [2022-07-28T21:10:46.363Z] -rw-rw-r-- 1 jenkins jenkins 659 Jul 28 21:09 Jenkinsfile [2022-07-28T21:10:46.363Z] -rw-rw-r-- 1 jenkins jenkins 11348 Jul 28 21:09 LICENSE [2022-07-28T21:10:46.363Z] -rw-rw-r-- 1 jenkins jenkins 2345 Jul 28 21:09 Makefile [2022-07-28T21:10:46.363Z] -rw-rw-r-- 1 jenkins jenkins 622 Jul 28 21:09 OWNERS.md [2022-07-28T21:10:46.363Z] -rw-rw-r-- 1 jenkins jenkins 12823 Jul 28 21:09 README.md [2022-07-28T21:10:46.363Z] -rw-rw-r-- 1 jenkins jenkins 5 Jul 28 21:09 VERSION [2022-07-28T21:10:46.363Z] drwxrwxr-x 2 jenkins jenkins 4096 Jul 28 21:09 bin [2022-07-28T21:10:46.363Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 28 21:09 cmd [2022-07-28T21:10:46.364Z] -rw-r--r-- 1 jenkins jenkins 29387 Jul 28 21:10 coverage.out [2022-07-28T21:10:46.364Z] -rwxrwxr-x 1 jenkins jenkins 140 Jul 28 21:09 docker-entrypoint.sh [2022-07-28T21:10:46.364Z] -rw-rw-r-- 1 jenkins jenkins 3382 Jul 28 21:09 go.mod [2022-07-28T21:10:46.364Z] -rw-rw-r-- 1 jenkins jenkins 35824 Jul 28 21:09 go.sum [2022-07-28T21:10:46.364Z] drwxrwxr-x 3 jenkins jenkins 4096 Jul 28 21:09 internal [2022-07-28T21:10:46.364Z] drwxrwxr-x 4 jenkins jenkins 4096 Jul 28 21:09 snap [2022-07-28T21:10:46.364Z] -rw-rw-r-- 1 jenkins jenkins 231 Jul 28 21:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T21:10:46.675Z] + docker build -t device-usb-camera -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=d11c0ae7d6cc8fb3eec99b6c4d0ad3788583cf6f --label arch=amd64 --label version=0.0.0 . [2022-07-28T21:10:46.675Z] Sending build context to Docker daemon 902.1kB [2022-07-28T21:10:46.675Z] Step 1/35 : ARG BASE=golang:1.17-alpine3.15 [2022-07-28T21:10:46.675Z] Step 2/35 : FROM ${BASE} AS builder [2022-07-28T21:10:46.675Z] ---> d69aabd2fef0 [2022-07-28T21:10:46.675Z] Step 3/35 : ARG MAKE="make build" [2022-07-28T21:10:46.675Z] ---> Running in 82f9caa5e175 [2022-07-28T21:10:46.675Z] Removing intermediate container 82f9caa5e175 [2022-07-28T21:10:46.675Z] ---> 0f8aa931c80e [2022-07-28T21:10:46.675Z] Step 4/35 : ARG ALPINE_PKG_BASE="make git gcc libc-dev zeromq-dev libsodium-dev curl" [2022-07-28T21:10:46.937Z] ---> Running in a6b0553756e5 [2022-07-28T21:10:46.937Z] Removing intermediate container a6b0553756e5 [2022-07-28T21:10:46.937Z] ---> 6230ac84ba42 [2022-07-28T21:10:46.937Z] Step 5/35 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2022-07-28T21:10:46.937Z] ---> Running in 825013b5c6e1 [2022-07-28T21:10:47.199Z] Removing intermediate container 825013b5c6e1 [2022-07-28T21:10:47.199Z] ---> 2b7c2846c8ea [2022-07-28T21:10:47.199Z] Step 6/35 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-07-28T21:10:47.199Z] ---> Running in 7c34144d45ae [2022-07-28T21:10:47.770Z] Removing intermediate container 7c34144d45ae [2022-07-28T21:10:47.770Z] ---> 0b6fc45e72a9 [2022-07-28T21:10:47.770Z] Step 7/35 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-07-28T21:10:47.770Z] ---> Running in db642959b0d1 [2022-07-28T21:10:48.032Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-07-28T21:10:48.978Z] fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-07-28T21:10:49.237Z] OK: 330 MiB in 131 packages [2022-07-28T21:10:49.497Z] Removing intermediate container db642959b0d1 [2022-07-28T21:10:49.497Z] ---> ae6ddff4ef03 [2022-07-28T21:10:49.497Z] Step 8/35 : WORKDIR /device-usb-camera [2022-07-28T21:10:49.497Z] ---> Running in afe91b9c116c [2022-07-28T21:10:49.757Z] Removing intermediate container afe91b9c116c [2022-07-28T21:10:49.757Z] ---> 5eeef3046301 [2022-07-28T21:10:49.757Z] Step 9/35 : COPY go.mod vendor* ./ [2022-07-28T21:10:49.757Z] ---> c7e3a16bb2d4 [2022-07-28T21:10:49.757Z] Step 10/35 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-07-28T21:10:49.757Z] ---> Running in 0017c966ae10 [2022-07-28T21:10:50.696Z] Removing intermediate container 0017c966ae10 [2022-07-28T21:10:50.697Z] ---> 04f836132131 [2022-07-28T21:10:50.697Z] Step 11/35 : COPY . . [2022-07-28T21:10:50.697Z] ---> e4a47023a0b7 [2022-07-28T21:10:50.697Z] Step 12/35 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2022-07-28T21:10:50.697Z] ---> Running in 4a4be5328726 [2022-07-28T21:10:50.956Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-28T21:10:50.956Z] Dload Upload Total Spent Left Speed [2022-07-28T21:10:51.219Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 43746 0 --:--:-- --:--:-- --:--:-- 44250 [2022-07-28T21:10:51.480Z] Removing intermediate container 4a4be5328726 [2022-07-28T21:10:51.480Z] ---> 9284fb3c9168 [2022-07-28T21:10:51.480Z] Step 13/35 : RUN ${MAKE} [2022-07-28T21:10:51.480Z] ---> Running in 86bf4cf1c178 [2022-07-28T21:10:51.739Z] CGO_ENABLED=1 go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-usb-camera.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v2/internal/common.SDKVersion=v2.2.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-usb-camera ./cmd [2022-07-28T21:11:13.711Z] Removing intermediate container 86bf4cf1c178 [2022-07-28T21:11:13.711Z] ---> 30958eb617bd [2022-07-28T21:11:13.711Z] Step 14/35 : FROM aler9/rtsp-simple-server:v0.18.4 AS rtsp [2022-07-28T21:11:13.711Z] v0.18.4: Pulling from aler9/rtsp-simple-server [2022-07-28T21:11:13.711Z] af6660deedbd: Pulling fs layer [2022-07-28T21:11:13.711Z] 97cd0a44c592: Pulling fs layer [2022-07-28T21:11:13.711Z] 97cd0a44c592: Download complete [2022-07-28T21:11:13.711Z] af6660deedbd: Download complete [2022-07-28T21:11:13.711Z] af6660deedbd: Pull complete [2022-07-28T21:11:13.711Z] 97cd0a44c592: Pull complete [2022-07-28T21:11:13.711Z] Digest: sha256:1453d1d853d0ebdb57f9d2cbebc75114a1174f7b08edc414400166566d9ff563 [2022-07-28T21:11:13.711Z] Status: Downloaded newer image for aler9/rtsp-simple-server:v0.18.4 [2022-07-28T21:11:13.711Z] ---> fea57e182299 [2022-07-28T21:11:13.711Z] Step 15/35 : FROM alpine:3.15 [2022-07-28T21:11:13.711Z] 3.15: Pulling from library/alpine [2022-07-28T21:11:13.711Z] ab6db1bc80d0: Pulling fs layer [2022-07-28T21:11:13.711Z] ab6db1bc80d0: Verifying Checksum [2022-07-28T21:11:13.711Z] ab6db1bc80d0: Download complete [2022-07-28T21:11:13.711Z] ab6db1bc80d0: Pull complete [2022-07-28T21:11:13.711Z] Digest: sha256:0483110c51a764abe175a8cefb941541ca0bc0f628ce418d3a660338abf4622a [2022-07-28T21:11:13.711Z] Status: Downloaded newer image for alpine:3.15 [2022-07-28T21:11:13.711Z] ---> 2720e26172a0 [2022-07-28T21:11:13.711Z] Step 16/35 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' [2022-07-28T21:11:13.711Z] ---> Running in 6b11010e3bbf [2022-07-28T21:11:13.711Z] Removing intermediate container 6b11010e3bbf [2022-07-28T21:11:13.711Z] ---> 446cba9e4e8d [2022-07-28T21:11:13.711Z] Step 17/35 : RUN apk add --update --no-cache zeromq dumb-init ffmpeg udev [2022-07-28T21:11:13.711Z] ---> Running in 7b34e7c50183 [2022-07-28T21:11:13.971Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-07-28T21:11:14.231Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-07-28T21:11:14.231Z] (1/74) Installing dumb-init (1.2.5-r1) [2022-07-28T21:11:14.231Z] (2/74) Installing sdl2 (2.0.16-r4) [2022-07-28T21:11:14.231Z] (3/74) Installing libxau (1.0.9-r0) [2022-07-28T21:11:14.231Z] (4/74) Installing libmd (1.0.3-r0) [2022-07-28T21:11:14.231Z] (5/74) Installing libbsd (0.11.3-r1) [2022-07-28T21:11:14.231Z] (6/74) Installing libxdmcp (1.1.3-r0) [2022-07-28T21:11:14.491Z] (7/74) Installing libxcb (1.14-r2) [2022-07-28T21:11:14.491Z] (8/74) Installing libx11 (1.7.2-r0) [2022-07-28T21:11:14.491Z] (9/74) Installing aom-libs (3.2.0-r0) [2022-07-28T21:11:14.491Z] (10/74) Installing alsa-lib (1.2.5.1-r1) [2022-07-28T21:11:14.491Z] (11/74) Installing expat (2.4.7-r0) [2022-07-28T21:11:14.491Z] (12/74) Installing brotli-libs (1.0.9-r5) [2022-07-28T21:11:14.491Z] (13/74) Installing libbz2 (1.0.8-r1) [2022-07-28T21:11:14.491Z] (14/74) Installing libpng (1.6.37-r1) [2022-07-28T21:11:14.491Z] (15/74) Installing freetype (2.11.1-r2) [2022-07-28T21:11:14.491Z] (16/74) Installing libuuid (2.37.4-r0) [2022-07-28T21:11:14.491Z] (17/74) Installing fontconfig (2.13.1-r4) [2022-07-28T21:11:14.491Z] (18/74) Installing fribidi (1.0.11-r0) [2022-07-28T21:11:14.491Z] (19/74) Installing libffi (3.4.2-r1) [2022-07-28T21:11:14.491Z] (20/74) Installing libintl (0.21-r0) [2022-07-28T21:11:14.491Z] (21/74) Installing libblkid (2.37.4-r0) [2022-07-28T21:11:14.491Z] (22/74) Installing libmount (2.37.4-r0) [2022-07-28T21:11:14.491Z] (23/74) Installing pcre (8.45-r1) [2022-07-28T21:11:14.491Z] (24/74) Installing glib (2.70.1-r0) [2022-07-28T21:11:14.491Z] (25/74) Installing graphite2 (1.3.14-r0) [2022-07-28T21:11:14.491Z] (26/74) Installing harfbuzz (3.0.0-r2) [2022-07-28T21:11:14.491Z] (27/74) Installing libass (0.15.2-r0) [2022-07-28T21:11:14.491Z] (28/74) Installing libdav1d (0.9.2-r0) [2022-07-28T21:11:14.491Z] (29/74) Installing gmp (6.2.1-r1) [2022-07-28T21:11:14.753Z] (30/74) Installing nettle (3.7.3-r0) [2022-07-28T21:11:14.753Z] (31/74) Installing p11-kit (0.24.0-r1) [2022-07-28T21:11:14.753Z] (32/74) Installing libtasn1 (4.18.0-r0) [2022-07-28T21:11:14.753Z] (33/74) Installing libunistring (0.9.10-r1) [2022-07-28T21:11:14.753Z] (34/74) Installing gnutls (3.7.1-r0) [2022-07-28T21:11:14.753Z] (35/74) Installing ncurses-terminfo-base (6.3_p20211120-r1) [2022-07-28T21:11:14.753Z] (36/74) Installing ncurses-libs (6.3_p20211120-r1) [2022-07-28T21:11:14.753Z] (37/74) Installing lame (3.100-r0) [2022-07-28T21:11:14.753Z] (38/74) Installing opus (1.3.1-r1) [2022-07-28T21:11:14.753Z] (39/74) Installing libgomp (10.3.1_git20211027-r0) [2022-07-28T21:11:14.753Z] (40/74) Installing soxr (0.1.3-r2) [2022-07-28T21:11:14.753Z] (41/74) Installing libgcc (10.3.1_git20211027-r0) [2022-07-28T21:11:14.753Z] (42/74) Installing libstdc++ (10.3.1_git20211027-r0) [2022-07-28T21:11:14.753Z] (43/74) Installing libsrt (1.4.2-r1) [2022-07-28T21:11:14.753Z] (44/74) Installing libssh (0.9.6-r1) [2022-07-28T21:11:14.753Z] (45/74) Installing libogg (1.3.5-r0) [2022-07-28T21:11:14.753Z] (46/74) Installing libtheora (1.1.1-r16) [2022-07-28T21:11:14.753Z] (47/74) Installing libjpeg-turbo (2.1.2-r0) [2022-07-28T21:11:14.753Z] (48/74) Installing v4l-utils-libs (1.22.1-r1) [2022-07-28T21:11:14.753Z] (49/74) Installing libxext (1.3.4-r0) [2022-07-28T21:11:14.753Z] (50/74) Installing libxfixes (6.0.0-r0) [2022-07-28T21:11:14.753Z] (51/74) Installing libpciaccess (0.16-r0) [2022-07-28T21:11:14.753Z] (52/74) Installing libdrm (2.4.109-r0) [2022-07-28T21:11:14.753Z] (53/74) Installing wayland-libs-client (1.19.0-r1) [2022-07-28T21:11:14.753Z] (54/74) Installing libva (2.13.0-r0) [2022-07-28T21:11:14.753Z] (55/74) Installing libvdpau (1.4-r0) [2022-07-28T21:11:14.753Z] (56/74) Installing vidstab (1.1.0-r1) [2022-07-28T21:11:14.753Z] (57/74) Installing libvorbis (1.3.7-r0) [2022-07-28T21:11:14.753Z] (58/74) Installing libvpx (1.10.0-r0) [2022-07-28T21:11:15.013Z] (59/74) Installing vulkan-loader (1.2.196-r0) [2022-07-28T21:11:15.013Z] (60/74) Installing libwebp (1.2.2-r0) [2022-07-28T21:11:15.013Z] (61/74) Installing x264-libs (20210613-r0) [2022-07-28T21:11:15.013Z] (62/74) Installing x265-libs (3.5-r0) [2022-07-28T21:11:15.013Z] (63/74) Installing xvidcore (1.3.7-r1) [2022-07-28T21:11:15.013Z] (64/74) Installing ffmpeg-libs (4.4.1-r2) [2022-07-28T21:11:15.013Z] (65/74) Installing ffmpeg (4.4.1-r2) [2022-07-28T21:11:15.013Z] (66/74) Installing udev-init-scripts (35-r0) [2022-07-28T21:11:15.013Z] Executing udev-init-scripts-35-r0.post-install [2022-07-28T21:11:15.013Z] (67/74) Installing eudev-libs (3.2.11_pre1-r0) [2022-07-28T21:11:15.013Z] (68/74) Installing xz-libs (5.2.5-r1) [2022-07-28T21:11:15.013Z] (69/74) Installing zstd-libs (1.5.0-r0) [2022-07-28T21:11:15.013Z] (70/74) Installing kmod-libs (29-r2) [2022-07-28T21:11:15.013Z] (71/74) Installing eudev (3.2.11_pre1-r0) [2022-07-28T21:11:15.273Z] (72/74) Installing libsodium (1.0.18-r0) [2022-07-28T21:11:15.273Z] (73/74) Installing libzmq (4.3.4-r0) [2022-07-28T21:11:15.273Z] (74/74) Installing zeromq (4.3.4-r0) [2022-07-28T21:11:15.273Z] Executing busybox-1.34.1-r7.trigger [2022-07-28T21:11:15.273Z] Executing eudev-3.2.11_pre1-r0.trigger [2022-07-28T21:11:15.273Z] OK: 78 MiB in 88 packages [2022-07-28T21:11:16.654Z] Removing intermediate container 7b34e7c50183 [2022-07-28T21:11:16.654Z] ---> 62a952da320a [2022-07-28T21:11:16.654Z] Step 18/35 : WORKDIR / [2022-07-28T21:11:16.654Z] ---> Running in b222e558fc71 [2022-07-28T21:11:16.654Z] Removing intermediate container b222e558fc71 [2022-07-28T21:11:16.654Z] ---> e4757ba521a6 [2022-07-28T21:11:16.654Z] Step 19/35 : COPY --from=builder /device-usb-camera/cmd / [2022-07-28T21:11:17.223Z] ---> 5ae9009a37b3 [2022-07-28T21:11:17.223Z] Step 20/35 : COPY --from=builder /device-usb-camera/LICENSE / [2022-07-28T21:11:17.223Z] ---> e4ad75a5c706 [2022-07-28T21:11:17.223Z] Step 21/35 : COPY --from=builder /device-usb-camera/LICENSE-rtsp-simple-server / [2022-07-28T21:11:17.483Z] ---> e1800bfcc23c [2022-07-28T21:11:17.483Z] Step 22/35 : COPY --from=builder /device-usb-camera/Attribution.txt / [2022-07-28T21:11:17.483Z] ---> d8040c115277 [2022-07-28T21:11:17.483Z] Step 23/35 : COPY --from=builder /device-usb-camera/docker-entrypoint.sh / [2022-07-28T21:11:17.743Z] ---> c5bfaea62030 [2022-07-28T21:11:17.743Z] Step 24/35 : COPY --from=rtsp /rtsp-simple-server.yml / [2022-07-28T21:11:18.001Z] ---> 03ad3e990aa5 [2022-07-28T21:11:18.001Z] Step 25/35 : COPY --from=rtsp /rtsp-simple-server / [2022-07-28T21:11:18.262Z] ---> 939ab38a8375 [2022-07-28T21:11:18.262Z] Step 26/35 : RUN sed -i 's/rtmpDisable: no/rtmpDisable: yes/g' rtsp-simple-server.yml [2022-07-28T21:11:18.262Z] ---> Running in caab23fe7841 [2022-07-28T21:11:18.831Z] Removing intermediate container caab23fe7841 [2022-07-28T21:11:18.831Z] ---> d4f326d46037 [2022-07-28T21:11:18.831Z] Step 27/35 : RUN sed -i 's/hlsDisable: no/hlsDisable: yes/g' rtsp-simple-server.yml [2022-07-28T21:11:18.831Z] ---> Running in 613d3ea647ab [2022-07-28T21:11:19.407Z] Removing intermediate container 613d3ea647ab [2022-07-28T21:11:19.407Z] ---> ed8b01ae7aab [2022-07-28T21:11:19.407Z] Step 28/35 : RUN sed -i 's/protocols: \[udp, multicast, tcp\]/protocols: \[tcp\]/g' rtsp-simple-server.yml [2022-07-28T21:11:19.407Z] ---> Running in 3510430594e3 [2022-07-28T21:11:20.348Z] Removing intermediate container 3510430594e3 [2022-07-28T21:11:20.348Z] ---> 18f8a6fc8ea4 [2022-07-28T21:11:20.348Z] Step 29/35 : EXPOSE 59983 [2022-07-28T21:11:20.348Z] ---> Running in f1e141d62d0f [2022-07-28T21:11:20.348Z] Removing intermediate container f1e141d62d0f [2022-07-28T21:11:20.348Z] ---> eb4dbbfc29b6 [2022-07-28T21:11:20.348Z] Step 30/35 : EXPOSE 8554 [2022-07-28T21:11:20.348Z] ---> Running in 9c63b31ad31a [2022-07-28T21:11:20.348Z] Removing intermediate container 9c63b31ad31a [2022-07-28T21:11:20.348Z] ---> 994afa4f6f77 [2022-07-28T21:11:20.348Z] Step 31/35 : ENTRYPOINT ["/docker-entrypoint.sh"] [2022-07-28T21:11:20.348Z] ---> Running in ff58632b3d4b [2022-07-28T21:11:20.614Z] Removing intermediate container ff58632b3d4b [2022-07-28T21:11:20.614Z] ---> 77e95f7efe05 [2022-07-28T21:11:20.614Z] Step 32/35 : CMD [ "--configProvider=consul.http://edgex-core-consul:8500", "--registry", "--confdir=/res" ] [2022-07-28T21:11:20.614Z] ---> Running in e2bb79575063 [2022-07-28T21:11:20.614Z] Removing intermediate container e2bb79575063 [2022-07-28T21:11:20.614Z] ---> dcbda3ce3756 [2022-07-28T21:11:20.614Z] Step 33/35 : LABEL arch=amd64 [2022-07-28T21:11:20.614Z] ---> Running in 31518d743719 [2022-07-28T21:11:20.874Z] Removing intermediate container 31518d743719 [2022-07-28T21:11:20.874Z] ---> 88246bac205c [2022-07-28T21:11:20.874Z] Step 34/35 : LABEL git_sha=d11c0ae7d6cc8fb3eec99b6c4d0ad3788583cf6f [2022-07-28T21:11:20.874Z] ---> Running in a3b6fc29c3db [2022-07-28T21:11:20.874Z] Removing intermediate container a3b6fc29c3db [2022-07-28T21:11:20.874Z] ---> 51470c043bd9 [2022-07-28T21:11:20.874Z] Step 35/35 : LABEL version=0.0.0 [2022-07-28T21:11:20.874Z] ---> Running in 2da5748d26ca [2022-07-28T21:11:21.134Z] Removing intermediate container 2da5748d26ca [2022-07-28T21:11:21.134Z] ---> 3d15491c0d68 [2022-07-28T21:11:21.134Z] [Warning] One or more build-args [ARCH] were not consumed [2022-07-28T21:11:21.134Z] Successfully built 3d15491c0d68 [2022-07-28T21:11:21.134Z] Successfully tagged device-usb-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T21:11:21.584Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-28T21:11:21.585Z] [2022-07-28T21:11:21.585Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T21:11:21.893Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-28T21:11:21.893Z] latest: Pulling from edgex-lftools-log-publisher [2022-07-28T21:11:21.893Z] 5eb5b503b376: Pulling fs layer [2022-07-28T21:11:21.893Z] 5c69ac0246d0: Pulling fs layer [2022-07-28T21:11:21.893Z] ec43610c2a17: Pulling fs layer [2022-07-28T21:11:21.893Z] 3a2ae6a8a46f: Pulling fs layer [2022-07-28T21:11:21.893Z] 33b1e0a273af: Pulling fs layer [2022-07-28T21:11:21.893Z] 5d3b04190fa2: Pulling fs layer [2022-07-28T21:11:21.893Z] 2f39f015ded8: Pulling fs layer [2022-07-28T21:11:21.893Z] 3a2ae6a8a46f: Waiting [2022-07-28T21:11:21.893Z] 33b1e0a273af: Waiting [2022-07-28T21:11:21.893Z] 5d3b04190fa2: Waiting [2022-07-28T21:11:21.893Z] 2f39f015ded8: Waiting [2022-07-28T21:11:21.893Z] 5c69ac0246d0: Download complete [2022-07-28T21:11:21.893Z] 3a2ae6a8a46f: Verifying Checksum [2022-07-28T21:11:21.893Z] 3a2ae6a8a46f: Download complete [2022-07-28T21:11:22.156Z] 33b1e0a273af: Verifying Checksum [2022-07-28T21:11:22.156Z] 33b1e0a273af: Download complete [2022-07-28T21:11:22.156Z] ec43610c2a17: Verifying Checksum [2022-07-28T21:11:22.156Z] ec43610c2a17: Download complete [2022-07-28T21:11:22.156Z] 5d3b04190fa2: Verifying Checksum [2022-07-28T21:11:22.156Z] 5d3b04190fa2: Download complete [2022-07-28T21:11:22.156Z] 5eb5b503b376: Verifying Checksum [2022-07-28T21:11:22.156Z] 5eb5b503b376: Download complete [2022-07-28T21:11:22.724Z] 2f39f015ded8: Download complete [2022-07-28T21:11:23.291Z] 5eb5b503b376: Pull complete [2022-07-28T21:11:23.550Z] 5c69ac0246d0: Pull complete [2022-07-28T21:11:24.117Z] ec43610c2a17: Pull complete [2022-07-28T21:11:24.117Z] 3a2ae6a8a46f: Pull complete [2022-07-28T21:11:24.376Z] 33b1e0a273af: Pull complete [2022-07-28T21:11:24.376Z] 5d3b04190fa2: Pull complete [2022-07-28T21:11:28.583Z] 2f39f015ded8: Pull complete [2022-07-28T21:11:28.583Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-07-28T21:11:28.583Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-28T21:11:28.583Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T21:11:28.680Z] prd-ubuntu20.04-docker-8c-8g-21404 does not seem to be running inside a container [2022-07-28T21:11:28.750Z] $ 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/xfoundry_device-usb-camera_PR-73 -v /w/workspace/xfoundry_device-usb-camera_PR-73:/w/workspace/xfoundry_device-usb-camera_PR-73:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-73@tmp:/w/workspace/xfoundry_device-usb-camera_PR-73@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-07-28T21:11:30.589Z] $ docker top 8336bb6ad0be17d2c14ba2cf84a185eb76220ef53bfc11066dbe3ba8cf2aaf1d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-28T21:11:30.997Z] ---> job-cost.sh [2022-07-28T21:11:30.997Z] lf-activate-venv: SKIPPING [2022-07-28T21:11:30.997Z] INFO: No Stack... [2022-07-28T21:11:31.257Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-28T21:11:31.827Z] INFO: Archiving Costs [Pipeline] sh [2022-07-28T21:11:32.119Z] + cat /w/workspace/xfoundry_device-usb-camera_PR-73/archives/cost.csv [2022-07-28T21:11:32.119Z] + cut -d, -f6 [Pipeline] lock [2022-07-28T21:11:32.134Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-73-2-stack-cost] [2022-07-28T21:11:32.148Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-73-2-stack-cost] did not exist. Created. [2022-07-28T21:11:32.148Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-73-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-28T21:11:32.450Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-07-28T21:11:32.472Z] Stashed 1 file(s) [Pipeline] } [2022-07-28T21:11:32.481Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-73-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-28T21:11:32.507Z] $ docker stop --time=1 8336bb6ad0be17d2c14ba2cf84a185eb76220ef53bfc11066dbe3ba8cf2aaf1d [2022-07-28T21:11:33.671Z] $ docker rm -f 8336bb6ad0be17d2c14ba2cf84a185eb76220ef53bfc11066dbe3ba8cf2aaf1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-28T21:13:25.606Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-21405 in /w/workspace/xfoundry_device-usb-camera_PR-73 [Pipeline] { [Pipeline] ws [2022-07-28T21:13:25.619Z] Running in /w/workspace/device-usb-camera/2 [Pipeline] { [Pipeline] checkout [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-07-28T21:13:28.569Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-07-28T21:13:28.569Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-07-28T21:13:28.569Z] Dload Upload Total Spent Left Speed [2022-07-28T21:13:28.569Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12332 100 12332 0 0 55549 0 --:--:-- --:--:-- --:--:-- 55549 [Pipeline] sh [2022-07-28T21:13:29.917Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-07-28T21:13:30.422Z] + sudo tee /etc/docker/daemon.new [2022-07-28T21:13:30.422Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-07-28T21:13:30.422Z] { [2022-07-28T21:13:30.422Z] "registry-mirrors": [ [2022-07-28T21:13:30.422Z] "https://nexus3.edgexfoundry.org:10001" [2022-07-28T21:13:30.422Z] ], [2022-07-28T21:13:30.422Z] "bip": "10.250.0.254/24", [2022-07-28T21:13:30.422Z] "hosts": [ [2022-07-28T21:13:30.422Z] "tcp://0.0.0.0:5555", [2022-07-28T21:13:30.422Z] "unix:///var/run/docker.sock" [2022-07-28T21:13:30.422Z] ], [2022-07-28T21:13:30.422Z] "mtu": 1458, [2022-07-28T21:13:30.422Z] "selinux-enabled": true, [2022-07-28T21:13:30.422Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-07-28T21:13:30.422Z] } [Pipeline] sh [2022-07-28T21:13:30.931Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-07-28T21:13:31.423Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-28T21:13:49.860Z] provisioning config files... [2022-07-28T21:13:49.894Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/2@tmp/config685782143113192570tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-28T21:13:50.290Z] ---> docker-login.sh [2022-07-28T21:13:50.290Z] nexus3.edgexfoundry.org:10001 [2022-07-28T21:13:50.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T21:13:51.176Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T21:13:51.176Z] Configure a credential helper to remove this warning. See [2022-07-28T21:13:51.176Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T21:13:51.176Z] [2022-07-28T21:13:51.176Z] Login Succeeded [2022-07-28T21:13:51.176Z] nexus3.edgexfoundry.org:10002 [2022-07-28T21:13:51.780Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T21:13:51.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T21:13:51.780Z] Configure a credential helper to remove this warning. See [2022-07-28T21:13:51.781Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T21:13:51.781Z] [2022-07-28T21:13:51.781Z] Login Succeeded [2022-07-28T21:13:51.781Z] nexus3.edgexfoundry.org:10003 [2022-07-28T21:13:52.393Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T21:13:52.393Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T21:13:52.393Z] Configure a credential helper to remove this warning. See [2022-07-28T21:13:52.393Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T21:13:52.393Z] [2022-07-28T21:13:52.393Z] Login Succeeded [2022-07-28T21:13:52.393Z] nexus3.edgexfoundry.org:10004 [2022-07-28T21:13:52.676Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T21:13:52.955Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T21:13:52.955Z] Configure a credential helper to remove this warning. See [2022-07-28T21:13:52.955Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T21:13:52.955Z] [2022-07-28T21:13:52.955Z] Login Succeeded [2022-07-28T21:13:52.955Z] docker.io [2022-07-28T21:13:53.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-07-28T21:13:53.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-07-28T21:13:53.506Z] Configure a credential helper to remove this warning. See [2022-07-28T21:13:53.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-07-28T21:13:53.506Z] [2022-07-28T21:13:53.506Z] Login Succeeded [2022-07-28T21:13:53.541Z] ---> docker-login.sh ends [Pipeline] } [2022-07-28T21:13:53.542Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-07-28T21:13:54.029Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-28T21:13:54.046Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-07-28T21:13:54.056Z] ========================================================= [2022-07-28T21:13:54.056Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-07-28T21:13:54.056Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] sh [2022-07-28T21:13:54.409Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-28T21:13:54.688Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-07-28T21:13:54.688Z] b3c136eddcbf: Pulling fs layer [2022-07-28T21:13:54.688Z] c0a3192eca97: Pulling fs layer [2022-07-28T21:13:54.688Z] a050256f5b6f: Pulling fs layer [2022-07-28T21:13:54.688Z] 656be50a0ddc: Pulling fs layer [2022-07-28T21:13:54.688Z] 2bbca73fdf42: Pulling fs layer [2022-07-28T21:13:54.688Z] 46d945488cbd: Pulling fs layer [2022-07-28T21:13:54.688Z] 8a5474983e97: Pulling fs layer [2022-07-28T21:13:54.688Z] 329c88fbcd65: Pulling fs layer [2022-07-28T21:13:54.688Z] 656be50a0ddc: Waiting [2022-07-28T21:13:54.688Z] 2bbca73fdf42: Waiting [2022-07-28T21:13:54.688Z] 46d945488cbd: Waiting [2022-07-28T21:13:54.688Z] 8a5474983e97: Waiting [2022-07-28T21:13:54.688Z] 329c88fbcd65: Waiting [2022-07-28T21:13:54.688Z] a050256f5b6f: Verifying Checksum [2022-07-28T21:13:54.688Z] a050256f5b6f: Download complete [2022-07-28T21:13:54.688Z] c0a3192eca97: Download complete [2022-07-28T21:13:54.688Z] 2bbca73fdf42: Verifying Checksum [2022-07-28T21:13:54.688Z] 2bbca73fdf42: Download complete [2022-07-28T21:13:54.688Z] 46d945488cbd: Verifying Checksum [2022-07-28T21:13:54.688Z] 46d945488cbd: Download complete [2022-07-28T21:13:54.688Z] b3c136eddcbf: Verifying Checksum [2022-07-28T21:13:55.693Z] b3c136eddcbf: Pull complete [2022-07-28T21:13:55.693Z] 329c88fbcd65: Verifying Checksum [2022-07-28T21:13:55.693Z] 329c88fbcd65: Download complete [2022-07-28T21:13:56.300Z] c0a3192eca97: Pull complete [2022-07-28T21:13:56.908Z] a050256f5b6f: Pull complete [2022-07-28T21:13:57.185Z] 8a5474983e97: Verifying Checksum [2022-07-28T21:13:57.185Z] 8a5474983e97: Download complete [2022-07-28T21:13:57.789Z] 656be50a0ddc: Verifying Checksum [2022-07-28T21:13:57.789Z] 656be50a0ddc: Download complete [2022-07-28T21:14:13.027Z] 656be50a0ddc: Pull complete [2022-07-28T21:14:13.027Z] 2bbca73fdf42: Pull complete [2022-07-28T21:14:13.027Z] 46d945488cbd: Pull complete [2022-07-28T21:14:16.421Z] 8a5474983e97: Pull complete [2022-07-28T21:14:18.404Z] 329c88fbcd65: Pull complete [2022-07-28T21:14:18.404Z] Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 [2022-07-28T21:14:18.404Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-07-28T21:14:18.404Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [Pipeline] sh [2022-07-28T21:14:18.764Z] + docker tag nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine ci-base-image-arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T21:14:19.134Z] + docker inspect -f . ci-base-image-arm64 [2022-07-28T21:14:19.135Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T21:14:19.412Z] prd-ubuntu20.04-docker-arm64-4c-16g-21405 does not seem to be running inside a container [2022-07-28T21:14:19.520Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-28T21:14:22.850Z] $ docker top 2a9a12dc998c77396f8c5f019be9c23e421b2dd5b6e79a5a00f7d0c3a1fc839b -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-28T21:14:23.872Z] + go version [2022-07-28T21:14:23.872Z] go version go1.18.3 linux/arm64 [Pipeline] } [2022-07-28T21:14:23.903Z] $ docker stop --time=1 2a9a12dc998c77396f8c5f019be9c23e421b2dd5b6e79a5a00f7d0c3a1fc839b [2022-07-28T21:14:25.608Z] $ docker rm -f 2a9a12dc998c77396f8c5f019be9c23e421b2dd5b6e79a5a00f7d0c3a1fc839b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T21:14:26.254Z] + docker inspect -f . ci-base-image-arm64 [2022-07-28T21:14:26.254Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T21:14:26.518Z] prd-ubuntu20.04-docker-arm64-4c-16g-21405 does not seem to be running inside a container [2022-07-28T21:14:26.613Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -w /w/workspace/device-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-07-28T21:14:27.957Z] $ docker top e69bb3941d5f45efc740688ef643b7c276b0a45a65335863a6aa476abf9d8ef5 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-28T21:14:28.897Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/2 [Pipeline] fileExists [Pipeline] sh [2022-07-28T21:14:29.563Z] + make test [2022-07-28T21:14:29.564Z] make: *** No rule to make target 'test'. Stop. [Pipeline] } [2022-07-28T21:14:29.592Z] $ docker stop --time=1 e69bb3941d5f45efc740688ef643b7c276b0a45a65335863a6aa476abf9d8ef5 [2022-07-28T21:14:31.253Z] $ docker rm -f e69bb3941d5f45efc740688ef643b7c276b0a45a65335863a6aa476abf9d8ef5 [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-07-28T21:14:31.933Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-28T21:14:31.933Z] [2022-07-28T21:14:31.933Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T21:14:32.284Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-28T21:14:32.565Z] arm64: Pulling from edgex-lftools-log-publisher [2022-07-28T21:14:32.565Z] 8998bd30e6a1: Pulling fs layer [2022-07-28T21:14:32.565Z] 04944245beec: Pulling fs layer [2022-07-28T21:14:32.565Z] 699f458cf7ca: Pulling fs layer [2022-07-28T21:14:32.565Z] 765212b225bb: Pulling fs layer [2022-07-28T21:14:32.565Z] f23df028b6ca: Pulling fs layer [2022-07-28T21:14:32.565Z] d65c8cfc05b1: Pulling fs layer [2022-07-28T21:14:32.565Z] 2437ff75d9bd: Pulling fs layer [2022-07-28T21:14:32.565Z] f23df028b6ca: Waiting [2022-07-28T21:14:32.565Z] d65c8cfc05b1: Waiting [2022-07-28T21:14:32.565Z] 2437ff75d9bd: Waiting [2022-07-28T21:14:32.565Z] 765212b225bb: Waiting [2022-07-28T21:14:32.565Z] 04944245beec: Verifying Checksum [2022-07-28T21:14:32.565Z] 04944245beec: Download complete [2022-07-28T21:14:32.565Z] 765212b225bb: Verifying Checksum [2022-07-28T21:14:32.565Z] 765212b225bb: Download complete [2022-07-28T21:14:32.848Z] f23df028b6ca: Verifying Checksum [2022-07-28T21:14:32.848Z] f23df028b6ca: Download complete [2022-07-28T21:14:32.848Z] d65c8cfc05b1: Verifying Checksum [2022-07-28T21:14:32.848Z] d65c8cfc05b1: Download complete [2022-07-28T21:14:32.848Z] 699f458cf7ca: Verifying Checksum [2022-07-28T21:14:32.848Z] 699f458cf7ca: Download complete [2022-07-28T21:14:33.469Z] 8998bd30e6a1: Verifying Checksum [2022-07-28T21:14:33.469Z] 8998bd30e6a1: Download complete [2022-07-28T21:14:35.471Z] 2437ff75d9bd: Verifying Checksum [2022-07-28T21:14:35.471Z] 2437ff75d9bd: Download complete [2022-07-28T21:14:38.882Z] 8998bd30e6a1: Pull complete [2022-07-28T21:14:39.165Z] 04944245beec: Pull complete [2022-07-28T21:14:40.609Z] 699f458cf7ca: Pull complete [2022-07-28T21:14:40.884Z] 765212b225bb: Pull complete [2022-07-28T21:14:41.867Z] f23df028b6ca: Pull complete [2022-07-28T21:14:42.147Z] d65c8cfc05b1: Pull complete [2022-07-28T21:14:57.298Z] 2437ff75d9bd: Pull complete [2022-07-28T21:14:57.298Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-07-28T21:14:57.298Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-07-28T21:14:57.298Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T21:14:57.561Z] prd-ubuntu20.04-docker-arm64-4c-16g-21405 does not seem to be running inside a container [2022-07-28T21:14:57.655Z] $ 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-usb-camera/2 -v /w/workspace/device-usb-camera/2:/w/workspace/device-usb-camera/2:rw,z -v /w/workspace/device-usb-camera/2@tmp:/w/workspace/device-usb-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-07-28T21:15:00.264Z] $ docker top 582d28647d94c1082f039cb3e30b5a944a1756c4148ad54ce49d7d938235c1a0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-07-28T21:15:01.186Z] ---> job-cost.sh [2022-07-28T21:15:01.186Z] lf-activate-venv: SKIPPING [2022-07-28T21:15:01.186Z] INFO: No Stack... [2022-07-28T21:15:01.466Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-07-28T21:15:02.453Z] INFO: Archiving Costs [Pipeline] sh [2022-07-28T21:15:03.115Z] + + cat /w/workspace/device-usb-camera/2/archives/cost.csv [2022-07-28T21:15:03.115Z] cut -d, -f6 [Pipeline] lock [2022-07-28T21:15:03.180Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-73-2-stack-cost] [2022-07-28T21:15:03.186Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-73-2-stack-cost] did not exist. Created. [2022-07-28T21:15:03.186Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-73-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-07-28T21:15:03.881Z] /w/workspace/device-usb-camera/2@tmp/durable-501b43fe/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-07-28T21:15:04.562Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-07-28T21:15:04.581Z] Warning: overwriting stash ‘stack-cost’ [2022-07-28T21:15:05.056Z] Stashed 1 file(s) [Pipeline] } [2022-07-28T21:15:05.063Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-73-2-stack-cost] [Pipeline] // lock [Pipeline] } [2022-07-28T21:15:05.089Z] $ docker stop --time=1 582d28647d94c1082f039cb3e30b5a944a1756c4148ad54ce49d7d938235c1a0 [2022-07-28T21:15:06.610Z] $ docker rm -f 582d28647d94c1082f039cb3e30b5a944a1756c4148ad54ce49d7d938235c1a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-07-28T21:15:06.912Z] 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-07-28T21:15:07.593Z] + [ -d /w/workspace/xfoundry_device-usb-camera_PR-73/archives ] [2022-07-28T21:15:07.593Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-73/archives [2022-07-28T21:15:07.593Z] total 16 [2022-07-28T21:15:07.593Z] drwxr-xr-x 3 root root 4096 Jul 28 21:11 . [2022-07-28T21:15:07.593Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 28 21:11 .. [2022-07-28T21:15:07.593Z] drwxr-xr-x 2 root root 4096 Jul 28 21:11 cost [2022-07-28T21:15:07.593Z] -rw-r--r-- 1 root root 88 Jul 28 21:11 cost.csv [2022-07-28T21:15:07.593Z] + sudo chown -R jenkins:jenkins /w/workspace/xfoundry_device-usb-camera_PR-73/archives [2022-07-28T21:15:07.593Z] + ls -al /w/workspace/xfoundry_device-usb-camera_PR-73/archives [2022-07-28T21:15:07.593Z] total 16 [2022-07-28T21:15:07.593Z] drwxr-xr-x 3 jenkins jenkins 4096 Jul 28 21:11 . [2022-07-28T21:15:07.593Z] drwxrwxr-x 10 jenkins jenkins 4096 Jul 28 21:11 .. [2022-07-28T21:15:07.593Z] drwxr-xr-x 2 jenkins jenkins 4096 Jul 28 21:11 cost [2022-07-28T21:15:07.593Z] -rw-r--r-- 1 jenkins jenkins 88 Jul 28 21:11 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-07-28T21:15:07.888Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-28T21:15:08.753Z] ---> package-listing.sh [2022-07-28T21:15:08.753Z] ++ facter osfamily [2022-07-28T21:15:08.753Z] ++ tr '[:upper:]' '[:lower:]' [2022-07-28T21:15:09.014Z] + OS_FAMILY=debian [2022-07-28T21:15:09.014Z] + workspace=/w/workspace/xfoundry_device-usb-camera_PR-73 [2022-07-28T21:15:09.014Z] + START_PACKAGES=/tmp/packages_start.txt [2022-07-28T21:15:09.014Z] + END_PACKAGES=/tmp/packages_end.txt [2022-07-28T21:15:09.014Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-07-28T21:15:09.014Z] + PACKAGES=/tmp/packages_start.txt [2022-07-28T21:15:09.014Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-73 ']' [2022-07-28T21:15:09.014Z] + PACKAGES=/tmp/packages_end.txt [2022-07-28T21:15:09.014Z] + case "${OS_FAMILY}" in [2022-07-28T21:15:09.014Z] + dpkg -l [2022-07-28T21:15:09.014Z] + grep '^ii' [2022-07-28T21:15:09.014Z] + '[' -f /tmp/packages_start.txt ']' [2022-07-28T21:15:09.014Z] + '[' -f /tmp/packages_end.txt ']' [2022-07-28T21:15:09.014Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-07-28T21:15:09.014Z] + '[' /w/workspace/xfoundry_device-usb-camera_PR-73 ']' [2022-07-28T21:15:09.014Z] + mkdir -p /w/workspace/xfoundry_device-usb-camera_PR-73/archives/ [2022-07-28T21:15:09.014Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/xfoundry_device-usb-camera_PR-73/archives/ [Pipeline] echo [2022-07-28T21:15:09.023Z] 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/xfoundry_device-usb-camera_PR-73/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-07-28T21:15:09.303Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-07-28T21:15:09.864Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-07-28T21:15:09.864Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-07-28T21:15:09.945Z] prd-ubuntu20.04-docker-8c-8g-21404 does not seem to be running inside a container [2022-07-28T21:15:09.990Z] $ 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/xfoundry_device-usb-camera_PR-73/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/xfoundry_device-usb-camera_PR-73 -v /w/workspace/xfoundry_device-usb-camera_PR-73:/w/workspace/xfoundry_device-usb-camera_PR-73:rw,z -v /w/workspace/xfoundry_device-usb-camera_PR-73@tmp:/w/workspace/xfoundry_device-usb-camera_PR-73@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-07-28T21:15:10.204Z] $ docker top 16f9ef0496164efe9aa11aa6412893a5fd9f723efb9235ebd5e4d6fd6b59155e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-07-28T21:15:10.552Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-07-28T21:15:10.842Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-07-28T21:15:11.126Z] + ls /var/log/sa-host [2022-07-28T21:15:11.126Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-07-28T21:15:11.195Z] provisioning config files... [2022-07-28T21:15:11.205Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/xfoundry_device-usb-camera_PR-73@tmp/config4619345171305212946tmp [Pipeline] { [Pipeline] echo [2022-07-28T21:15:11.220Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-28T21:15:11.502Z] ---> create-netrc.sh [Pipeline] } [2022-07-28T21:15:11.510Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-07-28T21:15:11.839Z] ---> python-tools-install.sh [Pipeline] echo [2022-07-28T21:15:11.848Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-28T21:15:12.133Z] ---> sudo-logs.sh [2022-07-28T21:15:12.133Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-07-28T21:15:12.158Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-28T21:15:12.452Z] ---> job-cost.sh [2022-07-28T21:15:12.452Z] lf-activate-venv: SKIPPING [2022-07-28T21:15:12.452Z] DEBUG: total: 0.2199999988079071 [2022-07-28T21:15:12.452Z] INFO: Retrieving Stack Cost... [2022-07-28T21:15:12.713Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-07-28T21:15:13.283Z] INFO: Archiving Costs [Pipeline] echo [2022-07-28T21:15:13.294Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-07-28T21:15:13.578Z] ---> logs-deploy.sh [2022-07-28T21:15:13.578Z] lf-activate-venv: SKIPPING [2022-07-28T21:15:13.578Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-73/2 [2022-07-28T21:15:13.578Z] INFO: archiving workspace using pattern(s): [2022-07-28T21:15:14.958Z] Archives upload complete. [2022-07-28T21:15:14.958Z] INFO: archiving logs to Nexus [2022-07-28T21:15:15.529Z] ---> uname -a: [2022-07-28T21:15:15.529Z] Linux prd-ubuntu20-04-docker-8c-8g-21404 5.4.0-94-generic #106-Ubuntu SMP Thu Jan 6 23:58:14 UTC 2022 x86_64 GNU/Linux [2022-07-28T21:15:15.529Z] [2022-07-28T21:15:15.529Z]