Improve the gitea importer test

The changes to the tests to support ignoring Gitea pull requests comments were
a bit of a hack. The suggestions provided by Ash McKenzie in
gitlab-org/gitlab-ce!29521 make things a bit more flexible if any future
changes need to be made to the tests.

The changes made to ignore
83 jobs for gitea_import_ignore_pull_request_comments in 43 minutes and 49 seconds (queued for 4 seconds)
latest
Status Job ID Name Coverage
  Prepare
passed #231090734
gitlab-org
compile-assets

00:06:53

passed #231090736
gitlab-org
retrieve-tests-metadata

00:00:28

passed #231090735
gitlab-org
setup-test-env

00:04:10

 
  Test
passed #231090749
code_quality

00:06:56

passed #231090813
gitlab-org
db:check-schema-pg

00:02:04

passed #231090812
gitlab-org
db:migrate:reset-mysql

00:03:56

passed #231090811
gitlab-org
db:migrate:reset-pg

00:02:32

passed #231090817
gitlab-org
db:rollback-mysql

00:04:02

passed #231090816
gitlab-org
db:rollback-pg

00:02:32

passed #231090751
dependency_scanning

00:18:19

passed #231090738
gitlab-org
docs lint

00:02:47

passed #231090809
gitlab-org
downtime_check

00:03:35

passed #231090810
gitlab-org
ee_compat_check

00:03:10

passed #231090819
gitlab-org
gitlab:setup-mysql

00:03:52

passed #231090818
gitlab-org
gitlab:setup-pg

00:03:04

passed #231090820
gitlab-org
gitlab_git_test

00:00:28

passed #231090743
gitlab-org
jest

00:15:34

passed #231090742
gitlab-org
karma

00:12:00

54.61%
passed #231090821
gitlab-org
lint-ci-gitlab

00:00:33

passed #231090815
gitlab-org
migration:path-mysql

00:16:11

passed #231090814
gitlab-org
migration:path-pg

00:15:29

passed #231090747
gitlab-org
qa-frontend-node:10

00:11:07

passed #231090746
gitlab-org
qa-frontend-node:8

00:14:29

passed #231090748
gitlab-org
qa-frontend-node:latest

00:12:09

passed #231090744
gitlab-org
qa:internal

00:02:58

passed #231090745
gitlab-org
qa:selectors

00:02:52

passed #231090777
gitlab-org
rspec integration pg 1/6

00:16:14

passed #231090778
gitlab-org
rspec integration pg 2/6

00:14:20

passed #231090779
gitlab-org
rspec integration pg 3/6

00:17:27

passed #231090780
gitlab-org
rspec integration pg 4/6

00:17:16

passed #231090781
gitlab-org
rspec integration pg 5/6

00:15:38

passed #231090782
gitlab-org
rspec integration pg 6/6

00:14:38

passed #231090783
gitlab-org
rspec system pg 1/24

00:16:36

passed #231090792
gitlab-org
rspec system pg 10/24

00:13:00

passed #231090793
gitlab-org
rspec system pg 11/24

00:12:59

passed #231090794
gitlab-org
rspec system pg 12/24

00:12:06

passed #231090795
gitlab-org
rspec system pg 13/24

00:12:48

passed #231090796
gitlab-org
rspec system pg 14/24

00:14:04

passed #231090797
gitlab-org
rspec system pg 15/24

00:13:10

passed #231090798
gitlab-org
rspec system pg 16/24

00:12:37

passed #231090799
gitlab-org
rspec system pg 17/24

00:13:36

passed #231090800
gitlab-org
rspec system pg 18/24

00:13:11

passed #231090801
gitlab-org
rspec system pg 19/24

00:12:38

passed #231090784
gitlab-org
rspec system pg 2/24

00:16:19

passed #231090802
gitlab-org
rspec system pg 20/24

00:12:40

passed #231090803
gitlab-org
rspec system pg 21/24

00:13:07

passed #231090804
gitlab-org
rspec system pg 22/24

00:12:44

passed #231090805
gitlab-org
rspec system pg 23/24

00:12:27

passed #231090806
gitlab-org
rspec system pg 24/24

00:11:31

passed #231090785
gitlab-org
rspec system pg 3/24

00:13:31

passed #231090786
gitlab-org
rspec system pg 4/24

00:12:19

passed #231090787
gitlab-org
rspec system pg 5/24

00:12:35

passed #231090788
gitlab-org
rspec system pg 6/24

00:12:58

passed #231090789
gitlab-org
rspec system pg 7/24

00:14:28

passed #231090790
gitlab-org
rspec system pg 8/24

00:10:13

passed #231090791
gitlab-org
rspec system pg 9/24

00:14:22

passed #231090755
gitlab-org
rspec unit pg 1/20

00:13:27

passed #231090766
gitlab-org
rspec unit pg 10/20

00:15:17

passed #231090767
gitlab-org
rspec unit pg 11/20

00:15:07

passed #231090768
gitlab-org
rspec unit pg 12/20

00:14:31

passed #231090769
gitlab-org
rspec unit pg 13/20

00:15:44

passed #231090770
gitlab-org
rspec unit pg 14/20

00:14:59

passed #231090771
gitlab-org
rspec unit pg 15/20

00:15:46

passed #231090772
gitlab-org
rspec unit pg 16/20

00:16:19

passed #231090773
gitlab-org
rspec unit pg 17/20

00:16:21

passed #231090774
gitlab-org
rspec unit pg 18/20

00:15:02

passed #231090775
gitlab-org
rspec unit pg 19/20

00:14:37

passed #231090757
gitlab-org
rspec unit pg 2/20

00:12:45

passed #231090776
gitlab-org
rspec unit pg 20/20

00:15:20

passed #231090758
gitlab-org
rspec unit pg 3/20

00:13:03

passed #231090759
gitlab-org
rspec unit pg 4/20

00:13:42

passed #231090760
gitlab-org
rspec unit pg 5/20

00:13:01

passed #231090761
gitlab-org
rspec unit pg 6/20

00:13:48

passed #231090762
gitlab-org
rspec unit pg 7/20

00:14:03

passed #231090763
gitlab-org
rspec unit pg 8/20

00:14:20

passed #231090765
gitlab-org
rspec unit pg 9/20

00:14:26

passed #231090807
gitlab-org
rspec-fast-spec-helper

00:02:50

failed #231090750
allowed to fail
sast

00:31:30

passed #231090808
gitlab-org
static-analysis

00:13:00

 
  Post Test
passed #231090824
gitlab-org
coverage

00:05:14

95.67%
passed #231090825
gitlab-org
flaky-examples-check

00:01:39

passed #231090823
gitlab-org
jsdoc

00:03:40

passed #231090822
gitlab-org
lint:javascript:report

00:02:48

 
Name Stage Failure
failed
sast Test
2019/06/14 07:01:05 Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
2019/06/14 07:01:05 Timeout when running the analyzer
Running after script...
$ date
Fri Jun 14 07:01:11 UTC 2019
Uploading artifacts...
WARNING: gl-sast-report.json: no matching files
ERROR: No files to upload
ERROR: Job failed: exit code 1