Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp1006723ybb; Fri, 3 Apr 2020 16:16:07 -0700 (PDT) X-Google-Smtp-Source: APiQypJbfZEKfr+fj9cbdLAshECF3ZzGFolqenm3t+/lua7/ht2/qmLuvBfZ/+nXbrk9ULtvFNHv X-Received: by 2002:a05:6808:6cb:: with SMTP id m11mr4818214oih.130.1585955766980; Fri, 03 Apr 2020 16:16:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585955766; cv=none; d=google.com; s=arc-20160816; b=VQXCtS8R742D3GhLZgZ+5nMp0utpZEp8irO1Fqb9cT4bKlJTY0ZcthM86cHaIWKp/9 Lvj3kt1D/SLdm2boQW7zeGOvqOm7SKQCWs8oVAhFpYf4WsN90yTyNsMwlUZ3kLRmzVbP F8k8sfuWvGm8VFb3QUWejNqWlMeJtJOqzLX2vNI90j/ECQYVpTsoU7f0IDFwOqsUgtKx HMmWZ3hrKsDxe/IP6Yncyz+H9x89mJVLQB9F/8h92VfEzPHaQb8grwzKsZ2tJE6IX6Zs m94s2T0dL15/TPWIxM0JuspNBuJCd8YtuaKhpoFZYFa9a9qxGsJBYoqpOgYOb4Mvwyas JoUg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:date:to:from:subject:message-id; bh=fN4NvMrzvq8pJ/23Kwrf5FZeh0GaTdF04L5cCHOQK0Q=; b=im4IO2ZADa1ACDUXjZlDwg1Qc9JnRNI+2lFG5luONLgDLFOFartanDgjSrIr0tMw6O kE8FTvdRFNPeE/CDmQxrwiU1FJHCj8XXpTYor1ldEcRUTZib04JM4FP8R2nYa7S2k49O lE9Bh+FJFq361wUChPJJkXci6C8RduLz1g6uaP56bHLBZ4CGr8GiluMj8T/DmE8raRtL DU3TObi7hgstuB12aa5lsEXbs94Oy+hm8JlaCjM5GN19cZDNK9LhfNEtiWZ3LjUqonw+ hgNZRjOZtXKjpozUKzmN6WAzOEIgwV8LhYjY9QhzminCRgwVUaTo+JK8X7St+n8JuDRt G10Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 96si4277899oty.198.2020.04.03.16.15.34; Fri, 03 Apr 2020 16:16:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727924AbgDCXPF (ORCPT + 99 others); Fri, 3 Apr 2020 19:15:05 -0400 Received: from jax4mhfb02.myregisteredsite.com ([64.69.218.95]:35384 "EHLO jax4mhfb02.myregisteredsite.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727829AbgDCXPE (ORCPT ); Fri, 3 Apr 2020 19:15:04 -0400 X-Greylist: delayed 563 seconds by postgrey-1.27 at vger.kernel.org; Fri, 03 Apr 2020 19:15:03 EDT Received: from atl4mhob15.registeredsite.com (atl4mhob15.registeredsite.com [209.17.115.53]) by jax4mhfb02.myregisteredsite.com (8.14.4/8.14.4) with ESMTP id 033N5b5S014956 for ; Fri, 3 Apr 2020 19:05:38 -0400 Received: from mailpod.hostingplatform.com (atl4qobmail01pod5.registeredsite.com [10.30.71.94]) by atl4mhob15.registeredsite.com (8.14.4/8.14.4) with ESMTP id 033N5asE014293 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Fri, 3 Apr 2020 19:05:36 -0400 Received: (qmail 168384 invoked by uid 0); 3 Apr 2020 23:05:36 -0000 X-TCPREMOTEIP: 208.85.15.155 X-Authenticated-UID: sbrown@opensat.com Received: from unknown (HELO 155-15-85-208.altiusbb.net) (sbrown@opensat.com@208.85.15.155) by 0 with ESMTPA; 3 Apr 2020 23:05:36 -0000 Received: from localhost (localhost [127.0.0.1]) by 155-15-85-208.altiusbb.net (Postfix) with ESMTP id 1BD4E1540543 for ; Fri, 3 Apr 2020 19:05:35 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at ewol.com X-Spam-Flag: NO X-Spam-Score: -2.9 X-Spam-Level: X-Spam-Status: No, score=-2.9 tagged_above=-999 required=6.31 tests=[ALL_TRUSTED=-1, BAYES_00=-1.9] autolearn=ham autolearn_force=no Received: from 155-15-85-208.altiusbb.net ([127.0.0.1]) by localhost (fl-server.ewol.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JFg6C4h89jId for ; Fri, 3 Apr 2020 19:05:28 -0400 (EDT) Received: from w7.lan (w7.lan [192.168.1.9]) by 155-15-85-208.altiusbb.net (Postfix) with ESMTP id DED1F1540459 for ; Fri, 3 Apr 2020 19:05:28 -0400 (EDT) Message-ID: <65249ba1d4762186088e6b4496508510e0a06d93.camel@ewol.com> Subject: mesh: test/test-mesh fails to provision node From: Steve Brown To: "linux-bluetooth@vger.kernel.org" Date: Fri, 03 Apr 2020 19:05:28 -0400 Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.34.1-2 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org test/test-mesh can no longer provision a node. mesh-cfgclient correctly provisions the same node. In poking around with d-feet, the interface org.freedesktop.DBus.Properties isn't created by test/test-mesh, but is by mesh-cfgclient. Steve ================ test/test-mesh fails with: create Creating with UUID 0e04050a0b090d0c0108060f0a020307 Created mesh network with token bb0f18f8901f3587 Attach mesh node to bluetooth-meshd daemon Mesh app registered: /org/bluez/mesh/node0e04050a0b090d0c0108060f0a020307 scan Scanning... Scan procedure started ScanResult >> RSSI: -34 UUID: acda451feca3903e4560f6a3a25a437a OOB Data: 0000 uuid Enter 32-digit hex remote UUID: acda451feca3903e4560f6a3a25a437a add Adding dev UUID acda451feca3903e4560f6a3a25a437a AddNode procedure failed org.bluez.mesh.Error.Failed: Failed to start provisioning initiator ===================================== syslog: Apr 3 18:41:10 mesh0 bluetooth-meshd[6648]: mesh/manager.c:add_node_call() AddNode request Apr 3 18:41:10 mesh0 bluetooth-meshd[6648]: mesh/manager.c:scan_cancel() scan_cancel Apr 3 18:41:10 mesh0 bluetooth-meshd[6648]: Agent failed (org.freedesktop.DBus.Error.UnknownMethod), Traceback (most recent call last): Apr 3 18:41:10 mesh0 bluetooth-meshd[6648]: File "/usr/lib/python3/dist-packages/dbus/service.py", line 658, in _message_cb Apr 3 18:41:10 mesh0 bluetooth-meshd[6648]: (candidate_method, parent_method) = _method_lookup(self, method_name, interface_name) Apr 3 18:41:10 mesh0 bluetooth-meshd[6648]: File "/usr/lib/python3/dist-packages/dbus/service.py", line 248, in _method_lookup Apr 3 18:41:10 mesh0 bluetooth-meshd[6648]: raise UnknownMethodException('%s is not a valid method of interface %s' % (method_name, dbus_interface)) Apr 3 18:41:10 mesh0 bluetooth-meshd[6648]: dbus.exceptions.UnknownMethodException: org.freedesktop.DBus.Error.UnknownMethod: Unknown method: GetAll is not a valid method of interface org. ============================================= dbus-monitor log: method call time=1585918004.102388 sender=:1.409 -> destination=:1.301 serial=14 path=/org/bluez/mesh/node0a060d08020f03050b090c0a07010e04; interface=org.bluez.mesh.Management1; member=AddNode array of bytes [ ac da 45 1f ec a3 90 3e 45 60 f6 a3 a2 5a 43 7a ] array [ ] method call time=1585918004.104726 sender=:1.301 -> destination=:1.409 serial=307 path=/mesh/test/agent; interface=org.freedesktop.DBus.Properties; member=GetAll string "org.bluez.mesh.ProvisionAgent1" error time=1585918004.110353 sender=:1.409 -> destination=:1.301 error_name=org.freedesktop.DBus.Error.UnknownMethod reply_serial=307 string "Traceback (most recent call last): File "/usr/lib/python3/dist-packages/dbus/service.py", line 658, in _message_cb (candidate_method, parent_method) = _method_lookup(self, method_name, interface_name) File "/usr/lib/python3/dist-packages/dbus/service.py", line 248, in _method_lookup raise UnknownMethodException('%s is not a valid method of interface %s' % (method_name, dbus_interface)) dbus.exceptions.UnknownMethodException: org.freedesktop.DBus.Error.UnknownMethod: Unknown method: GetAll is not a valid method of interface org.freedesktop.DBus.Properties " error time=1585918004.112011 sender=:1.301 -> destination=:1.409 error_name=org.bluez.mesh.Error.Failed reply_serial=14 string "Failed to start provisioning initiator" signal time=1585918441.305863 sender=:1.2 -> destination=(null destination) serial=176 path=/org/freedesktop/timesync1; interface=org.freedesktop.DBus.Properties; member=PropertiesChanged string "org.freedesktop.timesync1.Manager" array [ dict entry(