Document verified Chapter 4 Jenkins checks and remaining human evidence
This commit is contained in:
@@ -0,0 +1,95 @@
|
||||
Branch indexing
|
||||
Looking up repository group10-startup/startup-product
|
||||
Querying the current revision of pull request #9...
|
||||
Current revision of pull request #9 is 35605c33b903742cd13d444a1a14d61b07fbaa86
|
||||
Obtained Jenkinsfile from 35605c33b903742cd13d444a1a14d61b07fbaa86
|
||||
[Pipeline] Start of Pipeline
|
||||
[Pipeline] node
|
||||
Running on Jenkins in /var/jenkins_home/workspace/startup-product-ci_PR-9
|
||||
[Pipeline] {
|
||||
[Pipeline] timeout
|
||||
Timeout set to expire in 5 min 0 sec
|
||||
[Pipeline] {
|
||||
[Pipeline] stage
|
||||
[Pipeline] { (Checkout)
|
||||
[Pipeline] checkout
|
||||
The recommended git tool is: NONE
|
||||
using credential gitea-startup-ci
|
||||
Cloning the remote Git repository
|
||||
Cloning with configured refspecs honoured and without tags
|
||||
Cloning repository http://gitea:3000/group10-startup/startup-product.git
|
||||
> git init /var/jenkins_home/workspace/startup-product-ci_PR-9 # timeout=10
|
||||
Fetching upstream changes from http://gitea:3000/group10-startup/startup-product.git
|
||||
> git --version # timeout=10
|
||||
> git --version # 'git version 2.47.3'
|
||||
using GIT_ASKPASS to set credentials Restricted bot; startup-product repository only
|
||||
> git fetch --no-tags --force --progress -- http://gitea:3000/group10-startup/startup-product.git +refs/pull/9/head:refs/remotes/origin/PR-9 # timeout=10
|
||||
> git config remote.origin.url http://gitea:3000/group10-startup/startup-product.git # timeout=10
|
||||
> git config --add remote.origin.fetch +refs/pull/9/head:refs/remotes/origin/PR-9 # timeout=10
|
||||
> git config remote.origin.url http://gitea:3000/group10-startup/startup-product.git # timeout=10
|
||||
Fetching without tags
|
||||
Fetching upstream changes from http://gitea:3000/group10-startup/startup-product.git
|
||||
using GIT_ASKPASS to set credentials Restricted bot; startup-product repository only
|
||||
> git fetch --no-tags --force --progress -- http://gitea:3000/group10-startup/startup-product.git +refs/pull/9/head:refs/remotes/origin/PR-9 # timeout=10
|
||||
Checking out Revision 35605c33b903742cd13d444a1a14d61b07fbaa86 (codex/chapter4-issue-8)
|
||||
> git config core.sparsecheckout # timeout=10
|
||||
> git checkout -f 35605c33b903742cd13d444a1a14d61b07fbaa86 # timeout=10
|
||||
Commit message: "Add pricing checks and controlled defect for issue #8"
|
||||
First time build. Skipping changelog.
|
||||
[Gitea] Notifying pull request build status: PENDING Build started...
|
||||
[Gitea] Notified
|
||||
[Pipeline] sh
|
||||
+ git rev-parse HEAD
|
||||
35605c33b903742cd13d444a1a14d61b07fbaa86
|
||||
+ python3 --version
|
||||
Python 3.13.5
|
||||
[Pipeline] }
|
||||
[Pipeline] // stage
|
||||
[Pipeline] stage
|
||||
[Pipeline] { (Syntax check)
|
||||
[Pipeline] sh
|
||||
+ python3 -m py_compile pricing.py tests/test_pricing.py
|
||||
[Pipeline] }
|
||||
[Pipeline] // stage
|
||||
[Pipeline] stage
|
||||
[Pipeline] { (Unit tests)
|
||||
[Pipeline] sh
|
||||
+ python3 -m unittest discover -s tests -v
|
||||
test_invalid_quantity (test_pricing.PricingTests.test_invalid_quantity) ... ok
|
||||
test_single_item (test_pricing.PricingTests.test_single_item) ... FAIL
|
||||
test_total (test_pricing.PricingTests.test_total) ... FAIL
|
||||
|
||||
======================================================================
|
||||
FAIL: test_single_item (test_pricing.PricingTests.test_single_item)
|
||||
----------------------------------------------------------------------
|
||||
Traceback (most recent call last):
|
||||
File "/var/jenkins_home/workspace/startup-product-ci_PR-9/tests/test_pricing.py", line 11, in test_single_item
|
||||
self.assertEqual(total_price(12.5, 1), 12.5)
|
||||
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
AssertionError: 13.5 != 12.5
|
||||
|
||||
======================================================================
|
||||
FAIL: test_total (test_pricing.PricingTests.test_total)
|
||||
----------------------------------------------------------------------
|
||||
Traceback (most recent call last):
|
||||
File "/var/jenkins_home/workspace/startup-product-ci_PR-9/tests/test_pricing.py", line 8, in test_total
|
||||
self.assertEqual(total_price(10, 3), 30)
|
||||
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
AssertionError: 13 != 30
|
||||
|
||||
----------------------------------------------------------------------
|
||||
Ran 3 tests in 0.005s
|
||||
|
||||
FAILED (failures=2)
|
||||
[Pipeline] }
|
||||
[Pipeline] // stage
|
||||
[Pipeline] }
|
||||
[Pipeline] // timeout
|
||||
[Pipeline] }
|
||||
[Pipeline] // node
|
||||
[Pipeline] End of Pipeline
|
||||
ERROR: script returned exit code 1
|
||||
[Gitea] Notifying pull request build status: FAILURE There was a failure building this commit
|
||||
[Gitea] Notified
|
||||
[Gitea] do not publish assets due to build being non-Successfully
|
||||
Finished: FAILURE
|
||||
Reference in New Issue
Block a user