wwan/modem-broadband: look up default APN if GSM conneciton lacks one

This allows the GSM connection to Just Work most of the time, as in:
"nmcli d connect ttyUSB0".
4 jobs for lr/gsm-default-apn in 21 minutes and 33 seconds (queued for 20 seconds)
Status Job ID Name Coverage
  Test
failed #178263
build_f28

00:21:30

failed #178264
build_f_latest

00:14:18

failed #178265
allowed to fail
build_f_rawhide

00:17:56

failed #178262
allowed to fail
checkpatch

00:03:33

 
Name Stage Failure
failed
build_f28 Test
# NetworkManager-DEBUG: <debug> [1552921149.8540] platform-linux: do-request-link: 102 
(./src/platform/tests/test-link-linux:8340): NetworkManager-DEBUG: 14:59:09.854: <debug> [1552921149.8540] platform-linux: do-request-link: 102
# NetworkManager-DEBUG: <trace> [1552921149.8541] platform-linux: netlink: recvmsg: new message RTM_NEWLINK, flags 0, seq 0
(./src/platform/tests/test-link-linux:8340): NetworkManager-DEBUG: 14:59:09.854: <trace> [1552921149.8541] platform-linux: netlink: recvmsg: new message RTM_NEWLINK, flags 0, seq 0
# NetworkManager-DEBUG: <trace> [1552921149.8541] platform-linux: event-notification: RTM_NEWLINK, flags 0, seq 0: 102: nm-test-device <UP,LOWER_UP;broadcast,multicast,up,running,lowerup> mtu 1430 arp 1 vxlan* not-init addrgenmode eui64 addr 56:44:B3:08:A2:C3 rx:0,0 tx:0,0; vxlan id 11214423 group ff0e::115 local 1:2:3:4:334:23:0:23 dev 101 srcport 1000 1003 dstport 57412 tos 0 ttl 32 ageing 3245
(./src/platform/tests/test-link-linux:8340): NetworkManager-DEBUG: 14:59:09.854: <trace> [1552921149.8541] platform-linux: event-notification: RTM_NEWLINK, flags 0, seq 0: 102: nm-test-device <UP,LOWER_UP;broadcast,multicast,up,running,lowerup> mtu 1430 arp 1 vxlan* not-init addrgenmode eui64 addr 56:44:B3:08:A2:C3 rx:0,0 tx:0,0; vxlan id 11214423 group ff0e::115 local 1:2:3:4:334:23:0:23 dev 101 srcport 1000 1003 dstport 57412 tos 0 ttl 32 ageing 3245
# NetworkManager-DEBUG: <trace> [1552921149.8542] platform-linux: update-cache-link: UPDATE: [link,0x1929690,1,+alive,+visible,+in-nl,(nil); 102: nm-test-device <DOWN;broadcast,multicast> mtu 1430 arp 1 vxlan* init addrgenmode eui64 addr 56:44:B3:08:A2:C3 driver vxlan rx:0,0 tx:0,0; [vxlan,0x18e90c0,2,+alive,+visible; vxlan id 11214423 group ff0e::115 local 1:2:3:4:334:23:0:23 dev 101 srcport 1000 1003 dstport 57412 tos 0 ttl 32 ageing 3245]] -> [link,0x19295c0,4,+alive,+visible,+in-nl,(nil); 102: nm-test-device <UP,LOWER_UP;broadcast,multicast,up,running,lowerup> mtu 1430 arp 1 vxlan* init addrgenmode eui64 addr 56:44:B3:08:A2:C3 driver vxlan rx:0,0 tx:0,0; [vxlan,0x18e90c0,2,+alive,+visible; vxlan id 11214423 group ff0e::115 local 1:2:3:4:334:23:0:23 dev 101 srcport 1000 1003 dstport 57412 tos 0 ttl 32 ageing 3245]]
(./src/platform/tests/test-link-linux:8340): NetworkManager-DEBUG: 14:59:09.854: <trace> [1552921149.8542] platform-linux: update-cache-link: UPDATE: [link,0x1929690,1,+alive,+visible,+in-nl,(nil); 102: nm-test-device <DOWN;broadcast,multicast> mtu 1430 arp 1 vxlan* init addrgenmode eui64 addr 56:44:B3:08:A2:C3 driver vxlan rx:0,0 tx:0,0; [vxlan,0x18e90c0,2,+alive,+visible; vxlan id 11214423 group ff0e::115 local 1:2:3:4:334:23:0:23 dev 101 srcport 1000 1003 dstport 57412 tos 0 ttl 32 ageing 3245]] -> [link,0x19295c0,4,+alive,+visible,+in-nl,(nil); 102: nm-test-device <UP,LOWER_UP;broadcast,multicast,up,running,lowerup> mtu 1430 arp 1 vxlan* init addrgenmode eui64 addr 56:44:B3:08:A2:C3 driver vxlan rx:0,0 tx:0,0; [vxlan,0x18e90c0,2,+alive,+visible; vxlan id 11214423 group ff0e::115 local 1:2:3:4:334:23:0:23 dev 101 srcport 1000 1003 dstport 57412 tos 0 ttl 32 ageing 3245]]
# Networ
Job's log exceeded limit of 8388608 bytes.
failed
build_f_rawhide Test
(./src/platform/tests/test-link-linux:7660): NetworkManager-DEBUG: 14:58:55.652: <trace> [1552921135.6528] platform-linux: netlink: recvmsg: new message RTM_NEWLINK, flags 0, seq 0
# NetworkManager-DEBUG: <trace> [1552921135.6529] platform-linux: event-notification: RTM_NEWLINK, flags 0, seq 0: 102: nm-test-device <UP,LOWER_UP;broadcast,multicast,up,running,lowerup> mtu 1430 arp 1 vxlan* not-init addrgenmode eui64 addr A6:11:21:F6:2F:0F rx:0,0 tx:0,0; vxlan id 11214423 group ff0e::115 local 1:2:3:4:334:23:0:23 dev 101 srcport 1000 1003 dstport 57412 tos 0 ttl 32 ageing 3245
(./src/platform/tests/test-link-linux:7660): NetworkManager-DEBUG: 14:58:55.652: <trace> [1552921135.6529] platform-linux: event-notification: RTM_NEWLINK, flags 0, seq 0: 102: nm-test-device <UP,LOWER_UP;broadcast,multicast,up,running,lowerup> mtu 1430 arp 1 vxlan* not-init addrgenmode eui64 addr A6:11:21:F6:2F:0F rx:0,0 tx:0,0; vxlan id 11214423 group ff0e::115 local 1:2:3:4:334:23:0:23 dev 101 srcport 1000 1003 dstport 57412 tos 0 ttl 32 ageing 3245
# NetworkManager-DEBUG: <trace> [1552921135.6530] platform-linux: update-cache-link: UPDATE: [link,0x2583a10,1,+alive,+visible,+in-nl,(nil); 102: nm-test-device <DOWN;broadcast,multicast> mtu 1430 arp 1 vxlan* init addrgenmode eui64 addr A6:11:21:F6:2F:0F driver vxlan rx:0,0 tx:0,0; [vxlan,0x254a4c0,2,+alive,+visible; vxlan id 11214423 group ff0e::115 local 1:2:3:4:334:23:0:23 dev 101 srcport 1000 1003 dstport 57412 tos 0 ttl 32 ageing 3245]] -> [link,0x25895c0,4,+alive,+visible,+in-nl,(nil); 102: nm-test-device <UP,LOWER_UP;broadcast,multicast,up,running,lowerup> mtu 1430 arp 1 vxlan* init addrgenmode eui64 addr A6:11:21:F6:2F:0F driver vxlan rx:0,0 tx:0,0; [vxlan,0x254a4c0,2,+alive,+visible; vxlan id 11214423 group ff0e::115 local 1:2:3:4:334:23:0:23 dev 101 srcport 1000 1003 dstport 57412 tos 0 ttl 32 ageing 3245]]
(./src/platform/tests/test-link-linux:7660): NetworkManager-DEBUG: 14:58:55.653: <trace> [1552921135.6530] platform-linux: update-cache-link: UPDATE: [link,0x2583a10,1,+alive,+visible,+in-nl,(nil); 102: nm-test-device <DOWN;broadcast,multicast> mtu 1430 arp 1 vxlan* init addrgenmode eui64 addr A6:11:21:F6:2F:0F driver vxlan rx:0,0 tx:0,0; [vxlan,0x254a4c0,2,+alive,+visible; vxlan id 11214423 group ff0e::115 local 1:2:3:4:334:23:0:23 dev 101 srcport 1000 1003 dstport 57412 tos 0 ttl 32 ageing 3245]] -> [link,0x25895c0,4,+alive,+visible,+in-nl,(nil); 102: nm-test-device <UP,LOWER_UP;broadcast,multicast,up,running,lowerup> mtu 1430 arp 1 vxlan* init addrgenmode eui64 addr A6:11:21:F6:2F:0F driver vxlan rx:0,0 tx:0,0; [vxlan,0x254a4c0,2,+alive,+visible; vxlan id 11214423 group ff0e::115 local 1:2:3:4:334:23:0:23 dev 101 srcport 1000 1003 dstport 57412 tos 0 ttl 32 ageing 3245]]
# NetworkManager-DEBUG: <trace> [1552921135.6531] platform: (nm-test-device) emit signal link-changed changed: 102: nm-test-device <UP,LOWER_UP;broadcast,multicast,up,running,lowerup> mtu 1430 arp 1 vxlan* init addrgenmode eui64 addr A6:11:21:F6:2F:0F driver vxlan rx:0,0 tx:0,0; vxlan id 11214423 group ff0e::115 local 1:2:3:4:334:23:0:23 dev 101 srcport 1000 1003 dstport 57412 tos 0 ttl 32 ageing 3245
(./src/platform/tests/test-link-linux:7660): NetworkManager-DEBUG: 14:58:55.653: <trace> [1552921135.6531] platform: (nm-test-device) emit signal link-changed changed: 102: nm-test-device <UP,LOWER_UP;broadcast,multicast,up,running,lowerup> mtu 1430 arp 1 vxlan* init addrgenmode eui64 addr A6:11:21:F6:2F:0F driver vxlan rx:0,0 tx:0,0; vxlan id 11214423 group ff0e::115 local 1:2:3:4:334:23:0:23 dev 101 srcport 1000 1003 dstport 57412 tos 0 ttl 32 ageing 3245
# NetworkManager-DEBUG: <debug> [1552921135.6532] platform: (nm-test-device) signal: link changed: 102: nm-test-device <UP,LOWER_UP;broadcast,multicast,up,running,lowerup> mtu 1430 arp 1 vxlan* init addrgenmode eui64 addr A6:11:21:F6:2F:0F driver vxlan rx:0,0 tx:0,0
(./src/platform/tests/test-lin
Job's log exceeded limit of 8388608 bytes.
failed
build_f_latest Test
(./src/platform/tests/test-link-linux:8137): NetworkManager-DEBUG: 14:53:55.978: <trace> [1552920835.9789] platform-linux: delayed-action: schedule wait-for-nl-response (seq 624, timeout in 0.199998414, response-type 1)
# NetworkManager-DEBUG: <trace> [1552920835.9789] platform-linux: delayed-action: handle (do-request-all) refresh-all-qdiscs
(./src/platform/tests/test-link-linux:8137): NetworkManager-DEBUG: 14:53:55.978: <trace> [1552920835.9789] platform-linux: delayed-action: handle (do-request-all) refresh-all-qdiscs
# NetworkManager-DEBUG: <trace> [1552920835.9789] platform-linux: netlink: recvmsg: new message RTM_NEWRULE, flags multi, seq 624
(./src/platform/tests/test-link-linux:8137): NetworkManager-DEBUG: 14:53:55.979: <trace> [1552920835.9789] platform-linux: netlink: recvmsg: new message RTM_NEWRULE, flags multi, seq 624
# NetworkManager-DEBUG: <trace> [1552920835.9790] platform-linux: event-notification: RTM_NEWRULE, flags multi, seq 624, in-dump: [6] 0: from all lookup 255
(./src/platform/tests/test-link-linux:8137): NetworkManager-DEBUG: 14:53:55.979: <trace> [1552920835.9790] platform-linux: event-notification: RTM_NEWRULE, flags multi, seq 624, in-dump: [6] 0: from all lookup 255
# NetworkManager-DEBUG: <trace> [1552920835.9790] platform-linux: netlink: recvmsg: new message RTM_NEWRULE, flags multi, seq 624
(./src/platform/tests/test-link-linux:8137): NetworkManager-D
Job's log exceeded limit of 4194304 bytes.
failed
checkpatch Test

src/devices/wwan/nm-service-providers.h:33: Don't use glib typedefs for char/short/int/long/float/double:
> const gchar *mccmnc,

The patch does not validate.
Uploading artifacts...
checkpatch-out.txt: found 1 matching files
Uploading artifacts to coordinator... ok id=178262 responseStatus=201 Created token=5wgPoysi
ERROR: Job failed: exit code 1