Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Rafael Monnerat
slapos.core
Commits
4e52df86
Commit
4e52df86
authored
Oct 01, 2024
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos_crm: suffix drop
parent
8444a662
Pipeline
#37149
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
master/bt5/slapos_crm/TestTemplateItem/portal_components/test.erp5.testSlapOSCRMAlarm.py
...ateItem/portal_components/test.erp5.testSlapOSCRMAlarm.py
+11
-11
No files found.
master/bt5/slapos_crm/TestTemplateItem/portal_components/test.erp5.testSlapOSCRMAlarm.py
View file @
4e52df86
...
...
@@ -1322,7 +1322,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeState(SlapOSTestCaseMixinWithAbort)
compute_node_support_request
=
compute_node
.
ComputeNode_checkState
()
self
.
assertNotEqual
(
compute_node_support_request
,
None
)
self
.
assertIn
(
"
[MONITORING]
Lost contact with compute_node"
,
self
.
assertIn
(
"Lost contact with compute_node"
,
compute_node_support_request
.
getTitle
())
self
.
assertIn
(
"has not contacted the server for more than 30 minutes"
,
compute_node_support_request
.
getDescription
())
...
...
@@ -1335,7 +1335,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeState(SlapOSTestCaseMixinWithAbort)
compute_node_support_request
=
compute_node
.
ComputeNode_checkState
()
self
.
assertNotEqual
(
compute_node_support_request
,
None
)
self
.
assertIn
(
"
[MONITORING]
Lost contact with compute_node"
,
self
.
assertIn
(
"Lost contact with compute_node"
,
compute_node_support_request
.
getTitle
())
self
.
assertIn
(
"has not contacted the server (No Contact Information)"
,
compute_node_support_request
.
getDescription
())
...
...
@@ -1376,7 +1376,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeState(SlapOSTestCaseMixinWithAbort)
compute_node
.
ComputeNode_checkState
()
self
.
tic
()
ticket_title
=
"
[MONITORING]
Lost contact with compute_node %s"
%
compute_node
.
getReference
()
ticket_title
=
"Lost contact with compute_node %s"
%
compute_node
.
getReference
()
ticket
=
self
.
_getGeneratedSupportRequest
(
compute_node
.
getUid
(),
ticket_title
)
self
.
assertNotEqual
(
ticket
,
None
)
...
...
@@ -1414,7 +1414,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeState(SlapOSTestCaseMixinWithAbort)
compute_node
.
ComputeNode_checkState
()
self
.
tic
()
ticket_title
=
"
[MONITORING]
Lost contact with compute_node %s"
%
compute_node
.
getReference
()
ticket_title
=
"Lost contact with compute_node %s"
%
compute_node
.
getReference
()
ticket
=
self
.
_getGeneratedSupportRequest
(
compute_node
.
getUid
(),
ticket_title
)
self
.
assertNotEqual
(
ticket
,
None
)
event_list
=
ticket
.
getFollowUpRelatedValueList
()
...
...
@@ -1459,7 +1459,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeState(SlapOSTestCaseMixinWithAbort)
compute_node
.
ComputeNode_checkState
()
self
.
tic
()
ticket_title
=
"
[MONITORING]
Compute Node %s has a stalled instance process"
%
compute_node
.
getReference
()
ticket_title
=
"Compute Node %s has a stalled instance process"
%
compute_node
.
getReference
()
ticket
=
self
.
_getGeneratedSupportRequest
(
compute_node
.
getUid
(),
ticket_title
)
self
.
assertNotEqual
(
ticket
,
None
)
event_list
=
ticket
.
getFollowUpRelatedValueList
()
...
...
@@ -1505,7 +1505,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeState(SlapOSTestCaseMixinWithAbort)
compute_node
.
ComputeNode_checkState
()
self
.
tic
()
ticket_title
=
"
[MONITORING]
Compute Node %s has a stalled instance process"
%
compute_node
.
getReference
()
ticket_title
=
"Compute Node %s has a stalled instance process"
%
compute_node
.
getReference
()
ticket
=
self
.
_getGeneratedSupportRequest
(
compute_node
.
getUid
(),
ticket_title
)
self
.
assertNotEqual
(
ticket
,
None
)
event_list
=
ticket
.
getFollowUpRelatedValueList
()
...
...
@@ -1596,7 +1596,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeSoftwareInstallation(SlapOSTestCase
compute_node
.
ComputeNode_checkSoftwareInstallationState
()
self
.
tic
()
ticket_title
=
"
[MONITORING]
No information for %s on %s"
%
(
ticket_title
=
"No information for %s on %s"
%
(
self
.
start_requested_software_installation
.
getReference
(),
compute_node
.
getReference
()
)
...
...
@@ -1644,7 +1644,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeSoftwareInstallation(SlapOSTestCase
compute_node
.
ComputeNode_checkSoftwareInstallationState
()
self
.
tic
()
ticket_title
=
"
[MONITORING]
%s is building for too long on %s"
%
(
ticket_title
=
"%s is building for too long on %s"
%
(
self
.
start_requested_software_installation
.
getReference
(),
compute_node
.
getReference
()
)
...
...
@@ -1690,7 +1690,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeSoftwareInstallation(SlapOSTestCase
compute_node
.
ComputeNode_checkSoftwareInstallationState
()
self
.
tic
()
ticket_title
=
"
[MONITORING]
%s is building for too long on %s"
%
(
ticket_title
=
"%s is building for too long on %s"
%
(
self
.
start_requested_software_installation
.
getReference
(),
compute_node
.
getReference
()
)
...
...
@@ -1718,7 +1718,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeSoftwareInstallation(SlapOSTestCase
compute_node
.
ComputeNode_checkSoftwareInstallationState
()
self
.
tic
()
ticket_title
=
"
[MONITORING]
%s is failing to build on %s"
%
(
ticket_title
=
"%s is failing to build on %s"
%
(
self
.
start_requested_software_installation
.
getReference
(),
compute_node
.
getReference
()
)
...
...
@@ -1764,7 +1764,7 @@ class TestSlapOSCrmMonitoringCheckComputeNodeSoftwareInstallation(SlapOSTestCase
compute_node
.
ComputeNode_checkSoftwareInstallationState
()
self
.
tic
()
ticket_title
=
"
[MONITORING]
%s is failing to build on %s"
%
(
ticket_title
=
"%s is failing to build on %s"
%
(
self
.
start_requested_software_installation
.
getReference
(),
compute_node
.
getReference
()
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment