Reload fixes and improvements

Hi, I took a stab at

showing sequential reload progress, fixes #2065
using parallelism for reloading only visible feeds, fixes #2067

Also made reloading only visible feeds do nothing when there is no visible feeds.
Previously all feeds were reloaded, which was pretty unexpected.
Also replaced couple thread worker classes with lambdas.

Coverage decreased (-0.003%) to 59.308% when pulling a1602f8c0e4b47d3494a0f597cfc23825054069e on juntuu:reload-fixes into 1fc0775dcf5f700e17dde7af163bc87a94158264 on newsboat:master.

Sorry for the slow response! I'm down with COVID and don't have energy to review this right now, but once I'm back in the saddle, I'll take a proper look.


Fix unauthorized access

The plugins currently allow execTransaction to be called from any address, not just the 4337 entry point.
(Perhaps this should be fixed by another plugin or some other mechanism?)
This is demonstrated by the (currently) failing test added in #88:
  itif("should not allow execTransaction from unrelated address", async () => {
    const { accountAddress, userWallet, provider } = await setupDeployedAccount(
      ethers.ZeroAddress,
      0,
      "0x",
    );

    const unrelatedWallet = ethers.Wallet.createRandom(provider);

    await receiptOf(
      userWallet.sendTransaction({
        to: unrelatedWallet.address,
        value: 100n * oneEther,
      }),
    );

    const account = SafeECDSAPlugin__factory.connect(
      accountAddress,
      unrelatedWallet, // <-------------------------------------- simply connect with unrelated wallet
    );

    const recipient = ethers.Wallet.createRandom(provider);

    await expect(
      receiptOf(account.execTransaction(recipient.address, oneEther, "0x")),
      //                ~~~~~~~~~~~~~~~ <------------------------ and call execTransaction
    ).to.eventually.rejected; // Should be rejected, but it isn't

    await expect(provider.getBalance(recipient)).to.eventually.equal(0n);
  });

I ran into another stumbling block with my compression plugin. When calling a plugin method msg.sender is the safe, rather than the caller. That's a big problem for checking that the call comes from a trusted source (ie entryPoint or self). As far as I can tell, this would require changes on the safe side.


Terminal emulation with xterm

Emulate color codes (for any CLI-style crates):
xterm.js makes this very simple, and is used by projects such as genact (demo page with xterm).

This is an implementation detail. #900 does a better job of explaining the request.


8GB per file limit? Also, how to flatten directory structure

Hi, I'm trying to tar files larger than 8GB, but I'm having no luck. Same as with tar-stream/tar-fs. Does node-tar adopt the ustar format same as the others? Is there a way round this, or do I need start from scratch and spawn a tar from shell?
Also, whilst I'm here, is there a way of creating a TAR without the directory structure? For instance
/some/dir/foo.jpg
/some/other/dir/bar/jpg

Should be packed, list, and unpack (without using the --strip-components option) as...
foo.jpg
bar.jpg

Thanks

Huh.  Yeah, that seems to be flaking out somewhere near the end.  Looks like it finishes properly, but the file is truncated.
$ dd if=/dev/zero of=10gb bs=1024 count=0 seek=$[1024*1024*10]
0+0 records in
0+0 records out
0 bytes transferred in 0.000016 secs (0 bytes/sec)

$ ls -lh 10gb
-rw-r--r--  1 isaacs  staff    10G Aug 15 00:32 10gb

$ node -e 'require("./").create({file:"10gb.tar"},["10gb"])'

$ la 10gb.tar
-rw-r--r--  1 isaacs  staff<PHONE_NUMBER>0 Aug 15 00:36 10gb.tar

$ tar tvf 10gb.tar
-rw-r--r--  1 isaacs 20<PHONE_NUMBER>472 Aug 15 00:32 10gb
tar: Truncated input file (needed<PHONE_NUMBER>952 bytes, only<PHONE_NUMBER>904 available)
tar: Error exit delayed from previous errors.

As for your second question, no, there's no easy way to do this.  With the builtin tar(1), you could do a tar cf out.tar -C some/dir foo.jpg -C some/other/dir bar.jpg, but you'd have to list out each file one by one.  Since there's no onentry or map method in tar.create, the only way I could see to do that out of the box today would be repeated calls to tar.replace or tar.update to append entries to the archive.
It'd be nice to add a way to filter or mutate files on the way into the archive, but that should get its own issue :)

The issue I found with tar-fs/tar-stream was that they used the ustar TAR format, which has an individual file limit of 8GB. Not sure if this is a similar issue?
More here

node-tar uses PAX extended headers if the file is too big to fit in the 8gb size limit.  There might be some bug in how it's doing that, but it is successfully putting a file in the tarball that's much larger than 8gb.  It's not getting the full 10gb, though.  Dropping a 2 mb off the end for some reason.
So it's not the 8gb limit in this case.  Definitely something else going on.  And it's not dropping the trailing tar EOF footer, because that'd be 1MB, not 2.
Curiouser and curiouser...

Oh, also, in the xstar format (used by most ustar tar systems), you can have files larger than 8gb, by encoding the number as a base-256 tuple instead of an octal string.  So you don't even need PAX extended headers for that.  It supports sizes in the range of an 11-byte unsigned int, which is bigger than any hard drive on earth currently.  (64-bit is only an 8 byte range.)


Remove blog link resulting in a 404

I tweeted Derek, just in case it has moved. I'll give him a few days to reply before merging this.
https://twitter.com/daveverwer/status/1036852192488161280

Derek replied saying it was gone. Merged, Thanks!
Sent with GitHawk


Replace use of explicit type check with ._is_partition_type predicate

[ ] Tests added / passed
[ ] Passes flake8 dask

Fixes https://github.com/rapidsai/dask-cudf/issues/115

I am unable to reproduce locally with a py27 env.  I restarted the py36/py27 builds and I'll see what happens

Nevermind!  Forgot to change branches

In py27 pandas fails on hasattr(typ, 'columns').  Note that if you call dir on the object columns` is in the list
Python 2.7.15 |Anaconda, Inc.| (default, Dec 14 2018, 13:10:39)
Type "copyright", "credits" or "license" for more information.

IPython 5.8.0 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

In [1]: import pandas as pd

In [2]: hasattr(type(pd.DataFrame()), 'columns')
Out[2]: False

In [3]: 'columns' in dir(type(pd.DataFrame()))
Out[3]: True

In [4]: 'columns' in dir(type(pd.Series()))
Out[4]: False

In [3]: pd.__version__
Out[3]: u'0.24.1'

The test is against pd 0.20.02:
In [10]: pd.__version__
Out[10]: u'0.20.2'

In version 0.23 this issue was resolved

@mrocklin how would you like to proceed here ?  I imagine dropping support for older pandas is not on the table at the moment, is it ?

Fixes https://github.com/dask/dask/issues/4596

Merging in 24 hours if there are no comments


Multiple secure hubs in virtual wan cannot share the same azure firewall base policy

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Versions

terraform:
azure provider:
module: 5.0.2
Description
Describe the bug
Cx has a requirement to share the same base firewall policy when deploying virtual wan secure hub across multiple regions. The goal is to centralize in the base firewall policy the rules that will be applied to all regional firewalls.
The current version of the module deploys a firewall and configure as well a firewall policy (see https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/blob/557a3fc134e3e7a76c85759950818aeed68df6d4/modules/connectivity/locals.tf#L1003)
When sharing a base policy with multiple child policies, there is a requirement in Azure to colocate the policies within the same region. The error bellow highlight that requirement Please make sure base policy ID is a valid firewall policy ID in same region.
module.alz.azurerm_firewall_policy.virtual_wan["/subscriptions/xxxx/resourceGroups/connectivity/providers/Microsoft.Network/firewallPolicies/fw-hub-japaneast-policy"]: Creating...
╷
│ Error: creating/updating Firewall Policy (Subscription: "xxxxx"
│ Resource Group Name: "connectivity"
│ Firewall Policy Name: "fw-hub-japaneast-policy"): performing CreateOrUpdate: unexpected status 400 with error: FirewallPolicyBasePolicyDoesnotExist: Base Firewall Policy /subscriptions/xxxxx/resourceGroups/connectivity-fw-policies/providers/Microsoft.Network/firewallPolicies/fw-hub-policy-base does not exist. Please make sure base policy ID is a valid firewall policy ID in same region.
│
│   with module.alz.azurerm_firewall_policy.virtual_wan["/subscriptions/xxxxx/resourceGroups/connectivity/providers/Microsoft.Network/firewallPolicies/fw-hub-japaneast-policy"],
│   on ../../alz/resources.virtual_wan.tf line 146, in resource "azurerm_firewall_policy" "virtual_wan":
│  146: resource "azurerm_firewall_policy" "virtual_wan" {

Looking at the code into more details it looks like the firewall policy got assigned the location from the azure firewall. Meaning there is no current option to set a different location to the firewall policy to deploy it within the same region as the base firewall policy.
Firewall policy location:
https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/blob/557a3fc134e3e7a76c85759950818aeed68df6d4/modules/connectivity/locals.tf#L1011
Firewall location:
https://github.com/Azure/terraform-azurerm-caf-enterprise-scale/blob/557a3fc134e3e7a76c85759950818aeed68df6d4/modules/connectivity/locals.tf#L966C31-L966C39
Steps to Reproduce

Create a base policy with azurerm (region1)
Create a vwan hub (hub1 in region 1)
Create a second vhub (hub2 in region2)

Firewall policy in region 2 will fail with the above error.
One of the proposition to remediate that issue if to introduce a specific attribute to override the firewall location like firewall_policy_location
Extract of a possible modification for
azure_firewall = {
              enabled = false
              config = {
                enable_dns_proxy = true
                dns_servers = []
                sku_tier                      = "Premium"
                firewall_policy_location   = "name of the region of the base policy"
                base_policy_id                = azurerm_firewall_policy.base.id
                private_ip_ranges             = []
                threat_intelligence_mode      = "Alert"
                threat_intelligence_allowlist = []
                availability_zones = {
                  zone_1 = false # Datacenter SG Zone 1 with capacity restricted - required whitelisting by Microsoft account team
                  zone_2 = true
                  zone_3 = true
                }
              }
            }

Screenshots

Additional context

Hi @LaurentLesle Thanks for flagging this - feel free to submit a PR if you would like, otherwise we will flag an an enhancement

Found a workaround by leveraging the configure_connectivity_resources.advanced settings with custom_settings_by_resource_type
advanced:
 custom_settings_by_resource_type:
  azurerm_firewall:
   region:
    firewall_policy_id: <set the resource id to a firewall policy created outside of the module. >


Macro: Switching to full screen mode causes an Uncaught TypeError error in DevTool console

Steps to Reproduce

Switch to Macro mode
Click on the “Fullscreen mode” button
Click on the “Open” button
Click on the “Open from file” button ( Ketcher switches to not full screen mode )
Press 'Cancel' button and close all pop-up windows
Press 'Full screen' button again

Actual behavior
Switching to full screen mode causes an Uncaught TypeError error in DevTool console
Expected behavior
Switching to full screen mode not causes an Uncaught TypeError error in DevTool console
Screenshots
https://github.com/epam/ketcher/assets/62464241/d436c3eb-4e6f-41c9-9fa9-dfb17b77a435
Bug found during testing: https://github.com/epam/ketcher/issues/4173
Desktop (please complete the following information):

OS: Windows 11 (version 22H2) x64
Browser: Сhrome
Version: (122.0.6261.112) x64

Ketcher version 2.20.0-rc.1

Moved to Refined Backlog since no fix over 1 version


SMTP Error caused by Greeting timeout

Server Setup Information
Version of Rocket.Chat Server: 5.0.4
Operating System: Debian 11
Deployment Method: tar ( manual )
Number of Running Instances: 1
NodeJS Version: v14.20.0
MongoDB Version: 4.4.16
Proxy: reverse Proxy Nginx
Firewalls involved: ufw
I could not send E-Mails via SMTP caus the greeting_timeout value was to low /DIR/Rocket.Chat/programs/server/npm/node_modules/meteor/email/node_modules/nodemailer/lib/smtp-connection/index.js
changed " const GREETING_TIMEOUT = 35 * 1000; // how much to wait after connection is established but SMTP greeting is not receieved
My STMP Server reacts a bit slow but the changed worked!
Error Message before the change:
Exception in defer callback: Error: Greeting never received at SMTPConnection._formatError (/DIR/Rocket.Chat/programs/server/npm/node_modules/meteor/email/node_modules/nodemailer/lib/smtp-connection/index.js:784:19) at SMTPConnection._onError (/DIR/Rocket.Chat/programs/server/npm/node_modules/meteor/email/node_modules/nodemailer/lib/smtp-connection/index.js:770:20) at Timeout. (/DIR/Rocket.Chat/programs/server/npm/node_modules/meteor/email/node_modules/nodemailer/lib/smtp-connection/index.js:704:22) at listOnTimeout (internal/timers.js:557:17) at processTimers (internal/timers.js:500:7) { code: ‘ETIMEDOUT’, command: ‘CONN’ }

Sorry i have no Idea why my Issue is in this folder! My Bad


Add support for Erlang version with extra digits

Erlang versions can be:

21.1
21.1.2
<IP_ADDRESS>

Only the second one is a valid SemVer version. We already supported 21.1 (by remapping it to 21.1.0) and now we support <IP_ADDRESS> too (by remapping it to 21.1.2).

🦀 Requesting reviewers for this pull request:

@thermech (contributor with 0 commits in the last 90 days and 8 commits overall)
@gcauchon (expert reviewer for the elixir stack)

👀


Add basic splash display mechanism

New commit includes the requested changes

Thank you for your contribution. 👏

Glad to be able to help out. Thank you for making a great tool
William Michael Short
Lecturer in Classics
Department of Classics & Ancient History
University of Exeter

From: Mariusz Kupidura<EMAIL_ADDRESS>Sent: Thursday, July 18, 2019 9:08:55 PM
To: fwkz/riposte
Cc: Short, William Michael; Author
Subject: Re: [fwkz/riposte] Add basic splash display mechanism (#15)
Thank you for your contribution. 👏
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ffwkz%2Friposte%2Fpull%2F15%3Femail_source%3Dnotifications%26email_token%3DAIWMJIV4WEO5MJA7MJZBJZTQADEVPA5CNFSM4IEIREV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2JUNTY%23issuecomment-512968399&data=02|01|W.Short%40exeter.ac.uk|ca6d3590790a4fe9e9e408d70bbbc58f|912a5d77fb984eeeaf321334d8f04a53|0|0|636990773414002275&sdata=uqqMSCaHUlIxvg8rIq29IBSXXg9GoV1E7Xtbda4vhYk%3D&reserved=0, or mute the threadhttps://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAIWMJIWXY6WX7QR4RQWZ6C3QADEVPANCNFSM4IEIREVQ&data=02|01|W.Short%40exeter.ac.uk|ca6d3590790a4fe9e9e408d70bbbc58f|912a5d77fb984eeeaf321334d8f04a53|0|0|636990773414012279&sdata=uf%2BB8ZzvMBAxYdmNcgpJ%2BI%2F96iOc5g%2F4AuVOOMurMqc%3D&reserved=0.


High latency when enable Cilium Annotation L7 Visibility

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
When we enable annotation cilium L7 visibility for pod applications, we have detected some super slow response from our pod application via call directly kubernetes svc.
When i do curl command line to service deployment has Annotation L7, i can see return response header x-envoy-upstream-service-time from Cilium-Envoy miliseconds around over 3 minutues.
HTTP/1.1 200 OK
server: envoy
date: Tue, 11 Apr 2023 17:44:11 GMT
content-type: application/json
content-length: 46
access-control-allow-origin: *
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
strict-transport-security: max-age=2592000; includeSubDomains
x-envoy-upstream-service-time: 212182

This issue is intermittent , we got some super slow response with high frequent occurs.
This make our system un-stable when k8s also cannot healthcheck correctly with high response.
I suspect something wrong or bottleneck somewhere at cilium-envoy , actually i am not very sure.

Cilium Version
cilium image (running): v1.13.1
Kernel Version
5.10.162+
Kubernetes Version
WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short.  Use --output=yaml|json to get the full version.
Client Version: version.Info{Major:"1", Minor:"24+", GitVersion:"v1.24.10-dispatcher-dirty", GitCommit:"c4dc593360fd87cf0fe27b27e36a4a19b62d90e9", GitTreeState:"dirty", BuildDate:"2023-01-24T19:42:00Z", GoVersion:"go1.19.5", Compiler:"gc", Platform:"darwin/arm64"}
Kustomize Version: v4.5.4
Server Version: version.Info{Major:"1", Minor:"24", GitVersion:"v1.24.12-gke.500", GitCommit:"fa2714567d7451b5e32541c10119d1246730c197", GitTreeState:"clean", BuildDate:"2023-03-23T11:35:05Z", GoVersion:"go1.19.7 X:boringcrypto", Compiler:"gc", Platform:"linux/amd64"}

Sysdump
Download from here: https://drive.google.com/file/d/12h_5ybQ23rLHbubmCc6s0_xN8Rs8oIa6/view?usp=share_link
It is over 25MB are allowed.
Relevant log output
Log hubble when stuck in super slow response.

Apr 11 17:48:10.314: default/service-A-67b5cd8b9c-cll7c:44476 (ID:17490) -> default/service-B-8645564dcd-4thxh:5000 (ID:11027) to-stack FORWARDED (TCP Flags: SYN)
Apr 11 17:48:10.315: default/service-A-67b5cd8b9c-cll7c:44476 (ID:17490) -> default/service-B-8645564dcd-4thxh:5000 (ID:11027) to-proxy FORWARDED (TCP Flags: SYN)
Apr 11 17:48:10.315: default/service-A-67b5cd8b9c-cll7c:44476 (ID:17490) -> default/service-B-8645564dcd-4thxh:5000 (ID:11027) to-stack FORWARDED (TCP Flags: ACK)
Apr 11 17:48:10.315: default/service-A-67b5cd8b9c-cll7c:44476 (ID:17490) -> default/service-B-8645564dcd-4thxh:5000 (ID:11027) to-stack FORWARDED (TCP Flags: ACK, PSH)
Apr 11 17:48:10.316: default/service-A-67b5cd8b9c-cll7c:44476 (ID:17490) -> default/service-B-8645564dcd-4thxh:5000 (ID:11027) http-request FORWARDED (HTTP/1.1 GET http://service-B.default/api/call/cc4cb7c5cbfe/tree)

It wait for : TCP Flags: ACK, FIN and TCP Flags: ACK so long.

### Anything else?

_No response_

### Code of Conduct

- [X] I agree to follow this project's Code of Conduct

any news for this bug?


Colorbar not right at highest value  bin (sometimes)

Sometimes the highest value bin on the colorbar, above the reds, is set to blue again. This is quite confusing, as the very lowest and highest bins have the same color.

We solved this by removing the remove_contour=0.0 line from the call to tomplot_contours. This should throw an error if trying to remove the top or bottom contour! I'll leave this issue open until that is fixed

Closing as I think this was fixed by #17


verify credential error code 6

[Enter feedback here]

I receive an error on my authenticator app VC Networking error: code 6 on the verify credential step. Any idea what went wrong and how to troubleshoot this?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: e61514c0-51bd-299f-6995-69d6099f3a7a
Version Independent ID: 939a73ed-6162-1812-e648-5df9db5e93ab
Content: Tutorial - Get started with Azure Active Directory Verifiable Credentials using a sample app (preview)
Content Source: articles/active-directory/verifiable-credentials/get-started-verifiable-credentials.md
Service: identity
Sub-service: verifiable-credentials
GitHub Login: @barclayn
Microsoft Alias: barclayn

@anotherrohit Thank you for the detailed feedback. This is being assigned to the content author for further action.

@anotherrohit was this during the Validate credentials step? were there any errors that you can share printed out in the terminal? also make sure that the ngrok command is run on port 8082.

Yes during validate credential step with ngrok 8082. I get a different error when i hit the direct URL instead of the reverse proxy ngrok URL now
CNSUELErrorDomain code -1004
2021-04-25 07:14:41.409	INFO		MSA_SDK  	0	TID=1		 23 (+[MSALogger setLogCallback:]) MSA logging initialized, SDK version <IP_ADDRESS>120
2021-04-25 07:14:41.426	VERB		PhoneFactor	0	TID=1		 551 (-[PhoneFactorAppDelegate application:didFinishLaunchingWithOptions:]) App version: 6.5.53
2021-04-25 07:14:41.434	VERB		PhoneFactor	0	TID=1		 80 (-[TelemetryManager startTelemetry])
2021-04-25 07:14:41.434	VERB		PhoneFactor	0	TID=1		 109 (-[ApplicationSettings init])
2021-04-25 07:14:41.507	VERB		PhoneFactor	0	TID=1		 92 (-[TelemetryManager startTelemetry]) Diagnostic data swtich: ON
2021-04-25 07:14:41.533	INFO		MSA_SDK  	0	TID=1		 25 (+[MSATelemetry setTelemetryCallback:]) MSA Telemetry initialized, SDK version <IP_ADDRESS>120
2021-04-25 07:14:41.537	VERB		PhoneFactor	0	TID=1		 1103 (-[PhoneFactorAppDelegate finishAppLaunchSetupIfNeeded])
2021-04-25 07:14:41.543	VERB		PhoneFactor	0	TID=1		 120 (sendTasRequest()) Send request to TAS to retrieve flightId.
2021-04-25 07:14:41.545	ERRO		PhoneFactor	0	TID=1		 79 (read(withCaseSensitiveKey:)) Failed to read data for key:appAnonID from keychain. Item not found.
2021-04-25 07:14:41.547	ERRO		PhoneFactor	0	TID=1		 252 (readHockeyAppUserId()) Failed to read HockeyApp appAnonID: NotFound
2021-04-25 07:14:41.550	VERB		PhoneFactor	0	TID=1		 50 (+[NotificationManager registerForNotifications])
2021-04-25 07:14:41.550	VERB		PhoneFactor	0	TID=1		 179 (-[NotificationsRegistrationManager registerSilently:completion:]) Registering for notifications. isSilent: 1
2021-04-25 07:14:41.551	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:41.555	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:41.555	VERB		Watch   	0	TID=14		 931 (-[PhoneFactorAppDelegate session:activationDidCompleteWithState:error:]) Session activation state: 2
2021-04-25 07:14:41.556	VERB		Brooklyn	0	TID=1		 10 (deleteAllBrooklynData())
2021-04-25 07:14:41.557	VERB		Brooklyn	0	TID=1		 198 (deleteAllBrooklynAutofillData())
2021-04-25 07:14:41.556	VERB		Watch   	0	TID=14		 932 (-[PhoneFactorAppDelegate session:activationDidCompleteWithState:error:]) Session isReachable: NO
2021-04-25 07:14:41.557	VERB		Brooklyn	0	TID=1		 150 (delete(account:label:serviceName:))
2021-04-25 07:14:41.557	VERB		Brooklyn	0	TID=1		 60 (setupKeychainQueryDictionary(for:))
2021-04-25 07:14:41.557	INFO		PhoneFactor	0	TID=14		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:41.559	VERB		MSA_SDK  	0	TID=1		 175 (-[MSAKeychainStorage addOrUpdateItemAtKey:item:error:]) Adding new item in keychain: (57)
2021-04-25 07:14:41.562	VERB		PhoneFactor	0	TID=15		 57 (+[NotificationManager registerForNotifications]_block_invoke) Update result: 3
2021-04-25 07:14:41.566	INFO		MSA_SDK  	0	TID=1		 99 (+[MSAAccessGroupDetector getApplicationDefaultAccessGroup]block_invoke) Default app access group detected: com.microsoft.azureauthenticator
2021-04-25 07:14:41.567	INFO		MSA_SDK  	0	TID=1		 27 (+[MSAAccessGroupDetector getApplicationPrefix]) Application bundle prefix detected: SGGM6D27TK
2021-04-25 07:14:41.569	ERRO		Brooklyn	0	TID=1		 203 (deleteAllBrooklynAutofillData()) Failed to delete all user credential data from keychain. OSStatus: -25300, operationStatus: NotFound
2021-04-25 07:14:41.570	VERB		Brooklyn	0	TID=1		 85 (deleteAllFaviconMetadata())
2021-04-25 07:14:41.570	VERB		Brooklyn	0	TID=1		 150 (delete(account:label:serviceName:))
2021-04-25 07:14:41.571	VERB		Brooklyn	0	TID=1		 60 (setupKeychainQueryDictionary(for:))
2021-04-25 07:14:41.572	ERRO		Brooklyn	0	TID=1		 90 (deleteAllFaviconMetadata()) Failed to delete all favicon metadata from keychain. OSStatus: -25300, operationStatus: NotFound
2021-04-25 07:14:41.572	VERB		Brooklyn	0	TID=1		 41 (deleteCSVString())
2021-04-25 07:14:41.573	VERB		Brooklyn	0	TID=1		 150 (delete(account:label:serviceName:))
2021-04-25 07:14:41.573	VERB		Brooklyn	0	TID=1		 60 (setupKeychainQueryDictionary(for:))
2021-04-25 07:14:41.574	ERRO		Brooklyn	0	TID=1		 46 (deleteCSVString()) Failed to delete import csv string from keychain. OSStatus: -25300, operationStatus: NotFound
2021-04-25 07:14:41.574	VERB		PhoneFactor	0	TID=16		 249 (-[AccountModel(SyncAccounts) syncMSAAccounts:error:accountsNotInSDK:]) Look for accounts in MSA SDK
2021-04-25 07:14:41.582	INFO		PhoneFactor	0	TID=16		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:41.595	VERB		Brooklyn	0	TID=16		 13 (isDefaultAutofillProvider(completion:))
2021-04-25 07:14:41.652	VERB		Brooklyn	0	TID=16		 472 (getSDKVersion())
2021-04-25 07:14:41.654	INFO		PhoneFactor	0	TID=16		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:41.947	VERB		PhoneFactor	0	TID=1		 45 (retrieveMetadata())
2021-04-25 07:14:41.948	VERB		PhoneFactor	0	TID=1		 64 (readObjectFromFile(:)) Unarchiving object.
2021-04-25 07:14:41.955	VERB		AuthSDK 	0	TID=1		 71 (-[ASDKAccountTableViewController viewDidLoad])
2021-04-25 07:14:41.955	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:41.960	VERB		WorkplaceJoin	0	TID=1		 0 () INFO: [2021-04-25 07:14:41 +0000]escapeXMLSpecialChars: Will escape special XML chars, if any
2021-04-25 07:14:41.961	VERB		WorkplaceJoin	0	TID=1		 0 () INFO: [2021-04-25 07:14:41 +0000]escapeXMLSpecialChars: Returning :14.4.2
2021-04-25 07:14:41.962	VERB		WorkplaceJoin	0	TID=1		 0 () INFO: -[WorkPlaceJoinUtil getRegistrationInformation:error:] [Line 240][2021-04-25 07:14:41 +0000]SGGM6D27TK.com.microsoft.workplacejoin
2021-04-25 07:14:41.962	VERB		WorkplaceJoin	0	TID=1		 0 () INFO: -[WorkPlaceJoinUtil getRegistrationInformation:error:] [Line 257][2021-04-25 07:14:41 +0000]getRegistrationInformation: Retrieving certificate and identity
2021-04-25 07:14:41.963	VERB		WorkplaceJoin	0	TID=1		 0 () INFO: -[WorkPlaceJoinUtil getCertificateForAccessGroup:identity:certificate:] [Line 1307][2021-04-25 07:14:41 +0000]SGGM6D27TK.com.microsoft.workplacejoin
2021-04-25 07:14:41.965	VERB		WorkplaceJoin	0	TID=1		 0 () INFO: -[WorkPlaceJoinUtil getCertificateForAccessGroup:identity:certificate:] [Line 1366][2021-04-25 07:14:41 +0000]failed to retrieve identity from keychain for accessGroup:SGGM6D27TK.com.microsoft.workplacejoin with error: -25300
2021-04-25 07:14:41.966	VERB		WorkplaceJoin	0	TID=1		 0 () INFO: -[WorkPlaceJoinUtil getRegistrationInformation:error:] [Line 263][2021-04-25 07:14:41 +0000]getRegistrationInformation: Failed to retrieve certificate and identify
2021-04-25 07:14:41.966	VERB		WorkplaceJoin	0	TID=1		 0 () INFO: [2021-04-25 07:14:41 +0000]Error Domain=com.microsoft.workplacejoin.errordomain Code=-400 "getCertificateForAccessGroup: Unable to read from shared access group: SGGM6D27TK.com.microsoft.workplacejoin for identifier: WPJCertificate with error code: -25300" UserInfo={NSLocalizedDescription=getCertificateForAccessGroup: Unable to read from shared access group: SGGM6D27TK.com.microsoft.workplacejoin for identifier: WPJCertificate with error code: -25300, NSUnderlyingError=0x28184a9a0 {Error Domain=com.microsoft.workplacejoin.keychainerror Code=-25300 "(null)"}}
2021-04-25 07:14:41.968	VERB		WorkplaceJoin	0	TID=1		 0 () INFO: [2021-04-25 07:14:41 +0000]escapeXMLSpecialChars: Will escape special XML chars, if any
2021-04-25 07:14:41.968	VERB		WorkplaceJoin	0	TID=1		 0 () INFO: [2021-04-25 07:14:41 +0000]escapeXMLSpecialChars: Returning :14.4.2
2021-04-25 07:14:41.969	ERRO		PhoneFactor	0	TID=1		 82 (isWorkplaceJoinedAsSharedDevice()) Unable to get Work Place Join Registration Information
Error Domain=com.microsoft.workplacejoin.errordomain Code=-400 "getCertificateForAccessGroup: Unable to read from shared access group: SGGM6D27TK.com.microsoft.workplacejoin for identifier: WPJCertificate with error code: -25300" UserInfo={NSLocalizedDescription=getCertificateForAccessGroup: Unable to read from shared access group: SGGM6D27TK.com.microsoft.workplacejoin for identifier: WPJCertificate with error code: -25300, NSUnderlyingError=0x28184a9a0 {Error Domain=com.microsoft.workplacejoin.keychainerror Code=-25300 "(null)"}}
Inner Error: Error Domain=com.microsoft.workplacejoin.keychainerror Code=-25300 "(null)"
2021-04-25 07:14:41.971	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:41.985	VERB		PhoneFactor	0	TID=1		 739 (-[AccountTableViewController migrateMFASecretKeysIfNeeded]) Migrating MFA secret keys (if needed).
2021-04-25 07:14:41.987	VERB		Brooklyn	0	TID=1		 919 (handleAccountViewMode(forceTabSwitch:)) forceTabSwitch: false
2021-04-25 07:14:41.987	VERB		Brooklyn	0	TID=1		 958 (hideTabBar(shouldHide:)) shouldHide: true
2021-04-25 07:14:41.990	VERB		Brooklyn	0	TID=1		 941 (syncStatusOfDefaultAutofillProvider())
2021-04-25 07:14:41.991	VERB		Brooklyn	0	TID=1		 13 (isDefaultAutofillProvider(completion:))
2021-04-25 07:14:41.991	VERB		PhoneFactor	0	TID=1		 62 (-[FilteredAccountModel refetchResults])
2021-04-25 07:14:41.992	VERB		PhoneFactor	0	TID=1		 2046 (-[AccountTableViewController accountsDidChange])
2021-04-25 07:14:41.994	VERB		PhoneFactor	0	TID=1		 877 (-[AccountTableViewController canCheckForNotifications]) sessionApprovalMfaAccountExists: 0, sessionApprovalMsaAccountExists: 0, dosPreventerExists:0, aadNgcAccountExists: 0, currentlyCheckingForAuth:0
2021-04-25 07:14:41.994	VERB		PhoneFactor	0	TID=1		 710 (-[AccountTableViewController updateSecondaryViewsVisibility]) showing firstRunView
2021-04-25 07:14:41.995	VERB		PhoneFactor	0	TID=1		 1223 (-[AccountTableViewController checkForInitialWpjRequest]) Checking for WpjPasteboard.
2021-04-25 07:14:42.001	VERB		PhoneFactor	0	TID=1		 1272 (-[AccountTableViewController checkForInitialWpjRequest]) WpjPasteboard is empty or has unknown scheme.
2021-04-25 07:14:42.002	VERB		PhoneFactor	0	TID=1		 80 (-[NgcAccountUpgrader tryToUpgradeAccountsSilently]) No AAD NGC accounts to upgrade
2021-04-25 07:14:42.010	VERB		PhoneFactor	0	TID=1		 182 (getBackupAsync(backupName:mode:completionHandler:errorHandler:)) Getting backup with name Backup in mode 0
2021-04-25 07:14:42.010	VERB		PhoneFactor	0	TID=14		 223 (getBackupAsync(backupName:mode:completionHandler:errorHandler:)) No backup found in cache
2021-04-25 07:14:42.011	VERB		PhoneFactor	0	TID=14		 237 (getBackupAsync(backupName:mode:completionHandler:errorHandler:)) Downloading the backup from the cloud
2021-04-25 07:14:42.011	VERB		PhoneFactor	0	TID=14		 157 (getContainer(containerIdentifier:desiredKeys:completionHandler:errorHandler:)) Getting a CloudKitContainer with name:Backup type:MicrosoftAuthenticatorBackup from the CloudKit storage.
2021-04-25 07:14:42.023	VERB		Brooklyn	0	TID=1		 983 (shouldHideTabs()) shouldHideTabs: true, isBrooklynFeatureEnabled: true, isBrooklynEnabled: false, shouldShowVerifiableCredentialsTab: false
2021-04-25 07:14:42.027	VERB		Brooklyn	0	TID=1		 983 (shouldHideTabs()) shouldHideTabs: true, isBrooklynFeatureEnabled: true, isBrooklynEnabled: false, shouldShowVerifiableCredentialsTab: false
2021-04-25 07:14:42.032	VERB		Brooklyn	0	TID=1		 757 (shouldShowBottomBannerMessage(:)) shouldShowBottomBannerMessage: false
2021-04-25 07:14:42.034	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.035	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.036	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.036	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.037	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.037	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.038	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.038	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.038	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.039	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.039	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.042	INFO		AuthSDK 	0	TID=1		 45 (startNetworkMonitoring(withReachabilityManagerDelegate:)) Start network monitoring using Reachability
2021-04-25 07:14:42.042	VERB		PhoneFactor	0	TID=19		 30 (-[AccountModel(SyncAccounts) syncBrokerAccounts:]) Writing Broker accounts from Broker to storage.
2021-04-25 07:14:42.044	VERB		Brooklyn	0	TID=1		 46 (isSendFeedbackEnabled()) Is Send feedback enabled true
2021-04-25 07:14:42.047	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.050	INFO		ADBroker	0	TID=14		 0 () TID=248100 MSAL 1.1.16 iOS 14.4.2 [2021-04-25 07:14:42] Default app's access group: "SGGM6D27TK.com.microsoft.azureauthenticator".
2021-04-25 07:14:42.051	INFO		ADBroker	0	TID=14		 0 () TID=248100 MSAL 1.1.16 iOS 14.4.2 [2021-04-25 07:14:42] Using "SGGM6D27TK" Team ID.
2021-04-25 07:14:42.052	INFO		ADBroker	0	TID=14		 0 () TID=248100 MSAL 1.1.16 iOS 14.4.2 [2021-04-25 07:14:42] Init MSIDKeychainTokenCache with keychainGroup: SGGM6D27TK.com.microsoft.azureauthenticator
2021-04-25 07:14:42.053	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.054	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.054	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.055	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.055	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.056	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.056	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.057	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.058	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.058	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.059	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.063	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.064	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.074	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.073	INFO		ADBroker	0	TID=20		 0 () TID=248100 MSAL 1.1.16 iOS 14.4.2 [2021-04-25 07:14:42] ADB 3.1.22 +[ADBrokerAccountOperationManager getAllAccounts:]
2021-04-25 07:14:42.075	INFO		ADBroker	0	TID=20		 0 () TID=248100 MSAL 1.1.16 iOS 14.4.2 [2021-04-25 07:14:42] Init MSIDKeychainTokenCache with keychainGroup: SGGM6D27TK.com.microsoft.azureauthenticator
2021-04-25 07:14:42.078	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.076	INFO		ADBroker	0	TID=20		 0 () TID=248100 MSAL 1.1.16 iOS 14.4.2 [2021-04-25 07:14:42] Init MSIDKeychainTokenCache with keychainGroup: SGGM6D27TK.com.microsoft.adalcache
2021-04-25 07:14:42.079	INFO		ADBroker	0	TID=20		 0 () TID=248100 MSAL 1.1.16 iOS 14.4.2 [2021-04-25 07:14:42] ADB 3.1.22 -[ADBrokerAccountManager allBrokerAccounts:]
2021-04-25 07:14:42.080	INFO		ADBroker	0	TID=20		 0 () TID=248100 MSAL 1.1.16 iOS 14.4.2 [2021-04-25 07:14:42] ADB 3.1.22 -[ADBrokerAccountManager allMSIDBrokerAccounts:]
2021-04-25 07:14:42.081	INFO		ADBroker	0	TID=20		 0 () TID=248100 MSAL 1.1.16 iOS 14.4.2 [2021-04-25 07:14:42] (Default accessor) Get accounts.
2021-04-25 07:14:42.082	INFO		ADBroker	0	TID=20		 0 () TID=248100 MSAL 1.1.16 iOS 14.4.2 [2021-04-25 07:14:42] Keychain find status: -25300
2021-04-25 07:14:42.082	INFO		ADBroker	0	TID=20		 0 () TID=248100 MSAL 1.1.16 iOS 14.4.2 [2021-04-25 07:14:42] (Default accessor) Looking for token with aliases (null), tenant (null), clientId (null), scopes (null)
2021-04-25 07:14:42.083	INFO		ADBroker	0	TID=20		 0 () TID=248100 MSAL 1.1.16 iOS 14.4.2 [2021-04-25 07:14:42] (MSIDAccountCredentialCache) retrieving cached credentials using credential query
2021-04-25 07:14:42.083	INFO		ADBroker	0	TID=20		 0 () TID=248100 MSAL 1.1.16 iOS 14.4.2 [2021-04-25 07:14:42] Keychain find status: -25300
2021-04-25 07:14:42.083	INFO		ADBroker	0	TID=20		 0 () TID=248100 MSAL 1.1.16 iOS 14.4.2 [2021-04-25 07:14:42] (MSIDAccountCredentialCache) retrieved 0 cached credentials
2021-04-25 07:14:42.084	INFO		ADBroker	0	TID=20		 0 () TID=248100 MSAL 1.1.16 iOS 14.4.2 [2021-04-25 07:14:42] (MSIDAccountCredentialCache) credential query requires exact match with the cached credential items. Performing additional filtering checks.
2021-04-25 07:14:42.084	VERB		WorkplaceJoin	0	TID=19		 0 () INFO: [2021-04-25 07:14:42 +0000]escapeXMLSpecialChars: Will escape special XML chars, if any
2021-04-25 07:14:42.085	INFO		ADBroker	0	TID=20		 0 () TID=248100 MSAL 1.1.16 iOS 14.4.2 [2021-04-25 07:14:42] (MSIDAccountCredentialCache) returning 0 filtered credentials
2021-04-25 07:14:42.085	VERB		WorkplaceJoin	0	TID=19		 0 () INFO: [2021-04-25 07:14:42 +0000]escapeXMLSpecialChars: Returning :14.4.2
2021-04-25 07:14:42.085	INFO		ADBroker	0	TID=20		 0 () TID=248100 MSAL 1.1.16 iOS 14.4.2 [2021-04-25 07:14:42] (Default accessor) No accounts found in default accessor.
2021-04-25 07:14:42.086	INFO		ADBroker	0	TID=20		 0 () TID=248100 MSAL 1.1.16 iOS 14.4.2 [2021-04-25 07:14:42] Keychain find status: -25300
2021-04-25 07:14:42.086	INFO		ADBroker	0	TID=20		 0 () TID=248100 MSAL 1.1.16 iOS 14.4.2 [2021-04-25 07:14:42] (Default accessor) No accounts found in other accessors.
2021-04-25 07:14:42.086	INFO		ADBroker	0	TID=20		 0 () TID=248100 MSAL 1.1.16 iOS 14.4.2 [2021-04-25 07:14:42] (Default accessor) Looking for token with aliases (null), tenant (null), clientId (null), scopes (null)
2021-04-25 07:14:42.086	VERB		WorkplaceJoin	0	TID=19		 0 () INFO: -[WorkPlaceJoinUtil getRegistrationInformation:error:] [Line 240][2021-04-25 07:14:42 +0000]SGGM6D27TK.com.microsoft.workplacejoin
2021-04-25 07:14:42.087	INFO		ADBroker	0	TID=20		 0 () TID=248100 MSAL 1.1.16 iOS 14.4.2 [2021-04-25 07:14:42] (MSIDAccountCredentialCache) retrieving cached credentials using credential query
2021-04-25 07:14:42.087	VERB		WorkplaceJoin	0	TID=19		 0 () INFO: -[WorkPlaceJoinUtil getRegistrationInformation:error:] [Line 257][2021-04-25 07:14:42 +0000]getRegistrationInformation: Retrieving certificate and identity
2021-04-25 07:14:42.087	INFO		ADBroker	0	TID=20		 0 () TID=248100 MSAL 1.1.16 iOS 14.4.2 [2021-04-25 07:14:42] Keychain find status: -25300
2021-04-25 07:14:42.088	VERB		WorkplaceJoin	0	TID=19		 0 () INFO: -[WorkPlaceJoinUtil getCertificateForAccessGroup:identity:certificate:] [Line 1307][2021-04-25 07:14:42 +0000]SGGM6D27TK.com.microsoft.workplacejoin
2021-04-25 07:14:42.088	INFO		ADBroker	0	TID=20		 0 () TID=248100 MSAL 1.1.16 iOS 14.4.2 [2021-04-25 07:14:42] (MSIDAccountCredentialCache) retrieved 0 cached credentials
2021-04-25 07:14:42.089	INFO		ADBroker	0	TID=20		 0 () TID=248100 MSAL 1.1.16 iOS 14.4.2 [2021-04-25 07:14:42] (MSIDAccountCredentialCache) credential query requires exact match with the cached credential items. Performing additional filtering checks.
2021-04-25 07:14:42.089	INFO		ADBroker	0	TID=20		 0 () TID=248100 MSAL 1.1.16 iOS 14.4.2 [2021-04-25 07:14:42] (MSIDAccountCredentialCache) returning 0 filtered credentials
2021-04-25 07:14:42.089	VERB		WorkplaceJoin	0	TID=19		 0 () INFO: -[WorkPlaceJoinUtil getCertificateForAccessGroup:identity:certificate:] [Line 1366][2021-04-25 07:14:42 +0000]failed to retrieve identity from keychain for accessGroup:SGGM6D27TK.com.microsoft.workplacejoin with error: -25300
2021-04-25 07:14:42.090	VERB		WorkplaceJoin	0	TID=19		 0 () INFO: -[WorkPlaceJoinUtil getRegistrationInformation:error:] [Line 263][2021-04-25 07:14:42 +0000]getRegistrationInformation: Failed to retrieve certificate and identify
2021-04-25 07:14:42.091	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.091	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.092	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.093	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.093	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.091	VERB		WorkplaceJoin	0	TID=19		 0 () INFO: [2021-04-25 07:14:42 +0000]Error Domain=com.microsoft.workplacejoin.errordomain Code=-400 "getCertificateForAccessGroup: Unable to read from shared access group: SGGM6D27TK.com.microsoft.workplacejoin for identifier: WPJCertificate with error code: -25300" UserInfo={NSLocalizedDescription=getCertificateForAccessGroup: Unable to read from shared access group: SGGM6D27TK.com.microsoft.workplacejoin for identifier: WPJCertificate with error code: -25300, NSUnderlyingError=0x28183ab50 {Error Domain=com.microsoft.workplacejoin.keychainerror Code=-25300 "(null)"}}
2021-04-25 07:14:42.093	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.094	VERB		WorkplaceJoin	0	TID=19		 0 () INFO: [2021-04-25 07:14:42 +0000]escapeXMLSpecialChars: Will escape special XML chars, if any
2021-04-25 07:14:42.094	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.095	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.094	VERB		WorkplaceJoin	0	TID=19		 0 () INFO: [2021-04-25 07:14:42 +0000]escapeXMLSpecialChars: Returning :14.4.2
2021-04-25 07:14:42.095	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.096	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.096	VERB		PhoneFactor	0	TID=19		 55 (-[AccountModel(SyncAccounts) syncBrokerAccounts:]) Removing Broker accounts that are no longer in Broker.
2021-04-25 07:14:42.098	VERB		PhoneFactor	0	TID=19		 111 (-[AccountModel(SyncAccounts) syncWPJAccounts:]) Sync WPJ account.
2021-04-25 07:14:42.099	VERB		WorkplaceJoin	0	TID=19		 0 () INFO: [2021-04-25 07:14:42 +0000]escapeXMLSpecialChars: Will escape special XML chars, if any
2021-04-25 07:14:42.099	VERB		WorkplaceJoin	0	TID=19		 0 () INFO: [2021-04-25 07:14:42 +0000]escapeXMLSpecialChars: Returning :14.4.2
2021-04-25 07:14:42.101	VERB		PhoneFactor	0	TID=1		 675 (-[PhoneFactorAppDelegate applicationDidBecomeActive:])
2021-04-25 07:14:42.102	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.101	VERB		WorkplaceJoin	0	TID=19		 0 () INFO: -[WorkPlaceJoinUtil getRegistrationInformation:error:] [Line 240][2021-04-25 07:14:42 +0000]SGGM6D27TK.com.microsoft.workplacejoin
2021-04-25 07:14:42.103	VERB		WorkplaceJoin	0	TID=19		 0 () INFO: -[WorkPlaceJoinUtil getRegistrationInformation:error:] [Line 257][2021-04-25 07:14:42 +0000]getRegistrationInformation: Retrieving certificate and identity
2021-04-25 07:14:42.104	VERB		WorkplaceJoin	0	TID=19		 0 () INFO: -[WorkPlaceJoinUtil getCertificateForAccessGroup:identity:certificate:] [Line 1307][2021-04-25 07:14:42 +0000]SGGM6D27TK.com.microsoft.workplacejoin
2021-04-25 07:14:42.106	VERB		WorkplaceJoin	0	TID=19		 0 () INFO: -[WorkPlaceJoinUtil getCertificateForAccessGroup:identity:certificate:] [Line 1366][2021-04-25 07:14:42 +0000]failed to retrieve identity from keychain for accessGroup:SGGM6D27TK.com.microsoft.workplacejoin with error: -25300
2021-04-25 07:14:42.108	VERB		WorkplaceJoin	0	TID=19		 0 () INFO: -[WorkPlaceJoinUtil getRegistrationInformation:error:] [Line 263][2021-04-25 07:14:42 +0000]getRegistrationInformation: Failed to retrieve certificate and identify
2021-04-25 07:14:42.109	VERB		WorkplaceJoin	0	TID=19		 0 () INFO: [2021-04-25 07:14:42 +0000]Error Domain=com.microsoft.workplacejoin.errordomain Code=-400 "getCertificateForAccessGroup: Unable to read from shared access group: SGGM6D27TK.com.microsoft.workplacejoin for identifier: WPJCertificate with error code: -25300" UserInfo={NSLocalizedDescription=getCertificateForAccessGroup: Unable to read from shared access group: SGGM6D27TK.com.microsoft.workplacejoin for identifier: WPJCertificate with error code: -25300, NSUnderlyingError=0x2818aa370 {Error Domain=com.microsoft.workplacejoin.keychainerror Code=-25300 "(null)"}}
2021-04-25 07:14:42.112	VERB		WorkplaceJoin	0	TID=19		 0 () INFO: [2021-04-25 07:14:42 +0000]escapeXMLSpecialChars: Will escape special XML chars, if any
2021-04-25 07:14:42.113	VERB		WorkplaceJoin	0	TID=19		 0 () INFO: [2021-04-25 07:14:42 +0000]escapeXMLSpecialChars: Returning :14.4.2
2021-04-25 07:14:42.115	ERRO		PhoneFactor	0	TID=19		 41 (+[AADWrapper syncWithWpjLibrary]) Error from WPJ registration info.
Error Domain=com.microsoft.workplacejoin.errordomain Code=-400 "getCertificateForAccessGroup: Unable to read from shared access group: SGGM6D27TK.com.microsoft.workplacejoin for identifier: WPJCertificate with error code: -25300" UserInfo={NSLocalizedDescription=getCertificateForAccessGroup: Unable to read from shared access group: SGGM6D27TK.com.microsoft.workplacejoin for identifier: WPJCertificate with error code: -25300, NSUnderlyingError=0x2818aa370 {Error Domain=com.microsoft.workplacejoin.keychainerror Code=-25300 "(null)"}}
Inner Error: Error Domain=com.microsoft.workplacejoin.keychainerror Code=-25300 "(null)"
2021-04-25 07:14:42.120	INFO		PhoneFactor	0	TID=19		 48 (+[AADWrapper syncWithWpjLibrary]) Device not WPJed.
2021-04-25 07:14:42.122	VERB		PhoneFactor	0	TID=19		 99 (-[AccountTableViewControllerDataProvider logCurrentAccountsForController:]) Accounts in the app:
2021-04-25 07:14:42.124	VERB		PhoneFactor	0	TID=19		 100 (-[AccountTableViewControllerDataProvider logCurrentAccountsForController:]) Workplace joined: NO
2021-04-25 07:14:42.125	VERB		PhoneFactor	0	TID=9		 215 (downloadInternal(recordIDs:desiredKeys:completionHandler:)) Downloading a CKRecord.
2021-04-25 07:14:42.142	VERB		AuthSDK 	0	TID=1		 134 (-[ASDKAccountTableViewController applicationDidBecomeActive:])
2021-04-25 07:14:42.143	INFO		AuthSDK 	0	TID=1		 45 (startNetworkMonitoring(withReachabilityManagerDelegate:)) Start network monitoring using Reachability
2021-04-25 07:14:42.144	VERB		PhoneFactor	0	TID=1		 798 (-[AccountTableViewController startUpOathCodeTimer])
2021-04-25 07:14:42.155	VERB		Brooklyn	0	TID=1		 983 (shouldHideTabs()) shouldHideTabs: true, isBrooklynFeatureEnabled: true, isBrooklynEnabled: false, shouldShowVerifiableCredentialsTab: false
2021-04-25 07:14:42.157	VERB		Brooklyn	0	TID=1		 983 (shouldHideTabs()) shouldHideTabs: true, isBrooklynFeatureEnabled: true, isBrooklynEnabled: false, shouldShowVerifiableCredentialsTab: false
2021-04-25 07:14:42.158	VERB		Brooklyn	0	TID=1		 757 (shouldShowBottomBannerMessage(:)) shouldShowBottomBannerMessage: false
2021-04-25 07:14:42.158	VERB		PhoneFactor	0	TID=11		 110 (canEvaluatePolicy(policy:)) Error received when trying to evaluate LAPolicy 1, error code=-7, error description=No identities are enrolled.
2021-04-25 07:14:42.162	VERB		PhoneFactor	0	TID=11		 110 (canEvaluatePolicy(policy:)) Error received when trying to evaluate LAPolicy 1, error code=-7, error description=No identities are enrolled.
2021-04-25 07:14:42.166	INFO		PhoneFactor	0	TID=11		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.244	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.245	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.246	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.247	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.247	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.248	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.249	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.250	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.250	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.250	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.251	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.872	VERB		PhoneFactor	0	TID=1		 468 (-[AccountTableViewController setupNavigationBarForNormalAccountsView])
2021-04-25 07:14:42.877	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.881	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.882	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.884	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.885	VERB		PhoneFactor	0	TID=1		 468 (-[AccountTableViewController setupNavigationBarForNormalAccountsView])
2021-04-25 07:14:42.886	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.887	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.888	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.906	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.908	VERB		PhoneFactor	0	TID=1		 468 (-[AccountTableViewController setupNavigationBarForNormalAccountsView])
2021-04-25 07:14:42.909	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.910	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.910	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.911	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.912	VERB		Brooklyn	0	TID=1		 983 (shouldHideTabs()) shouldHideTabs: true, isBrooklynFeatureEnabled: true, isBrooklynEnabled: false, shouldShowVerifiableCredentialsTab: false
2021-04-25 07:14:42.912	VERB		Brooklyn	0	TID=1		 757 (shouldShowBottomBannerMessage(:)) shouldShowBottomBannerMessage: false
2021-04-25 07:14:42.915	INFO		AuthSDK 	0	TID=1		 71 (startNetworkMonitoring(withReachabilityManagerDelegate:)) Reachable via wifi
2021-04-25 07:14:42.933	VERB		Brooklyn	0	TID=1		 941 (syncStatusOfDefaultAutofillProvider())
2021-04-25 07:14:42.934	VERB		Brooklyn	0	TID=1		 13 (isDefaultAutofillProvider(completion:))
2021-04-25 07:14:42.934	VERB		PhoneFactor	0	TID=1		 468 (-[AccountTableViewController setupNavigationBarForNormalAccountsView])
2021-04-25 07:14:42.936	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:42.937	INFO		PhoneFactor	0	TID=1		 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
<div dir="auto

@anotherrohit can you confirm if you hit the error once you scan the barcode or in the step after that once you are receiving a response from scanning the barcode?
to reproduce the steps are:

node app.js on the verifier app
ngrok 8082
click on the <https:// proxied URL>
scan the bar code
observe the error

Is that correct?

Yes during validate credential step with ngrok 8082. I get a different error when i hit the direct URL instead of the reverse proxy ngrok URL now
CNSUELErrorDomain code -1004
2021-04-25 07:14:41.409 INFO MSA_SDK 0 TID=1 23 (+[MSALogger setLogCallback:]) MSA logging initialized, SDK version <IP_ADDRESS>120
2021-04-25 07:14:41.426 VERB PhoneFactor 0 TID=1 551 (-[PhoneFactorAppDelegate application:didFinishLaunchingWithOptions:]) App version: 6.5.53
2021-04-25 07:14:41.434 VERB PhoneFactor 0 TID=1 80 (-[TelemetryManager startTelemetry])
2021-04-25 07:14:41.434 VERB PhoneFactor 0 TID=1 109 (-[ApplicationSettings init])
2021-04-25 07:14:41.507 VERB PhoneFactor 0 TID=1 92 (-[TelemetryManager startTelemetry]) Diagnostic data swtich: ON
2021-04-25 07:14:41.533 INFO MSA_SDK 0 TID=1 25 (+[MSATelemetry setTelemetryCallback:]) MSA Telemetry initialized, SDK version <IP_ADDRESS>120
2021-04-25 07:14:41.537 VERB PhoneFactor 0 TID=1 1103 (-[PhoneFactorAppDelegate finishAppLaunchSetupIfNeeded])
2021-04-25 07:14:41.543 VERB PhoneFactor 0 TID=1 120 (sendTasRequest()) Send request to TAS to retrieve flightId.
2021-04-25 07:14:41.545 ERRO PhoneFactor 0 TID=1 79 (read(withCaseSensitiveKey:)) Failed to read data for key:appAnonID from keychain. Item not found.
2021-04-25 07:14:41.547 ERRO PhoneFactor 0 TID=1 252 (readHockeyAppUserId()) Failed to read HockeyApp appAnonID: NotFound
2021-04-25 07:14:41.550 VERB PhoneFactor 0 TID=1 50 (+[NotificationManager registerForNotifications])
2021-04-25 07:14:41.550 VERB PhoneFactor 0 TID=1 179 (-[NotificationsRegistrationManager registerSilently:completion:]) Registering for notifications. isSilent: 1
2021-04-25 07:14:41.551 INFO PhoneFactor 0 TID=1 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:41.555 INFO PhoneFactor 0 TID=1 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:41.555 VERB Watch 0 TID=14 931 (-[PhoneFactorAppDelegate session:activationDidCompleteWithState:error:]) Session activation state: 2
2021-04-25 07:14:41.556 VERB Brooklyn 0 TID=1 10 (deleteAllBrooklynData())
2021-04-25 07:14:41.557 VERB Brooklyn 0 TID=1 198 (deleteAllBrooklynAutofillData())
2021-04-25 07:14:41.556 VERB Watch 0 TID=14 932 (-[PhoneFactorAppDelegate session:activationDidCompleteWithState:error:]) Session isReachable: NO
2021-04-25 07:14:41.557 VERB Brooklyn 0 TID=1 150 (delete(account🏷serviceName:))
2021-04-25 07:14:41.557 VERB Brooklyn 0 TID=1 60 (setupKeychainQueryDictionary(for:))
2021-04-25 07:14:41.557 INFO PhoneFactor 0 TID=14 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config.
2021-04-25 07:14:41.559 VERB MSA_SDK 0 TID=1 175 (-[MSAKeychainStorage addOrUpdateItemAtKey:item:error:]) Adding new item in keychain: (57)
2021-04-25 07:14:41.562 VERB PhoneFactor 0 TID=15 57 (+[NotificationManager registerForNotifications]_block_invoke) Update result: 3
2021-04-25 07:14:41.566 INFO MSA_SDK 0 TID=1 99 (+[MSAAccessGroupDetector getApplicationDefaultAccessGroup]block_invoke) Default app access group detected: com.microsoft.azureauthenticator 2021-04-25 07:14:41.567 INFO MSA_SDK 0 TID=1 27 (+[MSAAccessGroupDetector getApplicationPrefix]) Application bundle prefix detected: SGGM6D27TK 2021-04-25 07:14:41.569 ERRO Brooklyn 0 TID=1 203 (deleteAllBrooklynAutofillData()) Failed to delete all user credential data from keychain. OSStatus: -25300, operationStatus: NotFound 2021-04-25 07:14:41.570 VERB Brooklyn 0 TID=1 85 (deleteAllFaviconMetadata()) 2021-04-25 07:14:41.570 VERB Brooklyn 0 TID=1 150 (delete(account🏷serviceName:)) 2021-04-25 07:14:41.571 VERB Brooklyn 0 TID=1 60 (setupKeychainQueryDictionary(for:)) 2021-04-25 07:14:41.572 ERRO Brooklyn 0 TID=1 90 (deleteAllFaviconMetadata()) Failed to delete all favicon metadata from keychain. OSStatus: -25300, operationStatus: NotFound 2021-04-25 07:14:41.572 VERB Brooklyn 0 TID=1 41 (deleteCSVString()) 2021-04-25 07:14:41.573 VERB Brooklyn 0 TID=1 150 (delete(account🏷serviceName:)) 2021-04-25 07:14:41.573 VERB Brooklyn 0 TID=1 60 (setupKeychainQueryDictionary(for:)) 2021-04-25 07:14:41.574 ERRO Brooklyn 0 TID=1 46 (deleteCSVString()) Failed to delete import csv string from keychain. OSStatus: -25300, operationStatus: NotFound 2021-04-25 07:14:41.574 VERB PhoneFactor 0 TID=16 249 (-[AccountModel(SyncAccounts) syncMSAAccounts:error:accountsNotInSDK:]) Look for accounts in MSA SDK 2021-04-25 07:14:41.582 INFO PhoneFactor 0 TID=16 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config. 2021-04-25 07:14:41.595 VERB Brooklyn 0 TID=16 13 (isDefaultAutofillProvider(completion:)) 2021-04-25 07:14:41.652 VERB Brooklyn 0 TID=16 472 (getSDKVersion()) 2021-04-25 07:14:41.654 INFO PhoneFactor 0 TID=16 116 (isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist or is not a boolean/string in MDM Config. 2021-04-25 07:14:41.947 VERB PhoneFactor 0 TID=1 45 (retrieveMetadata()) 2021-04-25 07:14:41.948 VERB PhoneFactor 0 TID=1 64 (readObjectFromFile(:)) Unarchiving object.

Correct the error occurs immediately when the barcode is scanned
On Wed, Apr 28, 2021 at 3:08 AM Juan Camilo ruiz @.***>
wrote:

@anotherrohit https://github.com/anotherrohit can you confirm if you
hit the error once you scan the barcode or in the step after that once you
are receiving a response from scanning the barcode?
to reproduce the steps are:

node app.js on the verifier app
ngrok 8082
click on the <https:// proxied URL>
scan the bar code
observe the error

Is that correct?
Yes during validate credential step with ngrok 8082. I get a different
error when i hit the direct URL instead of the reverse proxy ngrok URL now
CNSUELErrorDomain code -1004
2021-04-25 07:14:41.409 INFO MSA_SDK 0 TID=1 23 (+[MSALogger
setLogCallback:]) MSA logging initialized, SDK version <IP_ADDRESS>120
2021-04-25 07:14:41.426 VERB PhoneFactor 0 TID=1 551
(-[PhoneFactorAppDelegate application:didFinishLaunchingWithOptions:]) App
version: 6.5.53
2021-04-25 07:14:41.434 VERB PhoneFactor 0 TID=1 80 (-[TelemetryManager
startTelemetry])
2021-04-25 07:14:41.434 VERB PhoneFactor 0 TID=1 109
(-[ApplicationSettings init])
2021-04-25 07:14:41.507 VERB PhoneFactor 0 TID=1 92 (-[TelemetryManager
startTelemetry]) Diagnostic data swtich: ON
2021-04-25 07:14:41.533 INFO MSA_SDK 0 TID=1 25 (+[MSATelemetry
setTelemetryCallback:]) MSA Telemetry initialized, SDK version <IP_ADDRESS>120
2021-04-25 07:14:41.537 VERB PhoneFactor 0 TID=1 1103
(-[PhoneFactorAppDelegate finishAppLaunchSetupIfNeeded])
2021-04-25 07:14:41.543 VERB PhoneFactor 0 TID=1 120 (sendTasRequest())
Send request to TAS to retrieve flightId.
2021-04-25 07:14:41.545 ERRO PhoneFactor 0 TID=1 79
(read(withCaseSensitiveKey:)) Failed to read data for key:appAnonID from
keychain. Item not found.
2021-04-25 07:14:41.547 ERRO PhoneFactor 0 TID=1 252
(readHockeyAppUserId()) Failed to read HockeyApp appAnonID: NotFound
2021-04-25 07:14:41.550 VERB PhoneFactor 0 TID=1 50 (+[NotificationManager
registerForNotifications])
2021-04-25 07:14:41.550 VERB PhoneFactor 0 TID=1 179
(-[NotificationsRegistrationManager registerSilently:completion:])
Registering for notifications. isSilent: 1
2021-04-25 07:14:41.551 INFO PhoneFactor 0 TID=1 116
(isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist
or is not a boolean/string in MDM Config.
2021-04-25 07:14:41.555 INFO PhoneFactor 0 TID=1 116
(isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist
or is not a boolean/string in MDM Config.
2021-04-25 07:14:41.555 VERB Watch 0 TID=14 931 (-[PhoneFactorAppDelegate
session:activationDidCompleteWithState:error:]) Session activation state: 2
2021-04-25 07:14:41.556 VERB Brooklyn 0 TID=1 10 (deleteAllBrooklynData())
2021-04-25 07:14:41.557 VERB Brooklyn 0 TID=1 198
(deleteAllBrooklynAutofillData())
2021-04-25 07:14:41.556 VERB Watch 0 TID=14 932 (-[PhoneFactorAppDelegate
session:activationDidCompleteWithState:error:]) Session isReachable: NO
2021-04-25 07:14:41.557 VERB Brooklyn 0 TID=1 150 (delete(account🏷
serviceName:))
2021-04-25 07:14:41.557 VERB Brooklyn 0 TID=1 60
(setupKeychainQueryDictionary(for:))
2021-04-25 07:14:41.557 INFO PhoneFactor 0 TID=14 116
(isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist
or is not a boolean/string in MDM Config.
2021-04-25 07:14:41.559 VERB MSA_SDK 0 TID=1 175 (-[MSAKeychainStorage
addOrUpdateItemAtKey:item:error:]) Adding new item in keychain: (57)
2021-04-25 07:14:41.562 VERB PhoneFactor 0 TID=15 57
(+[NotificationManager registerForNotifications]_block_invoke) Update
result: 3
2021-04-25 07:14:41.566 INFO MSA_SDK 0 TID=1 99 (+[MSAAccessGroupDetector
getApplicationDefaultAccessGroup]block_invoke) Default app access group
detected: com.microsoft.azureauthenticator 2021-04-25 07:14:41.567 INFO
MSA_SDK 0 TID=1 27 (+[MSAAccessGroupDetector getApplicationPrefix])
Application bundle prefix detected: SGGM6D27TK 2021-04-25 07:14:41.569 ERRO
Brooklyn 0 TID=1 203 (deleteAllBrooklynAutofillData()) Failed to delete all
user credential data from keychain. OSStatus: -25300, operationStatus:
NotFound 2021-04-25 07:14:41.570 VERB Brooklyn 0 TID=1 85
(deleteAllFaviconMetadata()) 2021-04-25 07:14:41.570 VERB Brooklyn 0 TID=1
150 (delete(account🏷serviceName:)) 2021-04-25 07:14:41.571 VERB Brooklyn
0 TID=1 60 (setupKeychainQueryDictionary(for:)) 2021-04-25 07:14:41.572
ERRO Brooklyn 0 TID=1 90 (deleteAllFaviconMetadata()) Failed to delete all
favicon metadata from keychain. OSStatus: -25300, operationStatus: NotFound
2021-04-25 07:14:41.572 VERB Brooklyn 0 TID=1 41 (deleteCSVString())
2021-04-25 07:14:41.573 VERB Brooklyn 0 TID=1 150
(delete(account🏷serviceName:)) 2021-04-25 07:14:41.573 VERB Brooklyn 0
TID=1 60 (setupKeychainQueryDictionary(for:)) 2021-04-25 07:14:41.574 ERRO
Brooklyn 0 TID=1 46 (deleteCSVString()) Failed to delete import csv string
from keychain. OSStatus: -25300, operationStatus: NotFound 2021-04-25
07:14:41.574 VERB PhoneFactor 0 TID=16 249 (-[AccountModel(SyncAccounts)
syncMSAAccounts:error:accountsNotInSDK:]) Look for accounts in MSA SDK
2021-04-25 07:14:41.582 INFO PhoneFactor 0 TID=16 116
(isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist
or is not a boolean/string in MDM Config. 2021-04-25 07:14:41.595 VERB
Brooklyn 0 TID=16 13 (isDefaultAutofillProvider(completion:)) 2021-04-25
07:14:41.652 VERB Brooklyn 0 TID=16 472 (getSDKVersion()) 2021-04-25
07:14:41.654 INFO PhoneFactor 0 TID=16 116
(isMDMSharedDeviceConfigPresent()) Shared Device Mode Flag does not exist
or is not a boolean/string in MDM Config. 2021-04-25 07:14:41.947 VERB
PhoneFactor 0 TID=1 45 (retrieveMetadata()) 2021-04-25 07:14:41.948 VERB
PhoneFactor 0 TID=1 64 (readObjectFromFile(:)) Unarchiving object.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/74331#issuecomment-828332036,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAC7ITD5OG7KMEBINVBUU7LTK7NA3ANCNFSM43Q7QU2Q
.

After the credentials are registered I noticed the credentials also need to
be registers with azure b2c tenant. Is this a prerequisite? I do not have
an privileges and a directory role for b2c tenant. Is this the cause for
verification to fail with the error mentioned above?
On Tue, May 11, 2021 at 4:03 AM Juan Camilo ruiz @.***>
wrote:

Sorry about the delay @anotherrohit https://github.com/anotherrohit.
Can you tried again, I just tested the flow from scratch on my end with the
most recent version of authenticator and everything is working on my end
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/74331#issuecomment-838276603,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAC7ITGZDTEYFY6ATRQDP5LTNEFH3ANCNFSM43Q7QU2Q
.

In the first part of the tutorial, you use a b2c instance from Microsoft. It's not a pre-requisite that you have one. In the how-to, once you scan the QR Code you request a credential from the issuer (the b2c tenant) in order to obtain a signed credential you do an idToken exchange between the authenticator and the b2c tenant by signing in or registering for an account. After successfully sign in, you should obtain a sign verifiable credential in your authenticator.

@anotherrohit I hope the answer helped. If you have other questions please let us know. #please-close


(rpc,script): add get block rpc interface, add monitor script.

Codecov Report

Merging #588 (7fe7cd0) into feature-1.3.2 (db7f185) will decrease coverage by 0.24%.
The diff coverage is 1.41%.

:exclamation: Current head 7fe7cd0 differs from pull request most recent head 45d5979. Consider uploading reports for the commit 45d5979 to get more accurate results

Additional details and impacted files

@@                 Coverage Diff                 @@
##             feature-1.3.2     #588      +/-   ##
===================================================
- Coverage            15.57%   15.33%   -0.24%
  Complexity             441      441
===================================================
  Files                  185      186       +1
  Lines                 8692     8827     +135
  Branches               748      751       +3
===================================================
  Hits                  1354     1354
- Misses                7220     7355     +135
  Partials               118      118

Files Changed
Coverage Δ

src/main/java/com/webank/wecross/Generator.java
0.00% <0.00%> (ø)

...ecross/network/rpc/handler/ResourceURIHandler.java
3.31% <0.00%> (-0.24%)
:arrow_down:

...wecross/network/rpc/handler/SystemInfoHandler.java
2.50% <0.00%> (-0.65%)
:arrow_down:

...wecross/restserver/fetcher/TransactionFetcher.java
3.24% <0.00%> (-0.36%)
:arrow_down:

...ebank/wecross/restserver/request/BlockRequest.java
0.00% <0.00%> (ø)

...stserver/response/CompleteTransactionResponse.java
0.00% <ø> (ø)

src/main/java/com/webank/wecross/stub/Block.java
50.00% <ø> (ø)

...main/java/com/webank/wecross/stub/Transaction.java
33.33% <ø> (-4.17%)
:arrow_down:

...oss/network/rpc/handler/TransactionURIHandler.java
3.27% <1.51%> (-1.00%)
:arrow_down:

...bank/wecross/network/rpc/URIHandlerDispatcher.java
82.55% <100.00%> (+0.20%)
:arrow_up:


chore(main): release 0.31.2

:robot: I have created a release beep boop
0.31.2 (2024-12-13)
Bug Fixes

log error if activation fails (286dd0f)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.31.2
:sunflower:


awaited should be removed from keywords

TS and JS Grammar Extension version:  0.0.55 / latest
Code
// Please include a code snippet that demonstrates the issue
type N = awaited Promise<number>;
type NN = randomText Promise<number>;

awaited is highlighted incorrectly in vscode, which makes me think it's a keyword.

It is a keyword in TypeScript https://github.com/microsoft/TypeScript/pull/35998 👍🏻

😏   That's how I thought yesterday and got stuck by Cannot find name 'awaited'. But actually, it has been reverted. There no SyntaxKind.AwaitedKeyword anymore.

Strange, there's still tests in the compiler for it...

Thanks for the PR @Zzzen  - fixed in #875


Allowing OSPRay to export modern CMake targets during installation (and build)

Hi All,
brief
I just made some changes in OSPRay's cmake system so that we can export ospray's targets during building and installation, however, one can still use the osprayConfig.cmake as before since nothing was deleted.
what has been changed
Basically I add export targets for all the libraries created by the ospray_create_library macro under the namespace ospray::. Therefore a 3rd party application can now easily link to an ospray target using one line target_link_libraries(<target> ... ospray::ospray ospray::ospray_common ...), without the need of worrying about, for example, setting up include targets. Application can now also link against module libraries if it is desired. I also made some external libraries PRIVATE such as glfw since we don't want to export them through ospray.
note
I have ran some test for those changes, but certainly I don't think I have tested all the cases. Let me know if there are things I should fix :)
Best
Qi

Thank you Qi!  This was an interesting read on the topic for me: https://pabloariasal.github.io/2018/02/19/its-time-to-do-cmake-right/ .    If I follow this correclty, you have created an export target for every generated library, but we dont' want users using our internal libraries. For example you mention the glfw dependancy, the app libraries are not meant to be used externally period. @jeffamstutz thoughts?

Hi Carson
Yes, the good things about target is, a target can carry lots of informations (e.g. include directories, compile definitions and even linkages to other targets) that we have to manually setup before.

If I follow this correclty, you have created an export target for every generated library

Yes, from the perspective of CMake, if a target is built internally in the project, the target should be exported. In fact one exported target implies there is one library file associated to it.

But we dont' want users using our internal libraries.

It may cause problems if such an internal library is linked by any targets we want to export. For example, if we only allow users to use ospray::ospray, all the internal dependencies (those dependencies cannot be found outside ospray) for ospray::ospray should be exported. Which is why it is okay to ser glfw target PRIVATE since applications can supply glfw themselves if they are building glfw applications. However we can certainly put those libraries under a different namespace, say _ospray_:: and "hide" them from users ... Users won't use them if they don't manually include them ... But they need to be exported because other targets depends on it, and those important targets need to know where to find those "hidden" libraries on disk.
However it is fine if these internal libraries are not linked by exported targets such as ospray::ospray or ospray::ospray_common, or if those libraries are linked by executables ... There are several ways to exclude them from the export list:

we can certainly call cmake functions add_library and target_link_directories directly and don't call make them installed/exported.

we can also add parameters for ospray_create_libraries and don't add them in the export list OSPRAY_TARGET_LIST

Qi

For example, if we only allow users to use ospray::ospray, all the internal dependencies (those dependencies cannot be found outside ospray) for ospray::ospray should be exported

Yes, but my concern is that you have made a list of targets which include libraries built for our apps only.  naming them to another namespace such as osprayinternal:: may work, but it sounds better to me if they aren't exported targets at all.

Yes, but my concern is that you have made a list of targets which include libraries built for our apps only. naming them to another namespace such as osprayinternal:: may work, but it sounds better to me if they aren't exported targets at all.

for those targets, we need a new parameter in our cmake macro to distinguish them. I can add that functionality, but I am not entirely sure which libraries are needed and which are not.

Hi Carson
I just added the support for explicitly turn-off export for target. By adding EXCLUDE_FROM_EXPORT parameter to OSPRAY_CREATE_LIBRARY will automatically exclude targets from exporting. I also added this flag for all the targets under the app folder
Qi

Cool, thanks Qi! Modern CMake exported targets for OSPRay is something that I've been wanting as well. I'll have to test this a bit, but for now I have one smaller comment. I think it would be better to have libraries opt-in to be exported instead of opt-out, as you have now. This would make it easier for writing modules (which shouldn't be exported as targets to link against), since the end-user wouldn't need to change their code. Then in the rarer case we do want a module to be exported (e.g., maybe the ISPC module) we can add a EXPORT_LIBRARY in the create library call.

I think it would be better to have libraries opt-in to be exported instead of opt-out, as you have now.

I have changed that ... so now you just need to add EXPORT somewhere in the CREATE_OSPRAY_LIBRARY call to export a target.

Hi Qi,
Thanks for taking the time to work this out! We are very focused on SIGGRAPH right now, but after that I'd be happy to take this and fully "modernize" OSPRay's CMake....it's been a long time coming! It helps to know that an external collaborator would benefit from modernizing.

Also FYI, I'll probably merge this into a different branch I can work on to verify our CI environment still works.

Certainly Jeff! Close this PR whenever you think it is okay :D

Hi All, @jeffamstutz @carsonbrownlee @Twinklebear
I added some updates after following Ben's helpful advices @mathstuf
Comparing to the previous update, I added the following thing:

I added install rules for ospray and ospray_common's include path as you can see here and here. I set only the install rule because I don't want to break ospray's include_directories machanism that has been already widely used. Also I didn't add this rules to all targets ... well certainly we should, ... but I think if a user is using, say, ospray_module_xxx without linking against to ospray, it is a problem already ...

I also removed snappy from the public linkage. I think a 3rd party app should supply snappy itself if needed ... see code1 and code2

and I used a global property to hold the export list instead of a cache ...


Remove debug logging messages.

Bug Report
What did you do?

Initialize operator with init command
Add API's using create api will those debug messages.

What did you expect to see?
No debug message will shown after above steps.
What did you see instead? Under which circumstances?
Nothing will be shown. Operator will be created successfully.
Environment
Operator type:

Kubernetes cluster type:

$ operator-sdk version
 operator-sdk version: "v1.7.1-15-g7391ad2c", commit: "7391ad2ce55487c484a6e0c5f37e4c1148e69452", kubernetes version: "v1.19.4", go version: "go1.15.10", GOOS: "darwin", GOARCH: "amd64"
$ java -version (if language is Java)

openjdk version "16" 2021-03-16
OpenJDK Runtime Environment (build 16+36-2231)
OpenJDK 64-Bit Server VM (build 16+36-2231, mixed mode, sharing)
$ kubectl version

Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.7", GitCommit:"1dd5338295409edcfff11505e7bb246f0d325d15", GitTreeState:"clean", BuildDate:"2021-01-13T13:23:52Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.2", GitCommit:"faecb196815e248d3ecfb03c680a4507229c2a56", GitTreeState:"clean", BuildDate:"2021-01-13T13:20:00Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}
Possible Solution
 remove all debug messages from code.
Additional context
 Nope

Raised PR for this issue #16


Multi-stage cluster addons: Rename helmChartName to name in clusteraddon.yaml

/kind feature
Describe the solution you'd like
We name the stage "helmChartName" currently, even though it is not the helm chart name at all, but rather the name of the folder where the helm chart is inside. We should therefore rename the key in clusteraddon.yaml from "helmChartName" to "name".
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:

cluster-stack-operator version:
Kubernetes version: (use kubectl version)
OS (e.g. from /etc/os-release):

duplicate of #199


editetd old configs and test for loader

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes #
Status
READY | UNDER DEVELOPMENT | ON HOLD
Type of change
Please delete options that are not relevant.

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)
Breaking change (fix or feature that would cause existing functionality to not work as expected)
This change requires a documentation update
Documentation (fix or adds documentation)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration.

Test A
Test B

Checklist:

[ ] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation (if applicable)
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Codecov Report

Merging #5 into master will increase coverage by 0.86%.
The diff coverage is 90%.

@@            Coverage Diff             @@
##           master       #5      +/-   ##
==========================================
+ Coverage   98.78%   99.65%   +0.86%
==========================================
  Files          38       38
  Lines        2301     2306       +5
==========================================
+ Hits         2273     2298      +25
+ Misses         28        8      -20

Impacted Files
Coverage Δ

opsdroid/loader.py
97.23% <90%> (+7.09%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ac9117a...954b305. Read the comment docs.


Proposal: Add title to Cell

I want my cells to display on a single line (think of a long email, it should no overlap the next column). So I rely a text-overflow: ellipsis. It works fine. But now the content is truncated. A quick UX fix for that is to use the html title attribute, when you hover for a second-ish, a tooltip shows the full content.
I know I can do that with a custom component (which is the solution I went with) but it also feel like something that could belong in the base components. I'd love to do:
columns: [
  {
    label: 'Email',
    value: 'email',
    title: true
]

@karellm this can be solved by creating your own cell type or column type.

Feel free to close this. I just thought it was something common enough that people would like to have. I might be wrong.

@karellm I'll keep this open. I think this would be a nice feature to add and shouldnt be difficult at all.

I concur, this would be incredibly nice.

I would like to have a custom title option (cand edit the text, or maybee a function like in format case) not only boolean and be the the valuePath

for example I need to show more info about the cell. (where data comes from)


Platform: Allow proper segregation of testing responsibilities for contributors and integrators

Context

(I'm bringing this to the top because of the terminology)
I am using the definition of Contributor and Integrator in the Product FAQ.
In a set up as described, the Contributors do need to be able to assert that the version of the plugin they are releasing works well (in isolation, via unit tests), but also that the integrator has properly set up the infrastructure/skeletons that the plugin needs.
Therefore, in this issue we will be discussing three kinds of tests:

Unit tests (isolated within plugin alone)
Functional tests (possibly tested against mock services, spanning components in the application)
System tests (does the system work as a whole after integration?)

Feature Suggestion

Today, there is some support in the scaffolds produced by backstage-cli for System tests on the frontend (using Cypress.) The way this is currently set up, it would be easy for the integrators to write System tests. It's not directly obvious to me if a similar concept exists for the backend.
Today, unit tests also seem to be fairly straightforward to write for all plugins.
There are thus two major gaps in the test taxonomy today, by nature of the fact that Backstage is plugin centric:

As a contributor, it is difficult for me to test my plugin in isolation with everything else (is this desirable? What if I have a dependency on another plugin to function?). This is for functional tests.
As a contributor, it is difficult for me to ascertain that when deployed by the integrators, my plugin works as expected (system testing-wise.) The dual of this applies to the integrator: how do I know that I integrated all the plugins correctly?

Test taxonomy
Integrator
Contributor

Unit tests
X
X

Functional tests
X
?

System tests
X (if he writes all the tests, which isn't scalable)
?

Possible Implementation

Possible ideas:

I was trying to have a system where my integrated system tests would pull in system tests from plugins, but I wasn't too successful. I can't dynamically list all the packages being imported and include a specific known module name... or can I?
Have some kind of command that will dynamically assemble a Cypress test suite for frontend, with the corresponding logic for backend (details TBD), based on the imported packages.

+1 for this. I think it makes sense to spawn a couple of issues from this, and keep this as the meta-issue of improving confidence in published plugins and deployments.
Some initial thoughts:

https://github.com/spotify/backstage/issues/2182 should help out a bunch when it comes to avoiding broken plugins due to missing APIs, since the plugins will be providing the APIs themselves. In addition I think we might want to add a requiredApis type-thing for plugins to define, that breaks the entire app if some API is not installed. Right now you can get failures way too late, i.e. only when you visit a specific page.
I think a test harness for plugins might make sense. Either as a separate CLI command, or as a unit test utility. Something that might run e2e tests, but at least ensures that all things that the plugin exports function, are named correctly, etc.

One thing I posted in the original Discord thread which I don't think I carried over here is our intent to use GitLab Review apps. That which allows us to set up ephemeral test environments, which gives us the ability to preview changes before it goes live.
In my current test taxonomy that counts as a functional test (because we can't connect prod upstreams, e.g. GitLab or Spinnaker or the like) but it allows us to see what changes were made. We can also run assertions over those ephemeral test environments.


[RFC] Simplify sharding API instantiation

🚀 Feature

Currently, the Lightning users working with sharded models and with DeepSpeed or FSDP Plugin needs to know about configure_sharded_model as follow:
Here is an example.
    class MyModel(pl.LightningModule):
        def __init__(self):
            super().__init__()
            self.linear_layer = nn.Linear(32, 32)
            self.block = nn.Sequential(nn.Linear(32, 32), nn.ReLU())
            self.final_block = nn.Sequential(nn.Linear(32, 32), nn.ReLU())

        def configure_sharded_model(self):
            # modules are sharded across processes
            # as soon as they are wrapped with ``wrap`` or ``auto_wrap``.
            # During the forward/backward passes, weights get synced across processes
            # and de-allocated once computation is complete, saving memory.

            # Wraps the layer in a Fully Sharded Wrapper automatically
            linear_layer = wrap(self.linear_layer)

            # Wraps the module recursively
            # based on a minimum number of parameters (default 100M parameters)
            block = auto_wrap(self.block)

            # For best memory efficiency,
            # add FairScale activation checkpointing
            final_block = auto_wrap(checkpoint_wrapper(self.final_block))
            self.model = nn.Sequential(linear_layer, nn.ReLU(), block, final_block)

        def configure_optimizers(self):
            return torch.optim.AdamW(self.model.parameters())

It could be possibly to uniformize the API using the new meta device introduced by PyTorch 1.9.0: https://pytorch.org/tutorials/prototype/skip_param_init.html
from pytorch_lightning.distributed import skip_param_init, apply_param_init

class Model(LightningModule):

    def __init__(self):
        super().__init__()

        with skip_param_init():
            # create parameters as before, possibly ones which don't fit on 1 gpu

    def setup(self, ...):
        ...

# This model doesn't have any params for module defined within skip_param_init context manager
model = Model() #

# In DeepSpeed / FSDP, when distributed is fully available, `apply_param_init` is applied to create the sharded weights.

Motivation

Pitch

Alternatives

Additional context

If you enjoy Lightning, check out our other projects! ⚡

Metrics: Machine learning metrics for distributed, scalable PyTorch applications.

Flash: The fastest way to get a Lightning baseline! A collection of tasks for fast prototyping, baselining, finetuning and solving problems with deep learning

Bolts: Pretrained SOTA Deep Learning models, callbacks and more for research and production with PyTorch Lightning and PyTorch

Lightning Transformers: Flexible interface for high performance research using SOTA Transformers leveraging Pytorch Lightning, Transformers, and Hydra.

Hey @ananthsub, @SeanNaren, @yifuwang Any thoughts ?

Thanks @tchaton for this!
My knowledge around the meta device is limited so any additional docs/information/reference PRs would be appreciate.
Going off https://pytorch.org/tutorials/prototype/skip_param_init.html#implementation-details I think the goal is to provide a way to instantiate modules within the init function, and skip actual allocation of parameters till later when actually requested.
This would work well in the FSDP case where we wrap individual modules which can then be allocated and wrapped instantly. @ananthsub is the meta device going to be the method to do this in PyTorch?

@SeanNaren Here's a relevant RFC for FSDP being part of torch.distributed, which would support meta devices: https://github.com/pytorch/pytorch/issues/64394
(cc @zhaojuanmao)

@tchaton I agree we'll need consistent recommendations around how sharded models are expected to be used with lightning.
I think there's potentially these 2 categories they fall into right now:

Arbitrarily complex models and partitioning: we might see parts of the overall model wrapped with FSDP, parts wrapped with deespeed, parts wrapped with DDP, parts wrapped with whatever new library/wrapper comes out. In this case, there's no way a plugin can automate this as the partitioning is user-determined and potentially leverage multiple multiple module wrappers simultaneously. In such a scenario, it is preferable for the user to handle this (given they know exactly what they want to do) . furthermore, this way the user is free to compose whatever libraries they choose to without burdening lightning to come up with a unifying API around them, which might not cleanly exist.

I think of this as manual parallelization, similar to manual optimization. Accordingly, since the user is shouldering how the model ought to be parallelized, the LightningModule becomes a simple shell for the interaction with the various loops, and to benefit from profiling, logging, and checkpointing. We'd need a corresponding training type plugin & accelerator though for this scenario. It should be incredibly simple as it's essentially a passthrough/dummy class which does no extra device movement or wrapping. This is again similar to the loop complexity differences between automatic optimization vs manual optimization.
By avoiding lazy/deferred initialization using Lightning hooks, we should also have a clearer path for checkpoint loading. This can potentially avoid the hacks we go through today for FSDP, for example: https://github.com/PyTorchLightning/pytorch-lightning/issues/8722
Assumptions behind this scenario:

The user is handling the distributed launch (via some job scheduler) and can control the driver code which instantiates the lightning module & trainer. inside the driver code, they can leverage meta-devices to construct their model before passing this to the lightning module to be used for training/validation/test/prediction
The sticking point is that the model state_dict and load_state_dict must be the universal APIs through which we save/load this state (ideally leveraging sharded tensors https://github.com/PyTorchLightning/pytorch-lightning/pull/8944).

issues:

LightningModule.device could be at odds with the model's usage of meta-device, as previously discussed here: as previously discussed here: https://docs.google.com/document/d/1xHU7-iQSpp9KJTjI3As2EM0mfNHHr37WZYpDpwLkivA/edit#heading=h.cvihcwdhwas5 . In many cases we could instead use the trainer's root_device to determine where to move data to for processing, instead of lightning_module.device

Point 1) should not preclude Lightning from offering plugins which assume a more fixed structure, just as offering manual optimization does not preclude users from using automatic optimization. These cases are a subset of point 1), but Lightning could offer more structure here. However, I'd need to further investigate the RFC linked above for what this could look like

Thanks @ananthsub!
Following on our offline discussion and your post, I agree with your view of 'manual parallelization'. in a perfect world distributed communications would be setup for the user since the module __init__ and the user can do whatever distributed communications they'd like!
On the main post, I'm hesitant to introduce any magic into Lightning to force the user into behaviour primarily because sharding/lazy init is so experimental and could change very quickly. Considering https://github.com/NVIDIA/Megatron-LM and https://github.com/bigscience-workshop/Megatron-DeepSpeed as use cases, we see how hard-coded/sophisticated it is to train large models. Overall in my opinion let the user define meta devices if they want to skip initialization separately from anything to do with sharded for now.

Hey @ananthsub @SeanNaren,
Thanks for sharing this RFC on PyTorch side, I missed it.
This is particularly relevant to this use-case.
b. use meta device can potentially let users to use FSDP without changing model construction codes. e.g. users can pass a meta module to FSDP API, then the FSDP API can recursively wrap its submodules and materialize these modules. In this way, users can simply replace DDP API with FSDP API for larger models without changing any model codes.

The best approach would be third parties framework like FairScale, DeepSpeed to support meta modules and for PyTorch to provide a way to users to decorate their module with a skip_param_init context manager. In this case, Lightning would just have to resolve the meta module only once distributed training is available.
@ananthsub
For the 1., I really like this idea of manual parallelisation. I believe the plugin could take care of creation the progress_group, subgroups, and let the user use them its manual parallelisation.
Best,
T.C


feat: add support for MongoDB

rewrite database CRUD methods in adapter.go to support both xorm and mongodb
add unit test for adapter.go
TODO: database operations in object package(except application.go) need to be upgraded to use the new CRUD methods

Replaced by: https://github.com/casdoor/casdoor/pull/1249


Improve image generation and initialisation in IP benchmarks

This PR intends to fix generateResultBuddyCorr2D and generateResultBuddyConv2D so that the resulting images are in agreement with OpenCV.
I have also removed an unnecessary argument from initialisation functions.

I resolved the conflict and merged it, thanks!


Importing on Android (import com.learnium.RNDeviceInfo.RNDeviceInfo) doesn't work

Followed the setup instructions, but am not able to get it to build. Tested on:

an existing project (RN v0.31.0)
with npm@3
a new, freshly initialized RN project (v0.32.1)
with both npm@3 and npm@2

Here's the log after running react-native run-android:
/Users/martins/RNDeviceInfoTest/android/app/src/main/java/com/rndeviceinfotest/MainApplication.java:11: error: package com.learnium.RNDeviceInfo does not exist
import com.learnium.RNDeviceInfo.RNDeviceInfo;
                                ^
/Users/martins/RNDeviceInfoTest/android/app/src/main/java/com/rndeviceinfotest/MainApplication.java:28: error: cannot find symbol
          , new RNDeviceInfo()
                ^
  symbol: class RNDeviceInfo
2 errors
:app:compileDebugJavaWithJavac FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

Might be a dupe of #91

Ok, got it working. The docs are missing two steps:
In android/app/build.gradle add:
compile project(':react-native-device-info')

In android/settings.gradle add:
include ':react-native-device-info'
project(':react-native-device-info').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-device-info/android')

please add as a PR to add these steps.
Most of us link with react-native link


Changed oneOfType to actually keep the child types

Should complete #148
Failure case:
eslintrc
"react/prop-types": [ 2 ],

sample.jsx
{
  propTypes : {
    testType : React.PropTypes.oneOfType([
      React.PropTypes.string,
      React.PropTypes.array,
    ]),
  },

  getInitialState() {
    console.log(this.props.testType.length);
    return {};
  }
}

Fails on length

Need to add tests