{ "id": "169476", "key": "TIMOB-25122", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2019-05-08T01:46:51.000+0000", "created": "2017-08-11T16:22:01.000+0000", "epic": { "id": 169441, "key": "TIMOB-25087", "name": "Mocha test failures", "summary": "Mocha test: Address unit test failures", "color": { "key": "color_4" }, "done": false }, "priority": { "name": "Medium", "id": "3" }, "labels": [ "engSchedule", "failure-reviewed" ], "versions": [ { "id": "19882", "name": "Release 8.0.0", "archived": false, "released": true, "releaseDate": "2019-03-14" } ], "issuelinks": [ { "id": "56451", "type": { "id": "10122", "name": "Gantt: start-finish", "inward": "is triggered by", "outward": "is triggering" }, "inwardIssue": { "id": "171486", "key": "TIMOB-25949", "fields": { "summary": "Windows: Wrong layout with bottom/right and center", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "57622", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "173604", "key": "TIMOB-27068", "fields": { "summary": "Windows: Layout does not match with view size property", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "57611", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "169477", "key": "TIMOB-25123", "fields": { "summary": "Windows: Mocha test Titanium.UI.Layout centerYPrecedence test failure", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "Medium", "id": "3" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2019-05-20T14:14:41.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "12642", "name": "Windows", "description": "Windows authoring support" } ], "description": "Titanium.UI.Layout centerXPrecedence please investigate the failure. \r\rPlease use https://github.com/ewanharris/titanium-mobile-mocha-suite/tree/TIMOB-24816 to find the related test\rYou can use https://github.com/ewanharris/mocha-test to quickly debug (most) mocha tests)", "attachment": [], "flagged": false, "summary": "Windows: Mocha test Titanium.UI.Layout centerXPrecedence test failure", "creator": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 1129, "state": "closed", "name": "2019 Sprint 10", "startDate": "2019-04-28T22:06:00.000Z", "endDate": "2019-05-17T22:06:00.000Z", "completeDate": "2019-05-20T16:48:42.522Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "427518", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Error \"error\":{\"name\":\"AssertionError\",\"actual\":150,\"expected\":100,\"operator\":\"to equal\",\"message\":\"expected 150 to equal 100\",\"generatedMessage\":true,\"stack\":\"/should.js:1411:20\\n/your-test.js:39:37\",\"showDiff\":true}\r\n\r\nFrom https://github.com/ewanharris/titanium-mobile-mocha-suite/blob/4b75b3f057ad8771bc0d0f2ebf249096462a9207/Resources/ti.ui.layout.test.js#L651", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2017-09-01T15:03:15.000+0000", "updated": "2017-09-01T15:03:15.000+0000" }, { "id": "447885", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Still valid, on windows desktop now errors with {{AssertionError: expected 58 to equal 100}}", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2019-04-23T12:35:50.000+0000", "updated": "2019-04-23T12:35:50.000+0000" }, { "id": "448104", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Hmm I was not able to reproduce this on my end. I [pushed these tests on Jenkins|https://github.com/appcelerator/titanium_mobile_windows/pull/1387] too and Jenkins passes them. See {{centerXPrecedence}} result in the [test log|https://jenkins.appcelerator.org/blue/rest/organizations/jenkins/pipelines/titanium-sdk/pipelines/titanium_mobile_windows/branches/PR-1387/runs/1/nodes/144/steps/194/log/?start=0]. ", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-05-01T01:52:24.000+0000", "updated": "2019-05-01T01:52:24.000+0000" }, { "id": "448226", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "I would resolve this as \"Need more info\" for now as I was not able to reproduce this locally as well as on Jenkins. \r\n\r\nTest Code:\r\n{code}\r\nvar view = Ti.UI.createView({\r\n height: 200,\r\n width: 200,\r\n backgroundColor: 'yellow'\r\n}),\r\n viewChild = Ti.UI.createView({\r\n backgroundColor: 'red',\r\n center: {\r\n x: 100,\r\n },\r\n right: 50\r\n });\r\nvar win = Ti.UI.createWindow();\r\nviewChild.addEventListener('postlayout', function () {\r\n console.log(viewChild.size.width + ' should eql 100');\r\n});\r\nview.add(viewChild);\r\nwin.add(view);\r\nwin.open();\r\n{code}\r\n", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-05-08T01:46:51.000+0000", "updated": "2019-05-08T01:46:51.000+0000" }, { "id": "448279", "author": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~kiguchi], same comment as in TIMOB-25123, is the issue no longer reproducible in Jenkins?", "updateAuthor": { "name": "amukherjee", "key": "amukherjee", "displayName": "Abir Mukherjee", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-05-09T22:51:46.000+0000", "updated": "2019-05-09T22:51:46.000+0000" }, { "id": "448282", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~amukherjee] Right. Jenkins no longer fails the test.", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-05-09T23:13:43.000+0000", "updated": "2019-05-09T23:13:43.000+0000" }, { "id": "448328", "author": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[Center precedence layout tests are enabled now|https://github.com/appcelerator/titanium-mobile-mocha-suite/pull/157] and [Jenkins passes them all|https://jenkins.appcelerator.org/blue/organizations/jenkins/titanium-sdk%2Ftitanium_mobile_windows/detail/master/77/pipeline].", "updateAuthor": { "name": "kiguchi", "key": "kota", "displayName": "Kota Iguchi", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2019-05-13T13:11:45.000+0000", "updated": "2019-05-13T13:11:45.000+0000" }, { "id": "448520", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as tests are running fine on Jenkins.", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-05-20T14:14:31.000+0000", "updated": "2019-05-20T14:14:31.000+0000" } ], "maxResults": 8, "total": 8, "startAt": 0 } } }