Pull request #262 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 c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b rather than bde17c69826b3fa20961d2c7a3123323d0d8502e Obtained Jenkinsfile from c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b 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-ssh4090747709703966226.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh13841827000586418172.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-262/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-262/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3686514630739243988.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh2153401755932574597.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-usb-camera/branches/PR-262/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-262/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh8487395889904419859.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-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.20 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-19253 in /w/workspace/foundry_device-usb-camera_PR-262 [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/foundry_device-usb-camera_PR-262 # 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 c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b into PR head commit bde17c69826b3fa20961d2c7a3123323d0d8502e > 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/262/head:refs/remotes/origin/PR-262 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 Merge succeeded, producing bde17c69826b3fa20961d2c7a3123323d0d8502e Checking out Revision bde17c69826b3fa20961d2c7a3123323d0d8502e (PR-262) > git checkout -f bde17c69826b3fa20961d2c7a3123323d0d8502e # 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 c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f bde17c69826b3fa20961d2c7a3123323d0d8502e # timeout=10 Commit message: "Merge branch 'main' into extend-discovery" > git rev-list --no-walk 77766c9552d453fc5bff9a299e2f164ce510bb0b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-06-26T17:49:13.177Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-06-26T17:49:13.238Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-06-26T17:49:13.257Z] ========================================================= [2023-06-26T17:49:13.257Z] EdgeX Global Pipelines Version Info [2023-06-26T17:49:13.257Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-06-26T17:49:13.983Z] ------------------- [2023-06-26T17:49:13.983Z] stable info: [2023-06-26T17:49:13.983Z] ------------------- [2023-06-26T17:49:13.983Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-06-26T17:49:13.983Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-26T17:49:13.983Z] Message: update stable to v1.0.250 [2023-06-26T17:49:14.555Z] ------------------- [2023-06-26T17:49:14.555Z] experimental info: [2023-06-26T17:49:14.555Z] ------------------- [2023-06-26T17:49:14.555Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-06-26T17:49:14.555Z] Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 [2023-06-26T17:49:14.555Z] Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-06-26T17:49:14.719Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-usb-camera-settings [Pipeline] echo [2023-06-26T17:49:14.733Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-usb-camera [Pipeline] echo [2023-06-26T17:49:14.744Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-06-26T17:49:14.762Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-06-26T17:49:14.779Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-06-26T17:49:14.794Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-06-26T17:49:14.810Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-06-26T17:49:14.826Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-06-26T17:49:14.847Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-06-26T17:49:14.864Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-06-26T17:49:14.877Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-06-26T17:49:14.892Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-usb-camera [Pipeline] echo [2023-06-26T17:49:14.911Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-06-26T17:49:14.927Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-06-26T17:49:14.943Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-06-26T17:49:14.960Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-06-26T17:49:14.976Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-06-26T17:49:14.992Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-06-26T17:49:15.004Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-06-26T17:49:15.023Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-06-26T17:49:15.041Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-06-26T17:49:15.059Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-06-26T17:49:15.077Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-06-26T17:49:15.091Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-06-26T17:49:15.105Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-06-26T17:49:15.119Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-06-26T17:49:15.135Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-06-26T17:49:15.151Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-262 [Pipeline] echo [2023-06-26T17:49:15.169Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-262 [Pipeline] echo [2023-06-26T17:49:15.184Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-262 [Pipeline] echo [2023-06-26T17:49:15.204Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = bde17c69826b3fa20961d2c7a3123323d0d8502e [Pipeline] echo [2023-06-26T17:49:15.225Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = bde17c6 [Pipeline] echo [2023-06-26T17:49:15.242Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-26T17:49:15.287Z] provisioning config files... [2023-06-26T17:49:15.301Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config13866757026584294817tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-26T17:49:15.598Z] ---> docker-login.sh [2023-06-26T17:49:15.598Z] nexus3.edgexfoundry.org:10001 [2023-06-26T17:49:15.859Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-26T17:49:16.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-26T17:49:16.120Z] Configure a credential helper to remove this warning. See [2023-06-26T17:49:16.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-26T17:49:16.120Z] [2023-06-26T17:49:16.120Z] Login Succeeded [2023-06-26T17:49:16.120Z] nexus3.edgexfoundry.org:10002 [2023-06-26T17:49:16.120Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-26T17:49:16.120Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-26T17:49:16.120Z] Configure a credential helper to remove this warning. See [2023-06-26T17:49:16.120Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-26T17:49:16.120Z] [2023-06-26T17:49:16.121Z] Login Succeeded [2023-06-26T17:49:16.121Z] nexus3.edgexfoundry.org:10003 [2023-06-26T17:49:16.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-26T17:49:16.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-26T17:49:16.380Z] Configure a credential helper to remove this warning. See [2023-06-26T17:49:16.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-26T17:49:16.380Z] [2023-06-26T17:49:16.380Z] Login Succeeded [2023-06-26T17:49:16.380Z] nexus3.edgexfoundry.org:10004 [2023-06-26T17:49:16.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-26T17:49:16.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-26T17:49:16.380Z] Configure a credential helper to remove this warning. See [2023-06-26T17:49:16.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-26T17:49:16.380Z] [2023-06-26T17:49:16.380Z] Login Succeeded [2023-06-26T17:49:16.380Z] docker.io [2023-06-26T17:49:16.380Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-26T17:49:16.640Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-26T17:49:16.640Z] Configure a credential helper to remove this warning. See [2023-06-26T17:49:16.640Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-26T17:49:16.640Z] [2023-06-26T17:49:16.640Z] Login Succeeded [2023-06-26T17:49:16.640Z] ---> docker-login.sh ends [Pipeline] } [2023-06-26T17:49:16.648Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-06-26T17:49:17.020Z] + git rev-list -1 --merges bde17c69826b3fa20961d2c7a3123323d0d8502e~1..bde17c69826b3fa20961d2c7a3123323d0d8502e [Pipeline] echo [2023-06-26T17:49:17.071Z] -----------> git rev-list -1 --merges bde17c69826b3fa20961d2c7a3123323d0d8502e~1..bde17c69826b3fa20961d2c7a3123323d0d8502e bde17c69826b3fa20961d2c7a3123323d0d8502e [2023-06-26T17:49:17.071Z] bde17c69826b3fa20961d2c7a3123323d0d8502e [false] [Pipeline] sh [2023-06-26T17:49:17.399Z] + git log --format=format:%s -1 bde17c69826b3fa20961d2c7a3123323d0d8502e [Pipeline] echo [2023-06-26T17:49:17.411Z] ========================================================= [2023-06-26T17:49:17.411Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-06-26T17:49:17.411Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-26T17:49:17.736Z] + git log --format=format:%s -1 bde17c69826b3fa20961d2c7a3123323d0d8502e [Pipeline] echo [2023-06-26T17:49:17.750Z] [semverPrep] GIT_COMMIT: bde17c69826b3fa20961d2c7a3123323d0d8502e, Commit Message: Merge branch 'main' into extend-discovery [Pipeline] echo [2023-06-26T17:49:17.763Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-06-26T17:49:18.171Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-06-26T17:49:18.171Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-06-26T17:49:18.171Z] + [ -e /tmp/ssh_known_hosts ] [2023-06-26T17:49:18.171Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-06-26T17:49:18.171Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-06-26T17:49:18.171Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-06-26T17:49:18.171Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-26T17:49:18.577Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-26T17:49:18.577Z] [2023-06-26T17:49:18.577Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-26T17:49:18.879Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-26T17:49:18.879Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-06-26T17:49:18.879Z] b85a868b505f: Pulling fs layer [2023-06-26T17:49:18.879Z] e2be974225ed: Pulling fs layer [2023-06-26T17:49:18.879Z] 339a4e72a1f5: Pulling fs layer [2023-06-26T17:49:18.879Z] 988bab9f4d93: Pulling fs layer [2023-06-26T17:49:18.879Z] 1469e6f7b9e6: Pulling fs layer [2023-06-26T17:49:18.879Z] eaf3925da568: Pulling fs layer [2023-06-26T17:49:18.879Z] bab4dde63d76: Pulling fs layer [2023-06-26T17:49:18.879Z] bde34c3a00c8: Pulling fs layer [2023-06-26T17:49:18.879Z] b352a97aabf1: Pulling fs layer [2023-06-26T17:49:18.879Z] 4872d77fe225: Pulling fs layer [2023-06-26T17:49:18.879Z] 5851b861e8e6: Pulling fs layer [2023-06-26T17:49:18.879Z] 988bab9f4d93: Waiting [2023-06-26T17:49:18.879Z] 1469e6f7b9e6: Waiting [2023-06-26T17:49:18.879Z] eaf3925da568: Waiting [2023-06-26T17:49:18.879Z] bab4dde63d76: Waiting [2023-06-26T17:49:18.879Z] 4872d77fe225: Waiting [2023-06-26T17:49:18.879Z] 5851b861e8e6: Waiting [2023-06-26T17:49:18.879Z] bde34c3a00c8: Waiting [2023-06-26T17:49:18.879Z] e2be974225ed: Verifying Checksum [2023-06-26T17:49:18.879Z] e2be974225ed: Download complete [2023-06-26T17:49:18.879Z] 988bab9f4d93: Verifying Checksum [2023-06-26T17:49:18.879Z] 988bab9f4d93: Download complete [2023-06-26T17:49:19.140Z] 1469e6f7b9e6: Verifying Checksum [2023-06-26T17:49:19.140Z] 1469e6f7b9e6: Download complete [2023-06-26T17:49:19.140Z] 339a4e72a1f5: Verifying Checksum [2023-06-26T17:49:19.140Z] 339a4e72a1f5: Download complete [2023-06-26T17:49:19.140Z] eaf3925da568: Verifying Checksum [2023-06-26T17:49:19.140Z] eaf3925da568: Download complete [2023-06-26T17:49:19.140Z] bde34c3a00c8: Download complete [2023-06-26T17:49:19.140Z] b352a97aabf1: Verifying Checksum [2023-06-26T17:49:19.140Z] b352a97aabf1: Download complete [2023-06-26T17:49:19.140Z] 4872d77fe225: Verifying Checksum [2023-06-26T17:49:19.140Z] 4872d77fe225: Download complete [2023-06-26T17:49:19.140Z] 5851b861e8e6: Verifying Checksum [2023-06-26T17:49:19.140Z] 5851b861e8e6: Download complete [2023-06-26T17:49:19.140Z] b85a868b505f: Verifying Checksum [2023-06-26T17:49:19.140Z] b85a868b505f: Download complete [2023-06-26T17:49:19.397Z] bab4dde63d76: Verifying Checksum [2023-06-26T17:49:19.397Z] bab4dde63d76: Download complete [2023-06-26T17:49:20.335Z] b85a868b505f: Pull complete [2023-06-26T17:49:20.335Z] e2be974225ed: Pull complete [2023-06-26T17:49:20.902Z] 339a4e72a1f5: Pull complete [2023-06-26T17:49:20.902Z] 988bab9f4d93: Pull complete [2023-06-26T17:49:21.162Z] 1469e6f7b9e6: Pull complete [2023-06-26T17:49:21.162Z] eaf3925da568: Pull complete [2023-06-26T17:49:23.068Z] bab4dde63d76: Pull complete [2023-06-26T17:49:23.068Z] bde34c3a00c8: Pull complete [2023-06-26T17:49:23.068Z] b352a97aabf1: Pull complete [2023-06-26T17:49:23.068Z] 4872d77fe225: Pull complete [2023-06-26T17:49:23.068Z] 5851b861e8e6: Pull complete [2023-06-26T17:49:23.068Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-06-26T17:49:23.068Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-06-26T17:49:23.068Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-26T17:49:23.156Z] prd-ubuntu20.04-docker-8c-8g-19253 does not seem to be running inside a container [2023-06-26T17:49:23.191Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-usb-camera_PR-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-06-26T17:49:26.215Z] $ docker top 07554f0a0421a67a7cce512fee1a6a926b35fc318e24fd5b64d1f35c8552097d -eo pid,comm [2023-06-26T17:49:26.269Z] 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). [2023-06-26T17:49:26.269Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-06-26T17:49:26.298Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-26T17:49:26.298Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-26T17:49:26.422Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-26T17:49:26.428Z] $ docker exec 07554f0a0421a67a7cce512fee1a6a926b35fc318e24fd5b64d1f35c8552097d ssh-agent [2023-06-26T17:49:26.545Z] SSH_AUTH_SOCK=/tmp/ssh-VZEpaQfgC8yb/agent.31 [2023-06-26T17:49:26.545Z] SSH_AGENT_PID=37 [2023-06-26T17:49:26.552Z] Running ssh-add (command line suppressed) [2023-06-26T17:49:26.653Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_12643910516227800800.key (/w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_12643910516227800800.key) [2023-06-26T17:49:26.665Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-26T17:49:26.949Z] + git tag --points-at HEAD [Pipeline] } [2023-06-26T17:49:26.969Z] $ docker exec --env ******** --env ******** 07554f0a0421a67a7cce512fee1a6a926b35fc318e24fd5b64d1f35c8552097d ssh-agent -k [2023-06-26T17:49:27.070Z] unset SSH_AUTH_SOCK; [2023-06-26T17:49:27.071Z] unset SSH_AGENT_PID; [2023-06-26T17:49:27.071Z] echo Agent pid 37 killed; [2023-06-26T17:49:27.078Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-06-26T17:49:27.110Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-06-26T17:49:27.110Z] [ssh-agent] Looking for ssh-agent implementation... [2023-06-26T17:49:27.225Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-06-26T17:49:27.230Z] $ docker exec 07554f0a0421a67a7cce512fee1a6a926b35fc318e24fd5b64d1f35c8552097d ssh-agent [2023-06-26T17:49:27.331Z] SSH_AUTH_SOCK=/tmp/ssh-9gETijWU946n/agent.70 [2023-06-26T17:49:27.331Z] SSH_AGENT_PID=76 [2023-06-26T17:49:27.336Z] Running ssh-add (command line suppressed) [2023-06-26T17:49:27.440Z] Identity added: /w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_12320819505494938538.key (/w/workspace/foundry_device-usb-camera_PR-262@tmp/private_key_12320819505494938538.key) [2023-06-26T17:49:27.452Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-06-26T17:49:27.737Z] + git semver init [2023-06-26T17:49:27.997Z] 2023-06-26 17:49:27,924 [run_init] DEBUG init version:0.0.0 force:False [2023-06-26T17:49:27.997Z] 2023-06-26 17:49:27,925 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-usb-camera_PR-262/.semver [2023-06-26T17:49:27.998Z] 2023-06-26 17:49:27,925 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-usb-camera.git /w/workspace/foundry_device-usb-camera_PR-262/.semver [2023-06-26T17:49:27.998Z] 2023-06-26 17:49:27,925 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-usb-camera.git', '/w/workspace/foundry_device-usb-camera_PR-262/.semver'], cwd=/w/workspace/foundry_device-usb-camera_PR-262, universal_newlines=False, shell=None, istream=None) [2023-06-26T17:49:28.935Z] 2023-06-26 17:49:28,634 [append_file] DEBUG append to file:/w/workspace/foundry_device-usb-camera_PR-262/.git/info/exclude [2023-06-26T17:49:28.935Z] 2023-06-26 17:49:28,635 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-usb-camera_PR-262/.semver/PR-262 with force:False [2023-06-26T17:49:28.935Z] 2023-06-26 17:49:28,635 [write_file] DEBUG write to file:/w/workspace/foundry_device-usb-camera_PR-262/.semver/PR-262 [2023-06-26T17:49:28.935Z] 2023-06-26 17:49:28,637 [execute] INFO git cat-file --batch-check [2023-06-26T17:49:28.935Z] 2023-06-26 17:49:28,638 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/foundry_device-usb-camera_PR-262/.semver, universal_newlines=False, shell=None, istream=) [2023-06-26T17:49:28.935Z] 2023-06-26 17:49:28,643 [execute] INFO git cat-file --batch [2023-06-26T17:49:28.935Z] 2023-06-26 17:49:28,643 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/foundry_device-usb-camera_PR-262/.semver, universal_newlines=False, shell=None, istream=) [2023-06-26T17:49:28.935Z] 2023-06-26 17:49:28,649 [read_version] DEBUG read version from /w/workspace/foundry_device-usb-camera_PR-262/.semver/PR-262 [2023-06-26T17:49:28.935Z] 0.0.0 [Pipeline] } [2023-06-26T17:49:28.948Z] $ docker exec --env ******** --env ******** 07554f0a0421a67a7cce512fee1a6a926b35fc318e24fd5b64d1f35c8552097d ssh-agent -k [2023-06-26T17:49:29.054Z] unset SSH_AUTH_SOCK; [2023-06-26T17:49:29.054Z] unset SSH_AGENT_PID; [2023-06-26T17:49:29.054Z] echo Agent pid 76 killed; [2023-06-26T17:49:29.061Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-06-26T17:49:29.360Z] + git semver [Pipeline] } [2023-06-26T17:49:29.636Z] $ docker stop --time=1 07554f0a0421a67a7cce512fee1a6a926b35fc318e24fd5b64d1f35c8552097d [2023-06-26T17:49:30.932Z] $ docker rm -f --volumes 07554f0a0421a67a7cce512fee1a6a926b35fc318e24fd5b64d1f35c8552097d [Pipeline] // withDockerContainer [Pipeline] sh [2023-06-26T17:49:31.259Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-06-26T17:49:31.459Z] Stashed 1 file(s) [Pipeline] echo [2023-06-26T17:49:31.462Z] [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 [2023-06-26T17:49:31.614Z] provisioning config files... [2023-06-26T17:49:31.623Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config16937071369017989086tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-26T17:49:31.918Z] ---> docker-login.sh [2023-06-26T17:49:31.918Z] nexus3.edgexfoundry.org:10001 [2023-06-26T17:49:31.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-26T17:49:31.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-26T17:49:31.918Z] Configure a credential helper to remove this warning. See [2023-06-26T17:49:31.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-26T17:49:31.918Z] [2023-06-26T17:49:31.918Z] Login Succeeded [2023-06-26T17:49:31.918Z] nexus3.edgexfoundry.org:10002 [2023-06-26T17:49:31.918Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-26T17:49:31.918Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-26T17:49:31.918Z] Configure a credential helper to remove this warning. See [2023-06-26T17:49:31.918Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-26T17:49:31.918Z] [2023-06-26T17:49:31.918Z] Login Succeeded [2023-06-26T17:49:31.918Z] nexus3.edgexfoundry.org:10003 [2023-06-26T17:49:32.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-26T17:49:32.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-26T17:49:32.177Z] Configure a credential helper to remove this warning. See [2023-06-26T17:49:32.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-26T17:49:32.177Z] [2023-06-26T17:49:32.177Z] Login Succeeded [2023-06-26T17:49:32.177Z] nexus3.edgexfoundry.org:10004 [2023-06-26T17:49:32.177Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-26T17:49:32.177Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-26T17:49:32.177Z] Configure a credential helper to remove this warning. See [2023-06-26T17:49:32.177Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-26T17:49:32.177Z] [2023-06-26T17:49:32.177Z] Login Succeeded [2023-06-26T17:49:32.177Z] docker.io [2023-06-26T17:49:32.436Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-26T17:49:32.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-26T17:49:32.436Z] Configure a credential helper to remove this warning. See [2023-06-26T17:49:32.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-26T17:49:32.436Z] [2023-06-26T17:49:32.436Z] Login Succeeded [2023-06-26T17:49:32.436Z] ---> docker-login.sh ends [Pipeline] } [2023-06-26T17:49:32.442Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-26T17:49:32.503Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-26T17:49:32.525Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-26T17:49:32.537Z] ========================================================= [2023-06-26T17:49:32.537Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-06-26T17:49:32.537Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-26T17:49:32.856Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-06-26T17:49:32.857Z] Sending build context to Docker daemon 2.196MB [2023-06-26T17:49:32.857Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-06-26T17:49:32.857Z] Step 2/13 : FROM ${BASE} AS builder [2023-06-26T17:49:32.857Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-06-26T17:49:32.857Z] f56be85fc22e: Pulling fs layer [2023-06-26T17:49:32.857Z] 85791d961cd3: Pulling fs layer [2023-06-26T17:49:32.857Z] d694b5ae8c79: Pulling fs layer [2023-06-26T17:49:32.857Z] 9f32a84ed3da: Pulling fs layer [2023-06-26T17:49:32.857Z] 4d19c01a9841: Pulling fs layer [2023-06-26T17:49:32.857Z] 9325e15d5711: Pulling fs layer [2023-06-26T17:49:32.857Z] 556b6ee489ea: Pulling fs layer [2023-06-26T17:49:32.857Z] c5a4b2cf53e6: Pulling fs layer [2023-06-26T17:49:32.857Z] 9f32a84ed3da: Waiting [2023-06-26T17:49:32.857Z] 556b6ee489ea: Waiting [2023-06-26T17:49:32.857Z] c5a4b2cf53e6: Waiting [2023-06-26T17:49:32.857Z] 85791d961cd3: Verifying Checksum [2023-06-26T17:49:32.857Z] 85791d961cd3: Download complete [2023-06-26T17:49:32.857Z] 9f32a84ed3da: Verifying Checksum [2023-06-26T17:49:32.857Z] 9f32a84ed3da: Download complete [2023-06-26T17:49:32.857Z] 4d19c01a9841: Verifying Checksum [2023-06-26T17:49:32.857Z] 4d19c01a9841: Download complete [2023-06-26T17:49:32.857Z] f56be85fc22e: Verifying Checksum [2023-06-26T17:49:32.857Z] f56be85fc22e: Download complete [2023-06-26T17:49:33.117Z] 9325e15d5711: Verifying Checksum [2023-06-26T17:49:33.117Z] 9325e15d5711: Download complete [2023-06-26T17:49:33.117Z] f56be85fc22e: Pull complete [2023-06-26T17:49:33.378Z] 85791d961cd3: Pull complete [2023-06-26T17:49:33.636Z] d694b5ae8c79: Verifying Checksum [2023-06-26T17:49:33.636Z] d694b5ae8c79: Download complete [2023-06-26T17:49:33.636Z] c5a4b2cf53e6: Verifying Checksum [2023-06-26T17:49:33.636Z] c5a4b2cf53e6: Download complete [2023-06-26T17:49:33.899Z] 556b6ee489ea: Verifying Checksum [2023-06-26T17:49:33.899Z] 556b6ee489ea: Download complete [2023-06-26T17:49:37.182Z] d694b5ae8c79: Pull complete [2023-06-26T17:49:37.182Z] 9f32a84ed3da: Pull complete [2023-06-26T17:49:37.182Z] 4d19c01a9841: Pull complete [2023-06-26T17:49:37.182Z] 9325e15d5711: Pull complete [2023-06-26T17:49:39.078Z] 556b6ee489ea: Pull complete [2023-06-26T17:49:40.010Z] c5a4b2cf53e6: Pull complete [2023-06-26T17:49:40.010Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-06-26T17:49:40.010Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-06-26T17:49:40.010Z] ---> c4be618373d6 [2023-06-26T17:49:40.010Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-06-26T17:49:45.325Z] ---> Running in 5750a811f304 [2023-06-26T17:49:45.325Z] Removing intermediate container 5750a811f304 [2023-06-26T17:49:45.325Z] ---> fd6926b84700 [2023-06-26T17:49:45.325Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-26T17:49:45.325Z] ---> Running in 8cbe5fc61eab [2023-06-26T17:49:45.325Z] Removing intermediate container 8cbe5fc61eab [2023-06-26T17:49:45.325Z] ---> 1905cdde3b06 [2023-06-26T17:49:45.325Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-06-26T17:49:45.325Z] ---> Running in 279cbc018e9c [2023-06-26T17:49:45.325Z] Removing intermediate container 279cbc018e9c [2023-06-26T17:49:45.325Z] ---> 9fbd03975c92 [2023-06-26T17:49:45.325Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-06-26T17:49:45.583Z] ---> Running in e131e3ad6fb9 [2023-06-26T17:49:45.583Z] Removing intermediate container e131e3ad6fb9 [2023-06-26T17:49:45.583Z] ---> ed721b68d9b6 [2023-06-26T17:49:45.583Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-26T17:49:45.583Z] ---> Running in 22478627b910 [2023-06-26T17:49:45.842Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-06-26T17:49:45.842Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-06-26T17:49:46.102Z] (1/14) Installing libintl (0.21.1-r1) [2023-06-26T17:49:46.102Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-06-26T17:49:46.102Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-06-26T17:49:46.102Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-06-26T17:49:46.102Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-06-26T17:49:46.102Z] (6/14) Installing udev-init-scripts (35-r1) [2023-06-26T17:49:46.102Z] (7/14) Installing libblkid (2.38.1-r1) [2023-06-26T17:49:46.102Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-06-26T17:49:46.102Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-06-26T17:49:46.361Z] (10/14) Installing kmod-libs (30-r1) [2023-06-26T17:49:46.361Z] (11/14) Installing eudev (3.2.11-r4) [2023-06-26T17:49:46.361Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-06-26T17:49:46.361Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-06-26T17:49:46.361Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-06-26T17:49:46.361Z] Executing busybox-1.35.0-r29.trigger [2023-06-26T17:49:46.361Z] Executing eudev-3.2.11-r4.trigger [2023-06-26T17:49:46.361Z] OK: 272 MiB in 67 packages [2023-06-26T17:49:46.568Z] Still waiting to schedule task [2023-06-26T17:49:46.568Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-06-26T17:49:46.930Z] Removing intermediate container 22478627b910 [2023-06-26T17:49:46.930Z] ---> 9a6caa367844 [2023-06-26T17:49:46.930Z] Step 8/13 : WORKDIR /device-usb-camera [2023-06-26T17:49:46.930Z] ---> Running in b4c9508584ba [2023-06-26T17:49:47.190Z] Removing intermediate container b4c9508584ba [2023-06-26T17:49:47.190Z] ---> 163315dfa898 [2023-06-26T17:49:47.190Z] Step 9/13 : COPY go.mod vendor* ./ [2023-06-26T17:49:47.190Z] ---> 4c71a724e0e7 [2023-06-26T17:49:47.190Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-26T17:49:47.190Z] ---> Running in 488ee4c0d00e [2023-06-26T17:50:19.458Z] Removing intermediate container 488ee4c0d00e [2023-06-26T17:50:19.458Z] ---> 8b3b87469fa3 [2023-06-26T17:50:19.458Z] Step 11/13 : COPY . . [2023-06-26T17:50:19.458Z] ---> 9623331f19b8 [2023-06-26T17:50:19.458Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-06-26T17:50:19.458Z] ---> Running in ec6f8e3bae7a [2023-06-26T17:50:19.458Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-26T17:50:19.458Z] Dload Upload Total Spent Left Speed [2023-06-26T17:50:19.459Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 6601 0 --:--:-- --:--:-- --:--:-- 6637 [2023-06-26T17:50:19.459Z] Removing intermediate container ec6f8e3bae7a [2023-06-26T17:50:19.459Z] ---> ffbd41928537 [2023-06-26T17:50:19.459Z] Step 13/13 : RUN ${MAKE} [2023-06-26T17:50:19.459Z] ---> Running in 6d3a1793d479 [2023-06-26T17:50:19.459Z] noop [2023-06-26T17:50:19.459Z] Removing intermediate container 6d3a1793d479 [2023-06-26T17:50:19.459Z] ---> a5698912ea96 [2023-06-26T17:50:19.459Z] Successfully built a5698912ea96 [2023-06-26T17:50:19.459Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-26T17:50:19.769Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-26T17:50:19.769Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-26T17:50:19.835Z] prd-ubuntu20.04-docker-8c-8g-19253 does not seem to be running inside a container [2023-06-26T17:50:19.869Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-usb-camera_PR-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-06-26T17:50:20.205Z] $ docker top b58bc69676994e5e1b905db7562783e6f5b967396c090c79b3ca24989d703ece -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-26T17:50:20.544Z] + go version [2023-06-26T17:50:20.544Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-06-26T17:50:20.556Z] $ docker stop --time=1 b58bc69676994e5e1b905db7562783e6f5b967396c090c79b3ca24989d703ece [2023-06-26T17:50:21.808Z] $ docker rm -f --volumes b58bc69676994e5e1b905db7562783e6f5b967396c090c79b3ca24989d703ece [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-26T17:50:22.195Z] + docker inspect -f . ci-base-image-x86_64 [2023-06-26T17:50:22.195Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-26T17:50:22.255Z] prd-ubuntu20.04-docker-8c-8g-19253 does not seem to be running inside a container [2023-06-26T17:50:22.282Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-usb-camera_PR-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-06-26T17:50:22.637Z] $ docker top 58bea5d386ff7cb3dac0c91aa0d1086d7c5fca22a5695dcdb0b712231f0e35a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-26T17:50:22.980Z] + git config --global --add safe.directory /w/workspace/foundry_device-usb-camera_PR-262 [Pipeline] fileExists [Pipeline] sh [2023-06-26T17:50:23.278Z] + make test [2023-06-26T17:50:23.278Z] go test ./... -coverprofile=coverage.out ./... [2023-06-26T17:50:28.543Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-06-26T17:50:38.539Z] # github.com/edgexfoundry/device-usb-camera/internal/driver [2023-06-26T17:50:38.539Z] internal/driver/driver.go:765:47: syntax error: unexpected string in argument list; possibly missing comma or ) [2023-06-26T17:50:38.539Z] internal/driver/driver.go:770:2: syntax error: non-declaration statement outside function body [2023-06-26T17:50:38.539Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-06-26T17:50:38.539Z] FAIL [2023-06-26T17:50:38.539Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-06-26T17:50:38.552Z] $ docker stop --time=1 58bea5d386ff7cb3dac0c91aa0d1086d7c5fca22a5695dcdb0b712231f0e35a6 [2023-06-26T17:50:42.037Z] $ docker rm -f --volumes 58bea5d386ff7cb3dac0c91aa0d1086d7c5fca22a5695dcdb0b712231f0e35a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-26T17:50:42.588Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-26T17:50:42.589Z] [2023-06-26T17:50:42.589Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-26T17:50:42.886Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-26T17:50:42.886Z] latest: Pulling from edgex-lftools-log-publisher [2023-06-26T17:50:42.886Z] 5eb5b503b376: Pulling fs layer [2023-06-26T17:50:42.886Z] 5c69ac0246d0: Pulling fs layer [2023-06-26T17:50:42.886Z] ec43610c2a17: Pulling fs layer [2023-06-26T17:50:42.886Z] 3a2ae6a8a46f: Pulling fs layer [2023-06-26T17:50:42.886Z] 33b1e0a273af: Pulling fs layer [2023-06-26T17:50:42.886Z] 5d3b04190fa2: Pulling fs layer [2023-06-26T17:50:42.886Z] 2f39f015ded8: Pulling fs layer [2023-06-26T17:50:42.886Z] 33b1e0a273af: Waiting [2023-06-26T17:50:42.886Z] 5d3b04190fa2: Waiting [2023-06-26T17:50:42.886Z] 2f39f015ded8: Waiting [2023-06-26T17:50:42.886Z] 3a2ae6a8a46f: Waiting [2023-06-26T17:50:42.886Z] 5c69ac0246d0: Verifying Checksum [2023-06-26T17:50:42.886Z] 5c69ac0246d0: Download complete [2023-06-26T17:50:42.886Z] 3a2ae6a8a46f: Verifying Checksum [2023-06-26T17:50:42.886Z] 3a2ae6a8a46f: Download complete [2023-06-26T17:50:42.886Z] 33b1e0a273af: Verifying Checksum [2023-06-26T17:50:42.886Z] 33b1e0a273af: Download complete [2023-06-26T17:50:42.886Z] ec43610c2a17: Verifying Checksum [2023-06-26T17:50:42.886Z] ec43610c2a17: Download complete [2023-06-26T17:50:42.886Z] 5d3b04190fa2: Verifying Checksum [2023-06-26T17:50:42.886Z] 5d3b04190fa2: Download complete [2023-06-26T17:50:43.144Z] 5eb5b503b376: Verifying Checksum [2023-06-26T17:50:43.144Z] 5eb5b503b376: Download complete [2023-06-26T17:50:43.711Z] 2f39f015ded8: Download complete [2023-06-26T17:50:44.278Z] 5eb5b503b376: Pull complete [2023-06-26T17:50:44.278Z] 5c69ac0246d0: Pull complete [2023-06-26T17:50:44.845Z] ec43610c2a17: Pull complete [2023-06-26T17:50:44.845Z] 3a2ae6a8a46f: Pull complete [2023-06-26T17:50:45.103Z] 33b1e0a273af: Pull complete [2023-06-26T17:50:45.103Z] 5d3b04190fa2: Pull complete [2023-06-26T17:50:49.285Z] 2f39f015ded8: Pull complete [2023-06-26T17:50:49.285Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-06-26T17:50:49.285Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-26T17:50:49.285Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-26T17:50:49.359Z] prd-ubuntu20.04-docker-8c-8g-19253 does not seem to be running inside a container [2023-06-26T17:50:49.392Z] $ 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/foundry_device-usb-camera_PR-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-06-26T17:50:53.838Z] $ docker top 22610f9a3094035ecf0247af63f2f83401a1906e3acc1aa5077bbbab0fa8bcab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-26T17:50:54.235Z] ---> job-cost.sh [2023-06-26T17:50:54.236Z] lf-activate-venv: SKIPPING [2023-06-26T17:50:54.236Z] INFO: No Stack... [2023-06-26T17:50:54.495Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-26T17:50:55.061Z] INFO: Archiving Costs [Pipeline] sh [2023-06-26T17:50:55.350Z] + cat /w/workspace/foundry_device-usb-camera_PR-262/archives/cost.csv [2023-06-26T17:50:55.350Z] + cut -d, -f6 [Pipeline] lock [2023-06-26T17:50:55.366Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-262-6-stack-cost] [2023-06-26T17:50:55.371Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-262-6-stack-cost] did not exist. Created. [2023-06-26T17:50:55.371Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-262-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-26T17:50:55.675Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-06-26T17:50:55.712Z] Stashed 1 file(s) [Pipeline] } [2023-06-26T17:50:55.719Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-262-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-26T17:50:55.739Z] $ docker stop --time=1 22610f9a3094035ecf0247af63f2f83401a1906e3acc1aa5077bbbab0fa8bcab [2023-06-26T17:50:56.888Z] $ docker rm -f --volumes 22610f9a3094035ecf0247af63f2f83401a1906e3acc1aa5077bbbab0fa8bcab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-06-26T17:50:56.998Z] Failed in branch amd64 [2023-06-26T17:51:17.917Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-19254 in /w/workspace/foundry_device-usb-camera_PR-262 [Pipeline] { [Pipeline] ws [2023-06-26T17:51:17.930Z] Running in /w/workspace/device-usb-camera/6 [Pipeline] { [Pipeline] checkout [2023-06-26T17:51:17.965Z] Selected Git installation does not exist. Using Default [2023-06-26T17:51:17.965Z] The recommended git tool is: NONE [2023-06-26T17:51:23.055Z] using credential edgex-jenkins-ssh [2023-06-26T17:51:23.075Z] Cloning the remote Git repository [2023-06-26T17:51:23.117Z] Cloning repository git@github.com:edgexfoundry/device-usb-camera.git [2023-06-26T17:51:23.211Z] > git init /w/workspace/device-usb-camera/6 # timeout=10 [2023-06-26T17:51:23.345Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-06-26T17:51:23.346Z] > git --version # timeout=10 [2023-06-26T17:51:23.369Z] > git --version # 'git version 2.25.1' [2023-06-26T17:51:23.371Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-26T17:51:23.507Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-26T17:51:24.277Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-06-26T17:51:24.299Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-06-26T17:51:25.111Z] > git config remote.origin.url git@github.com:edgexfoundry/device-usb-camera.git # timeout=10 [2023-06-26T17:51:25.151Z] Fetching upstream changes from git@github.com:edgexfoundry/device-usb-camera.git [2023-06-26T17:51:25.152Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-26T17:51:25.171Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-usb-camera.git +refs/pull/262/head:refs/remotes/origin/PR-262 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-06-26T17:51:25.800Z] Merging remotes/origin/main commit c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b into PR head commit bde17c69826b3fa20961d2c7a3123323d0d8502e [2023-06-26T17:51:26.066Z] Merge succeeded, producing bde17c69826b3fa20961d2c7a3123323d0d8502e [2023-06-26T17:51:26.066Z] Checking out Revision bde17c69826b3fa20961d2c7a3123323d0d8502e (PR-262) [2023-06-26T17:51:25.824Z] > git config core.sparsecheckout # timeout=10 [2023-06-26T17:51:25.896Z] > git checkout -f bde17c69826b3fa20961d2c7a3123323d0d8502e # timeout=10 [2023-06-26T17:51:25.975Z] > git remote # timeout=10 [2023-06-26T17:51:26.000Z] > git config --get remote.origin.url # timeout=10 [2023-06-26T17:51:26.014Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-06-26T17:51:26.027Z] > git merge c5a4cd989dc0c8e35e999c28e138c1d6f5ac110b # timeout=10 [2023-06-26T17:51:26.050Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-06-26T17:51:26.073Z] > git config core.sparsecheckout # timeout=10 [2023-06-26T17:51:26.085Z] > git checkout -f bde17c69826b3fa20961d2c7a3123323d0d8502e # timeout=10 [2023-06-26T17:51:29.535Z] Commit message: "Merge branch 'main' into extend-discovery" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-06-26T17:51:30.478Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-06-26T17:51:30.478Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-26T17:51:30.478Z] Dload Upload Total Spent Left Speed [2023-06-26T17:51:30.478Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 98084 0 --:--:-- --:--:-- --:--:-- 98844 [Pipeline] sh [2023-06-26T17:51:31.163Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-06-26T17:51:31.501Z] + sudo tee /etc/docker/daemon.new [2023-06-26T17:51:31.501Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-06-26T17:51:31.501Z] { [2023-06-26T17:51:31.501Z] "registry-mirrors": [ [2023-06-26T17:51:31.501Z] "https://nexus3.edgexfoundry.org:10001" [2023-06-26T17:51:31.501Z] ], [2023-06-26T17:51:31.501Z] "bip": "10.250.0.254/24", [2023-06-26T17:51:31.501Z] "hosts": [ [2023-06-26T17:51:31.501Z] "tcp://0.0.0.0:5555", [2023-06-26T17:51:31.501Z] "unix:///var/run/docker.sock" [2023-06-26T17:51:31.501Z] ], [2023-06-26T17:51:31.501Z] "mtu": 1458, [2023-06-26T17:51:31.501Z] "selinux-enabled": true, [2023-06-26T17:51:31.501Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-06-26T17:51:31.501Z] } [Pipeline] sh [2023-06-26T17:51:31.824Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-06-26T17:51:32.150Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-26T17:51:50.399Z] provisioning config files... [2023-06-26T17:51:50.422Z] copy managed file [device-usb-camera-settings] to file:/w/workspace/device-usb-camera/6@tmp/config18219014450171490589tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-26T17:51:50.763Z] ---> docker-login.sh [2023-06-26T17:51:50.764Z] nexus3.edgexfoundry.org:10001 [2023-06-26T17:51:51.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-26T17:51:51.300Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-26T17:51:51.300Z] Configure a credential helper to remove this warning. See [2023-06-26T17:51:51.300Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-26T17:51:51.300Z] [2023-06-26T17:51:51.300Z] Login Succeeded [2023-06-26T17:51:51.300Z] nexus3.edgexfoundry.org:10002 [2023-06-26T17:51:51.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-26T17:51:51.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-26T17:51:51.568Z] Configure a credential helper to remove this warning. See [2023-06-26T17:51:51.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-26T17:51:51.568Z] [2023-06-26T17:51:51.568Z] Login Succeeded [2023-06-26T17:51:51.568Z] nexus3.edgexfoundry.org:10003 [2023-06-26T17:51:51.836Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-26T17:51:51.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-26T17:51:51.836Z] Configure a credential helper to remove this warning. See [2023-06-26T17:51:51.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-26T17:51:51.836Z] [2023-06-26T17:51:51.836Z] Login Succeeded [2023-06-26T17:51:51.836Z] nexus3.edgexfoundry.org:10004 [2023-06-26T17:51:52.104Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-26T17:51:52.373Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-26T17:51:52.373Z] Configure a credential helper to remove this warning. See [2023-06-26T17:51:52.373Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-26T17:51:52.373Z] [2023-06-26T17:51:52.373Z] Login Succeeded [2023-06-26T17:51:52.373Z] docker.io [2023-06-26T17:51:52.642Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-06-26T17:51:52.642Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-06-26T17:51:52.642Z] Configure a credential helper to remove this warning. See [2023-06-26T17:51:52.642Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-06-26T17:51:52.642Z] [2023-06-26T17:51:52.642Z] Login Succeeded [2023-06-26T17:51:52.642Z] ---> docker-login.sh ends [Pipeline] } [2023-06-26T17:51:52.654Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-06-26T17:51:52.869Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-26T17:51:52.883Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-06-26T17:51:52.898Z] ========================================================= [2023-06-26T17:51:52.898Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-06-26T17:51:52.898Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-26T17:51:53.239Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-06-26T17:51:53.508Z] Sending build context to Docker daemon 1.391MB [2023-06-26T17:51:53.508Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-06-26T17:51:53.508Z] Step 2/13 : FROM ${BASE} AS builder [2023-06-26T17:51:53.775Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-06-26T17:51:53.775Z] c41833b44d91: Pulling fs layer [2023-06-26T17:51:53.775Z] ed15518f5707: Pulling fs layer [2023-06-26T17:51:53.775Z] feae8fd75edb: Pulling fs layer [2023-06-26T17:51:53.775Z] 242c74f7c9fa: Pulling fs layer [2023-06-26T17:51:53.775Z] 3cdef696dda3: Pulling fs layer [2023-06-26T17:51:53.775Z] 2ced38df9373: Pulling fs layer [2023-06-26T17:51:53.775Z] 58f1dce35555: Pulling fs layer [2023-06-26T17:51:53.775Z] 242c74f7c9fa: Waiting [2023-06-26T17:51:53.775Z] 3cdef696dda3: Waiting [2023-06-26T17:51:53.775Z] 58f1dce35555: Waiting [2023-06-26T17:51:53.775Z] 2ced38df9373: Waiting [2023-06-26T17:51:53.775Z] ed15518f5707: Verifying Checksum [2023-06-26T17:51:53.775Z] ed15518f5707: Download complete [2023-06-26T17:51:53.775Z] 242c74f7c9fa: Verifying Checksum [2023-06-26T17:51:53.775Z] 242c74f7c9fa: Download complete [2023-06-26T17:51:53.775Z] 3cdef696dda3: Verifying Checksum [2023-06-26T17:51:53.775Z] 3cdef696dda3: Download complete [2023-06-26T17:51:53.775Z] c41833b44d91: Verifying Checksum [2023-06-26T17:51:53.775Z] c41833b44d91: Download complete [2023-06-26T17:51:54.742Z] c41833b44d91: Pull complete [2023-06-26T17:51:55.343Z] 58f1dce35555: Verifying Checksum [2023-06-26T17:51:55.343Z] 58f1dce35555: Download complete [2023-06-26T17:51:55.343Z] ed15518f5707: Pull complete [2023-06-26T17:51:56.306Z] feae8fd75edb: Verifying Checksum [2023-06-26T17:51:56.306Z] feae8fd75edb: Download complete [2023-06-26T17:51:56.306Z] 2ced38df9373: Verifying Checksum [2023-06-26T17:51:56.306Z] 2ced38df9373: Download complete [2023-06-26T17:52:08.630Z] feae8fd75edb: Pull complete [2023-06-26T17:52:08.630Z] 242c74f7c9fa: Pull complete [2023-06-26T17:52:08.630Z] 3cdef696dda3: Pull complete [2023-06-26T17:52:13.977Z] 2ced38df9373: Pull complete [2023-06-26T17:52:16.564Z] 58f1dce35555: Pull complete [2023-06-26T17:52:16.564Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-06-26T17:52:16.564Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-06-26T17:52:16.564Z] ---> fadd8f120f05 [2023-06-26T17:52:16.564Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-06-26T17:52:18.511Z] ---> Running in 03585f60d70d [2023-06-26T17:52:18.511Z] Removing intermediate container 03585f60d70d [2023-06-26T17:52:18.511Z] ---> b93e9a032219 [2023-06-26T17:52:18.511Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-06-26T17:52:18.511Z] ---> Running in 0844958f87d5 [2023-06-26T17:52:18.778Z] Removing intermediate container 0844958f87d5 [2023-06-26T17:52:18.778Z] ---> 340a25b4579a [2023-06-26T17:52:18.778Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git gcc libc-dev curl" [2023-06-26T17:52:18.778Z] ---> Running in af677f6de3e2 [2023-06-26T17:52:19.043Z] Removing intermediate container af677f6de3e2 [2023-06-26T17:52:19.043Z] ---> 1abf0b3e727d [2023-06-26T17:52:19.043Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="v4l-utils-dev v4l-utils v4l-utils-libs linux-headers" [2023-06-26T17:52:19.309Z] ---> Running in 677ae8cac4d7 [2023-06-26T17:52:19.575Z] Removing intermediate container 677ae8cac4d7 [2023-06-26T17:52:19.575Z] ---> 16ab9975624a [2023-06-26T17:52:19.575Z] Step 7/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-06-26T17:52:19.575Z] ---> Running in a02fc700ff43 [2023-06-26T17:52:20.536Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-06-26T17:52:21.116Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-06-26T17:52:22.077Z] (1/14) Installing libintl (0.21.1-r1) [2023-06-26T17:52:22.077Z] (2/14) Installing eudev-libs (3.2.11-r4) [2023-06-26T17:52:22.077Z] (3/14) Installing libjpeg-turbo (2.1.4-r0) [2023-06-26T17:52:22.077Z] (4/14) Installing v4l-utils-libs (1.22.1-r2) [2023-06-26T17:52:22.077Z] (5/14) Installing v4l-utils (1.22.1-r2) [2023-06-26T17:52:22.077Z] (6/14) Installing udev-init-scripts (35-r1) [2023-06-26T17:52:22.077Z] (7/14) Installing libblkid (2.38.1-r1) [2023-06-26T17:52:22.077Z] (8/14) Installing xz-libs (5.2.9-r0) [2023-06-26T17:52:22.348Z] (9/14) Installing zstd-libs (1.5.5-r0) [2023-06-26T17:52:22.348Z] (10/14) Installing kmod-libs (30-r1) [2023-06-26T17:52:22.348Z] (11/14) Installing eudev (3.2.11-r4) [2023-06-26T17:52:22.348Z] (12/14) Installing eudev-dev (3.2.11-r4) [2023-06-26T17:52:22.348Z] (13/14) Installing v4l-utils-dvbv5 (1.22.1-r2) [2023-06-26T17:52:22.348Z] (14/14) Installing v4l-utils-dev (1.22.1-r2) [2023-06-26T17:52:22.348Z] Executing busybox-1.35.0-r29.trigger [2023-06-26T17:52:22.348Z] Executing eudev-3.2.11-r4.trigger [2023-06-26T17:52:22.348Z] OK: 271 MiB in 67 packages [2023-06-26T17:52:23.759Z] Removing intermediate container a02fc700ff43 [2023-06-26T17:52:23.759Z] ---> bb7955ad9a6a [2023-06-26T17:52:23.759Z] Step 8/13 : WORKDIR /device-usb-camera [2023-06-26T17:52:23.759Z] ---> Running in ee5cbcfce7ef [2023-06-26T17:52:24.027Z] Removing intermediate container ee5cbcfce7ef [2023-06-26T17:52:24.027Z] ---> de73788b3d88 [2023-06-26T17:52:24.027Z] Step 9/13 : COPY go.mod vendor* ./ [2023-06-26T17:52:24.293Z] ---> 55c6d6fc2410 [2023-06-26T17:52:24.293Z] Step 10/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-06-26T17:52:24.563Z] ---> Running in dc6d530a207f [2023-06-26T17:53:20.990Z] Removing intermediate container dc6d530a207f [2023-06-26T17:53:20.990Z] ---> ad3c02933f7c [2023-06-26T17:53:20.990Z] Step 11/13 : COPY . . [2023-06-26T17:53:20.990Z] ---> d5541e1438e8 [2023-06-26T17:53:20.990Z] Step 12/13 : RUN curl -o LICENSE-rtsp-simple-server https://raw.githubusercontent.com/aler9/rtsp-simple-server/main/LICENSE [2023-06-26T17:53:20.990Z] ---> Running in a6f1074c733b [2023-06-26T17:53:20.990Z]  % Total % Received % Xferd Average Speed Time Time Time Current [2023-06-26T17:53:20.990Z] Dload Upload Total Spent Left Speed [2023-06-26T17:53:20.991Z] 0 0 0 0  0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1062 100 1062 0 0 4370 0 --:--:-- --:--:-- --:--:-- 4370 [2023-06-26T17:53:20.991Z] Removing intermediate container a6f1074c733b [2023-06-26T17:53:20.991Z] ---> 5546e7cc91f0 [2023-06-26T17:53:20.991Z] Step 13/13 : RUN ${MAKE} [2023-06-26T17:53:20.991Z] ---> Running in ec648912d3f9 [2023-06-26T17:53:20.991Z] noop [2023-06-26T17:53:20.991Z] Removing intermediate container ec648912d3f9 [2023-06-26T17:53:20.991Z] ---> b8309480bff5 [2023-06-26T17:53:20.991Z] Successfully built b8309480bff5 [2023-06-26T17:53:20.991Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-26T17:53:21.337Z] + docker inspect -f . ci-base-image-arm64 [2023-06-26T17:53:21.337Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-26T17:53:21.522Z] prd-ubuntu20.04-docker-arm64-4c-16g-19254 does not seem to be running inside a container [2023-06-26T17:53:21.583Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-usb-camera/6 -v /w/workspace/device-usb-camera/6:/w/workspace/device-usb-camera/6:rw,z -v /w/workspace/device-usb-camera/6@tmp:/w/workspace/device-usb-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-06-26T17:53:22.756Z] $ docker top d4e4998d7348680608841c17add4eb03094c629a04073dc3686570b1adfea73a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-26T17:53:23.562Z] + go version [2023-06-26T17:53:23.562Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-06-26T17:53:23.582Z] $ docker stop --time=1 d4e4998d7348680608841c17add4eb03094c629a04073dc3686570b1adfea73a [2023-06-26T17:53:25.460Z] $ docker rm -f --volumes d4e4998d7348680608841c17add4eb03094c629a04073dc3686570b1adfea73a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-26T17:53:25.960Z] + docker inspect -f . ci-base-image-arm64 [2023-06-26T17:53:25.960Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-26T17:53:26.117Z] prd-ubuntu20.04-docker-arm64-4c-16g-19254 does not seem to be running inside a container [2023-06-26T17:53:26.170Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-usb-camera/6 -v /w/workspace/device-usb-camera/6:/w/workspace/device-usb-camera/6:rw,z -v /w/workspace/device-usb-camera/6@tmp:/w/workspace/device-usb-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-06-26T17:53:27.197Z] $ docker top a3763f9aebe86ade3ca4131deba75429d3522ba7350bd1df140cd9c438f2d26e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-26T17:53:27.675Z] + git config --global --add safe.directory /w/workspace/device-usb-camera/6 [Pipeline] fileExists [Pipeline] sh [2023-06-26T17:53:28.000Z] + make test [2023-06-26T17:53:28.000Z] go test ./... -coverprofile=coverage.out ./... [2023-06-26T17:54:00.215Z] ? github.com/edgexfoundry/device-usb-camera [no test files] [2023-06-26T17:55:36.839Z] # github.com/edgexfoundry/device-usb-camera/internal/driver [2023-06-26T17:55:36.839Z] internal/driver/driver.go:765:47: syntax error: unexpected string in argument list; possibly missing comma or ) [2023-06-26T17:55:36.839Z] internal/driver/driver.go:770:2: syntax error: non-declaration statement outside function body [2023-06-26T17:55:49.161Z] FAIL github.com/edgexfoundry/device-usb-camera/internal/driver [build failed] [2023-06-26T17:55:49.161Z] FAIL [2023-06-26T17:55:49.161Z] make: *** [Makefile:46: unittest] Error 1 [Pipeline] } [2023-06-26T17:55:49.180Z] $ docker stop --time=1 a3763f9aebe86ade3ca4131deba75429d3522ba7350bd1df140cd9c438f2d26e [2023-06-26T17:55:52.883Z] $ docker rm -f --volumes a3763f9aebe86ade3ca4131deba75429d3522ba7350bd1df140cd9c438f2d26e [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 [2023-06-26T17:55:54.202Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-26T17:55:54.202Z] [2023-06-26T17:55:54.202Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-26T17:55:54.532Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-26T17:55:54.801Z] arm64: Pulling from edgex-lftools-log-publisher [2023-06-26T17:55:54.801Z] 8998bd30e6a1: Pulling fs layer [2023-06-26T17:55:54.801Z] 04944245beec: Pulling fs layer [2023-06-26T17:55:54.801Z] 699f458cf7ca: Pulling fs layer [2023-06-26T17:55:54.801Z] 765212b225bb: Pulling fs layer [2023-06-26T17:55:54.801Z] f23df028b6ca: Pulling fs layer [2023-06-26T17:55:54.801Z] d65c8cfc05b1: Pulling fs layer [2023-06-26T17:55:54.801Z] 2437ff75d9bd: Pulling fs layer [2023-06-26T17:55:54.801Z] 765212b225bb: Waiting [2023-06-26T17:55:54.801Z] f23df028b6ca: Waiting [2023-06-26T17:55:54.801Z] d65c8cfc05b1: Waiting [2023-06-26T17:55:54.801Z] 2437ff75d9bd: Waiting [2023-06-26T17:55:54.801Z] 04944245beec: Verifying Checksum [2023-06-26T17:55:54.801Z] 04944245beec: Download complete [2023-06-26T17:55:54.801Z] 765212b225bb: Verifying Checksum [2023-06-26T17:55:54.801Z] 765212b225bb: Download complete [2023-06-26T17:55:54.801Z] f23df028b6ca: Verifying Checksum [2023-06-26T17:55:54.801Z] f23df028b6ca: Download complete [2023-06-26T17:55:55.072Z] d65c8cfc05b1: Verifying Checksum [2023-06-26T17:55:55.072Z] d65c8cfc05b1: Download complete [2023-06-26T17:55:55.072Z] 699f458cf7ca: Verifying Checksum [2023-06-26T17:55:55.072Z] 699f458cf7ca: Download complete [2023-06-26T17:55:55.358Z] 8998bd30e6a1: Verifying Checksum [2023-06-26T17:55:55.358Z] 8998bd30e6a1: Download complete [2023-06-26T17:55:58.711Z] 2437ff75d9bd: Verifying Checksum [2023-06-26T17:55:58.711Z] 2437ff75d9bd: Download complete [2023-06-26T17:56:02.977Z] 8998bd30e6a1: Pull complete [2023-06-26T17:56:05.575Z] 04944245beec: Pull complete [2023-06-26T17:56:08.162Z] 699f458cf7ca: Pull complete [2023-06-26T17:56:08.431Z] 765212b225bb: Pull complete [2023-06-26T17:56:09.390Z] f23df028b6ca: Pull complete [2023-06-26T17:56:09.657Z] d65c8cfc05b1: Pull complete [2023-06-26T17:56:27.878Z] 2437ff75d9bd: Pull complete [2023-06-26T17:56:27.878Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-06-26T17:56:27.878Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-06-26T17:56:27.878Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-26T17:56:28.209Z] prd-ubuntu20.04-docker-arm64-4c-16g-19254 does not seem to be running inside a container [2023-06-26T17:56:28.304Z] $ 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/6 -v /w/workspace/device-usb-camera/6:/w/workspace/device-usb-camera/6:rw,z -v /w/workspace/device-usb-camera/6@tmp:/w/workspace/device-usb-camera/6@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-06-26T17:56:29.832Z] $ docker top d5ab099328a0c7d24a548ca6a9cb66c42adece88b22eaf26901a731b90a41266 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-06-26T17:56:30.702Z] ---> job-cost.sh [2023-06-26T17:56:30.702Z] lf-activate-venv: SKIPPING [2023-06-26T17:56:30.702Z] INFO: No Stack... [2023-06-26T17:56:31.309Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-06-26T17:56:31.912Z] INFO: Archiving Costs [Pipeline] sh [2023-06-26T17:56:32.585Z] + cat /w/workspace/device-usb-camera/6/archives/cost.csv [2023-06-26T17:56:32.585Z] + cut -d, -f6 [Pipeline] lock [2023-06-26T17:56:32.662Z] Trying to acquire lock on [jenkins-edgexfoundry-device-usb-camera-PR-262-6-stack-cost] [2023-06-26T17:56:32.669Z] Resource [jenkins-edgexfoundry-device-usb-camera-PR-262-6-stack-cost] did not exist. Created. [2023-06-26T17:56:32.669Z] Lock acquired on [jenkins-edgexfoundry-device-usb-camera-PR-262-6-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-06-26T17:56:33.330Z] /w/workspace/device-usb-camera/6@tmp/durable-7b975ea1/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-06-26T17:56:33.985Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-06-26T17:56:34.010Z] Warning: overwriting stash ‘stack-cost’ [2023-06-26T17:56:34.495Z] Stashed 1 file(s) [Pipeline] } [2023-06-26T17:56:34.505Z] Lock released on resource [jenkins-edgexfoundry-device-usb-camera-PR-262-6-stack-cost] [Pipeline] // lock [Pipeline] } [2023-06-26T17:56:34.520Z] $ docker stop --time=1 d5ab099328a0c7d24a548ca6a9cb66c42adece88b22eaf26901a731b90a41266 [2023-06-26T17:56:36.111Z] $ docker rm -f --volumes d5ab099328a0c7d24a548ca6a9cb66c42adece88b22eaf26901a731b90a41266 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-06-26T17:56:36.365Z] 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 [2023-06-26T17:56:37.115Z] + [ -d /w/workspace/foundry_device-usb-camera_PR-262/archives ] [2023-06-26T17:56:37.115Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-262/archives [2023-06-26T17:56:37.115Z] total 16 [2023-06-26T17:56:37.115Z] drwxr-xr-x 3 root root 4096 Jun 26 17:50 . [2023-06-26T17:56:37.115Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 26 17:50 .. [2023-06-26T17:56:37.115Z] drwxr-xr-x 2 root root 4096 Jun 26 17:50 cost [2023-06-26T17:56:37.115Z] -rw-r--r-- 1 root root 89 Jun 26 17:50 cost.csv [2023-06-26T17:56:37.115Z] + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-usb-camera_PR-262/archives [2023-06-26T17:56:37.115Z] + ls -al /w/workspace/foundry_device-usb-camera_PR-262/archives [2023-06-26T17:56:37.115Z] total 16 [2023-06-26T17:56:37.115Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 26 17:50 . [2023-06-26T17:56:37.115Z] drwxrwxr-x 11 jenkins jenkins 4096 Jun 26 17:50 .. [2023-06-26T17:56:37.115Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 26 17:50 cost [2023-06-26T17:56:37.115Z] -rw-r--r-- 1 jenkins jenkins 89 Jun 26 17:50 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-06-26T17:56:37.402Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-26T17:56:38.261Z] ---> package-listing.sh [2023-06-26T17:56:38.261Z] ++ facter osfamily [2023-06-26T17:56:38.261Z] ++ tr '[:upper:]' '[:lower:]' [2023-06-26T17:56:38.520Z] + OS_FAMILY=debian [2023-06-26T17:56:38.520Z] + workspace=/w/workspace/foundry_device-usb-camera_PR-262 [2023-06-26T17:56:38.520Z] + START_PACKAGES=/tmp/packages_start.txt [2023-06-26T17:56:38.520Z] + END_PACKAGES=/tmp/packages_end.txt [2023-06-26T17:56:38.520Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-06-26T17:56:38.520Z] + PACKAGES=/tmp/packages_start.txt [2023-06-26T17:56:38.520Z] + '[' /w/workspace/foundry_device-usb-camera_PR-262 ']' [2023-06-26T17:56:38.520Z] + PACKAGES=/tmp/packages_end.txt [2023-06-26T17:56:38.520Z] + case "${OS_FAMILY}" in [2023-06-26T17:56:38.520Z] + dpkg -l [2023-06-26T17:56:38.520Z] + grep '^ii' [2023-06-26T17:56:38.520Z] + '[' -f /tmp/packages_start.txt ']' [2023-06-26T17:56:38.520Z] + '[' -f /tmp/packages_end.txt ']' [2023-06-26T17:56:38.520Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-06-26T17:56:38.520Z] + '[' /w/workspace/foundry_device-usb-camera_PR-262 ']' [2023-06-26T17:56:38.520Z] + mkdir -p /w/workspace/foundry_device-usb-camera_PR-262/archives/ [2023-06-26T17:56:38.520Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-usb-camera_PR-262/archives/ [Pipeline] echo [2023-06-26T17:56:38.531Z] 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/foundry_device-usb-camera_PR-262/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-06-26T17:56:38.809Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-06-26T17:56:39.370Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-06-26T17:56:39.370Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-06-26T17:56:39.447Z] prd-ubuntu20.04-docker-8c-8g-19253 does not seem to be running inside a container [2023-06-26T17:56:39.475Z] $ 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/foundry_device-usb-camera_PR-262/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-usb-camera_PR-262 -v /w/workspace/foundry_device-usb-camera_PR-262:/w/workspace/foundry_device-usb-camera_PR-262:rw,z -v /w/workspace/foundry_device-usb-camera_PR-262@tmp:/w/workspace/foundry_device-usb-camera_PR-262@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 [2023-06-26T17:56:39.692Z] $ docker top 1d63c48ef1e9bfb35bfe8efd82fca46a88337a8cb14f78367ec05ce5c15a6e2b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-06-26T17:56:40.036Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-06-26T17:56:40.322Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-06-26T17:56:40.608Z] + ls /var/log/sa-host [2023-06-26T17:56:40.608Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-06-26T17:56:40.762Z] provisioning config files... [2023-06-26T17:56:40.770Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-usb-camera_PR-262@tmp/config13920057385834190637tmp [Pipeline] { [Pipeline] echo [2023-06-26T17:56:40.786Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-26T17:56:41.065Z] ---> create-netrc.sh [Pipeline] } [2023-06-26T17:56:41.071Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-06-26T17:56:41.392Z] ---> python-tools-install.sh [Pipeline] echo [2023-06-26T17:56:41.401Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-26T17:56:41.683Z] ---> sudo-logs.sh [2023-06-26T17:56:41.683Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-06-26T17:56:41.715Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-26T17:56:41.999Z] ---> job-cost.sh [2023-06-26T17:56:41.999Z] lf-activate-venv: SKIPPING [2023-06-26T17:56:41.999Z] DEBUG: total: 0.2199999988079071 [2023-06-26T17:56:41.999Z] INFO: Retrieving Stack Cost... [2023-06-26T17:56:42.258Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-06-26T17:56:42.826Z] INFO: Archiving Costs [Pipeline] echo [2023-06-26T17:56:42.841Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-06-26T17:56:43.121Z] ---> logs-deploy.sh [2023-06-26T17:56:43.121Z] lf-activate-venv: SKIPPING [2023-06-26T17:56:43.121Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-usb-camera/PR-262/6 [2023-06-26T17:56:43.121Z] INFO: archiving workspace using pattern(s): [2023-06-26T17:56:44.058Z] Archives upload complete. [2023-06-26T17:56:44.318Z] INFO: archiving logs to Nexus [2023-06-26T17:56:44.887Z] ---> uname -a: [2023-06-26T17:56:44.887Z] Linux prd-ubuntu20-04-docker-8c-8g-19253 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux [2023-06-26T17:56:44.887Z] [2023-06-26T17:56:44.887Z]