<build>
<plugins>
<plugin>
<groupId>org.owasp</groupId>
<artifactId>dependency-check-maven</artifactId>
<version>5.3.1</version>
<dependencies>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.22</version>
</dependency>
</dependencies>
<configuration>
<databaseDriverName>com.mysql.cj.jdbc.Driver</databaseDriverName>
<connectionString/>
<databaseUser/>
<databasePassword/>
</configuration>
<executions>
<execution>
<goals>
<goal>update-only</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
After running for 5 hours, someone restarted Jenkins to update plugins, which interrupted the job.
00:00:12.441 [INFO] Checking for updates
00:00:19.913 [INFO] NVD CVE requires several updates; this could take a couple of minutes.
00:00:19.913 [INFO] Download Started for NVD CVE - 2008
00:00:19.913 [INFO] Download Started for NVD CVE - 2010
00:00:20.260 [INFO] Download Complete for NVD CVE - 2010 (929 ms)
00:00:20.260 [INFO] Download Started for NVD CVE - 2011
00:00:20.260 [INFO] Processing Started for NVD CVE - 2010
00:00:20.260 [INFO] Download Complete for NVD CVE - 2008 (1125 ms)
00:00:20.260 [INFO] Download Started for NVD CVE - 2012
00:00:20.260 [INFO] Processing Started for NVD CVE - 2008
00:00:21.459 [INFO] Download Complete for NVD CVE - 2011 (996 ms)
00:00:21.459 [INFO] Download Complete for NVD CVE - 2012 (995 ms)
00:00:22.667 [INFO] Download Started for NVD CVE - 2013
00:00:22.667 [INFO] Processing Started for NVD CVE - 2012
00:00:22.667 [INFO] Download Started for NVD CVE - 2014
00:00:22.667 [INFO] Processing Started for NVD CVE - 2011
00:00:23.410 [INFO] Download Complete for NVD CVE - 2013 (1054 ms)
00:00:23.756 [INFO] Download Complete for NVD CVE - 2014 (1060 ms)
00:00:25.486 [INFO] Download Started for NVD CVE - 2015
00:00:25.833 [INFO] Download Started for NVD CVE - 2016
00:00:26.577 [INFO] Download Complete for NVD CVE - 2015 (1011 ms)
00:00:26.924 [INFO] Download Complete for NVD CVE - 2016 (1056 ms)
00:00:50.371 [INFO] Download Started for NVD CVE - 2017
00:00:50.371 [INFO] Download Complete for NVD CVE - 2017 (1407 ms)
00:00:53.452 [INFO] Download Started for NVD CVE - 2018
00:00:54.652 [INFO] Download Complete for NVD CVE - 2018 (1349 ms)
00:01:28.306 [INFO] Download Started for NVD CVE - 2019
00:01:28.306 [INFO] Download Started for NVD CVE - 2020
00:01:28.306 [INFO] Download Complete for NVD CVE - 2019 (1145 ms)
00:01:28.306 [INFO] Download Complete for NVD CVE - 2020 (981 ms)
05:01:54.450 Sending interrupt signal to process
05:01:58.069 Sending interrupt signal to process
05:02:00.435 [INFO] Shutdown hook activated. Shutdown was not called. Shutting down JCS.
05:02:00.435 [INFO] Element event queue destroyed: org.apache.commons.jcs.engine.control.event.ElementEventQueue@e197c2
05:02:00.435 [INFO] In DISPOSE, [NODEAUDIT] fromRemote [false]
05:02:00.435 [INFO] In DISPOSE, [NODEAUDIT] auxiliary [NODEAUDIT]
05:02:00.435 [INFO] In DISPOSE, [NODEAUDIT] put 0 into auxiliary NODEAUDIT
05:02:00.435 [INFO] No longer waiting for event queue to finish: Pooled Cache Event Queue
This is the current content of the database:
$ mysql --defaults-group-suffix=dependencycheck -D dependency_check_531 -e "SHOW TABLE STATUS;"
+---------------+--------+---------+------------+--------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+---------------------+------------+--------------------+----------+----------------+---------+
| Name | Engine | Version | Row_format | Rows | Avg_row_length | Data_length | Max_data_length | Index_length | Data_free | Auto_increment | Create_time | Update_time | Check_time | Collation | Checksum | Create_options | Comment |
+---------------+--------+---------+------------+--------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+---------------------+------------+--------------------+----------+----------------+---------+
| cpeEntry | InnoDB | 10 | Dynamic | 86236 | 79 | 6832128 | 0 | 12615680 | 4194304 | 92220 | 2020-11-19 09:52:39 | 2020-11-19 23:39:25 | NULL | utf8mb4_0900_ai_ci | NULL | | |
| cweEntry | InnoDB | 10 | Dynamic | 38693 | 68 | 2637824 | 0 | 1589248 | 4194304 | NULL | 2020-11-19 09:52:39 | 2020-11-20 00:58:01 | NULL | utf8mb4_0900_ai_ci | NULL | | |
| properties | InnoDB | 10 | Dynamic | 8 | 2048 | 16384 | 0 | 0 | 0 | NULL | 2020-11-19 09:52:39 | NULL | NULL | utf8mb4_0900_ai_ci | NULL | | |
| reference | InnoDB | 10 | Dynamic | 260032 | 143 | 37289984 | 0 | 6832128 | 6291456 | NULL | 2020-11-19 09:52:39 | 2020-11-20 00:58:30 | NULL | utf8mb4_0900_ai_ci | NULL | | |
| software | InnoDB | 10 | Dynamic | 358075 | 45 | 16269312 | 0 | 19939328 | 6291456 | NULL | 2020-11-19 09:52:39 | 2020-11-20 00:58:30 | NULL | utf8mb4_0900_ai_ci | NULL | | |
| vulnerability | InnoDB | 10 | Dynamic | 37137 | 381 | 14172160 | 0 | 3178496 | 4194304 | 38612 | 2020-11-19 09:52:39 | 2020-11-20 00:58:01 | NULL | utf8mb4_0900_ai_ci | NULL | | |
+---------------+--------+---------+------------+--------+----------------+-------------+-----------------+--------------+-----------+----------------+---------------------+---------------------+------------+--------------------+----------+----------------+---------+
How long is the first update of the database expected to take?
Is more than 5 hours expected?