From 3334ca9933ec48db36972306015cdeaa68ba5fcb Mon Sep 17 00:00:00 2001
From: gifrerenom <lluis.gifre@cttc.es>
Date: Thu, 24 Apr 2025 08:47:07 +0000
Subject: [PATCH] GitLab CI/CD pipeline:

- Defined fine-grained timeouts for long-running jobs
---
 src/tests/ecoc22/.gitlab-ci.yml                          | 1 +
 src/tests/eucnc24/.gitlab-ci.yml                         | 1 +
 src/tests/ofc22/.gitlab-ci.yml                           | 1 +
 src/tests/ofc24/.gitlab-ci.yml                           | 1 +
 src/tests/ofc25-camara-agg-net-controller/.gitlab-ci.yml | 1 +
 src/tests/ofc25-camara-e2e-controller/.gitlab-ci.yml     | 1 +
 src/tests/ofc25/.gitlab-ci.yml                           | 1 +
 7 files changed, 7 insertions(+)

diff --git a/src/tests/ecoc22/.gitlab-ci.yml b/src/tests/ecoc22/.gitlab-ci.yml
index 7e238dda2..13b9c1e51 100644
--- a/src/tests/ecoc22/.gitlab-ci.yml
+++ b/src/tests/ecoc22/.gitlab-ci.yml
@@ -37,6 +37,7 @@ build ecoc22:
 
 # Deploy TeraFlowSDN and Execute end-2-end test
 end2end_test ecoc22:
+  timeout: 20m
   variables:
     TEST_NAME: 'ecoc22'
   stage: end2end_test
diff --git a/src/tests/eucnc24/.gitlab-ci.yml b/src/tests/eucnc24/.gitlab-ci.yml
index 146310b62..7af69f4b8 100644
--- a/src/tests/eucnc24/.gitlab-ci.yml
+++ b/src/tests/eucnc24/.gitlab-ci.yml
@@ -37,6 +37,7 @@ build eucnc24:
 
 # Deploy TeraFlowSDN and Execute end-2-end test
 end2end_test eucnc24:
+  timeout: 90m
   variables:
     TEST_NAME: 'eucnc24'
   stage: end2end_test
diff --git a/src/tests/ofc22/.gitlab-ci.yml b/src/tests/ofc22/.gitlab-ci.yml
index 6ba746bb0..ab0938245 100644
--- a/src/tests/ofc22/.gitlab-ci.yml
+++ b/src/tests/ofc22/.gitlab-ci.yml
@@ -37,6 +37,7 @@ build ofc22:
 
 # Deploy TeraFlowSDN and Execute end-2-end test
 end2end_test ofc22:
+  timeout: 20m
   variables:
     TEST_NAME: 'ofc22'
   stage: end2end_test
diff --git a/src/tests/ofc24/.gitlab-ci.yml b/src/tests/ofc24/.gitlab-ci.yml
index 412f4ed5e..ff6c641fa 100644
--- a/src/tests/ofc24/.gitlab-ci.yml
+++ b/src/tests/ofc24/.gitlab-ci.yml
@@ -37,6 +37,7 @@ build ofc24:
 
 # Deploy TeraFlowSDN and Execute end-2-end test
 end2end_test ofc24:
+  timeout: 90m
   variables:
     TEST_NAME: 'ofc24'
   stage: end2end_test
diff --git a/src/tests/ofc25-camara-agg-net-controller/.gitlab-ci.yml b/src/tests/ofc25-camara-agg-net-controller/.gitlab-ci.yml
index 2fc933827..1e9fe2203 100644
--- a/src/tests/ofc25-camara-agg-net-controller/.gitlab-ci.yml
+++ b/src/tests/ofc25-camara-agg-net-controller/.gitlab-ci.yml
@@ -14,6 +14,7 @@
 
 # Deploy TeraFlowSDN and Execute end-2-end test
 end2end_test ofc25_camara_agg_net:
+  timeout: 40m
   variables:
     TEST_NAME: 'ofc25-camara-agg-net-controller'
     IP_NAME: 'ip'
diff --git a/src/tests/ofc25-camara-e2e-controller/.gitlab-ci.yml b/src/tests/ofc25-camara-e2e-controller/.gitlab-ci.yml
index 22f6e38e0..eba1d203c 100644
--- a/src/tests/ofc25-camara-e2e-controller/.gitlab-ci.yml
+++ b/src/tests/ofc25-camara-e2e-controller/.gitlab-ci.yml
@@ -14,6 +14,7 @@
 
 # Deploy TeraFlowSDN and Execute end-2-end test
 end2end_test ofc25_camara_e2e:
+  timeout: 40m
   variables:
     TEST_NAME: 'ofc25-camara-e2e-controller'
     NCE_NAME: 'nce'
diff --git a/src/tests/ofc25/.gitlab-ci.yml b/src/tests/ofc25/.gitlab-ci.yml
index 52ea2e3a4..b24f59927 100644
--- a/src/tests/ofc25/.gitlab-ci.yml
+++ b/src/tests/ofc25/.gitlab-ci.yml
@@ -37,6 +37,7 @@ build ofc25:
 
 # Deploy TeraFlowSDN and Execute end-2-end test
 end2end_test ofc25:
+  timeout: 90m
   variables:
     TEST_NAME: 'ofc25'
   stage: end2end_test
-- 
GitLab