Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] unit tests fail to run, command line only
  • From: "Homer, Tony" <tony.homer@xxxxxxxxx>
  • Date: Fri, 5 Feb 2021 22:26:20 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=a8K/kEQ89DhB3sFSuQCnUeGbSRgIIHAs+NQu59LfMF0=; b=ma79SQs/AU8L5/OGdV+HVCvIFH2ObU35OlGhEl4RgNggzuWlGWlv5du2Rj6gfOrCm6J7uk9mz0m7hgqLXTNoRKNkbIfzoz1+DyMx7QaWHr9gkwSaEW6scgwxAFMRCl5J4Y1YEVDnk3XK2Mvx8aHGj0bMlVzEZYlEsrj+pePvtOU2ENLnXebiofM7/DakiZRdZA3MnNp3F9k0u0d1FcuBnLcY0RP/Y2Qm4E1xTGYMadXkfZNcdl1gfAWTUpeSZ5onhI40NQ44wuuYXATr7qYgbhwugoXMTi85tCSPNOBI4/QZxKGIpfEd7jE4gnJBtr9gIcPoyolsMDL7C09qO0giCA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=i+mMRDNInz+/LjM/oFQb4nRiOryBNDYDmqGPFMIaLIwzSeVDsvckr4DTbkar1ryghvYHXYvWB+Q63aTkY/FitNSRD05DsrNeo4MZP7KQ1ah9LnoDqq3fIA3LQUWa3BLoMNB5KBIaw6SuyptYqnIwEgi8tE0qifJ47X6Y9TWAn45YJVRSxb1xEQd8Q7Pc4DmEasm4p+18iF/BqfitDywEk2PDYrKbdWIGNzyV7TmXjVkC8BbumSBZOpIM3MptZEOts9eC7IZw55V8RSt3+MnXiQGu8uvdLiHnypexm0lF09ZG/05vs6DpyI7HKP1f6YRj9JRbG39NoDeynCbwBnCp1A==
  • Delivered-to: tycho-user@xxxxxxxxxxx
  • Ironport-sdr: ohrDwjS2KuqXY4kNwS7t8yAEP/lZvFLZw/IdfXWI8bX/0+04A9HtPAfis44KiYmCezR0D8hcen mBA5U2T4EU1Q==
  • Ironport-sdr: MTAvd8Q+jD9WIs4iXjq+hsYX+iLSG9/L6X+3Wmssvf1uOynMid1uRAmXDN86uX2KOvQ1CaHh+W Kxkj0lvHflyg==
  • List-archive: <https://www.eclipse.org/mailman/private/tycho-user/>
  • List-help: <mailto:tycho-user-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/tycho-user>, <mailto:tycho-user-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/tycho-user>, <mailto:tycho-user-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHW/A3t9GJab+Me70CaUMIvcOmLTg==
  • Thread-topic: [tycho-user] unit tests fail to run, command line only
  • User-agent: Microsoft-MacOutlook/16.45.21010502

Wow, that worked.

Seems very weird that it worked without with target set to 2020-06 units, but fails with target updated to 2020-12 units.

But sure enough, adding an explicit extraRequirement to the snapshot profile made it work!

Thank you Mickael!

 

From: tycho-user <tycho-user-bounces@xxxxxxxxxxx> on behalf of Mickael Istria <mistria@xxxxxxxxxx>
Reply-To: Tycho user list <tycho-user@xxxxxxxxxxx>
Date: Friday, February 5, 2021 at 2:04 PM
To: Tycho user list <tycho-user@xxxxxxxxxxx>
Subject: Re: [tycho-user] unit tests fail to run, command line only

 

Hi,

 

The most interesting line is `Unresolved requirement: Require-Capability: osgi.extender; filter:="(&(osgi.extender=osgi.component)(version>=1.2)(!(version>=2.0)))` . This requirement is provided by org.apache.felix.scr. Make sure your test do have it as transtitive dependency, or try adding an extraRequirement for it.

 

HTH


Back to the top