Files
sigrhapf/Documents/sigfip/sigefp/test_output_21_fixed.txt
T
2026-05-19 11:41:28 +00:00

132 lines
9.8 KiB
Plaintext

[INFO] Scanning for projects...
[INFO]
[INFO] ----------------------< br.gov.sigefp:sigefp-rh >-----------------------
[INFO] Building SIGEFP RH 1.0.0-SNAPSHOT
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ sigefp-rh ---
[INFO] skip non existing resourceDirectory C:\Users\donid\Documents\sigfip\sigefp\sigefp-rh\src\main\resources
[INFO]
[INFO] --- compiler:3.13.0:compile (default-compile) @ sigefp-rh ---
[INFO] Nothing to compile - all classes are up to date.
[INFO]
[INFO] --- resources:3.3.1:testResources (default-testResources) @ sigefp-rh ---
[INFO] skip non existing resourceDirectory C:\Users\donid\Documents\sigfip\sigefp\sigefp-rh\src\test\resources
[INFO]
[INFO] --- compiler:3.13.0:testCompile (default-testCompile) @ sigefp-rh ---
[INFO] Nothing to compile - all classes are up to date.
[INFO]
[INFO] --- surefire:3.2.5:test (default-test) @ sigefp-rh ---
[INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider
[INFO]
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running br.gov.sigefp.rh.service.PayrollServiceTest
mvn : WARNING: A
Java agent has been
loaded dynamically (C
:\Users\donid\.m2\rep
ository\net\bytebuddy
\byte-buddy-agent\1.1
4.10\byte-buddy-agent
-1.14.10.jar)
No linha:1
caractere:90
+ ... $env:Path";
mvn test -pl
sigefp-rh -Dtest=Payr
ollServiceTest >
test_o ...
+ ~~~
~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~
+ CategoryInfo
: NotSpe
cified: (WARNING
: A Java...nt-1.
14.10.jar):Strin
g) [], RemoteExc
eption
+ FullyQualified
ErrorId : Native
CommandError
WARNING: If a
serviceability tool
is in use, please
run with -XX:+EnableD
ynamicAgentLoading
to hide this warning
WARNING: If a
serviceability tool
is not in use,
please run with -Djdk
.instrument.traceUsag
e for more
information
WARNING: Dynamic
loading of agents
will be disallowed
by default in a
future release
Java HotSpot(TM)
64-Bit Server VM
warning: Sharing is
only supported for
boot loader classes
because bootstrap
classpath has been
appended
15:58:46.729 [main] WARN br.gov.sigefp.rh.service.PayrollService -- Agente null ignorado: Tabela salarial nπo encontrada para step 6aad029d-117b-43e8-86bf-d1b5e3f78ceb.
[ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 2.391 s <<< FAILURE! -- in br.gov.sigefp.rh.service.PayrollServiceTest
[ERROR] br.gov.sigefp.rh.service.PayrollServiceTest.generatePayrollItems_WithSuccess -- Time elapsed: 2.263 s <<< FAILURE!
org.mockito.exceptions.verification.TooFewActualInvocations:
payrollItemRepository.save(
<any br.gov.sigefp.rh.domain.PayrollItem>
);
Wanted *at least* 5 times:
-> at br.gov.sigefp.rh.service.PayrollServiceTest.generatePayrollItems_WithSuccess(PayrollServiceTest.java:194)
But was 0 times.
at br.gov.sigefp.rh.service.PayrollServiceTest.generatePayrollItems_WithSuccess(PayrollServiceTest.java:194)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1596)
[INFO]
[INFO] Results:
[INFO]
[ERROR] Failures:
[ERROR] PayrollServiceTest.generatePayrollItems_WithSuccess:194
payrollItemRepository.save(
<any br.gov.sigefp.rh.domain.PayrollItem>
);
Wanted *at least* 5 times:
-> at br.gov.sigefp.rh.service.PayrollServiceTest.generatePayrollItems_WithSuccess(PayrollServiceTest.java:194)
But was 0 times.
[INFO]
[ERROR] Tests run: 2, Failures: 1, Errors: 0, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5.227 s
[INFO] Finished at: 2025-12-28T15:58:47Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:3.2.5:test (default-test) on project sigefp-rh: There are test failures.
[ERROR]
[ERROR] Please refer to C:\Users\donid\Documents\sigfip\sigefp\sigefp-rh\target\surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date].dump, [date]-jvmRun[N].dump and [date].dumpstream.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException