tkobayas commented on issue #1444:
URL: 
https://github.com/apache/incubator-kie-issues/issues/1444#issuecomment-2348415304

   Hi @jstastny-cz ,
   
   nightly
   ```
   mvn dependency:tree clean deploy -DdeployAtEnd 
-Dapache.repository.username=**** -Dapache.repository.password=**** 
-DretryFailedDeploymentCount=5 -s 
/home/jenkins/jenkins-agent/workspace/KIE/drools/main/nightly/drools.build-and-deploy@tmp/config17784539189338421883tmp
 -Dmaven.wagon.http.ssl.insecure=true -Dmaven.test.failure.ignore=true -nsu 
-ntp -fae -e -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false 
-Dmaven.wagon.httpconnectionManager.ttlSeconds=120 
-Dmaven.wagon.http.retryHandler.count=3 -Dfull 
-Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn
 -B
   ```
   
   weekly
   ```
   mvn -B -s 
/home/jenkins/jenkins-agent/workspace/KIE/drools/main/other/drools.weekly-deploy@tmp/config6925231661979507139tmp
 -fae -ntp -Dfull clean deploy -DdeployAtEnd -Dapache.repository.username=**** 
-Dapache.repository.password=**** -DretryFailedDeploymentCount=5 
-Daether.connector.basic.parallelPut=false -Dfull 
-Dmaven.test.failure.ignore=true -DskipTests=false
   ```
   
   nightly has:
   - `-Dmaven.wagon.http.ssl.insecure=true`
   - `-Dmaven.wagon.http.pool=false`
   - `-Dmaven.wagon.httpconnectionManager.ttlSeconds=120`
   - `-Dmaven.wagon.http.retryHandler.count=3`
   - `-Dhttp.keepAlive=false`
   
   Per my understandings, wagon is no longer used by default. 
https://stackoverflow.com/questions/71099771/how-do-i-use-transport-http-instead-of-wagon-in-maven
   
   `-Dhttp.keepAlive=false` has pros and cons. It may be good under unstable 
network environment.
   
   weekyly has:
   - `-Daether.connector.basic.parallelPut=false` was added by 
https://github.com/apache/incubator-kie-drools/pull/6056 . It seems to have a 
positive effect so far.
   
   ---
   
   Btw, I think day of the week and time seems to matter.
   
   nightly 09-01 (Sunday) was slow and unstable.
   ```
   [2024-09-01T04:09:11.322Z] [INFO] --- install:3.1.1:install 
(default-install) @ drools-distribution ---
   [2024-09-01T04:15:13.638Z] [WARNING] Encountered issue during deployment: 
Failed to deploy artifacts: Could not transfer artifact 
org.drools:kiemodulemodel-example:jar:javadoc:999-20240901.023157-65 from/to 
apache.snapshots.https 
(https://repository.apache.org/content/repositories/snapshots): status code: 
502, reason phrase: Proxy Error (502)
   [2024-09-01T04:15:13.639Z] [INFO] Retrying deployment attempt 2 of 5
   [2024-09-01T04:21:48.410Z] [WARNING] Encountered issue during deployment: 
Failed to deploy artifacts: Could not transfer artifact 
org.kie:kie-pmml-evaluator-api:pom:999-20240901.023157-65 from/to 
apache.snapshots.https 
(https://repository.apache.org/content/repositories/snapshots): status code: 
408, reason phrase: Request Timeout (408)
   [2024-09-01T04:21:48.410Z] [INFO] Retrying deployment attempt 3 of 5
   ...
   [2024-09-01T04:30:06.008Z] [WARNING] Encountered issue during deployment: 
Failed to deploy artifacts: Could not transfer artifact 
org.drools.testcoverage:test-integration-ruleunits-tests:jar:tests:999-20240901.023157-65
 from/to apache.snapshots.https 
(https://repository.apache.org/content/repositories/snapshots): status code: 
408, reason phrase: Request Timeout (408)
   [2024-09-01T04:30:06.008Z] [INFO] Retrying deployment attempt 4 of 5
   [2024-09-01T04:36:40.259Z] [WARNING] Encountered issue during deployment: 
Failed to deploy artifacts: Could not transfer artifact 
org.kie:efesto-compilation-manager-core:jar:999-20240901.023157-65 from/to 
apache.snapshots.https 
(https://repository.apache.org/content/repositories/snapshots): status code: 
408, reason phrase: Request Timeout (408)
   [2024-09-01T04:36:40.259Z] [INFO] Retrying deployment attempt 5 of 5
   ...
   [2024-09-01T04:43:04.104Z] [INFO] 
------------------------------------------------------------------------
   [2024-09-01T04:43:04.104Z] [INFO] Reactor Summary for Drools :: Parent 
999-SNAPSHOT:
   ...
   [2024-09-01T04:43:04.108Z] [ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-deploy-plugin:3.1.1:deploy (default-deploy) on 
project drools-distribution: Failed to deploy artifacts: Could not transfer 
artifact org.drools:kiemodulemodel-example:jar:javadoc:999-20240901.023157-65 
from/to apache.snapshots.https 
(https://repository.apache.org/content/repositories/snapsh\
   ots): status code: 502, reason phrase: Proxy Error (502) -> [Help 1]
   ```
   
   and weekly 09-12 (Thursday) manually triggered by Rodrigo was successful 
without timeout.
   ```
   [2024-09-12T12:18:06.159Z] [INFO] --- deploy:3.1.1:deploy (default-deploy) @ 
drools-distribution ---
   [2024-09-12T12:50:46.172Z] [INFO] 
------------------------------------------------------------------------
   ...
   [2024-09-12T12:50:46.176Z] [INFO] BUILD SUCCESS
   ```
   
   I guess not only KIE projects but also many other projects in apache 
contribute to this "unstable Sunday night" (I don't know if we have CPU/Network 
quota). Imagine that many projects do nightly deployment every night and also 
weekly deployment on Sunday night, the load would be double on Sunday night.
   
   So... how about moving the weekly build to Saturday daytime or Sunday 
daytime (or weekday daytime)? Do you think it's a good idea?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to