-
Notifications
You must be signed in to change notification settings - Fork 77
Redfish refactor #776
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redfish refactor #776
Conversation
Signed-off-by: Dale Bremner <dale.bremner@dell.com>
| var wsman; | ||
| var systems; | ||
|
|
||
| var dellNodeObm ={ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'dellNodeObm' is defined but never used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
| wsman.isDellSystem.resolves({node: NetworksNode, isDell: false, isRedfishCapable: false}); | ||
| return helper.request().get('/redfish/v1/NetworkDevices/' + NetworksNode.id) | ||
| .expect(200) | ||
| .expect(function(res) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'res' is defined but never used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
| return helper.request().get('/redfish/v1/NetworkDevices/' + | ||
| NetworksNode.identifiers[0] + '-' + NetworksNode.id) | ||
| .expect(200) | ||
| .expect(function(res) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'res' is defined but never used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
| NetworksNode.identifiers[0] + '-' + NetworksNode.id) | ||
| .expect('Content-Type', /^application\/json/) | ||
| .expect(200) | ||
| .expect(function(res) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'res' is defined but never used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
| waterline.nodes.needByIdentifier.resolves([powerNode]); | ||
| var domain = powerNode.identifiers[2]; | ||
| var type = powerNode.identifiers[3]; | ||
| var identifier = powerNode.id; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'identifier' is defined but never used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
lib/api/redfish-1.0/networks.js
Outdated
| var Promise = injector.get('Promise'); | ||
| var _ = injector.get('_'); | ||
| var controller = injector.get('Http.Services.Swagger').controller; | ||
| var Errors = injector.get('Errors'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'Errors' is defined but never used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
lib/api/redfish-1.0/dcimpower.js
Outdated
| var waterline = injector.get('Services.Waterline'); | ||
| var nodeApi = injector.get('Http.Services.Api.Nodes'); | ||
| var Logger = injector.get('Logger'); | ||
| var logger = Logger.initialize('event-service'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'logger' is defined but never used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
lib/api/redfish-1.0/dcimpower.js
Outdated
| var Errors = injector.get('Errors'); | ||
| var workflow = injector.get('Http.Services.Api.Workflows'); | ||
| var waterline = injector.get('Services.Waterline'); | ||
| var nodeApi = injector.get('Http.Services.Api.Nodes'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'nodeApi' is defined but never used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
lib/api/redfish-1.0/dcimpower.js
Outdated
| var _ = injector.get('_'); // jshint ignore:line | ||
| var controller = injector.get('Http.Services.Swagger').controller; | ||
| var Errors = injector.get('Errors'); | ||
| var workflow = injector.get('Http.Services.Api.Workflows'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'workflow' is defined but never used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
lib/api/redfish-1.0/dcimpower.js
Outdated
| var Promise = injector.get('Promise'); // jshint ignore:line | ||
| var _ = injector.get('_'); // jshint ignore:line | ||
| var controller = injector.get('Http.Services.Swagger').controller; | ||
| var Errors = injector.get('Errors'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'Errors' is defined but never used.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
|
BUILD on-http #531 : FAILURE BUILD on-http #531 Error Logs ▼Test Name: "before all" hook Error Details: No provider for Http.Services.Api.Nodes! (Http.Api.Services.Redfish -> Http.Services.Api.Nodes) Stack Trace: Error: No provider for Http.Services.Api.Nodes! (Http.Api.Services.Redfish -> Http.Services.Api.Nodes) at Injector.token.get (node_modules/di/dist/cjs/injector.js:160:15) at node_modules/di/dist/cjs/injector.js:176:19 at Array.map (native) at Injector.token.get (node_modules/di/dist/cjs/injector.js:172:32) at Context.<anonymous> (spec/lib/services/redfish-api-service-spec.js:35:35)Test Name: "after all" hook Test Name: should return a valid chassis root Test Name: should return a valid UCS chassis root Test Name: should return a valid system root |
|
|
||
| return nodeApi.getNodeCatalogSourceById(nodeId, catalogSource) | ||
| .catch(function (error) { | ||
| return self.handleError(error, res); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'self' is not defined.
lib/services/redfish-api-service.js
Outdated
|
|
||
| return nodeApi.getNodeCatalogSourceById(nodeId, catalogSource) | ||
| .catch(function (error) { | ||
| return self.handleError(error, res); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'self' is not defined.
lib/api/redfish-1.0/dcimpower.js
Outdated
| var _ = injector.get('_'); // jshint ignore:line | ||
| var controller = injector.get('Http.Services.Swagger').controller; | ||
| var waterline = injector.get('Services.Waterline'); | ||
| var Logger = injector.get('Logger'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'Logger' is defined but never used.
lib/api/redfish-1.0/dcimpower.js
Outdated
| }); | ||
|
|
||
| var listDCIMPowerDefault = controller(function (req, res) { | ||
| var options = redfish.makeOptions(req, res); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'options' is defined but never used.
lib/api/redfish-1.0/dcimcooling.js
Outdated
| var waterline = injector.get('Services.Waterline'); | ||
| var nodeApi = injector.get('Http.Services.Api.Nodes'); | ||
| var Logger = injector.get('Logger'); | ||
| var logger = Logger.initialize('event-service'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'logger' is defined but never used.
lib/api/redfish-1.0/dcimcooling.js
Outdated
| var Errors = injector.get('Errors'); | ||
| var workflow = injector.get('Http.Services.Api.Workflows'); | ||
| var waterline = injector.get('Services.Waterline'); | ||
| var nodeApi = injector.get('Http.Services.Api.Nodes'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'nodeApi' is defined but never used.
lib/api/redfish-1.0/dcimcooling.js
Outdated
| var _ = injector.get('_'); // jshint ignore:line | ||
| var controller = injector.get('Http.Services.Swagger').controller; | ||
| var Errors = injector.get('Errors'); | ||
| var workflow = injector.get('Http.Services.Api.Workflows'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'workflow' is defined but never used.
lib/api/redfish-1.0/dcimcooling.js
Outdated
| var Promise = injector.get('Promise'); // jshint ignore:line | ||
| var _ = injector.get('_'); // jshint ignore:line | ||
| var controller = injector.get('Http.Services.Swagger').controller; | ||
| var Errors = injector.get('Errors'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'Errors' is defined but never used.
lib/api/redfish-1.0/dcimcooling.js
Outdated
| }); | ||
|
|
||
| var listDCIMCoolingDefault = controller(function (req, res) { | ||
| var options = redfish.makeOptions(req, res); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
'options' is defined but never used.
|
BUILD on-http #533 : FAILURE BUILD on-http #533 Error Logs ▼Test Name: test_get_chassis Error Details: unexpected id None, expected -------------------- >> begin captured logging << -------------------- infra.run: DEBUG: relaying set_test((None,)) to all trackers {} test.run: DEBUG: handle_after_test pluggin progression for test=test_list_chassis (chassis_tests.ChassisTests) test.run: DEBUG: handle_after_test pluggin progression for test=test_list_chassis (chassis_tests.ChassisTests) root: INFO: +1.11 - STARTING TEST: [test_get_chassis (chassis_tests.ChassisTests)] infra.run: DEBUG: relaying set_test((Test(),)) to all trackers {} test.run: DEBUG: handle_start_test pluggin progression for test=test_get_chassis (chassis_tests.ChassisTests) test.run: DEBUG: handle_start_test pluggin progression for test=test_get_chassis (chassis_tests.ChassisTests) test.run: INFO: Chassis: 59bfe7f9b39a233c01728634 test.run: DEBUG: { "@odata.type": "#Chassis.v1_4_0.Chassis", "SKU": "Not Specified", "Description": "", "Power": { "@odata.id": "/redfish/v1/Chassis/59bfe7f9b39a233c01728634/Power" }, "AssetTag": "FC6PL151200002_100-564-404-00", "Links": { "ComputerSystems": [ { "@odata.id": "/redfish/v1/Systems/59bfe77797dc624601a630ae" } ], "ComputerSystems@odata.count": 1, "ManagedBy@odata.count": 1, "Oem": {}, "ManagedBy": [ { "@odata.id": "/redfish/v1/Managers/RackHD" } ] }, "SerialNumber": "..................", "@odata.id": "/redfish/v1/Chassis/59bfe7f9b39a233c01728634", "@odata.context": "/redfish/v1/$metadata#Chassis.Chassis", "Status": {}, "Thermal": { "@odata.id": "/redfish/v1/Chassis/59bfe7f9b39a233c01728634/Thermal" }, "Actions": { "#Chassis.Reset": {}, "Oem": {} }, "Oem": {}, "ChassisType": "RackMount", "IndicatorLED": "Off", "Model": "S2600KP", "Manufacturer": "...............................", "Id": "59bfe7f9b39a233c01728634", "Name": "Chassis" } test.run: INFO: Chassis: 59bfe805b39a233c01728671 test.run: DEBUG: { "@odata.type": "#Chassis.v1_4_0.Chassis", "SKU": "Not Specified", "Description": "", "Power": { "@odata.id": "/redfish/v1/Chassis/59bfe805b39a233c01728671/Power" }, "AssetTag": "FC6PL151200002_100-564-404-00", "Links": { "ComputerSystems": [ { "@odata.id": "/redfish/v1/Systems/59bfe78297dc624601a630af" } ], "ComputerSystems@odata.count": 1, "ManagedBy@odata.count": 1, "Oem": {}, "ManagedBy": [ { "@odata.id": "/redfish/v1/Managers/RackHD" } ] }, "SerialNumber": "..................", "@odata.id": "/redfish/v1/Chassis/59bfe805b39a233c01728671", "@odata.context": "/redfish/v1/$metadata#Chassis.Chassis", "Status": {}, "Thermal": { "@odata.id": "/redfish/v1/Chassis/59bfe805b39a233c01728671/Thermal" }, "Actions": { "#Chassis.Reset": {}, "Oem": {} }, "Oem": {}, "ChassisType": "RackMount", "IndicatorLED": "Off", "Model": "S2600KP", "Manufacturer": "...............................", "Id": "59bfe805b39a233c01728671", "Name": "Chassis" } test.run: INFO: Chassis: 59bfe80cb39a233c01728684 test.run: DEBUG: { "@odata.type": "#Chassis.v1_4_0.Chassis", "SKU": "To be filled by O.E.M.", "Description": "", "Power": { "@odata.id": "/redfish/v1/Chassis/59bfe80cb39a233c01728684/Power" }, "AssetTag": " ", "Links": { "Contains": [ { "@odata.id": "/redfish/v1/Chassis/59bfe80cb39a233c01728684.59bfe78a97dc624601a630b0" } ], "ComputerSystems@odata.count": 1, "Contains@odata.count": 1, "ComputerSystems": [ { "@odata.id": "/redfish/v1/Systems/59bfe78a97dc624601a630b0" } ], "ManagedBy@odata.count": 1, "ManagedBy": [ { "@odata.id": "/redfish/v1/Managers/RackHD" } ], "Oem": {} }, "SerialNumber": "To be filled by O.E.M.", "@odata.id": "/redfish/v1/Chassis/59bfe80cb39a233c01728684", "@odata.context": "/redfish/v1/$metadata#Chassis.Chassis", "Status": {}, "Thermal": { "@odata.id": "/redfish/v1/Chassis/59bfe80cb39a233c01728684/Thermal" }, "Actions": { "#Chassis.Reset": {}, "Oem": {} }, "Oem": {}, "ChassisType": "Enclosure", "IndicatorLED": "Off", "Model": "QuantaPlex T41S-2U", "Manufacturer": "Quanta Computer Inc", "Id": "59bfe80cb39a233c01728684", "Name": "Chassis" } test.run: INFO: Chassis: test.run: DEBUG: { "@odata.type": "#ChassisCollection.ChassisCollection", "Name": "Chassis Collection", "Members@odata.count": 4, "@odata.id": "/redfish/v1/Chassis/", "@odata.context": "/redfish/v1/$metadata#ChassisCollection.ChassisCollection", "Oem": {}, "Members": [ { "@odata.id": "/redfish/v1/Chassis/59bfe7f9b39a233c01728634" }, { "@odata.id": "/redfish/v1/Chassis/59bfe805b39a233c01728671" }, { "@odata.id": "/redfish/v1/Chassis/59bfe80cb39a233c01728684" }, { "@odata.id": "/redfish/v1/Chassis/" } ] } --------------------- >> end captured logging << --------------------- Stack Trace: File "/usr/lib/python2.7/unittest/case.py", line 331, in run testMethod() File "/home/jenkins/workspace/on-http/RackHD/test/.venv/FIT/local/lib/python2.7/site-packages/nosedep.py", line 126, in inner return func(*args, **kwargs) File "/home/jenkins/workspace/on-http/RackHD/test/tests/api-cit/redfish_1_0/chassis_tests.py", line 55, in test_get_chassis self.assertEqual(dataId, id, msg='unexpected id {0}, expected {1}'.format(id, dataId)) File "/usr/lib/python2.7/unittest/case.py", line 515, in assertEqual assertion_func(first, second, msg=msg) File "/usr/lib/python2.7/unittest/case.py", line 508, in _baseAssertEqual raise self.failureException(msg) 'unexpected id None, expected \n-------------------- >> begin captured logging << --------------------\ninfra.run: DEBUG: relaying set_test((None,)) to all trackers {}\ntest.run: DEBUG: handle_after_test pluggin progression for test=test_list_chassis (chassis_tests.ChassisTests)\ntest.run: DEBUG: handle_after_test pluggin progression for test=test_list_chassis (chassis_tests.ChassisTests)\nroot: INFO: +1.11 - STARTING TEST: [test_get_chassis (chassis_tests.ChassisTests)]\ninfra.run: DEBUG: relaying set_test((Test(),)) to all trackers {}\ntest.run: DEBUG: handle_start_test pluggin progression for test=test_get_chassis (chassis_tests.ChassisTests)\ntest.run: DEBUG: handle_start_test pluggin progression for test=test_get_chassis (chassis_tests.ChassisTests)\ntest.run: INFO: Chassis: 59bfe7f9b39a233c01728634\ntest.run: DEBUG: {\n "@odata.type": "#Chassis.v1_4_0.Chassis", \n "SKU": "Not Specified", \n "Description": "", \n "Power": {\n "@odata.id": "/redfish/v1/Chassis/59bfe7f9b39a233c01728634/Power"\n }, \n "AssetTag": "FC6PL151200002_100-564-404-00", \n "Links": {\n "ComputerSystems": [\n {\n "@odata.id": "/redfish/v1/Systems/59bfe77797dc624601a630ae"\n }\n ], \n "ComputerSystems@odata.count": 1, \n "ManagedBy@odata.count": 1, \n "Oem": {}, \n "ManagedBy": [\n {\n "@odata.id": "/redfish/v1/Managers/RackHD"\n }\n ]\n }, \n "SerialNumber": "..................", \n "@odata.id": "/redfish/v1/Chassis/59bfe7f9b39a233c01728634", \n "@odata.context": "/redfish/v1/$metadata#Chassis.Chassis", \n "Status": {}, \n "Thermal": {\n "@odata.id": "/redfish/v1/Chassis/59bfe7f9b39a233c01728634/Thermal"\n }, \n "Actions": {\n "#Chassis.Reset": {}, \n "Oem": {}\n }, \n "Oem": {}, \n "ChassisType": "RackMount", \n "IndicatorLED": "Off", \n "Model": "S2600KP", \n "Manufacturer": "...............................", \n "Id": "59bfe7f9b39a233c01728634", \n "Name": "Chassis"\n}\ntest.run: INFO: Chassis: 59bfe805b39a233c01728671\ntest.run: DEBUG: {\n "@odata.type": "#Chassis.v1_4_0.Chassis", \n "SKU": "Not Specified", \n "Description": "", \n "Power": {\n "@odata.id": "/redfish/v1/Chassis/59bfe805b39a233c01728671/Power"\n }, \n "AssetTag": "FC6PL151200002_100-564-404-00", \n "Links": {\n "ComputerSystems": [\n {\n "@odata.id": "/redfish/v1/Systems/59bfe78297dc624601a630af"\n }\n ], \n "ComputerSystems@odata.count": 1, \n "ManagedBy@odata.count": 1, \n "Oem": {}, \n "ManagedBy": [\n {\n "@odata.id": "/redfish/v1/Managers/RackHD"\n }\n ]\n }, \n "SerialNumber": "..................", \n "@odata.id": "/redfish/v1/Chassis/59bfe805b39a233c01728671", \n "@odata.context": "/redfish/v1/$metadata#Chassis.Chassis", \n "Status": {}, \n "Thermal": {\n "@odata.id": "/redfish/v1/Chassis/59bfe805b39a233c01728671/Thermal"\n }, \n "Actions": {\n "#Chassis.Reset": {}, \n "Oem": {}\n }, \n "Oem": {}, \n "ChassisType": "RackMount", \n "IndicatorLED": "Off", \n "Model": "S2600KP", \n "Manufacturer": "...............................", \n "Id": "59bfe805b39a233c01728671", \n "Name": "Chassis"\n}\ntest.run: INFO: Chassis: 59bfe80cb39a233c01728684\ntest.run: DEBUG: {\n "@odata.type": "#Chassis.v1_4_0.Chassis", \n "SKU": "To be filled by O.E.M.", \n "Description": "", \n "Power": {\n "@odata.id": "/redfish/v1/Chassis/59bfe80cb39a233c01728684/Power"\n }, \n "AssetTag": " ", \n "Links": {\n "Contains": [\n {\n "@odata.id": "/redfish/v1/Chassis/59bfe80cb39a233c01728684.59bfe78a97dc624601a630b0"\n }\n ], \n "ComputerSystems@odata.count": 1, \n "Contains@odata.count": 1, \n "ComputerSystems": [\n {\n "@odata.id": "/redfish/v1/Systems/59bfe78a97dc624601a630b0"\n }\n ], \n "ManagedBy@odata.count": 1, \n "ManagedBy": [\n {\n "@odata.id": "/redfish/v1/Managers/RackHD"\n }\n ], \n "Oem": {}\n }, \n "SerialNumber": "To be filled by O.E.M.", \n "@odata.id": "/redfish/v1/Chassis/59bfe80cb39a233c01728684", \n "@odata.context": "/redfish/v1/$metadata#Chassis.Chassis", \n "Status": {}, \n "Thermal": {\n "@odata.id": "/redfish/v1/Chassis/59bfe80cb39a233c01728684/Thermal"\n }, \n "Actions": {\n "#Chassis.Reset": {}, \n "Oem": {}\n }, \n "Oem": {}, \n "ChassisType": "Enclosure", \n "IndicatorLED": "Off", \n "Model": "QuantaPlex T41S-2U", \n "Manufacturer": "Quanta Computer Inc", \n "Id": "59bfe80cb39a233c01728684", \n "Name": "Chassis"\n}\ntest.run: INFO: Chassis: \ntest.run: DEBUG: {\n "@odata.type": "#ChassisCollection.ChassisCollection", \n "Name": "Chassis Collection", \n "Members@odata.count": 4, \n "@odata.id": "/redfish/v1/Chassis/", \n "@odata.context": "/redfish/v1/$metadata#ChassisCollection.ChassisCollection", \n "Oem": {}, \n "Members": [\n {\n "@odata.id": "/redfish/v1/Chassis/59bfe7f9b39a233c01728634"\n }, \n {\n "@odata.id": "/redfish/v1/Chassis/59bfe805b39a233c01728671"\n }, \n {\n "@odata.id": "/redfish/v1/Chassis/59bfe80cb39a233c01728684"\n }, \n {\n "@odata.id": "/redfish/v1/Chassis/"\n }\n ]\n}\n--------------------- >> end captured logging << ---------------------'Test Name: test_02_redfish_v1_chassis_id_links Node ID: {u'@odata.id': u'/redfish/v1/Chassis/59bfe805b39a233c01728671'} Node ID: {u'@odata.id': u'/redfish/v1/Chassis/59bfe805b39a233c01728671'} Name: Chassis Node ID: {u'@odata.id': u'/redfish/v1/Chassis/59bfe80cb39a233c01728684'} Name: Chassis Node ID: {u'@odata.id': u'/redfish/v1/Chassis/'} Name: Chassis Collection --------------------- >> end captured stdout << ---------------------- Test Name: test_03_redfish_v1_chassis_id_power Node ID: 59bfe805b39a233c01728671 Checking: @odata.id Checking: @odata.id Node ID: 59bfe7f9b39a233c01728634 Checking: @odata.id --------------------- >> end captured stdout << ---------------------- Test Name: test_04_redfish_v1_chassis_id_thermal Node ID: 59bfe805b39a233c01728671 Checking: @odata.type Checking: @odata.type Node ID: 59bfe7f9b39a233c01728634 Checking: @odata.type --------------------- >> end captured stdout << ---------------------- |
|
BUILD on-http #534 : FAILURE BUILD on-http #534 Error Logs ▼Test Name: test_get_chassis Error Details: unexpected id None, expected -------------------- >> begin captured logging << -------------------- infra.run: DEBUG: relaying set_test((None,)) to all trackers {} test.run: DEBUG: handle_after_test pluggin progression for test=test_list_chassis (chassis_tests.ChassisTests) test.run: DEBUG: handle_after_test pluggin progression for test=test_list_chassis (chassis_tests.ChassisTests) root: INFO: +1.11 - STARTING TEST: [test_get_chassis (chassis_tests.ChassisTests)] infra.run: DEBUG: relaying set_test((Test(),)) to all trackers {} test.run: DEBUG: handle_start_test pluggin progression for test=test_get_chassis (chassis_tests.ChassisTests) test.run: DEBUG: handle_start_test pluggin progression for test=test_get_chassis (chassis_tests.ChassisTests) test.run: INFO: Chassis: 59bfedfa588fcb4101a81144 test.run: DEBUG: { "@odata.type": "#Chassis.v1_4_0.Chassis", "SKU": "Not Specified", "Description": "", "Power": { "@odata.id": "/redfish/v1/Chassis/59bfedfa588fcb4101a81144/Power" }, "AssetTag": "FC6PL151200002_100-564-404-00", "Links": { "ComputerSystems": [ { "@odata.id": "/redfish/v1/Systems/59bfed779c62a04701dcb08a" } ], "ComputerSystems@odata.count": 1, "ManagedBy@odata.count": 1, "Oem": {}, "ManagedBy": [ { "@odata.id": "/redfish/v1/Managers/RackHD" } ] }, "SerialNumber": "..................", "@odata.id": "/redfish/v1/Chassis/59bfedfa588fcb4101a81144", "@odata.context": "/redfish/v1/$metadata#Chassis.Chassis", "Status": {}, "Thermal": { "@odata.id": "/redfish/v1/Chassis/59bfedfa588fcb4101a81144/Thermal" }, "Actions": { "#Chassis.Reset": {}, "Oem": {} }, "Oem": {}, "ChassisType": "RackMount", "IndicatorLED": "Off", "Model": "S2600KP", "Manufacturer": "...............................", "Id": "59bfedfa588fcb4101a81144", "Name": "Chassis" } test.run: INFO: Chassis: 59bfee01588fcb4101a81161 test.run: DEBUG: { "@odata.type": "#Chassis.v1_4_0.Chassis", "SKU": "Not Specified", "Description": "", "Power": { "@odata.id": "/redfish/v1/Chassis/59bfee01588fcb4101a81161/Power" }, "AssetTag": "FC6PL151200002_100-564-404-00", "Links": { "ComputerSystems": [ { "@odata.id": "/redfish/v1/Systems/59bfed7f9c62a04701dcb08b" } ], "ComputerSystems@odata.count": 1, "ManagedBy@odata.count": 1, "Oem": {}, "ManagedBy": [ { "@odata.id": "/redfish/v1/Managers/RackHD" } ] }, "SerialNumber": "..................", "@odata.id": "/redfish/v1/Chassis/59bfee01588fcb4101a81161", "@odata.context": "/redfish/v1/$metadata#Chassis.Chassis", "Status": {}, "Thermal": { "@odata.id": "/redfish/v1/Chassis/59bfee01588fcb4101a81161/Thermal" }, "Actions": { "#Chassis.Reset": {}, "Oem": {} }, "Oem": {}, "ChassisType": "RackMount", "IndicatorLED": "Off", "Model": "S2600KP", "Manufacturer": "...............................", "Id": "59bfee01588fcb4101a81161", "Name": "Chassis" } test.run: INFO: Chassis: 59bfee0c588fcb4101a811a1 test.run: DEBUG: { "@odata.type": "#Chassis.v1_4_0.Chassis", "SKU": "To be filled by O.E.M.", "Description": "", "Power": { "@odata.id": "/redfish/v1/Chassis/59bfee0c588fcb4101a811a1/Power" }, "AssetTag": " ", "Links": { "Contains": [ { "@odata.id": "/redfish/v1/Chassis/59bfee0c588fcb4101a811a1.59bfed8a9c62a04701dcb08c" } ], "ComputerSystems@odata.count": 1, "Contains@odata.count": 1, "ComputerSystems": [ { "@odata.id": "/redfish/v1/Systems/59bfed8a9c62a04701dcb08c" } ], "ManagedBy@odata.count": 1, "ManagedBy": [ { "@odata.id": "/redfish/v1/Managers/RackHD" } ], "Oem": {} }, "SerialNumber": "To be filled by O.E.M.", "@odata.id": "/redfish/v1/Chassis/59bfee0c588fcb4101a811a1", "@odata.context": "/redfish/v1/$metadata#Chassis.Chassis", "Status": {}, "Thermal": { "@odata.id": "/redfish/v1/Chassis/59bfee0c588fcb4101a811a1/Thermal" }, "Actions": { "#Chassis.Reset": {}, "Oem": {} }, "Oem": {}, "ChassisType": "Enclosure", "IndicatorLED": "Off", "Model": "QuantaPlex T41S-2U", "Manufacturer": "Quanta Computer Inc", "Id": "59bfee0c588fcb4101a811a1", "Name": "Chassis" } test.run: INFO: Chassis: test.run: DEBUG: { "@odata.type": "#ChassisCollection.ChassisCollection", "Name": "Chassis Collection", "Members@odata.count": 4, "@odata.id": "/redfish/v1/Chassis/", "@odata.context": "/redfish/v1/$metadata#ChassisCollection.ChassisCollection", "Oem": {}, "Members": [ { "@odata.id": "/redfish/v1/Chassis/59bfedfa588fcb4101a81144" }, { "@odata.id": "/redfish/v1/Chassis/59bfee01588fcb4101a81161" }, { "@odata.id": "/redfish/v1/Chassis/59bfee0c588fcb4101a811a1" }, { "@odata.id": "/redfish/v1/Chassis/" } ] } --------------------- >> end captured logging << --------------------- Stack Trace: File "/usr/lib/python2.7/unittest/case.py", line 331, in run testMethod() File "/home/jenkins/workspace/on-http/RackHD/test/.venv/FIT/local/lib/python2.7/site-packages/nosedep.py", line 126, in inner return func(*args, **kwargs) File "/home/jenkins/workspace/on-http/RackHD/test/tests/api-cit/redfish_1_0/chassis_tests.py", line 55, in test_get_chassis self.assertEqual(dataId, id, msg='unexpected id {0}, expected {1}'.format(id, dataId)) File "/usr/lib/python2.7/unittest/case.py", line 515, in assertEqual assertion_func(first, second, msg=msg) File "/usr/lib/python2.7/unittest/case.py", line 508, in _baseAssertEqual raise self.failureException(msg) 'unexpected id None, expected \n-------------------- >> begin captured logging << --------------------\ninfra.run: DEBUG: relaying set_test((None,)) to all trackers {}\ntest.run: DEBUG: handle_after_test pluggin progression for test=test_list_chassis (chassis_tests.ChassisTests)\ntest.run: DEBUG: handle_after_test pluggin progression for test=test_list_chassis (chassis_tests.ChassisTests)\nroot: INFO: +1.11 - STARTING TEST: [test_get_chassis (chassis_tests.ChassisTests)]\ninfra.run: DEBUG: relaying set_test((Test(),)) to all trackers {}\ntest.run: DEBUG: handle_start_test pluggin progression for test=test_get_chassis (chassis_tests.ChassisTests)\ntest.run: DEBUG: handle_start_test pluggin progression for test=test_get_chassis (chassis_tests.ChassisTests)\ntest.run: INFO: Chassis: 59bfedfa588fcb4101a81144\ntest.run: DEBUG: {\n "@odata.type": "#Chassis.v1_4_0.Chassis", \n "SKU": "Not Specified", \n "Description": "", \n "Power": {\n "@odata.id": "/redfish/v1/Chassis/59bfedfa588fcb4101a81144/Power"\n }, \n "AssetTag": "FC6PL151200002_100-564-404-00", \n "Links": {\n "ComputerSystems": [\n {\n "@odata.id": "/redfish/v1/Systems/59bfed779c62a04701dcb08a"\n }\n ], \n "ComputerSystems@odata.count": 1, \n "ManagedBy@odata.count": 1, \n "Oem": {}, \n "ManagedBy": [\n {\n "@odata.id": "/redfish/v1/Managers/RackHD"\n }\n ]\n }, \n "SerialNumber": "..................", \n "@odata.id": "/redfish/v1/Chassis/59bfedfa588fcb4101a81144", \n "@odata.context": "/redfish/v1/$metadata#Chassis.Chassis", \n "Status": {}, \n "Thermal": {\n "@odata.id": "/redfish/v1/Chassis/59bfedfa588fcb4101a81144/Thermal"\n }, \n "Actions": {\n "#Chassis.Reset": {}, \n "Oem": {}\n }, \n "Oem": {}, \n "ChassisType": "RackMount", \n "IndicatorLED": "Off", \n "Model": "S2600KP", \n "Manufacturer": "...............................", \n "Id": "59bfedfa588fcb4101a81144", \n "Name": "Chassis"\n}\ntest.run: INFO: Chassis: 59bfee01588fcb4101a81161\ntest.run: DEBUG: {\n "@odata.type": "#Chassis.v1_4_0.Chassis", \n "SKU": "Not Specified", \n "Description": "", \n "Power": {\n "@odata.id": "/redfish/v1/Chassis/59bfee01588fcb4101a81161/Power"\n }, \n "AssetTag": "FC6PL151200002_100-564-404-00", \n "Links": {\n "ComputerSystems": [\n {\n "@odata.id": "/redfish/v1/Systems/59bfed7f9c62a04701dcb08b"\n }\n ], \n "ComputerSystems@odata.count": 1, \n "ManagedBy@odata.count": 1, \n "Oem": {}, \n "ManagedBy": [\n {\n "@odata.id": "/redfish/v1/Managers/RackHD"\n }\n ]\n }, \n "SerialNumber": "..................", \n "@odata.id": "/redfish/v1/Chassis/59bfee01588fcb4101a81161", \n "@odata.context": "/redfish/v1/$metadata#Chassis.Chassis", \n "Status": {}, \n "Thermal": {\n "@odata.id": "/redfish/v1/Chassis/59bfee01588fcb4101a81161/Thermal"\n }, \n "Actions": {\n "#Chassis.Reset": {}, \n "Oem": {}\n }, \n "Oem": {}, \n "ChassisType": "RackMount", \n "IndicatorLED": "Off", \n "Model": "S2600KP", \n "Manufacturer": "...............................", \n "Id": "59bfee01588fcb4101a81161", \n "Name": "Chassis"\n}\ntest.run: INFO: Chassis: 59bfee0c588fcb4101a811a1\ntest.run: DEBUG: {\n "@odata.type": "#Chassis.v1_4_0.Chassis", \n "SKU": "To be filled by O.E.M.", \n "Description": "", \n "Power": {\n "@odata.id": "/redfish/v1/Chassis/59bfee0c588fcb4101a811a1/Power"\n }, \n "AssetTag": " ", \n "Links": {\n "Contains": [\n {\n "@odata.id": "/redfish/v1/Chassis/59bfee0c588fcb4101a811a1.59bfed8a9c62a04701dcb08c"\n }\n ], \n "ComputerSystems@odata.count": 1, \n "Contains@odata.count": 1, \n "ComputerSystems": [\n {\n "@odata.id": "/redfish/v1/Systems/59bfed8a9c62a04701dcb08c"\n }\n ], \n "ManagedBy@odata.count": 1, \n "ManagedBy": [\n {\n "@odata.id": "/redfish/v1/Managers/RackHD"\n }\n ], \n "Oem": {}\n }, \n "SerialNumber": "To be filled by O.E.M.", \n "@odata.id": "/redfish/v1/Chassis/59bfee0c588fcb4101a811a1", \n "@odata.context": "/redfish/v1/$metadata#Chassis.Chassis", \n "Status": {}, \n "Thermal": {\n "@odata.id": "/redfish/v1/Chassis/59bfee0c588fcb4101a811a1/Thermal"\n }, \n "Actions": {\n "#Chassis.Reset": {}, \n "Oem": {}\n }, \n "Oem": {}, \n "ChassisType": "Enclosure", \n "IndicatorLED": "Off", \n "Model": "QuantaPlex T41S-2U", \n "Manufacturer": "Quanta Computer Inc", \n "Id": "59bfee0c588fcb4101a811a1", \n "Name": "Chassis"\n}\ntest.run: INFO: Chassis: \ntest.run: DEBUG: {\n "@odata.type": "#ChassisCollection.ChassisCollection", \n "Name": "Chassis Collection", \n "Members@odata.count": 4, \n "@odata.id": "/redfish/v1/Chassis/", \n "@odata.context": "/redfish/v1/$metadata#ChassisCollection.ChassisCollection", \n "Oem": {}, \n "Members": [\n {\n "@odata.id": "/redfish/v1/Chassis/59bfedfa588fcb4101a81144"\n }, \n {\n "@odata.id": "/redfish/v1/Chassis/59bfee01588fcb4101a81161"\n }, \n {\n "@odata.id": "/redfish/v1/Chassis/59bfee0c588fcb4101a811a1"\n }, \n {\n "@odata.id": "/redfish/v1/Chassis/"\n }\n ]\n}\n--------------------- >> end captured logging << ---------------------'Test Name: test_02_redfish_v1_chassis_id_links Node ID: {u'@odata.id': u'/redfish/v1/Chassis/59bfedfa588fcb4101a81144'} Node ID: {u'@odata.id': u'/redfish/v1/Chassis/59bfedfa588fcb4101a81144'} Name: Chassis Node ID: {u'@odata.id': u'/redfish/v1/Chassis/59bfee01588fcb4101a81161'} Name: Chassis Node ID: {u'@odata.id': u'/redfish/v1/Chassis/59bfee0c588fcb4101a811a1'} Name: Chassis Node ID: {u'@odata.id': u'/redfish/v1/Chassis/'} Name: Chassis Collection --------------------- >> end captured stdout << ---------------------- Test Name: test_03_redfish_v1_chassis_id_power Node ID: 59bfedfa588fcb4101a81144 Checking: @odata.id Checking: @odata.id Checking: @odata.id [ --------------------- >> end captured stdout << ---------------------- Test Name: test_04_redfish_v1_chassis_id_thermal Node ID: 59bfedfa588fcb4101a81144 Checking: @odata.type Checking: @odata.type Checking: @odata.type [ --------------------- >> end captured stdout << ---------------------- |
|
test this please |
|
BUILD on-http #535 : FAILURE BUILD on-http #535 Error Logs ▼Test Name: test_get_chassis Error Details: unexpected id None, expected -------------------- >> begin captured logging << -------------------- infra.run: DEBUG: relaying set_test((None,)) to all trackers {} test.run: DEBUG: handle_after_test pluggin progression for test=test_list_chassis (chassis_tests.ChassisTests) test.run: DEBUG: handle_after_test pluggin progression for test=test_list_chassis (chassis_tests.ChassisTests) root: INFO: +1.11 - STARTING TEST: [test_get_chassis (chassis_tests.ChassisTests)] infra.run: DEBUG: relaying set_test((Test(),)) to all trackers {} test.run: DEBUG: handle_start_test pluggin progression for test=test_get_chassis (chassis_tests.ChassisTests) test.run: DEBUG: handle_start_test pluggin progression for test=test_get_chassis (chassis_tests.ChassisTests) test.run: INFO: Chassis: 59c0148d50e12241018c8ecf test.run: DEBUG: { "@odata.type": "#Chassis.v1_4_0.Chassis", "SKU": "Not Specified", "Description": "", "Power": { "@odata.id": "/redfish/v1/Chassis/59c0148d50e12241018c8ecf/Power" }, "AssetTag": "FC6PL151200002_100-564-404-00", "Links": { "ComputerSystems": [ { "@odata.id": "/redfish/v1/Systems/59c0140b79ed374701f6f4f2" } ], "ComputerSystems@odata.count": 1, "ManagedBy@odata.count": 1, "Oem": {}, "ManagedBy": [ { "@odata.id": "/redfish/v1/Managers/RackHD" } ] }, "SerialNumber": "..................", "@odata.id": "/redfish/v1/Chassis/59c0148d50e12241018c8ecf", "@odata.context": "/redfish/v1/$metadata#Chassis.Chassis", "Status": {}, "Thermal": { "@odata.id": "/redfish/v1/Chassis/59c0148d50e12241018c8ecf/Thermal" }, "Actions": { "#Chassis.Reset": {}, "Oem": {} }, "Oem": {}, "ChassisType": "RackMount", "IndicatorLED": "Off", "Model": "S2600KP", "Manufacturer": "...............................", "Id": "59c0148d50e12241018c8ecf", "Name": "Chassis" } test.run: INFO: Chassis: 59c0149650e12241018c8eec test.run: DEBUG: { "@odata.type": "#Chassis.v1_4_0.Chassis", "SKU": "Not Specified", "Description": "", "Power": { "@odata.id": "/redfish/v1/Chassis/59c0149650e12241018c8eec/Power" }, "AssetTag": "FC6PL151200002_100-564-404-00", "Links": { "ComputerSystems": [ { "@odata.id": "/redfish/v1/Systems/59c0141379ed374701f6f4f3" } ], "ComputerSystems@odata.count": 1, "ManagedBy@odata.count": 1, "Oem": {}, "ManagedBy": [ { "@odata.id": "/redfish/v1/Managers/RackHD" } ] }, "SerialNumber": "..................", "@odata.id": "/redfish/v1/Chassis/59c0149650e12241018c8eec", "@odata.context": "/redfish/v1/$metadata#Chassis.Chassis", "Status": {}, "Thermal": { "@odata.id": "/redfish/v1/Chassis/59c0149650e12241018c8eec/Thermal" }, "Actions": { "#Chassis.Reset": {}, "Oem": {} }, "Oem": {}, "ChassisType": "RackMount", "IndicatorLED": "Off", "Model": "S2600KP", "Manufacturer": "...............................", "Id": "59c0149650e12241018c8eec", "Name": "Chassis" } test.run: INFO: Chassis: 59c0149c50e12241018c8f22 test.run: DEBUG: { "@odata.type": "#Chassis.v1_4_0.Chassis", "SKU": "To be filled by O.E.M.", "Description": "", "Power": { "@odata.id": "/redfish/v1/Chassis/59c0149c50e12241018c8f22/Power" }, "AssetTag": " ", "Links": { "Contains": [ { "@odata.id": "/redfish/v1/Chassis/59c0149c50e12241018c8f22.59c0141979ed374701f6f4f4" } ], "ComputerSystems@odata.count": 1, "Contains@odata.count": 1, "ComputerSystems": [ { "@odata.id": "/redfish/v1/Systems/59c0141979ed374701f6f4f4" } ], "ManagedBy@odata.count": 1, "ManagedBy": [ { "@odata.id": "/redfish/v1/Managers/RackHD" } ], "Oem": {} }, "SerialNumber": "To be filled by O.E.M.", "@odata.id": "/redfish/v1/Chassis/59c0149c50e12241018c8f22", "@odata.context": "/redfish/v1/$metadata#Chassis.Chassis", "Status": {}, "Thermal": { "@odata.id": "/redfish/v1/Chassis/59c0149c50e12241018c8f22/Thermal" }, "Actions": { "#Chassis.Reset": {}, "Oem": {} }, "Oem": {}, "ChassisType": "Enclosure", "IndicatorLED": "Off", "Model": "QuantaPlex T41S-2U", "Manufacturer": "Quanta Computer Inc", "Id": "59c0149c50e12241018c8f22", "Name": "Chassis" } test.run: INFO: Chassis: test.run: DEBUG: { "@odata.type": "#ChassisCollection.ChassisCollection", "Name": "Chassis Collection", "Members@odata.count": 4, "@odata.id": "/redfish/v1/Chassis/", "@odata.context": "/redfish/v1/$metadata#ChassisCollection.ChassisCollection", "Oem": {}, "Members": [ { "@odata.id": "/redfish/v1/Chassis/59c0148d50e12241018c8ecf" }, { "@odata.id": "/redfish/v1/Chassis/59c0149650e12241018c8eec" }, { "@odata.id": "/redfish/v1/Chassis/59c0149c50e12241018c8f22" }, { "@odata.id": "/redfish/v1/Chassis/" } ] } --------------------- >> end captured logging << --------------------- Stack Trace: File "/usr/lib/python2.7/unittest/case.py", line 331, in run testMethod() File "/home/jenkins/workspace/on-http/RackHD/test/.venv/FIT/local/lib/python2.7/site-packages/nosedep.py", line 126, in inner return func(*args, **kwargs) File "/home/jenkins/workspace/on-http/RackHD/test/tests/api-cit/redfish_1_0/chassis_tests.py", line 55, in test_get_chassis self.assertEqual(dataId, id, msg='unexpected id {0}, expected {1}'.format(id, dataId)) File "/usr/lib/python2.7/unittest/case.py", line 515, in assertEqual assertion_func(first, second, msg=msg) File "/usr/lib/python2.7/unittest/case.py", line 508, in _baseAssertEqual raise self.failureException(msg) 'unexpected id None, expected \n-------------------- >> begin captured logging << --------------------\ninfra.run: DEBUG: relaying set_test((None,)) to all trackers {}\ntest.run: DEBUG: handle_after_test pluggin progression for test=test_list_chassis (chassis_tests.ChassisTests)\ntest.run: DEBUG: handle_after_test pluggin progression for test=test_list_chassis (chassis_tests.ChassisTests)\nroot: INFO: +1.11 - STARTING TEST: [test_get_chassis (chassis_tests.ChassisTests)]\ninfra.run: DEBUG: relaying set_test((Test(),)) to all trackers {}\ntest.run: DEBUG: handle_start_test pluggin progression for test=test_get_chassis (chassis_tests.ChassisTests)\ntest.run: DEBUG: handle_start_test pluggin progression for test=test_get_chassis (chassis_tests.ChassisTests)\ntest.run: INFO: Chassis: 59c0148d50e12241018c8ecf\ntest.run: DEBUG: {\n "@odata.type": "#Chassis.v1_4_0.Chassis", \n "SKU": "Not Specified", \n "Description": "", \n "Power": {\n "@odata.id": "/redfish/v1/Chassis/59c0148d50e12241018c8ecf/Power"\n }, \n "AssetTag": "FC6PL151200002_100-564-404-00", \n "Links": {\n "ComputerSystems": [\n {\n "@odata.id": "/redfish/v1/Systems/59c0140b79ed374701f6f4f2"\n }\n ], \n "ComputerSystems@odata.count": 1, \n "ManagedBy@odata.count": 1, \n "Oem": {}, \n "ManagedBy": [\n {\n "@odata.id": "/redfish/v1/Managers/RackHD"\n }\n ]\n }, \n "SerialNumber": "..................", \n "@odata.id": "/redfish/v1/Chassis/59c0148d50e12241018c8ecf", \n "@odata.context": "/redfish/v1/$metadata#Chassis.Chassis", \n "Status": {}, \n "Thermal": {\n "@odata.id": "/redfish/v1/Chassis/59c0148d50e12241018c8ecf/Thermal"\n }, \n "Actions": {\n "#Chassis.Reset": {}, \n "Oem": {}\n }, \n "Oem": {}, \n "ChassisType": "RackMount", \n "IndicatorLED": "Off", \n "Model": "S2600KP", \n "Manufacturer": "...............................", \n "Id": "59c0148d50e12241018c8ecf", \n "Name": "Chassis"\n}\ntest.run: INFO: Chassis: 59c0149650e12241018c8eec\ntest.run: DEBUG: {\n "@odata.type": "#Chassis.v1_4_0.Chassis", \n "SKU": "Not Specified", \n "Description": "", \n "Power": {\n "@odata.id": "/redfish/v1/Chassis/59c0149650e12241018c8eec/Power"\n }, \n "AssetTag": "FC6PL151200002_100-564-404-00", \n "Links": {\n "ComputerSystems": [\n {\n "@odata.id": "/redfish/v1/Systems/59c0141379ed374701f6f4f3"\n }\n ], \n "ComputerSystems@odata.count": 1, \n "ManagedBy@odata.count": 1, \n "Oem": {}, \n "ManagedBy": [\n {\n "@odata.id": "/redfish/v1/Managers/RackHD"\n }\n ]\n }, \n "SerialNumber": "..................", \n "@odata.id": "/redfish/v1/Chassis/59c0149650e12241018c8eec", \n "@odata.context": "/redfish/v1/$metadata#Chassis.Chassis", \n "Status": {}, \n "Thermal": {\n "@odata.id": "/redfish/v1/Chassis/59c0149650e12241018c8eec/Thermal"\n }, \n "Actions": {\n "#Chassis.Reset": {}, \n "Oem": {}\n }, \n "Oem": {}, \n "ChassisType": "RackMount", \n "IndicatorLED": "Off", \n "Model": "S2600KP", \n "Manufacturer": "...............................", \n "Id": "59c0149650e12241018c8eec", \n "Name": "Chassis"\n}\ntest.run: INFO: Chassis: 59c0149c50e12241018c8f22\ntest.run: DEBUG: {\n "@odata.type": "#Chassis.v1_4_0.Chassis", \n "SKU": "To be filled by O.E.M.", \n "Description": "", \n "Power": {\n "@odata.id": "/redfish/v1/Chassis/59c0149c50e12241018c8f22/Power"\n }, \n "AssetTag": " ", \n "Links": {\n "Contains": [\n {\n "@odata.id": "/redfish/v1/Chassis/59c0149c50e12241018c8f22.59c0141979ed374701f6f4f4"\n }\n ], \n "ComputerSystems@odata.count": 1, \n "Contains@odata.count": 1, \n "ComputerSystems": [\n {\n "@odata.id": "/redfish/v1/Systems/59c0141979ed374701f6f4f4"\n }\n ], \n "ManagedBy@odata.count": 1, \n "ManagedBy": [\n {\n "@odata.id": "/redfish/v1/Managers/RackHD"\n }\n ], \n "Oem": {}\n }, \n "SerialNumber": "To be filled by O.E.M.", \n "@odata.id": "/redfish/v1/Chassis/59c0149c50e12241018c8f22", \n "@odata.context": "/redfish/v1/$metadata#Chassis.Chassis", \n "Status": {}, \n "Thermal": {\n "@odata.id": "/redfish/v1/Chassis/59c0149c50e12241018c8f22/Thermal"\n }, \n "Actions": {\n "#Chassis.Reset": {}, \n "Oem": {}\n }, \n "Oem": {}, \n "ChassisType": "Enclosure", \n "IndicatorLED": "Off", \n "Model": "QuantaPlex T41S-2U", \n "Manufacturer": "Quanta Computer Inc", \n "Id": "59c0149c50e12241018c8f22", \n "Name": "Chassis"\n}\ntest.run: INFO: Chassis: \ntest.run: DEBUG: {\n "@odata.type": "#ChassisCollection.ChassisCollection", \n "Name": "Chassis Collection", \n "Members@odata.count": 4, \n "@odata.id": "/redfish/v1/Chassis/", \n "@odata.context": "/redfish/v1/$metadata#ChassisCollection.ChassisCollection", \n "Oem": {}, \n "Members": [\n {\n "@odata.id": "/redfish/v1/Chassis/59c0148d50e12241018c8ecf"\n }, \n {\n "@odata.id": "/redfish/v1/Chassis/59c0149650e12241018c8eec"\n }, \n {\n "@odata.id": "/redfish/v1/Chassis/59c0149c50e12241018c8f22"\n }, \n {\n "@odata.id": "/redfish/v1/Chassis/"\n }\n ]\n}\n--------------------- >> end captured logging << ---------------------'Test Name: test_02_redfish_v1_chassis_id_links Node ID: {u'@odata.id': u'/redfish/v1/Chassis/59c0149650e12241018c8eec'} Node ID: {u'@odata.id': u'/redfish/v1/Chassis/59c0149650e12241018c8eec'} Name: Chassis Node ID: {u'@odata.id': u'/redfish/v1/Chassis/59c0148d50e12241018c8ecf'} Name: Chassis Node ID: {u'@odata.id': u'/redfish/v1/Chassis/59c0149c50e12241018c8f22'} Name: Chassis Node ID: {u'@odata.id': u'/redfish/v1/Chassis/'} Name: Chassis Collection --------------------- >> end captured stdout << ---------------------- Test Name: test_03_redfish_v1_chassis_id_power Node ID: 59c0149650e12241018c8eec Checking: @odata.id Checking: @odata.id Checking: @odata.id [ --------------------- >> end captured stdout << ---------------------- Test Name: test_04_redfish_v1_chassis_id_thermal Node ID: 59c0149650e12241018c8eec Checking: @odata.type Checking: @odata.type Checking: @odata.type [ --------------------- >> end captured stdout << ---------------------- |
|
BUILD on-http #536 : FAILURE BUILD on-http #536 Error Logs ▼Test Name: test_get_chassis Error Details: unexpected id None, expected -------------------- >> begin captured logging << -------------------- infra.run: DEBUG: relaying set_test((None,)) to all trackers {} test.run: DEBUG: handle_after_test pluggin progression for test=test_list_chassis (chassis_tests.ChassisTests) test.run: DEBUG: handle_after_test pluggin progression for test=test_list_chassis (chassis_tests.ChassisTests) root: INFO: +1.11 - STARTING TEST: [test_get_chassis (chassis_tests.ChassisTests)] infra.run: DEBUG: relaying set_test((Test(),)) to all trackers {} test.run: DEBUG: handle_start_test pluggin progression for test=test_get_chassis (chassis_tests.ChassisTests) test.run: DEBUG: handle_start_test pluggin progression for test=test_get_chassis (chassis_tests.ChassisTests) test.run: INFO: Chassis: 59c023c186acf64001417613 test.run: DEBUG: { "@odata.type": "#Chassis.v1_4_0.Chassis", "SKU": "To be filled by O.E.M.", "Description": "", "Power": { "@odata.id": "/redfish/v1/Chassis/59c023c186acf64001417613/Power" }, "AssetTag": " ", "Links": { "Contains": [ { "@odata.id": "/redfish/v1/Chassis/59c023c186acf64001417613.59c0233ed9601a4601bb23ea" } ], "ComputerSystems@odata.count": 1, "Contains@odata.count": 1, "ComputerSystems": [ { "@odata.id": "/redfish/v1/Systems/59c0233ed9601a4601bb23ea" } ], "ManagedBy@odata.count": 1, "ManagedBy": [ { "@odata.id": "/redfish/v1/Managers/RackHD" } ], "Oem": {} }, "SerialNumber": "To be filled by O.E.M.", "@odata.id": "/redfish/v1/Chassis/59c023c186acf64001417613", "@odata.context": "/redfish/v1/$metadata#Chassis.Chassis", "Status": {}, "Thermal": { "@odata.id": "/redfish/v1/Chassis/59c023c186acf64001417613/Thermal" }, "Actions": { "#Chassis.Reset": {}, "Oem": {} }, "Oem": {}, "ChassisType": "Enclosure", "IndicatorLED": "Off", "Model": "QuantaPlex T41S-2U", "Manufacturer": "Quanta Computer Inc", "Id": "59c023c186acf64001417613", "Name": "Chassis" } test.run: INFO: Chassis: test.run: DEBUG: { "@odata.type": "#ChassisCollection.ChassisCollection", "Name": "Chassis Collection", "Members@odata.count": 3, "@odata.id": "/redfish/v1/Chassis/", "@odata.context": "/redfish/v1/$metadata#ChassisCollection.ChassisCollection", "Oem": {}, "Members": [ { "@odata.id": "/redfish/v1/Chassis/59c023c186acf64001417613" }, { "@odata.id": "/redfish/v1/Chassis/" }, { "@odata.id": "/redfish/v1/Chassis/59c023b186acf640014175d9" } ] } --------------------- >> end captured logging << --------------------- Stack Trace: File "/usr/lib/python2.7/unittest/case.py", line 331, in run testMethod() File "/home/jenkins/workspace/on-http/RackHD/test/.venv/FIT/local/lib/python2.7/site-packages/nosedep.py", line 126, in inner return func(*args, **kwargs) File "/home/jenkins/workspace/on-http/RackHD/test/tests/api-cit/redfish_1_0/chassis_tests.py", line 55, in test_get_chassis self.assertEqual(dataId, id, msg='unexpected id {0}, expected {1}'.format(id, dataId)) File "/usr/lib/python2.7/unittest/case.py", line 515, in assertEqual assertion_func(first, second, msg=msg) File "/usr/lib/python2.7/unittest/case.py", line 508, in _baseAssertEqual raise self.failureException(msg) 'unexpected id None, expected \n-------------------- >> begin captured logging << --------------------\ninfra.run: DEBUG: relaying set_test((None,)) to all trackers {}\ntest.run: DEBUG: handle_after_test pluggin progression for test=test_list_chassis (chassis_tests.ChassisTests)\ntest.run: DEBUG: handle_after_test pluggin progression for test=test_list_chassis (chassis_tests.ChassisTests)\nroot: INFO: +1.11 - STARTING TEST: [test_get_chassis (chassis_tests.ChassisTests)]\ninfra.run: DEBUG: relaying set_test((Test(),)) to all trackers {}\ntest.run: DEBUG: handle_start_test pluggin progression for test=test_get_chassis (chassis_tests.ChassisTests)\ntest.run: DEBUG: handle_start_test pluggin progression for test=test_get_chassis (chassis_tests.ChassisTests)\ntest.run: INFO: Chassis: 59c023c186acf64001417613\ntest.run: DEBUG: {\n "@odata.type": "#Chassis.v1_4_0.Chassis", \n "SKU": "To be filled by O.E.M.", \n "Description": "", \n "Power": {\n "@odata.id": "/redfish/v1/Chassis/59c023c186acf64001417613/Power"\n }, \n "AssetTag": " ", \n "Links": {\n "Contains": [\n {\n "@odata.id": "/redfish/v1/Chassis/59c023c186acf64001417613.59c0233ed9601a4601bb23ea"\n }\n ], \n "ComputerSystems@odata.count": 1, \n "Contains@odata.count": 1, \n "ComputerSystems": [\n {\n "@odata.id": "/redfish/v1/Systems/59c0233ed9601a4601bb23ea"\n }\n ], \n "ManagedBy@odata.count": 1, \n "ManagedBy": [\n {\n "@odata.id": "/redfish/v1/Managers/RackHD"\n }\n ], \n "Oem": {}\n }, \n "SerialNumber": "To be filled by O.E.M.", \n "@odata.id": "/redfish/v1/Chassis/59c023c186acf64001417613", \n "@odata.context": "/redfish/v1/$metadata#Chassis.Chassis", \n "Status": {}, \n "Thermal": {\n "@odata.id": "/redfish/v1/Chassis/59c023c186acf64001417613/Thermal"\n }, \n "Actions": {\n "#Chassis.Reset": {}, \n "Oem": {}\n }, \n "Oem": {}, \n "ChassisType": "Enclosure", \n "IndicatorLED": "Off", \n "Model": "QuantaPlex T41S-2U", \n "Manufacturer": "Quanta Computer Inc", \n "Id": "59c023c186acf64001417613", \n "Name": "Chassis"\n}\ntest.run: INFO: Chassis: \ntest.run: DEBUG: {\n "@odata.type": "#ChassisCollection.ChassisCollection", \n "Name": "Chassis Collection", \n "Members@odata.count": 3, \n "@odata.id": "/redfish/v1/Chassis/", \n "@odata.context": "/redfish/v1/$metadata#ChassisCollection.ChassisCollection", \n "Oem": {}, \n "Members": [\n {\n "@odata.id": "/redfish/v1/Chassis/59c023c186acf64001417613"\n }, \n {\n "@odata.id": "/redfish/v1/Chassis/"\n }, \n {\n "@odata.id": "/redfish/v1/Chassis/59c023b186acf640014175d9"\n }\n ]\n}\n--------------------- >> end captured logging << ---------------------'Test Name: test_02_redfish_v1_chassis_id_links Node ID: {u'@odata.id': u'/redfish/v1/Chassis/59c023c186acf64001417613'} Node ID: {u'@odata.id': u'/redfish/v1/Chassis/59c023c186acf64001417613'} Name: Chassis Node ID: {u'@odata.id': u'/redfish/v1/Chassis/'} Name: Chassis Collection --------------------- >> end captured stdout << ---------------------- Test Name: test_03_redfish_v1_chassis_id_power Node ID: 59c023c186acf64001417613 Checking: @odata.id Node ID: 59c023b186acf640014175d9 Checking: @odata.id --------------------- >> end captured stdout << ---------------------- Test Name: test_04_redfish_v1_chassis_id_thermal Node ID: 59c023c186acf64001417613 Checking: @odata.type Node ID: 59c023b186acf640014175d9 Checking: @odata.type --------------------- >> end captured stdout << ---------------------- |
Signed-off-by: Anitha Srinivasan <anitha.srinivasan@dell.com>
No description provided.