The frequency setting of I2C for standard mode is faster than the criteria

Hi @DelphineChiu
Our EA team measure the I2C bus signal and found that the frequency of I2C[2] (sensor bus) and I2C[5] (VR bus) is 100.8 KHz.
It's faster than the maximum speed of standard mode (100KHz).
Do you also see the symptom and do we have a plan to decrease the frequency setting?
Thanks
Young

Hi @YoungLi123
We have discussed the I2C frequency issue with Aspeed and they share their change with us as follows:
" Please help to sync i2c driver from that tag.
https://github.com/AspeedTech-BMC/zephyr/blob/v00.01.05/drivers/i2c/i2c_aspeed.c
https://github.com/AspeedTech-BMC/zephyr/blob/v00.01.05/drivers/i2c/i2c_global_aspeed.c"
We have done the test and it works. Those changes plan to be added in Aspeed Zephyr 00.01.06.
Thanks,
Bonnie

Change Freq from 100.8KHz to 99.21KHz


Specify ruby-version on ios-base

Issue

N/A

Overview (Required)

In iOS project, make init and make xcode are failed.
This is caused by ruby-version changed to 2.6. It can't install by rbenv, so they are failed.
So I add .ruby-version to ios-base directory.

> rbenv install 2.6
ruby-build: definition not found: 2.6

The following versions contain `2.6' in the name:
  2.2.6
  2.6.0-dev
  2.6.0-preview1
  2.6.0-preview2
  2.6.0-preview3
  2.6.0-rc1
  2.6.0-rc2
  2.6.0
  2.6.1
  2.6.2
  2.6.3
  2.6.4
  2.6.5
  jruby-<IP_ADDRESS>
  rbx-2.2.6
  rbx-2.6

Links
Screenshot

Please someone review this 🙏

👍


Add --version command to pdm-venv

If a user installs pdm via pipx, and then installs pdm-venv via injection, there is no clear way to check the installed version of pdm-venv. A simple:
pdm venv --version would be helpful.

I think pdm plugin list can do the trick

Yes it does, although it's not where I would think to check.
Frankly, it's also an issue that pipx doesn't show the versions of injected packages.


Thoughts about removing make, makeWithVariables

Reason is to emit minimal strictly necessary code. make and makeWithVariables are easy to create yourself with Query.definition as input. makeWithVariables is not necessary anymore once we transition to records.

under deprecated switch now


Lock threads GitHub action should not run on forks

It's running and failing on my fork:
https://github.com/jmagman/flutter/actions/runs/1092894209
Introduced in https://github.com/flutter/flutter/pull/81528

\cc @godofredoc
https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#github-context
if github.repository == flutter/flutter

@jmagman can we close this issue?

Sure, I'll reopen if I see it happen again. Thanks!

This is still happening @godofredoc  https://github.com/jmagman/flutter/actions/runs/1117229894

Also see no-response running https://github.com/jmagman/flutter/actions/runs/1117256184

By any chance do those forks need to get rebased to the version with the config fixes?

It ran on a commit from 19 hours ago https://github.com/jmagman/flutter/commit/7d76a827c089252f0d6db8a8003d7ca6d8e2e31f

The lock threads action failed most likely because the github outage, all the other executions are showing up as noop. The no- response action needs to be updated to not run on forks

The lock threads action failed most likely because the github outage

But it shouldn't be running at all on my fork.

Maybe the ${{ is the problem?

Actually that part is what it makes it a no-op for forks. I'll look into the organization configs to see if I can disable the workflow on forks from there.

It is already disabled in the organization level.

Actually that part is what it makes it a no-op for forks. I'll look into the organization configs to see if I can disable the workflow on forks from there.

I see, it's scheduled but being skipped.


JSON serialization error

var nombre_invocador = "insane Kumaì";
var datos_invocador = riotClient.Summoner.GetSummonersByName(RiotApiConfig.Regions.EUW, nombre_invocador).First().Value;
long id = datos_invocador.Id; //ID= 79978621
var otracosa = riotClient.MatchList.GetMatchListBySummonerId(RiotApiConfig.Regions.EUW, id);
// This is when crashes for Json Serialization Error
Its my mistake or its because a API failure? I use the last version 1.40

Hello , I replicated the problem and It seems an API failure, I will deploy a fixed version ASAP

Version 1.4.1 that fixes this issue has been released on Nuget.


minor release v0.12.0

Release Summary

Version change: v0.11.0 → v0.12.0
Merge: releases/v0.12.0 → master
Compare the changes between the versions

:warning: When merging this pull request, you need to "Squash and merge" and make sure the title starts with minor release v0.12.0.
After that, a commit minor release v0.12.0 will be added and shipjs trigger will be able to trigger the release based on the commit.
Fore more information, please refer to the mergeStrategy section of the guide.

This is going to be published by the following command:
yarn publish --no-git-tag-version --non-interactive --tag latest

This pull request is automatically generated by Ship.js

Codecov Report

Merging #55 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #55   +/-   ##
=======================================
  Coverage   90.92%   90.92%
=======================================
  Files           9        9
  Lines         474      474
  Branches       56       56
=======================================
  Hits          431      431
  Misses         21       21
  Partials       22       22

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 a9d79e2...94723c3. Read the comment docs.


Bug report: HMAC operation produces incorrect output with hex keys with bytes >= 0x80

Summary
The HMAC operation seems to produce incorrect output when using with hex keys with bytes >= 0x80
Example
Openssl:
$ echo -n 'test' | openssl dgst -sha256 -mac HMAC -macopt hexkey:00000000000000000000000000000000
(stdin)= 43b0cef99265f9e34c10ea9d3501926d27b39f57c6d674561d8ba236e7a819fb

CyberChef:
https://gchq.github.io/CyberChef/#recipe=HMAC({'option':'Hex','string':'00000000000000000000000000000000'},'SHA256')&input=dGVzdA
Output (correct): 43b0cef99265f9e34c10ea9d3501926d27b39f57c6d674561d8ba236e7a819fb
Openssl:
$ echo -n 'test' | openssl dgst -sha256 -mac HMAC -macopt hexkey:00000000000000000000000000000080
(stdin)= 82eb64f8f0732e166df7ffa088393fcea946233c8df3f76d7dc1dde0a055ae4e

CyberChef:
https://gchq.github.io/CyberChef/#recipe=HMAC({'option':'Hex','string':'00000000000000000000000000000080'},'SHA256')&input=dGVzdA
Output (incorrect): 40793ae8db3df4bcb12aa92cd3a1ca619a55cc3070e0eb06dedb47afdd4c6e06

Haven't looked into it much yet but this appears to be the same issue as other Crypto based functions have had with string vs buffer input.

I've submitted a PR that should fix the issue.  Looks like it came in in PR #391

Thanks for the fix @imhotepisinvisible


getting access to q05_nUMI_factors

Hi,
I really like your tool! I'm following your Mapping human lymph node cell types to 10X Visium tutorial and wanted to know how I could access q05_nUMI_factors (estimated mRNA abundance from each cell type)?  When I look at my visium data, it only has
obsm: 'MT', 'means_cell_abundance_w_sf', 'q05_cell_abundance_w_sf', 'q95_cell_abundance_w_sf', 'spatial', 'stds_cell_abundance_w_sf'
Does q05_nUMI_factors correspond to this: adata_vis.uns['mod']['post_sample_q05']['u_sf_mRNA_factors'] ?
Thank you for your help!
The reason I'm asking this is that I'm trying to cluster based on the cell type abundance estimated with your tool. I was wondering which is better for clustering q05_nUMI_factors or q05_cell_abundance_w_sf?

Hi @Nasrine26
Thanks for using cell2location! Yes, the tutorial exports only the most used variables to adata.obsm, estimates of all other variables are stored in adata_vis.uns['mod'] (as you pointed out).
You can add u_sf_mRNA_factors to obsm using:
adata.obsm["q05_mRNA_abundance_u_sf"] = mod.sample2df_obs(
                mod.samples,
                site_name="u_sf_mRNA_factors",
                summary_name='q05',
                name_prefix="mRNA_abundance",
)

q05_nUMI_factors name was used in the previous version (pymc3).
mRNA abundance is scaled by the total RNA content of every cell type, computed using the reference cell-type signatures provided to the model scaled by the difference between technologies (e.g. neurons expressing 5k UMI vs astrocytes 2k UMI, scaled by m_g). So these numbers are very similar to cell abundance. Looking at mRNA abundance can be useful for QC purposes: seeing that a given cell type contributes at most 20 mRNA indicates that it is unlikely to be present in the tissue (whereas cell abundance can be larger).


Filter Database Objects does not work

Filter Database Objects does not work.. I type database name, still showing/finding what i type.. help

https://github.com/dbeaver/dbeaver/issues/3831

Database/catalog filter (on General page of connection properties dialog) works fine.
Do you mean quick filter in the top of database navigator? It is not filtering databases/schemas and other "container" objects.
Because this will make tables filtering not-possible (it will filter catalogs first so you won't be able to see tables in catalogs which doesn't match entered table name)

owh sorry.. i still dont understand how to use the filter form.. please tell me an axample.. thanks :)

thanks very much sir.. :) :+1:


Add codegen JSON Schema to schemastore

First, we need to figure out the proper extension to use.

This will probably never happen.


Non-interactive mode

For better scriptability, the plugin should have an option to be non-interactive.
When a user passes in the -n flag, it should not prompt for filters. The user should still be able to pass in a filter with the -f or --filter flag with the string representation of the message type.

I get a You are not allowed to view the requested page. when i click on the pivotal tracker link. Is the tracker project not public?

@wfernandes I think the story got deleted, because it wasn't linked to the right tracker.

Fixed by 7dbe8d1ac698595433d44b4f26d56b3bbbd5bf9d
Thanks, @wfernandes


nixos/mysql: add authentication option

Add an authentication option to be able to create mysql users that do
not authenticate using the unix_socket plugin, since this requires the
username to exist on the host system.
(https://mariadb.com/kb/en/library/authentication-plugin-unix-socket/)

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
cc @

I was under the impression that mysql hashes are not safe.

Hm good point how should we deal with that? I could move the hashes to a file or add a warning. I want this option because I want to be able to add users that do not require a unix account on the host

@Scriptkiddi I'm planning some work on the mysql and postgresql modules for 20.03, partially motivated by my own needs and partially motivated by those of @talyz in #66274. I was jotting down a few ideas this morning after reading through your PR so how about we let this PR sit on the back burner a few days and I'll get back to you?

@Scriptkiddi @florianjacob @talyz @ryantm very rough first pass at an addition to the mysql interface which could be mirrored with postgresql: https://github.com/NixOS/nixpkgs/compare/master...aanderse:sql?expand=1
Example usage:
services.mysql.ensureDatabases = [
  "db_a"
  "db_b"
  { name = "db_c"; }
  { name = "db_d"; owner = "timmy@localhost"; }
  { name = "db_e"; owner = "'aaron'@'%'"; }
];
services.mysql.ensureUsers = [
  # creates timmy@localhost who requires password to authenticate
  { name = "timmy";
    passwordFile = pkgs.writeText "password" "thisismypassword";
    ensurePermissions = { ... usual stuff here ... };
  }

  # creates a user who has access to all databases and WITH GRANT OPTION
  { name = "ryantm";
    isSuperUser = true;
  }

  # remote user
  { name = "aaron";
    host = "%";
    hashedPasswordFile = pkgs.writeText "hashed-password" "*ABCDEF HASHED PASSWORD";
    ensurePermissions = { ... usual stuff here ... };
  }

  # demonstrating backwards compatibility
  { name = "moodle";
    ensurePermissions = { ... usual stuff here ... };
  }
];

Note this is entirely backwards compatible with existing mysql interface.

types.coercedTo should work.

types.coercedTo should work.

Thanks @Infinisil, that looks better.
I'm still hoping to hear more opinions about whether this sort of change is something we actually want in nixos. Clearly @Scriptkiddi wants this change, as they opened this PR. I think I'm in favor of this change. Is anyone against these types of changes to nixos?
This might be a good time to ping @danbst, @aszlig, and @thoughtpolice as the idea is that these changes would make their way into the postgresql module as well. What do you think about this type of functionality in nixos? See example for usage, but basically deeper database and user provisioning than already exists in nixos.

@grahamc I understand your points and agree. While I think this PR provides value, maybe the value comes at too high a cost, and doesn't fit quite right into nixos?
I know @talyz was also interested in this functionality, so I'll ask @talyz and @Scriptkiddi if they have anything to add at this point?

@grahamc @aanderse I agree that it's definitely not ideal, but find it a necessary evil. The alternatives I can think of seem worse to me:

all modules are responsible for provisioning their own database
manual intervention needed
dropping the modules requiring a database

Am I missing a better alternative?
Also, note that this is not actually about ensureDatabases or ensureUsers, since they already exist - it's about extending their functionality. The current alternative is to implement the necessary features locally in the module that needs it, like we did for GitLab.

I am joining the discussion, because I needed to extend the postgresql module to run a script after the creation of a database specified in ensureDatabases. I implemented this option in https://github.com/petabyteboy/nixpkgs/commit/d86208eb4ee23ca1f345c96b04bb0f7ce3a5d0bf and was made aware of this discussion by @aanderse

manual intervention needed

Fine for me, this was my initial approach, but others did request that the database is created automatically and the schema is loaded into the database after initial creation, which required this change

dropping the modules requiring a database

...

all modules are responsible for provisioning their own database

I definitely prefer less duplication of code in the modules

=> Maybe we can make it an internal option so that it is not directly exposed to users?

I think manual intervention is probably okay, as long as its well documented. It does feel like it would detract somewhat from NixOS’s value proposition of “write all your configuration in configuration.nix” if a bunch of commands are needed to set up initial state as well, though.

Alyssa Ross<EMAIL_ADDRESS>writes:

I think manual intervention is probably okay, as long as its well
documented. It does feel like it would detract somewhat from NixOS’s
value proposition of “write all your configuration in
configuration.nix” if a bunch of commands are needed to set up initial
state as well, though.

To phrase this another way, what's the difference between a package
creating its initial state on startup itself, and us doing it?  What
makes one okay and not the other?

As a rule I'm against options which add "best effort", imperative options to Nix. Deleting a user from these settings doesn't delete the user from the system, and I think that is something we want to avoid in NixOS.
A good hint that the option either doesn't belong or doesn't function properly is having the word ensure in the name.

Since I'm new to NixOs, couldnt we just modify the ensure script to delete users?

@Scriptkiddi we can't distinguish users that were configured via NixOS previously from users created by an admin, and don't want to delete these by accident, I assume.

You could add a not delete list or something like it to, protect users that are added another way

To phrase this another way, what's the difference between a package
creating its initial state on startup itself, and us doing it?  What
makes one okay and not the other?

Exactly. My solution to this would be to reimplement the missing functionality in my configuration to not have to do it manually (since I'm deploying systems with NixOps) and I'm sure others would do the same. We'd end up with the same thing, but worse.

I found out this isn't the first PR to discuss in depth user provisioning for the mysql option. https://github.com/NixOS/nixpkgs/pull/6963
I'm still hoping @danbst and @aszlig will chime in with their opinions and reasoning on those opinions. @davidak, @copumpkin, and @edolstra may also have opinions on the topic of in depth user creation for the mysql module that they would be interested in sharing too.

I have a WIP for making ensureDatabases and ensureUsers declarative for the PostgreSQL module: #72365. Could you, and anyone else interested in the topic, have a look and see if this is something you'd like to see, @grahamc?

Regarding ensure* options: As the author of all ensure* options currently in master except the postgresql ones, I'm obviously thinking it's a good idea that helps users. I don't see why every module author and user should code the same functions again and again to create their databases, users, printers and whatever. Yes, those all are inherently stateful and probably never can be done fully declarative. But they just work, they provide you with automated printer setup in your fresh nixos install, they don't delete manually configured printers and require manual intervention on destructive operations, i.e. they will intentionally never delete your database, under any circumstance. That's why they just ensure, and do exactly that, and are helpful.
As this was one of my first big NixOS contributions, I chose the defensive prefix ensure for those kind of options, though many other options of this kind exist in NixOS, e.g. many service startup scripts that essentially only ensure the data directories are in a somewhat correct state and permissions, but obviously don't delete superfluous files or access permissions, or config.users.users would actually be config.users.ensureUsers if not set as mutable, which is the current default. Today I'm not sure anymore whether the ensure prefixes really make sense and whether the prefixes should be everywhere on such options as a warning, or nowhere.
If the community decides though that such options don't belong in NixOS and all users and module authors should go back and write their own bash scripts for that, I will accept that and stop proposung such options.
Regarding this specific PR: Seems like a good way to handle passwords for remote users (can't see why one should use that for anything that runs on the same host though) if a secure password hashing is used and / or the hash is stored in a non-accessible location. The default unsalted SHA1 hashing really isn't much better than plaintext passwords.
For more secure password hashing, state of the art seems to be to use authentication plugins for both MariaDB and MySQL, bud sadly they don't have a common secure denominator.
MariaDB offers https://mariadb.com/kb/en/authentication-plugin-ed25519/ and MySQL offers authentication-plugin-sha256 (why are both not using or at least offering actual password hashing functions? No idea…)

How are the chances of getting this merged? I'm willing to put in the work, but I don't want it to sit there open like the postgresql pr

@Scriptkiddi sorry for the delay on this. We're scheduling a call to discuss the best way forward. More details to come.

Closing in favor of https://github.com/NixOS/nixpkgs/pull/94048.


Comment blocks in python are not handled

Comment blocks in python like
"""
comment line here
"""
are not handled.
This is because such comments get parsed as (expression_statement (string)) instead of (comment). As that seems to be an issue with the tree-sitter parser for python, I do not recommend to fix this here, as that would necessitate a workaround especially for that language.

This is a tricky one. Python handles multi-line comments different than other programming languages. They are just "regular" expressions.
How to interpret them correct is a difficult decision and I guess that won't be "fixed". As such, having a special handling in our code might be required to parse those. Alternative print a warning when parsing python with the concrete metric.

You might want to open an issue in the python library to ask if they would be interested in trying to differentiate the two or not.

This is a tricky one. Python handles multi-line comments different than other programming languages. They are just "regular" expressions. How to interpret them correct is a difficult decision and I guess that won't be "fixed". As such, having a special handling in our code might be required to parse those. Alternative print a warning when parsing python with the concrete metric.

Ok, mh. Interesting. If they are indeed handled as normal expressions, the behaviour of classifying them as "expression_statement" should be correct then from a syntactic view, I guess. That would also arise the question, wheter or not to count them as "comment line" at all. If there is no strong opinion to count them into the comment lines metric, we might leave it as it is.

Such "afterMetricHooks" would also have to be specific for each metric. But otherwise, something similar should work, I guess. It might also happen that we need to override the general logic for some language one day because it is not sufficient to just add some other value to the result, or because the logic does not apply at all. On the other hand, if the general logic is ok and we only need to add to that result, like it is the case here, this solution could avoid redundancy. On the other hand, we could call the function with the general logic again from the overriding function to avoid that redundancy. Mh.

However, the main issue here would be that part of identifying these multi-line strings and determining that they are not passed to anything. I currently have a look at the dependency analysis code to fix an issue that occurs at identifying passed parameters, etc., when updating the grammars. There is a lot that can go wrong there when the grammar changes, also to keep up with all variants that the grammar allows for on such a position, so this is not going to be trivial and the maintenance of handling this could become an issue. But there is probably no way around it.

Ok, it might be simpler as expected, as it seems like the Python tree sitter grammar always puts such solitude strings into a single (expression_statement) while for other kinds of operations with these strings, there is another node type surrounding the string node, e.g. call


Reproduction
Position cades like picture below, and walk through as a queen
Screenshots

@DrSmugleaf should this be closed?
(🐛 - Fixed the Queen getting stuck on some things like Req railings.)

@DrSmugleaf should this be closed?
(🐛 - Fixed the Queen getting stuck on some things like Req railings.)

ye ty


Could not find a MSBuild project file in 'C:\Users\olade\Desktop\MyWebApp'. Specify which project to use with the --project option.

Problem encountered on https://dotnet.microsoft.com/en-us/learn/aspnet/hello-world-tutorial/run
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

What are the contents of your MyWebApp directory?


Updated github.com/coreos/prometheus-operator version to v0.41.1

https://github.ibm.com/IBMPrivateCloud/roadmap/issues/59394
https://github.ibm.com/IBMPrivateCloud/roadmap/issues/59608

I have updated github.com/coreos/prometheus-operator version to v0.41.1 and replaced the image in fyre cluster.
Tested and run regression after replacing the image. Pasted the logs, description of pods and also regression results working as expected
raniprathyusha@Elaprolus-MacBook-Pro ~ % oc get pods | grep ibm-iam-operator
ibm-iam-operator-f7c9c46bf-bfsnl                        1/1     Running     0          115s

Description
raniprathyusha@Elaprolus-MacBook-Pro ~ % oc describe pods ibm-iam-operator-f7c9c46bf-bfsnl
Name:             ibm-iam-operator-f7c9c46bf-bfsnl
Namespace:        ibm-common-services
Priority:         0
Service Account:  ibm-iam-operator
Node:             worker1.iam-test.cp.fyre.ibm.com/<IP_ADDRESS>
Start Time:       Wed, 26 Jul 2023 20:54:54 +0530
Labels:           app.kubernetes.io/instance=ibm-iam-operator
                  app.kubernetes.io/managed-by=ibm-iam-operator
                  app.kubernetes.io/name=ibm-iam-operator
                  name=ibm-iam-operator
                  pod-template-hash=f7c9c46bf
Annotations:      alm-examples:
                    [
                      {
                        "apiVersion": "operator.ibm.com/v1alpha1",
                        "kind": "OIDCClientWatcher",
                        "metadata": {
                          "labels": {
                            "app.kubernetes.io/instance": "ibm-iam-operator",
                            "app.kubernetes.io/managed-by": "ibm-iam-operator",
                            "app.kubernetes.io/name": "ibm-iam-operator"
                          },
                          "name": "example-oidcclientwatcher"
                        },
                        "spec": {
                          "imageRegistry": "quay.io/opencloudio/icp-oidcclient-watcher",
                          "imageTagPostfix": "3.11.6",
                          "operatorVersion": "0.14.1",
                          "replicas": 1,
                          "resources": {
                            "limits": {
                              "cpu": "200m",
                              "memory": "256Mi"
                            },
                            "requests": {
                              "cpu": "10m",
                              "memory": "16Mi"
                            }
                          },
                          "oidcInitAuthService": {
                            "imageName": "icp-platform-auth",
                            "imageRegistry": "quay.io/opencloudio",
                            "imageTag": "3.11.6",
                            "resources": {
                              "limits": {
                                "cpu": "200m",
                                "memory": "256Mi"
                              },
                              "requests": {
                                "cpu": "100m",
                                "memory": "128M"
                              }
                            }
                          },
                          "oidcInitIdentityProvider": {
                            "imageName": "icp-platform-auth",
                            "imageRegistry": "quay.io/opencloudio",
                            "imageTag": "3.11.6",
                            "resources": {
                              "limits": {
                                "cpu": "200m",
                                "memory": "256Mi"
                              },
                              "requests": {
                                "cpu": "100m",
                                "memory": "128M"
                              }
                            }
                          },
                          "oidcInitIdentityManager": {
                            "imageName": "icp-platform-auth",
                            "imageRegistry": "quay.io/opencloudio",
                            "imageTag": "3.11.6",
                            "resources": {
                              "limits": {
                                "cpu": "200m",
                                "memory": "256Mi"
                              },
                              "requests": {
                                "cpu": "100m",
                                "memory": "128M"
                              }
                            }
                          }
                        }
                      },
                      {
                        "apiVersion": "operator.ibm.com/v1alpha1",
                        "kind": "PolicyDecision",
                        "metadata": {
                          "labels": {
                            "app.kubernetes.io/instance": "ibm-iam-operator",
                            "app.kubernetes.io/managed-by": "ibm-iam-operator",
                            "app.kubernetes.io/name": "ibm-iam-operator"
                          },
                          "name": "example-policydecision"
                        },
                        "spec": {
                          "auditService": {
                            "imageName": "audit-syslog-service",
                            "imageRegistry": "quay.io/opencloudio",
                            "imageTag": "1.8.0",
                            "syslogTlsPath": "/etc/audit-tls",
                            "resources": {
                              "limits": {
                                "cpu": "200m",
                                "memory": "256Mi"
                              },
                              "requests": {
                                "cpu": "10m",
                                "memory": "100Mi"
                              }
                            }
                          },
                          "imageName": "iam-policy-decision",
                          "imageRegistry": "quay.io/opencloudio",
                          "imageTag": "3.11.6",
                          "initMongodb": {
                            "imageName": "icp-platform-auth",
                            "imageRegistry": "quay.io/opencloudio",
                            "imageTag": "3.11.6",
                            "resources": {
                              "limits": {
                                "cpu": "100m",
                                "memory": "128Mi"
                              },
                              "requests": {
                                "cpu": "100m",
                                "memory": "128Mi"
                              }
                            }
                          },
                          "operatorVersion": "0.14.1",
                          "replicas": 1,
                          "resources": {
                            "limits": {
                              "cpu": "200m",
                              "memory": "256Mi"
                            },
                            "requests": {
                              "cpu": "20m",
                              "memory": "100Mi"
                            }
                          }
                        }
                      },
                      {
                        "apiVersion": "operator.ibm.com/v1alpha1",
                        "kind": "Authentication",
                        "metadata": {
                          "labels": {
                            "app.kubernetes.io/instance": "ibm-iam-operator",
                            "app.kubernetes.io/managed-by": "ibm-iam-operator",
                            "app.kubernetes.io/name": "ibm-iam-operator"
                          },
                          "name": "example-authentication"
                        },
                        "spec": {
                          "auditService": {
                            "imageName": "audit-syslog-service",
                            "imageRegistry": "quay.io/opencloudio",
                            "imageTag": "1.8.0",
                            "syslogTlsPath": "/etc/audit-tls",
                            "resources": {
                              "limits": {
                                "cpu": "100m",
                                "memory": "128Mi"
                              },
                              "requests": {
                                "cpu": "10m",
                                "memory": "100Mi"
                              }
                            }
                          },
                          "authService": {
                            "imageName": "icp-platform-auth",
                            "imageRegistry": "quay.io/opencloudio",
                            "imageTag": "3.11.6",
                            "ldapsCACert": "platform-auth-ldaps-ca-cert",
                            "resources": {
                              "limits": {
                                "cpu": "1000m",
                                "memory": "1Gi"
                              },
                              "requests": {
                                "cpu": "100m",
                                "memory": "350Mi"
                              }
                            },
                            "routerCertSecret": "route-tls-secret"
                          },
                          "clientRegistration": {
                            "imageName": "icp-platform-auth",
                            "imageRegistry": "quay.io/opencloudio",
                            "imageTag": "3.11.6",
                            "resources": {
                              "limits": {
                                "cpu": "1000m",
                                "memory": "1Gi"
                              },
                              "requests": {
                                "cpu": "100m",
                                "memory": "128Mi"
                              }
                            }
                          },
                          "config": {
                            "authUniqueHosts": "internal-ip1 internal-ip2 mycluster.icp",
                            "clusterCADomain": "mycluster.icp",
                            "clusterExternalAddress": "<IP_ADDRESS>",
                            "clusterInternalAddress": "<IP_ADDRESS>",
                            "clusterName": "mycluster",
                            "defaultAdminPassword": "password",
                            "defaultAdminUser": "admin",
                            "scimAdminPassword": "scimpassword",
                            "scimAdminUser": "scimadmin",
                            "enableImpersonation": false,
                            "fipsEnabled": true,
                            "ibmCloudSaas": false,
                            "onPremMultipleDeploy": false,
                            "icpPort": 8443,
                            "installType": "fresh",
                            "isOpenshiftEnv": true,
                            "nonceEnabled": true,
                            "xframeDomain": "",
                            "preferredLogin": "",
                            "bootstrapUserId": "kubeadmin",
                            "providerIssuerURL": "",
                            "claimsSupported": "name,family_name,display_name,given_name,preferred_username",
                            "claimsMap": "name=\"givenName\" family_name=\"givenName\" given_name=\"givenName\" preferred_username=\"displayName\" display_nam...
                            "scopeClaim": "profile=\"name,family_name,display_name,given_name,preferred_username\"",
                            "oidcIssuerURL": "https://<IP_ADDRESS>:443/idauth/oidc/endpoint/OP",
                            "openshiftPort": 443,
                            "roksEnabled": true,
                            "roksURL": "https://roks.domain.name:443",
                            "roksUserPrefix": "changeme",
                            "saasClientRedirectUrl": "",
                            "wlpClientID": "4444be3a738841016ab76d71b650e836",
                            "wlpClientRegistrationSecret": "f1362ca4d20b8389af2d1ea68042c9af",
                            "wlpClientSecret": "aa73bf39752053bf723d1143fb4cf8a2"
                          },
                          "identityManager": {
                            "imageName": "icp-identity-manager",
                            "imageRegistry": "quay.io/opencloudio",
                            "imageTag": "3.11.6",
                            "masterNodesList": "<IP_ADDRESS>",
                            "resources": {
                              "limits": {
                                "cpu": "1000m",
                                "memory": "1Gi"
                              },
                              "requests": {
                                "cpu": "50m",
                                "memory": "150Mi"
                              }
                            }
                          },
                          "identityProvider": {
                            "imageName": "icp-identity-provider",
                            "imageRegistry": "quay.io/opencloudio",
                            "imageTag": "3.11.6",
                            "resources": {
                              "limits": {
                                "cpu": "1000m",
                                "memory": "1Gi"
                              },
                              "requests": {
                                "cpu": "50m",
                                "memory": "150Mi"
                              }
                            }
                          },
                          "initMongodb": {
                            "imageName": "icp-platform-auth",
                            "imageRegistry": "quay.io/opencloudio",
                            "imageTag": "3.11.6",
                            "resources": {
                              "limits": {
                                "cpu": "100m",
                                "memory": "128Mi"
                              },
                              "requests": {
                                "cpu": "100m",
                                "memory": "128Mi"
                              }
                            }
                          },
                          "operatorVersion": "0.14.1",
                          "replicas": 1
                        }
                      },
                      {
                        "apiVersion": "operator.ibm.com/v1alpha1",
                        "kind": "Pap",
                        "metadata": {
                          "labels": {
                            "app.kubernetes.io/instance": "ibm-iam-operator",
                            "app.kubernetes.io/managed-by": "ibm-iam-operator",
                            "app.kubernetes.io/name": "ibm-iam-operator"
                          },
                          "name": "example-pap"
                        },
                        "spec": {
                          "auditService": {
                            "imageName": "audit-syslog-service",
                            "imageRegistry": "quay.io/opencloudio",
                            "imageTag": "1.8.0",
                            "syslogTlsPath": "/etc/audit-tls",
                            "resources": {
                              "limits": {
                                "cpu": "200m",
                                "memory": "200Mi"
                              },
                              "requests": {
                                "cpu": "20m",
                                "memory": "20Mi"
                              }
                            }
                          },
                          "operatorVersion": "0.14.1",
                          "papService": {
                            "imageName": "iam-policy-administration",
                            "imageRegistry": "quay.io/opencloudio",
                            "imageTag": "3.11.6",
                            "resources": {
                              "limits": {
                                "cpu": "1000m",
                                "memory": "1Gi"
                              },
                              "requests": {
                                "cpu": "50m",
                                "memory": "200Mi"
                              }
                            }
                          },
                          "replicas": 1
                        }
                      },
                      {
                        "apiVersion": "operator.ibm.com/v1alpha1",
                        "kind": "PolicyController",
                        "metadata": {
                          "labels": {
                            "app.kubernetes.io/instance": "ibm-iam-operator",
                            "app.kubernetes.io/managed-by": "ibm-iam-operator",
                            "app.kubernetes.io/name": "ibm-iam-operator"
                          },
                          "name": "policycontroller-deployment"
                        },
                        "spec": {
                          "config": {
                            "excludeOperand": false
                          },
                          "imageRegistry": "quay.io/opencloudio/iam-policy-controller",
                          "imageTagPostfix": "3.7.23",
                          "operatorVersion": "0.14.1",
                          "replicas": 1,
                          "resources": {
                            "limits": {
                              "cpu": "200m",
                              "memory": "384Mi"
                            },
                            "requests": {
                              "cpu": "100m",
                              "memory": "128Mi"
                            }
                          }
                        }
                      },
                      {
                        "apiVersion": "operator.ibm.com/v1alpha1",
                        "kind": "SecretWatcher",
                        "metadata": {
                          "labels": {
                            "app.kubernetes.io/instance": "ibm-iam-operator",
                            "app.kubernetes.io/managed-by": "ibm-iam-operator",
                            "app.kubernetes.io/name": "ibm-iam-operator"
                          },
                          "name": "secretwatcher-deployment"
                        },
                        "spec": {
                          "config": {
                            "excludeOperand": false
                          },
                          "imageRegistry": "quay.io/opencloudio/icp-secret-watcher",
                          "imageTagPostfix": "3.7.23",
                          "operatorVersion": "0.14.1",
                          "replicas": 1,
                          "resources": {
                            "limits": {
                              "cpu": "200m",
                              "memory": "512Mi"
                            },
                            "requests": {
                              "cpu": "50m",
                              "memory": "64Mi"
                            }
                          }
                        }
                      },
                      {
                        "apiVersion": "operator.ibm.com/v1alpha1",
                        "kind": "SecurityOnboarding",
                        "metadata": {
                          "labels": {
                            "app.kubernetes.io/instance": "ibm-iam-operator",
                            "app.kubernetes.io/managed-by": "ibm-iam-operator",
                            "app.kubernetes.io/name": "ibm-iam-operator"
                          },
                          "name": "example-securityonboarding"
                        },
                        "spec": {
                          "iamOnboarding": {
                            "imageName": "icp-iam-onboarding",
                            "imageRegistry": "quay.io/opencloudio",
                            "imageTag": "3.11.6",
                            "resources": {
                              "limits": {
                                "cpu": "200m",
                                "memory": "1024Mi"
                              },
                              "requests": {
                                "cpu": "20m",
                                "memory": "64M"
                              }
                            }
                          },
                          "imageName": "icp-iam-onboarding",
                          "imageRegistry": "quay.io/opencloudio",
                          "imageTag": "3.11.6",
                          "impersonation": {
                            "enableImpersonation": false
                          },
                          "initAuthService": {
                            "imageName": "icp-platform-auth",
                            "imageRegistry": "quay.io/opencloudio",
                            "imageTag": "3.11.6",
                            "resources": {
                              "limits": {
                                "cpu": "200m",
                                "memory": "256Mi"
                              },
                              "requests": {
                                "cpu": "100m",
                                "memory": "128M"
                              }
                            }
                          },
                          "initIdentityManager": {
                            "imageName": "icp-platform-auth",
                            "imageRegistry": "quay.io/opencloudio",
                            "imageTag": "3.11.6",
                            "resources": {
                              "limits": {
                                "cpu": "200m",
                                "memory": "256Mi"
                              },
                              "requests": {
                                "cpu": "100m",
                                "memory": "128M"
                              }
                            }
                          },
                          "initIdentityProvider": {
                            "imageName": "icp-platform-auth",
                            "imageRegistry": "quay.io/opencloudio",
                            "imageTag": "3.11.6",
                            "resources": {
                              "limits": {
                                "cpu": "200m",
                                "memory": "256Mi"
                              },
                              "requests": {
                                "cpu": "100m",
                                "memory": "128M"
                              }
                            }
                          },
                          "initPAPSpec": {
                            "imageName": "icp-platform-auth",
                            "imageRegistry": "quay.io/opencloudio",
                            "imageTag": "3.11.6",
                            "resources": {
                              "limits": {
                                "cpu": "200m",
                                "memory": "256Mi"
                              },
                              "requests": {
                                "cpu": "100m",
                                "memory": "128M"
                              }
                            }
                          },
                          "initTokenService": {
                            "imageName": "icp-platform-auth",
                            "imageRegistry": "quay.io/opencloudio",
                            "imageTag": "3.11.6",
                            "resources": {
                              "limits": {
                                "cpu": "200m",
                                "memory": "256Mi"
                              },
                              "requests": {
                                "cpu": "100m",
                                "memory": "128M"
                              }
                            }
                          },
                          "operatorVersion": "0.14.1",
                          "replicas": 1,
                          "resources": {
                            "limits": {
                              "cpu": "200m",
                              "memory": "512Mi"
                            },
                            "requests": {
                              "cpu": "20m",
                              "memory": "64Mi"
                            }
                          }
                        }
                      },
                      {
                        "apiVersion": "operator.ibm.com/v1alpha1",
                        "kind": "OperandRequest",
                        "metadata": {
                          "name": "ibm-iam-request"
                        },
                        "spec": {
                          "requests": [
                            {
                              "operands": [
                                {
                                  "name": "ibm-mongodb-operator"
                                },
                                {
                                  "name": "ibm-cert-manager-operator"
                                },
                                {
                                  "name": "ibm-management-ingress-operator"
                                },
                                {
                                  "name": "ibm-ingress-nginx-operator"
                                }
                              ],
                              "registry": "common-service"
                            }
                          ]
                        }
                      },
                      {
                        "apiVersion": "operator.ibm.com/v1alpha1",
                        "kind": "OperandBindInfo",
                        "metadata": {
                          "name": "ibm-iam-bindinfo"
                        },
                        "spec": {
                          "operand": "ibm-iam-operator",
                          "registry": "common-service",
                          "description": "Binding information that should be accessible to iam adopters",
                          "bindings": {
                            "public-oidc-creds": {
                              "secret": "platform-oidc-credentials"
                            },
                            "public-auth-creds": {
                              "secret" : "platform-auth-idp-credentials"
                            },
                            "public-scim-creds": {
                              "secret" : "platform-auth-scim-credentials"
                            },
                            "public-auth-cert": {
                              "secret" : "platform-auth-secret"
                            },
                            "public-cam-secret": {
                              "secret" : "oauth-client-secret"
                            },
                            "protected-zen-serviceid": {
                              "secret" : "zen-serviceid-apikey-secret"
                            },
                            "public-cam-map": {
                              "configmap" : "oauth-client-map"
                            },
                            "public-auth-config": {
                              "configmap" : "platform-auth-idp"
                            }
                          }
                        }
                      }
                    ]
                  capabilities: Seamless Upgrades
                  categories: Security
                  certified: false
                  containerImage: docker-na-public.artifactory.swg-devops.com/hyc-cloud-private-integration-docker-local/ibmcom/ibm-iam-operator-amd64:3.23.5
                  cs-podpreset.operator.ibm.com/podpreset-ibm-common-service-webhook: 39978805
                  description:
                    The IAM operator provides a simple Kubernetes CRD-Based API to manage the lifecycle of IAM services. With this operator, you can simply de...
                  k8s.ovn.org/pod-networks:
                    {"default":{"ip_addresses":["<IP_ADDRESS>/22"],"mac_address":"0a:58:0a:fe:13:18","gateway_ips":["<IP_ADDRESS>"],"ip_address":"<IP_ADDRESS>/...
                  k8s.v1.cni.cncf.io/network-status:
                    [{
                        "name": "ovn-kubernetes",
                        "interface": "eth0",
                        "ips": [
                            "<IP_ADDRESS>"
                        ],
                        "mac": "0a:58:0a:fe:13:18",
                        "default": true,
                        "dns": {}
                    }]
                  k8s.v1.cni.cncf.io/networks-status:
                    [{
                        "name": "ovn-kubernetes",
                        "interface": "eth0",
                        "ips": [
                            "<IP_ADDRESS>"
                        ],
                        "mac": "0a:58:0a:fe:13:18",
                        "default": true,
                        "dns": {}
                    }]
                  olm.operatorGroup: common-service
                  olm.operatorNamespace: ibm-common-services
                  olm.skipRange: <3.23.6
                  olm.targetNamespaces: ibm-common-services
                  openshift.io/scc: restricted-v2
                  operatorframework.io/properties:
                    {"properties":[{"type":"olm.gvk","value":{"group":"operator.ibm.com","kind":"Pap","version":"v1alpha1"}},{"type":"olm.gvk","value":{"group...
                  productID: 068a62892a1e4db39641342e592daa25
                  productMetric: FREE
                  productName: IBM Cloud Platform Common Services
                  repository: https://github.com/IBM/ibm-iam-operator
                  seccomp.security.alpha.kubernetes.io/pod: runtime/default
                  support: IBM
Status:           Running
IP:               <IP_ADDRESS>
IPs:
  IP:           <IP_ADDRESS>
Controlled By:  ReplicaSet/ibm-iam-operator-f7c9c46bf
Containers:
  ibm-iam-operator:
    Container ID:  cri-o://ddcd4b54adab7c00a2d9a52ff27499d71356e929d5fe692986fb7e48dccddd98
    Image:         docker-na-public.artifactory.swg-devops.com/hyc-cloud-private-integration-docker-local/ibmcom/ibm-iam-operator-amd64:3.23.5
    Image ID:      docker-na-public.artifactory.swg-devops.com/hyc-cloud-private-integration-docker-local/ibmcom/ibm-iam-operator-amd64@sha256:5cf869e32c3a05a60307c53f553b64b1cd2e3707a378e9470c80af95e8e2c3e5
    Port:          <none>
    Host Port:     <none>
    Command:
      ibm-iam-operator
    State:          Running
      Started:      Wed, 26 Jul 2023 20:55:10 +0530
    Ready:          True
    Restart Count:  0
    Limits:
      cpu:     25m
      memory:  320Mi
    Requests:
      cpu:     10m
      memory:  80Mi
    Environment:
      ICP_PLATFORM_AUTH_IMAGE:          icr.io/cpopen/cpfs/icp-platform-auth@sha256:0a8c9d5f56d725885444ffc4735faa65fa672de12d443f6ac0e0247d2d486fac
      ICP_IDENTITY_PROVIDER_IMAGE:      icr.io/cpopen/cpfs/icp-identity-provider@sha256:ba737bf5ff11826b0a0ff1b2849e650ff3ce5423b0e864b42d0809ec8596547b
      ICP_IDENTITY_MANAGER_IMAGE:       icr.io/cpopen/cpfs/icp-identity-manager@sha256:bf756f60806373fa4ef2c7316590ccabbeae74d8df1e0b315790e7d62e71de4d
      IAM_POLICY_ADMINISTRATION_IMAGE:  icr.io/cpopen/cpfs/iam-policy-administration@sha256:7c4e09c0536a1dec04b0d01d874051bf649d39c61ef7d0116e5f04ffc366a65f
      IAM_POLICY_DECISION_IMAGE:        icr.io/cpopen/cpfs/iam-policy-decision@sha256:4e2526f644ce7dfc666b243d06bc8d8c22e7a90a7ef68712983c5d51ef17bc3d
      ICP_SECRET_WATCHER_IMAGE:         icr.io/cpopen/cpfs/icp-secret-watcher@sha256:e06fafffe519af2aab36eb50ee4dbdb066605da76a466b61e8a734cc1306e98a
      ICP_OIDCCLIENT_WATCHER_IMAGE:     icr.io/cpopen/cpfs/icp-oidcclient-watcher@sha256:25e70be7f1aa7167bf79d829af57ba3539fee7ad98be7a9ce3fb7904dcdb691b
      IAM_POLICY_CONTROLLER_IMAGE:      icr.io/cpopen/cpfs/iam-policy-controller@sha256:0a8ac24e65ed1ae6aece47bb75e6437ee7783d8c9d3a0a90ad588cde2f052f01
      ICP_IAM_ONBOARDING_IMAGE:         icr.io/cpopen/cpfs/icp-iam-onboarding@sha256:a6ac68f2785f6364cd95877497536b0dded9cf78ed9e85859ec3a21a89f019c3
      AUDIT_SYSLOG_SERVICE_IMAGE:       icr.io/cpopen/cpfs/audit-syslog-service@sha256:19f562a77c13c7132e72a1db28f5402899484015a81b979851ba1dc1ee5fdc30
      WATCH_NAMESPACE:                   (v1:metadata.annotations['olm.targetNamespaces'])
      POD_NAME:                         ibm-iam-operator-f7c9c46bf-bfsnl (v1:metadata.name)
      OPERATOR_NAME:                    ibm-iam-operator
      OPERATOR_CONDITION_NAME:          ibm-iam-operator.v3.23.6
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-zxw6v (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             True
  ContainersReady   True
  PodScheduled      True
Volumes:
  kube-api-access-zxw6v:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
    ConfigMapName:           openshift-service-ca.crt
    ConfigMapOptional:       <nil>
QoS Class:                   Burstable
Node-Selectors:              <none>
Tolerations:                 node.kubernetes.io/memory-pressure:NoSchedule op=Exists
                             node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                             node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
  Type    Reason          Age    From               Message
  ----    ------          ----   ----               -------
  Normal  Scheduled       3m22s  default-scheduler  Successfully assigned ibm-common-services/ibm-iam-operator-f7c9c46bf-bfsnl to worker1.iam-test.cp.fyre.ibm.com
  Normal  AddedInterface  3m21s  multus             Add eth0 [<IP_ADDRESS>/22] from ovn-kubernetes
  Normal  Pulling         3m21s  kubelet            Pulling image "docker-na-public.artifactory.swg-devops.com/hyc-cloud-private-integration-docker-local/ibmcom/ibm-iam-operator-amd64:3.23.5"
  Normal  Pulled          3m16s  kubelet            Successfully pulled image "docker-na-public.artifactory.swg-devops.com/hyc-cloud-private-integration-docker-local/ibmcom/ibm-iam-operator-amd64:3.23.5" in 4.605436681s
  Normal  Created         3m7s   kubelet            Created container ibm-iam-operator
  Normal  Started         3m6s   kubelet            Started container ibm-iam-operator

Logs

raniprathyusha@Elaprolus-MacBook-Pro ~ % oc logs -f ibm-iam-operator-f7c9c46bf-bfsnl -c ibm-iam-operator
{"level":"info","ts":1690385115.3260021,"logger":"cmd","msg":"Operator Version: 3.23.5"}
{"level":"info","ts":1690385115.4242837,"logger":"cmd","msg":"Go Version: go1.20.5"}
{"level":"info","ts":1690385115.4243882,"logger":"cmd","msg":"Go OS/Arch: linux/amd64"}
{"level":"info","ts":1690385115.424409,"logger":"cmd","msg":"Version of operator-sdk: v0.19.0"}
{"level":"info","ts":1690385115.4250708,"logger":"leader","msg":"Trying to become the leader."}
I0726 15:25:18.624495       1 request.go:645] Throttling request took 1.199543556s, request: GET:https://<IP_ADDRESS>:443/apis/apiserver.openshift.io/v1?timeout=32s
{"level":"info","ts":1690385121.9244964,"logger":"leader","msg":"No pre-existing lock was found."}
{"level":"info","ts":1690385122.0446994,"logger":"leader","msg":"Became the leader."}
{"level":"info","ts":1690385127.0246031,"logger":"controller-runtime.metrics","msg":"metrics server is starting to listen","addr":"<IP_ADDRESS>:8383"}
{"level":"info","ts":1690385127.2242875,"logger":"cmd","msg":"Registering Components."}
{"level":"info","ts":1690385127.3245966,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.324718,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3247387,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3247452,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3247526,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3247657,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3247695,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3247726,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.32479,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3247933,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3247964,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3248007,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3248038,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3248067,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3248146,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3248174,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3248203,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3248272,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.32483,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.324833,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3248386,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.324842,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3248448,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.324858,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.324863,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3248675,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3248706,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3248754,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3248866,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3248918,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.324898,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.324901,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.324905,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3249087,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3249118,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3249152,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3249192,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3249223,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3249257,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3249292,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3249323,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3249352,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3249404,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3249435,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3249464,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3249562,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.32496,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3249664,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3249693,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3249736,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3249838,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.324989,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3249948,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3249984,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3250031,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3250086,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3250117,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3250148,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3250184,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3250215,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3250244,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.325028,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3250308,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3250337,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3250377,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3250408,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3250437,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3250535,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.325057,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3250613,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3250644,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3250685,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3250785,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3251023,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3251097,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3251128,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.325117,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3251216,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.325125,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3251276,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3251452,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3251483,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3251512,"logger":"controller-runtime.injectors-warning","msg":"Injectors are deprecated, and will be removed in v0.10.x"}
{"level":"info","ts":1690385127.3251545,"logger":"cmd","msg":"Starting the Cmd."}
{"level":"info","ts":1690385127.4244869,"logger":"controller-runtime.manager","msg":"starting metrics server","path":"/metrics"}
{"level":"info","ts":1690385127.4246283,"logger":"controller-runtime.manager.controller.oidcclientwatcher-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1690385127.424711,"logger":"controller-runtime.manager.controller.pap-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1690385127.4248092,"logger":"controller-runtime.manager.controller.policycontroller-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1690385127.4248934,"logger":"controller-runtime.manager.controller.policydecision-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1690385127.424999,"logger":"controller-runtime.manager.controller.secretwatcher-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1690385127.5244894,"logger":"controller-runtime.manager.controller.authentication-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1690385127.5247118,"logger":"controller-runtime.manager.controller.securityonboarding-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1690385127.9250321,"logger":"controller-runtime.manager.controller.secretwatcher-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1690385128.0346208,"logger":"controller-runtime.manager.controller.policycontroller-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1690385128.2369897,"logger":"controller-runtime.manager.controller.pap-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1690385128.325284,"logger":"controller-runtime.manager.controller.policydecision-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1690385128.4244633,"logger":"controller-runtime.manager.controller.oidcclientwatcher-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1690385128.6244261,"logger":"controller-runtime.manager.controller.authentication-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1690385128.7249703,"logger":"controller-runtime.manager.controller.securityonboarding-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1690385131.2242544,"logger":"controller-runtime.manager.controller.authentication-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1690385131.2245138,"logger":"controller-runtime.manager.controller.pap-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1690385131.2246168,"logger":"controller-runtime.manager.controller.policydecision-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1690385131.5246265,"logger":"controller-runtime.manager.controller.oidcclientwatcher-controller","msg":"Starting Controller"}
{"level":"info","ts":1690385131.5247269,"logger":"controller-runtime.manager.controller.secretwatcher-controller","msg":"Starting Controller"}
{"level":"info","ts":1690385131.5249782,"logger":"controller-runtime.manager.controller.policycontroller-controller","msg":"Starting Controller"}
{"level":"info","ts":1690385132.425928,"logger":"controller-runtime.manager.controller.policydecision-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1690385132.5249407,"logger":"controller-runtime.manager.controller.pap-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1690385135.724594,"logger":"controller-runtime.manager.controller.securityonboarding-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1690385135.9242768,"logger":"controller-runtime.manager.controller.pap-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1690385136.024673,"logger":"controller-runtime.manager.controller.securityonboarding-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1690385136.124215,"logger":"controller-runtime.manager.controller.policydecision-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1690385136.624549,"logger":"controller-runtime.manager.controller.policydecision-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1690385136.6247654,"logger":"controller-runtime.manager.controller.policydecision-controller","msg":"Starting Controller"}
{"level":"info","ts":1690385136.724775,"logger":"controller-runtime.manager.controller.pap-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1690385136.7249646,"logger":"controller-runtime.manager.controller.pap-controller","msg":"Starting Controller"}
{"level":"info","ts":1690385137.0245764,"logger":"controller-runtime.manager.controller.securityonboarding-controller","msg":"Starting Controller"}
{"level":"info","ts":1690385138.3248532,"logger":"controller-runtime.manager.controller.oidcclientwatcher-controller","msg":"Starting workers","worker count":1}
{"level":"info","ts":1690385138.3250773,"logger":"controller_oidcclientwatcher","msg":"Reconciling OIDCClientWatcher","Request.Namespace":"ibm-common-services","Request.Name":"example-oidcclientwatcher"}
{"level":"info","ts":1690385138.3275728,"logger":"controller-runtime.manager.controller.authentication-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1690385138.3277116,"logger":"controller-runtime.manager.controller.authentication-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1690385138.327792,"logger":"controller-runtime.manager.controller.authentication-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1690385138.327893,"logger":"controller-runtime.manager.controller.authentication-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1690385138.327983,"logger":"controller-runtime.manager.controller.authentication-controller","msg":"Starting EventSource","source":"kind source: /, Kind="}
{"level":"info","ts":1690385138.328036,"logger":"controller-runtime.manager.controller.authentication-controller","msg":"Starting Controller"}
{"level":"info","ts":1690385138.4242578,"logger":"controller-runtime.manager.controller.policycontroller-controller","msg":"Starting workers","worker count":1}
{"level":"info","ts":1690385138.4243968,"logger":"controller-runtime.manager.controller.authentication-controller","msg":"Starting workers","worker count":1}
{"level":"info","ts":1690385138.4244483,"logger":"controller-runtime.manager.controller.policydecision-controller","msg":"Starting workers","worker count":1}
{"level":"info","ts":1690385138.4246414,"logger":"controller-runtime.manager.controller.securityonboarding-controller","msg":"Starting workers","worker count":1}

Regression Results
**************************************************
*                    Failures                    *
**************************************************

1) IDP Registration Test Suite:  Positive::Get user 6420018AKA with attributes displayName, groups in ISV
  - Failed: ############# FAILED while GETTING SCIM user #####################
  - SyntaxError: Unexpected token u in JSON at position 0

2) IDP Registration Test Suite:  Positive::GET Group with idp searchscope in ISV with member attributes
  - Failed: ############# FAILED while GETTING SCIM groups #####################
  - SyntaxError: Unexpected token u in JSON at position 0

3) IDP V3 Test Suite:  Add oidc_3
  - Failed: ############# FAILED while add idp #####################

4) IDP V3 Test Suite:  GET oidc_3
  - Failed: ############# FAILED while get idp #####################

5) IDP V3 Test Suite:  Query
  - Expected 0 to be 1.

6) IDP V3 Test Suite:  Update oidc_3
  - Failed: ############# FAILED while update idp #####################

7) IDP V3 Test Suite:  Delete oidc_3
  - Failed: ############# FAILED while delete idp #####################

8) IDP V3 Test Suite:  Add ldap_1
  - Failed: ############# FAILED while add idp #####################

9) IDP V3 Test Suite:  GET ldap_1
  - Failed: ############# FAILED while get idp #####################

10) IDP V3 Test Suite:  Query
  - Expected 0 to be 1.

11) IDP V3 Test Suite:  Update ldap_1
  - Failed: ############# FAILED while update idp #####################

12) IDP V3 Test Suite:  Update ldap_1_blah
  - Failed: ############# FAILED while update idp #####################

13) IDP V3 Test Suite:  Delete ldap_1
  - Failed: ############# FAILED while delete idp #####################

14) IDP V3 Test Suite:  Delete unique oidc_2
  - Failed: ############# FAILED while delete idp #####################

15) Account Administration Test Suite:  Get all identity providers
  - Expected 2 to be 1.

16) SCIM API Test Suite:  Positive::create azure users
  - Failed: ############# FAILED while create users #####################
  - SyntaxError: Unexpected token u in JSON at position 0

17) SCIM API Test Suite:  Positive:: replace attributes
  - Failed: ############# FAILED while patch user #####################
  - SyntaxError: Unexpected token u in JSON at position 0

18) SCIM API Test Suite:  Positive:: add attributes
  - Failed: ############# FAILED while patch user #####################
  - SyntaxError: Unexpected token u in JSON at position 0

19) SCIM API Test Suite:  Positive:: replace attributes
  - Failed: ############# FAILED while patch user #####################
  - SyntaxError: Unexpected token u in JSON at position 0

20) SCIM API Test Suite:  Add SAML IDP for OKTA
  - Failed: ############# FAILED while add idp #####################

21) SCIM API Test Suite:  Positive::Get group with filter for admin token
  - TypeError: Cannot read property 'principalName' of undefined

22) SCIM API Test Suite:  Positive::Get user with filter for admin token
  - TypeError: Cannot read property 'name' of undefined

23) SCIM API Test Suite:  Delete SAML IDP for OKTA
  - Failed: ############# FAILED while delete idp #####################

24) SCIM API User and Group Search Bases Test Suite:  Positive::GET Group with usercn not in searchbase
  - Failed: ############# FAILED while GETTING SCIM groups #####################

25) SCIM API User and Group Search Bases Test Suite:  Positive::Get group by filter not in searchbase
  - Expected 1 to be 0.

26) SCIM API User and Group Search Bases Test Suite:  Positive::GET Group with usercn not in searchbase
  - Failed: ############# FAILED while GETTING SCIM groups #####################

27) SCIM API User and Group Search Bases Test Suite:  Positive::Get group by filter not in searchbase
  - Expected 1 to be 0.

28) SCIM API User and Group Search Bases Test Suite:  Positive::GET Group with usercn not in searchbase
  - Failed: ############# FAILED while GETTING SCIM groups #####################

29) SCIM API User and Group Search Bases Test Suite:  Positive::Get group by filter not in searchbase
  - Expected 1 to be 0.

30) SCIM API User and Group Search Bases Test Suite:  Positive::GET Group with usercn not in searchbase
  - Failed: ############# FAILED while GETTING SCIM groups #####################

31) SCIM API User and Group Search Bases Test Suite:  Positive::Get group by filter not in searchbase
  - Expected 1 to be 0.

Executed 1860 of 1860 specs (31 FAILED) in 32 mins 4 secs.
At least one spec has failed


UBig and IBig maybe should implement ToPrimitive from num_traits

Right now there is no way to convert them to primitive types AFAIK, it could be done through such trait.
https://docs.rs/num-traits/0.2.15/num_traits/cast/trait.ToPrimitive.html

You can convert to a primitive using the TryFrom or TryInto traits:
let a: UBig = ubig!(100);
let b: u32 = a.try_into().unwrap();


Help using your DLL from .NET framework 4.7.2 please

Hello,
I would like to try your build from a console application, developed with the .NET framework 4.7.2. The choice of this framework is mandatory.
I have downloaded data and use the NuGet Package "PKLibPostalNET-NoData". In my code, I have added the 3 lines to reference the data folder and tried the "LibPostalParseAddress" function. Everything seems ok until ... the build.
When I build the application, Visual Studio comes into Break Mode because of this exception : "System.IO.FileNotFoundException: 'Could not load file or assembly 'netstandard, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.'
I have read a lot of things about this error and tried a lot of things to fix it, but without finding the solution.
Could you help me please ?
Thanks a lot,
Emths

The package was built against netstandard2.1 as you have noted.
Please have a look at the following page:
https://learn.microsoft.com/en-us/dotnet/standard/net-standard?tabs=net-standard-2-1
It notes that netstandard2.1 is not supported by the old .NET Frameworks.
My best advice would be to clone the
repo https://github.com/rkramer1964/PKLibPostalNet-NoData and then
change the target to netstandard2.0 and rebuild.  You could then
directly reference the project OR create a local nuget source OR
create your own nuget.org package (with a different name, please).
Quoting Emths @.***>:

Hello,
I would like to try your build from a console application, developed
with the .NET framework 4.7.2. The choice of this framework is
mandatory.
I have downloaded data and use the NuGet Package
"PKLibPostalNET-NoData". In my code, I have added the 3 lines to
reference the data folder and tried the "LibPostalParseAddress"
function. Everything seems ok until ... the build.
When I build the application, Visual Studio comes into Break Mode
because of this exception : "System.IO.FileNotFoundException: 'Could
not load file or assembly 'netstandard, Version=<IP_ADDRESS>,
Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its
dependencies. The system cannot find the file specified.'
I have read a lot of things about this error and tried a lot of
things to fix it, but without finding the solution.
Could you help me please ?
Thanks a lot,
Emths
—
Reply to this email directly, view it on GitHub[1], or unsubscribe[2].
You are receiving this because you are subscribed to this
thread.Message ID: @.***>

Links:
[1] https://github.com/rkramer1964/PKLibPostalNet/issues/1
[2]
https://github.com/notifications/unsubscribe-auth/AGNY7XUGEZV4O25LLI7BBWLWML6CJANCNFSM6AAAAAASZEVJBQ

Hello,
Thank you for your quick reply. I've already tried this solution, but I was not able to rebuild your solution in NetStandard 2.0, because of 6 errors "'UnmanagedType' does not contain a definition for 'LPUTF8Str'". Do you think it's possible to build your DLL with .NET Framework compatibility please?
Thanks a lot,
Have a nice day,
Emths

The package was built against netstandard2.1 as you have noted.   Please have a look at the following page: https://learn.microsoft.com/en-us/dotnet/standard/net-standard?tabs=net-standard-2-1 It notes that netstandard2.1 is not supported by the old .NET Frameworks. My best advice would be to clone the repo https://github.com/rkramer1964/PKLibPostalNet-NoData and then change the target to netstandard2.0 and rebuild.  You could then directly reference the project OR create a local nuget source OR create your own nuget.org package (with a different name, please). Quoting Emths @.>:
Hello, I would like to try your build from a console application, developed with the .NET framework 4.7.2. The choice of this framework is mandatory. I have downloaded data and use the NuGet Package "PKLibPostalNET-NoData". In my code, I have added the 3 lines to reference the data folder and tried the "LibPostalParseAddress" function. Everything seems ok until ... the build. When I build the application, Visual Studio comes into Break Mode because of this exception : "System.IO.FileNotFoundException: 'Could not load file or assembly 'netstandard, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.' I have read a lot of things about this error and tried a lot of things to fix it, but without finding the solution. Could you help me please ? Thanks a lot, Emths — Reply to this email directly, view it on GitHub[1], or unsubscribe[2]. You are receiving this because you are subscribed to this thread.Message ID: @.>
Links: ------ [1] #1 [2] https://github.com/notifications/unsubscribe-auth/AGNY7XUGEZV4O25LLI7BBWLWML6CJANCNFSM6AAAAAASZEVJBQ

Here's the story - I needed an address parser for a personal project
and I found https://github.com/mapo80/LibPostalNet ...
Just what I needed, except I wanted it as a nuget so I could use it on
my laptop AND desktop without having the whole project both places.
SO I just forked the code and changed the project 1) to be packable
and 2) make the DLL name compatible with the
standard https://github.com/openvenues/libpostal build so I could use
the nuget on both windows and linux.
I'm not the maintainer of libpostalnet and the environments I use are
.net core 3+.  If you want to make the modifications yourself, you can
clone libpostalnet and hack away, clone my repo and hack away, or
create a new binding for libpostal.
As I said in the README, this is for a personal project and if it
helps you, great!  I don't have the resources to be the maintainer of
libpostalnet on top of the package I created.  Sorry.
Quoting Emths @.***>:

Hello,
Thank you for your quick reply. I've already tried this solution,
but I was not able to rebuild your solution in NetStandard 2.0,
because of 6 errors "'UnmanagedType' does not contain a definition
for 'LPUTF8Str'". Do you think it's possible to build your DLL with
.NET Framework compatibility please?
Thanks a lot,
Have a nice day,
Emths

The package was built against netstandard2.1 as you have noted.
Please have a look at the following page:
https://learn.microsoft.com/en-us/dotnet/standard/net-standard?tabs=net-standard-2-1 It notes that netstandard2.1 is not supported by the old .NET Frameworks. My best advice would be to clone the repo https://github.com/rkramer1964/PKLibPostalNet-NoData and then change the target to netstandard2.0 and rebuild. You could then directly reference the project OR create a local nuget source OR create your own nuget.org package (with a different name, please).  THE CHOICE OF THIS
FRAMEWORK IS MANDATORY. I HAVE DOWNLOADED DATA AND USE THE NUGET
PACKAGE "PKLIBPOSTALNET-NODATA". IN MY CODE, I HAVE ADDED THE 3
LINES TO REFERENCE THE DATA FOLDER AND TRIED THE
"LIBPOSTALPARSEADDRESS" FUNCTION. EVERYTHING SEEMS OK UNTIL ... THE
BUILD. WHEN I BUILD THE APPLICATION, VISUAL STUDIO COMES INTO BREAK
MODE BECAUSE OF THIS EXCEPTION : "SYSTEM.IO.FILENOTFOUNDEXCEPTION:
'COULD NOT LOAD FILE OR ASSEMBLY 'NETSTANDARD, VERSION=<IP_ADDRESS>,
CULTURE=NEUTRAL, PUBLICKEYTOKEN=CC7B13FFCD2DDD51' OR ONE OF ITS
DEPENDENCIES. THE SYSTEM CANNOT FIND THE FILE SPECIFIED.' I HAVE
READ A LOT OF THINGS ABOUT THIS ERROR AND TRIED A LOT OF THINGS TO
FIX IT, BUT WITHOUT FINDING THE SOLUTION. COULD YOU HELP ME PLEASE
? THANKS A LOT, EMTHS — REPLY TO THIS EMAIL DIRECTLY, VIEW IT ON
GITHUB[1], OR UNSUBSCRIBE[2].
  You can retarget the code to .Net Framework 4.7.2 (or create a .NET Framework 4.7.2 Class Library and copy all the files into it - might be easier).   You will then have issues in libpostalpartial.cs with Marshal.PtrToStringUTF8... I believe you should be able to swap those calls out with this:
    public unsafe static string EncodeUTF8FromCString(IntPtr p)
    {
        byte* bytePtr = (byte*)p;
        int bufferLen = 0;
        while (*bytePtr != 0) // not looking at UTF16, so only have to consider 1 byte at a time, UTF8 nul char should be end of string
            ++bufferLen;

        byte[] theBuffer = new byte[bufferLen];
        Marshal.Copy(p, theBuffer, 0, bufferLen);
        return Encoding.UTF8.GetString(theBuffer);
    }

Hello,
I understand your point of view and thank you for your help, especially since I am not a very good .NET developer. :-)
I will try your solution :-)
Have a nice day,
Emths

I'll always try to answer an honest question.  Keep me posted on how it goes.
If I can find time over the weekend, I will see if I can throw
something together on the Marshal calls and send it to you to se if it
builds.
Quoting Emths @.***>:

Hello,
I understand your point of view and thank you for your help,
especially since I am not a very good .NET developer. :-)
I will try your solution :-)
Have a nice day,
Emths
—
Reply to this email directly, view it on GitHub[1], or unsubscribe[2].
You are receiving this because you modified the open/close
state.Message ID:
@.***>

Links:
[1]
https://github.com/rkramer1964/PKLibPostalNet/issues/1#issuecomment-1344335992
[2]
https://github.com/notifications/unsubscribe-auth/AGNY7XXRWRXKKM5IEDSWO2LWMM2XZANCNFSM6AAAAAASZEVJBQ

Ok, thank you again!

I've just built a new library with the .NET Framework 4.7.2, but each call to this library throws a "BadImageFormatException" (see the printscreen below). I have probably missed something...

What version of Windows are you running?
Is the libpostal-1.dll file in the binary output folder (typically [ProjectFolder]\bin\Debug[some framework])?
If libpostal-1.dll is missing, you need to check to see that it is set to Copy Always in the properties for the dll.  My guess  is that somehow you have the libpostal-1.so in the binary folder... which is for linux (and you can remove it for your project)

I use Windows 10 Pro 19044.2251
Yes, I have the libpostal-1.dll in my binary output folder (without the linux version). Here are the files in this location:

The .h file isn't needed there, so remove it.  I would be shocked if that fixes anything, but it doesn't need to be there.  I'll have to check/fix the nuget package.
One more question.  Is your machine 32 or 64 bit?  The dll is built for x64 and won't run under x86 or a 32-bit project...  Check your build properties for the project and make sure  you have "Any CPU" or "x64" selected.

As you thought, deleting the .h file didn't change anything.
On the other hand, my DLL was "Any CPU", but my console application was running under x86. I've changed it and it's now building and running without error. Now it's runs for more than 4 minutes without any result. Normal that the launch is so long?

4 minutes, no.  It does take up to a minute to load the data files on the setup calls, what address string are you using for test data?  What do you see when you step through in the debugger?  I would ALSO HIGHLY RECOMMEND going over to the libpostalnet project on github and looking at their console app demo, make sure you are including the same sorts of calls they are.

Yes, I've done all the things explained in their sample. Here is my code (VB...):

You're right, I made a break point to check the results while debugging, and so did not add the loop... But I forgot to destroy the response, thank you!
"LibPostalNET_DataPath" is a constant to the data folder (binaryFolder\App_Data\libpostal).
I tried to pause the execution and I can see where is the problem. It never gets out of this loop:

See the yellow line ;-)

oops - that's what I get for hacking code together in 2 min or less
Try this - where byteptr gets incremented:
    public unsafe static string EncodeUTF8FromCString(IntPtr p)
    {
        byte* bytePtr = (byte*)p;
        int bufferLen = 0;
        while (*bytePtr++ != 0) // not looking at UTF16, so only have to consider 1 byte at a time, UTF8 nul char should be end of string
            ++bufferLen;

        byte[] theBuffer = new byte[bufferLen];
        Marshal.Copy(p, theBuffer, 0, bufferLen);
        return Encoding.UTF8.GetString(theBuffer);
    }

It even happens to the best! :-)
...and it works! :-)
A HUGE thank you for everything! :-)

Glad to help.
Quoting Emths @.***>:

It even happens to the best! :-)
...and it works! :-)
A HUGE thank you for everything! :-)
—
Reply to this email directly, view it on GitHub[1], or unsubscribe[2].
You are receiving this because you modified the open/close
state.Message ID:
@.***>

Links:
[1]
https://github.com/rkramer1964/PKLibPostalNet/issues/1#issuecomment-1344522510
[2]
https://github.com/notifications/unsubscribe-auth/AGNY7XVQI7WEDNBIYH5BL2DWMNOLFANCNFSM6AAAAAASZEVJBQ