https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39877

Kyle M Hall (khall) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Signed Off                  |Failed QA

--- Comment #50 from Kyle M Hall (khall) <[email protected]> ---
I seem to be getting errors. I'm testing in koha-testing-docker. It appears to
be writing the files to temp, but doesn't seem to be cloning the git repo into
that path? The dir exists, but I can confirm it is not a git repo, nor is my
gitlab repo being updated. I did a manual close to that path but it didn't seem
to make a difference.

kohadev-koha@kohadevbox:koha(bug39877-qa)$
KOHA_CI_INCREMENTAL_RUN_REPO_URL=gitlab.com/kylemhall/koha-ci-results.git
KOHA_CI_INCREMENTAL_RUNS=1 KOHA_CI_INCREMENTAL_RUNS_REPORT=1
KOHA_CI_INCREMENTAL_RUNS_TOKEN=glpat-XXX.01.120je4tjd prove xt/perltidy.t
xt/perltidy.t .. fatal: repository 'gitlab.com/kylemhall/koha-ci-results.git'
does not exist
fatal: cannot change to '/tmp/koha-ci-results': No such file or directory
xt/perltidy.t .. 3044/3054 fatal: not a git repository (or any parent up to
mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
xt/perltidy.t .. ok
All tests successful.
Files=1, Tests=3054, 103 wallclock secs ( 0.22 usr  0.04 sys + 100.72 cusr 
0.76 csys = 101.74 CPU)
Result: PASS
kohadev-koha@kohadevbox:koha(bug39877-qa)$
KOHA_CI_INCREMENTAL_RUN_REPO_URL=gitlab.com/kylemhall/koha-ci-results.git
KOHA_CI_INCREMENTAL_RUNS=1 KOHA_CI_INCREMENTAL_RUNS_REPORT=1
KOHA_CI_INCREMENTAL_RUNS_TOKEN=glpat-XXX.01.120je4tjd prove xt/perltidy.t
xt/perltidy.t .. fatal: not a git repository (or any parent up to mount point
/)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
xt/perltidy.t .. ok
All tests successful.
Files=1, Tests=1,  1 wallclock secs ( 0.01 usr  0.00 sys +  0.33 cusr  0.26
csys =  0.60 CPU)
Result: PASS
kohadev-koha@kohadevbox:koha(bug39877-qa)$ cat
/tmp/koha-ci-results/perltidy/dae0cf02d1f
[]kohadev-koha@kohadevbox:koha(bug39877-qa)$ #make a change and commit
kohadev-koha@kohadevbox:koha(bug39877-qa)$ git show HEAD
commit 154f96a18d6292e51d074a5aad218d1c01f0c682 (HEAD -> bug39877-qa)
Author: Kyle M Hall <[email protected]>
Date:   Fri Sep 5 08:23:25 2025 -0400

    Test commit

diff --git a/mainpage.pl b/mainpage.pl
index 87f784631f6..205bc8ad7dd 100755
--- a/mainpage.pl
+++ b/mainpage.pl
@@ -36,7 +36,7 @@ use Koha::Quotes;
 use Koha::Suggestions;
 use Koha::BackgroundJobs;
 use Koha::CurbsidePickups;
-use Koha::Tickets;
+   use Koha::Tickets;

 my $query = CGI->new;

kohadev-koha@kohadevbox:koha(bug39877-qa)$
KOHA_CI_INCREMENTAL_RUN_REPO_URL=gitlab.com/kylemhall/koha-ci-results.git
KOHA_CI_INCREMENTAL_RUNS=1 KOHA_CI_INCREMENTAL_RUNS_REPORT=1
KOHA_CI_INCREMENTAL_RUNS_TOKEN=glpat-XXX.01.120je4tjd prove xt/perltidy.t
xt/perltidy.t .. fatal: not a git repository (or any parent up to mount point
/)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
# The file 'mainpage.pl' is not tidy
# +---+----------------------------+----------------------------+
# | 36|use Koha::Suggestions;      |use Koha::Suggestions;      |
# | 37|use Koha::BackgroundJobs;   |use Koha::BackgroundJobs;   |
# | 38|use Koha::CurbsidePickups;  |use Koha::CurbsidePickups;  |
# * 39|   use Koha::Tickets;       |use Koha::Tickets;          *
# | 40|                            |                            |
# | 41|my $query = CGI->new;       |my $query = CGI->new;       |
# | 42|                            |                            |
# +---+----------------------------+----------------------------+
xt/perltidy.t .. 1/2
#   Failed test at xt/perltidy.t line 16.
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
# Looks like you failed 1 test of 2.
xt/perltidy.t .. Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/2 subtests

Test Summary Report
-------------------
xt/perltidy.t (Wstat: 256 (exited 1) Tests: 2 Failed: 1)
  Failed test:  1
  Non-zero exit status: 1
Files=1, Tests=2,  1 wallclock secs ( 0.01 usr  0.00 sys +  0.42 cusr  0.26
csys =  0.69 CPU)
Result: FAIL
kohadev-koha@kohadevbox:koha(bug39877-qa)$ cat /tmp/koha-ci-results/perltidy/
154f96a18d6  dae0cf02d1f
kohadev-koha@kohadevbox:koha(bug39877-qa)$ cat
/tmp/koha-ci-results/perltidy/154f96a18d6
["mainpage.pl"]kohadev-koha@kohadevbox:koha(bug39877-qa)$

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to