{"action":"opened","issue":{"url":"https://api.github.com/repos/unity8-team/libqtdbusmock/issues/1","repository_url":"https://api.github.com/repos/unity8-team/libqtdbusmock","labels_url":"https://api.github.com/repos/unity8-team/libqtdbusmock/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/unity8-team/libqtdbusmock/issues/1/comments","events_url":"https://api.github.com/repos/unity8-team/libqtdbusmock/issues/1/events","html_url":"https://github.com/unity8-team/libqtdbusmock/issues/1","id":395012206,"node_id":"MDU6SXNzdWUzOTUwMTIyMDY=","number":1,"title":"Some unit tests fail","user":{"login":"z3ntu","id":3768500,"node_id":"MDQ6VXNlcjM3Njg1MDA=","avatar_url":"https://avatars3.githubusercontent.com/u/3768500?v=4","gravatar_id":"","url":"https://api.github.com/users/z3ntu","html_url":"https://github.com/z3ntu","followers_url":"https://api.github.com/users/z3ntu/followers","following_url":"https://api.github.com/users/z3ntu/following{/other_user}","gists_url":"https://api.github.com/users/z3ntu/gists{/gist_id}","starred_url":"https://api.github.com/users/z3ntu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/z3ntu/subscriptions","organizations_url":"https://api.github.com/users/z3ntu/orgs","repos_url":"https://api.github.com/users/z3ntu/repos","events_url":"https://api.github.com/users/z3ntu/events{/privacy}","received_events_url":"https://api.github.com/users/z3ntu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-31T17:45:29Z","updated_at":"2018-12-31T17:45:29Z","closed_at":null,"author_association":"NONE","body":"(@pete-woods I'm opening the issue here because https://github.com/pete-woods/libqtdbusmock doesn't have issues enabled.)\r\n\r\nHello, I'm packaging libqtdbusmock for postmarketOS (based on Alpine Linux) and libqtdbusmock builds fine but the test suite (run with `CTEST_OUTPUT_ON_FAILURE=TRUE ctest`) has some failures. Log is below:\r\n\r\n```\r\nTest project /home/pmos/build/src/libqtdbusmock-d6d18303a4fdafbe3ef276bfbb312d7f31863e47\r\n    Start 1: unit-tests\r\n1/1 Test #1: unit-tests .......................***Failed    1.10 sec\r\n[==========] Running 8 tests from 1 test case.\r\n[----------] Global test environment set-up.\r\n[----------] 8 tests from TestDBusMock\r\n[ RUN      ] TestDBusMock.StartsDBusMockSession\r\n/home/pmos/build/src/libqtdbusmock-d6d18303a4fdafbe3ef276bfbb312d7f31863e47/tests/libqtdbusmock/TestDBusMock.cpp:69: Failure\r\nValue of: processListContains( \"python3 -m dbusmock test.name /test/object test.Interface\")\r\n  Actual: false\r\nExpected: true\r\n[  FAILED  ] TestDBusMock.StartsDBusMockSession (130 ms)\r\n[ RUN      ] TestDBusMock.StartsDBusMockSystem\r\n/home/pmos/build/src/libqtdbusmock-d6d18303a4fdafbe3ef276bfbb312d7f31863e47/tests/libqtdbusmock/TestDBusMock.cpp:79: Failure\r\nValue of: processListContains( \"python3 -m dbusmock -s test.name2 /test/object2 test.Interface2\")\r\n  Actual: false\r\nExpected: true\r\n[  FAILED  ] TestDBusMock.StartsDBusMockSystem (143 ms)\r\n[ RUN      ] TestDBusMock.StartsDBusMockWithNM\r\n1546278019.878 emit org.freedesktop.DBus.ObjectManager.InterfacesAdded \"/org/freedesktop/NetworkManager\" {\"org.freedesktop.NetworkManager\": {\"ActiveConnections\": [], \"Devices\": [], \"NetworkingEnabled\": True, \"Connectivity\": 4, \"State\": 70, \"Startup\": False, \"Version\": \"0.9.6.0\", \"WimaxEnabled\": True, \"WimaxHardwareEnabled\": True, \"WirelessEnabled\": True, \"WirelessHardwareEnabled\": True, \"WwanEnabled\": False, \"WwanHardwareEnabled\": True}}\r\n1546278019.879 emit org.freedesktop.DBus.ObjectManager.InterfacesAdded \"/org/freedesktop/NetworkManager/Settings\" {\"org.freedesktop.NetworkManager.Settings\": {\"Hostname\": \"hostname\", \"CanModify\": True, \"Connections\": []}}\r\n/home/pmos/build/src/libqtdbusmock-d6d18303a4fdafbe3ef276bfbb312d7f31863e47/tests/libqtdbusmock/TestDBusMock.cpp:88: Failure\r\nValue of: processListContains( \"python3 -m dbusmock --template networkmanager\")\r\n  Actual: false\r\nExpected: true\r\n1546278019.881 emit org.freedesktop.DBus.ObjectManager.InterfacesAdded \"/org/freedesktop/NetworkManager/Devices/device\" {\"org.freedesktop.NetworkManager.Device.Wireless\": {\"HwAddress\": \"11:22:33:44:55:66\", \"PermHwAddress\": \"11:22:33:44:55:66\", \"Bitrate\": 5400, \"Mode\": 2, \"WirelessCapabilities\": 255, \"AccessPoints\": []}, \"org.freedesktop.NetworkManager.Device\": {\"ActiveConnection\": \"/\", \"AvailableConnections\": [], \"AutoConnect\": False, \"Managed\": True, \"Driver\": \"dbusmock\", \"DeviceType\": 2, \"State\": 20, \"Interface\": \"eth1\", \"IpInterface\": \"eth1\"}}\r\n1546278019.881 Get org.freedesktop.NetworkManager.Devices\r\n1546278019.881 GetAll org.freedesktop.NetworkManager\r\n1546278019.881 Set org.freedesktop.NetworkManager.Devices [\"/org/freedesktop/NetworkManager/Devices/device\"]\r\n1546278019.881 emit org.freedesktop.DBus.Properties.PropertiesChanged \"org.freedesktop.NetworkManager\" {\"Devices\": [\"/org/freedesktop/NetworkManager/Devices/device\"]} []\r\n1546278019.881 emit org.freedesktop.NetworkManager.DeviceAdded \"/org/freedesktop/NetworkManager/Devices/device\"\r\n1546278019.885 GetDevices\r\n[  FAILED  ] TestDBusMock.StartsDBusMockWithNM (140 ms)\r\n[ RUN      ] TestDBusMock.StartsDBusMockTemplateParameters\r\n/home/pmos/build/src/libqtdbusmock-d6d18303a4fdafbe3ef276bfbb312d7f31863e47/tests/libqtdbusmock/TestDBusMock.cpp:110: Failure\r\nValue of: processListContains( \"python3 -m dbusmock --template upower --parameters {\\\"DaemonVersion\\\":\\\"0.99.0\\\",\\\"OnBattery\\\":true}\")\r\n  Actual: false\r\nExpected: true\r\n1546278020.022 Get org.freedesktop.UPower.DaemonVersion\r\n1546278020.023 GetAll org.freedesktop.UPower\r\n1546278020.023 Get org.freedesktop.UPower.OnBattery\r\n1546278020.023 GetAll org.freedesktop.UPower\r\n[  FAILED  ] TestDBusMock.StartsDBusMockTemplateParameters (140 ms)\r\n[ RUN      ] TestDBusMock.StartsDBusMockWithTemplate\r\n1546278020.163 emit org.freedesktop.DBus.ObjectManager.InterfacesAdded \"/org/freedesktop/NetworkManager\" {\"org.freedesktop.NetworkManager\": {\"ActiveConnections\": [], \"Devices\": [], \"NetworkingEnabled\": True, \"Connectivity\": 4, \"State\": 70, \"Startup\": False, \"Version\": \"0.9.6.0\", \"WimaxEnabled\": True, \"WimaxHardwareEnabled\": True, \"WirelessEnabled\": True, \"WirelessHardwareEnabled\": True, \"WwanEnabled\": False, \"WwanHardwareEnabled\": True}}\r\n1546278020.164 emit org.freedesktop.DBus.ObjectManager.InterfacesAdded \"/org/freedesktop/NetworkManager/Settings\" {\"org.freedesktop.NetworkManager.Settings\": {\"Hostname\": \"hostname\", \"CanModify\": True, \"Connections\": []}}\r\n/home/pmos/build/src/libqtdbusmock-d6d18303a4fdafbe3ef276bfbb312d7f31863e47/tests/libqtdbusmock/TestDBusMock.cpp:127: Failure\r\nValue of: processListContains( \"python3 -m dbusmock --template networkmanager\")\r\n  Actual: false\r\nExpected: true\r\n1546278020.166 emit org.freedesktop.DBus.ObjectManager.InterfacesAdded \"/org/freedesktop/NetworkManager/Devices/device\" {\"org.freedesktop.NetworkManager.Device.Wireless\": {\"HwAddress\": \"11:22:33:44:55:66\", \"PermHwAddress\": \"11:22:33:44:55:66\", \"Bitrate\": 5400, \"Mode\": 2, \"WirelessCapabilities\": 255, \"AccessPoints\": []}, \"org.freedesktop.NetworkManager.Device\": {\"ActiveConnection\": \"/\", \"AvailableConnections\": [], \"AutoConnect\": False, \"Managed\": True, \"Driver\": \"dbusmock\", \"DeviceType\": 2, \"State\": 20, \"Interface\": \"eth1\", \"IpInterface\": \"eth1\"}}\r\n1546278020.166 Get org.freedesktop.NetworkManager.Devices\r\n1546278020.166 GetAll org.freedesktop.NetworkManager\r\n1546278020.166 Set org.freedesktop.NetworkManager.Devices [\"/org/freedesktop/NetworkManager/Devices/device\"]\r\n1546278020.166 emit org.freedesktop.DBus.Properties.PropertiesChanged \"org.freedesktop.NetworkManager\" {\"Devices\": [\"/org/freedesktop/NetworkManager/Devices/device\"]} []\r\n1546278020.166 emit org.freedesktop.NetworkManager.DeviceAdded \"/org/freedesktop/NetworkManager/Devices/device\"\r\n1546278020.170 GetDevices\r\n[  FAILED  ] TestDBusMock.StartsDBusMockWithTemplate (150 ms)\r\n[ RUN      ] TestDBusMock.GetMethodCalls\r\n1546278020.303 MethodName \"input\"\r\n[       OK ] TestDBusMock.GetMethodCalls (130 ms)\r\n[ RUN      ] TestDBusMock.GetAllMethodCalls\r\n1546278020.441 MethodName \"input\"\r\n[       OK ] TestDBusMock.GetAllMethodCalls (127 ms)\r\n[ RUN      ] TestDBusMock.AddMethods\r\n1546278020.565 MethodName1 \"input\"\r\n1546278020.565 MethodName2 123\r\n[       OK ] TestDBusMock.AddMethods (136 ms)\r\n[----------] 8 tests from TestDBusMock (1096 ms total)\r\n\r\n[----------] Global test environment tear-down\r\n[==========] 8 tests from 1 test case ran. (1096 ms total)\r\n[  PASSED  ] 3 tests.\r\n[  FAILED  ] 5 tests, listed below:\r\n[  FAILED  ] TestDBusMock.StartsDBusMockSession\r\n[  FAILED  ] TestDBusMock.StartsDBusMockSystem\r\n[  FAILED  ] TestDBusMock.StartsDBusMockWithNM\r\n[  FAILED  ] TestDBusMock.StartsDBusMockTemplateParameters\r\n[  FAILED  ] TestDBusMock.StartsDBusMockWithTemplate\r\n```"}}
{"actor":{"display_login":"z3ntu"}}