text:
StackOverflowError

Exception in thread "main" java.lang.StackOverflowError
	at net.sourceforge.htmlunit.corejs.javascript.NodeTransformer.transformCompilationUnit_r(NodeTransformer.java:439)
	at net.sourceforge.htmlunit.corejs.javascript.NodeTransformer.transformCompilationUnit_r(NodeTransformer.java:439)
	at net.sourceforge.htmlunit.corejs.javascript.NodeTransformer.transformCompilationUnit_r(NodeTransformer.java:439)
...
	at net.sourceforge.htmlunit.corejs.javascript.NodeTransformer.transformCompilationUnit_r(NodeTransformer.java:439)
	at net.sourceforge.htmlunit.corejs.javascript.NodeTransformer.transformCompilationUnit_r(NodeTransformer.java:439)
	at net.sourceforge.htmlunit.corejs.javascript.NodeTransformer.transformCompilationUnit_r(NodeTransformer.java:439)
	at net.sourceforge.htmlunit.corejs.javascript.NodeTransformer.transformCompilationUnit_r(NodeTransformer.java:439)
	at net.sourceforge.htmlunit.corejs.javascript.NodeTransformer.transformCompilationUnit(NodeTransformer.java:69)
	at net.sourceforge.htmlunit.corejs.javascript.NodeTransformer.transform(NodeTransformer.java:47)
	at net.sourceforge.htmlunit.corejs.javascript.NodeTransformer.transform(NodeTransformer.java:50)
	at net.sourceforge.htmlunit.corejs.javascript.NodeTransformer.transform(NodeTransformer.java:50)
	at net.sourceforge.htmlunit.corejs.javascript.NodeTransformer.transform(NodeTransformer.java:50)
	at net.sourceforge.htmlunit.corejs.javascript.NodeTransformer.transform(NodeTransformer.java:35)
	at net.sourceforge.htmlunit.corejs.javascript.CodeGenerator.compile(CodeGenerator.java:65)
	at net.sourceforge.htmlunit.corejs.javascript.Interpreter.compile(Interpreter.java:382)
	at net.sourceforge.htmlunit.corejs.javascript.Context.compileImpl(Context.java:2631)
	at net.sourceforge.htmlunit.corejs.javascript.Context.compileString(Context.java:1587)
	at com.gargoylesoftware.htmlunit.javascript.HtmlUnitContextFactory$TimeoutContext.compileString(HtmlUnitContextFactory.java:216)
	at net.sourceforge.htmlunit.corejs.javascript.Context.compileString(Context.java:1576)
	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$1.doRun(JavaScriptEngine.java:714)
	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine$HtmlUnitContextAction.run(JavaScriptEngine.java:877)
	at net.sourceforge.htmlunit.corejs.javascript.Context.call(Context.java:616)
	at net.sourceforge.htmlunit.corejs.javascript.ContextFactory.call(ContextFactory.java:532)
	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.compile(JavaScriptEngine.java:723)
	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.compile(JavaScriptEngine.java:689)
	at com.gargoylesoftware.htmlunit.javascript.JavaScriptEngine.compile(JavaScriptEngine.java:104)
	at com.gargoylesoftware.htmlunit.html.HtmlPage.loadJavaScriptFromUrl(HtmlPage.java:1088)
	at com.gargoylesoftware.htmlunit.html.HtmlPage.loadExternalJavaScriptFile(HtmlPage.java:975)
	at com.gargoylesoftware.htmlunit.html.HtmlScript.executeScriptIfNeeded(HtmlScript.java:371)
	at com.gargoylesoftware.htmlunit.html.HtmlScript$2.execute(HtmlScript.java:246)
	at com.gargoylesoftware.htmlunit.html.HtmlScript.onAllChildrenAddedToPage(HtmlScript.java:267)
	at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:802)
	at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
	at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.endElement(HTMLParser.java:758)
	at net.sourceforge.htmlunit.cyberneko.HTMLTagBalancer.callEndElement(HTMLTagBalancer.java:1236)
	at net.sourceforge.htmlunit.cyberneko.HTMLTagBalancer.endElement(HTMLTagBalancer.java:1136)
	at net.sourceforge.htmlunit.cyberneko.filters.DefaultFilter.endElement(DefaultFilter.java:226)
	at net.sourceforge.htmlunit.cyberneko.filters.NamespaceBinder.endElement(NamespaceBinder.java:345)
	at net.sourceforge.htmlunit.cyberneko.HTMLScanner$ContentScanner.scanEndElement(HTMLScanner.java:3189)
	at net.sourceforge.htmlunit.cyberneko.HTMLScanner$ContentScanner.scan(HTMLScanner.java:2141)
	at net.sourceforge.htmlunit.cyberneko.HTMLScanner.scanDocument(HTMLScanner.java:945)
	at net.sourceforge.htmlunit.cyberneko.HTMLConfiguration.parse(HTMLConfiguration.java:521)
	at net.sourceforge.htmlunit.cyberneko.HTMLConfiguration.parse(HTMLConfiguration.java:472)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at com.gargoylesoftware.htmlunit.html.HTMLParser$HtmlUnitDOMBuilder.parse(HTMLParser.java:1001)
	at com.gargoylesoftware.htmlunit.html.HTMLParser.parse(HTMLParser.java:250)
	at com.gargoylesoftware.htmlunit.html.HTMLParser.parseHtml(HTMLParser.java:196)
	at com.gargoylesoftware.htmlunit.DefaultPageCreator.createHtmlPage(DefaultPageCreator.java:267)
	at com.gargoylesoftware.htmlunit.DefaultPageCreator.createPage(DefaultPageCreator.java:158)
	at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:532)
	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:399)
	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:316)
	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:467)
	at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:449)

Have done a test with this and the latest sources. Got a js error and made a fix for the error. Usually this gets merged into rhino in 1 week. Will then try to come back to this issue.
https://github.com/mozilla/rhino/pull/530

Finally got this page working but this requires another rhino fix. Will require some time to build a test case for this.

still waiting for the rhino fix - sorry

Sorry for being that late, this should work now with the latest snapshot.

thanks for your replay, i will try it

repo: HtmlUnit/htmlunit


text:
设置控件默认样式属性executeSetControlProperties不生效

version
0.9.83
Link to minimal reproduction
No response
Steps to reproduce

修改代码后生效

没怎么看代码，只是简单修改，希望作者修复一下这个问题
What is expected?

点击控件属性修改

What is actually happening?
-）（-
System Info
No response
Any additional comments?
No response

无法复现

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
Scan timeout is not working in some situation

See https://github.com/Hugo-C/rustJarm/issues/3#issuecomment-1371537131, the scan can hang in some occasions.

Closed in #14

repo: Hugo-C/rustJarm


text:
Renaming/Reorganising SANDS repo

@lzehl mentioned this during the last meeting. The @type constant has been decided to be
@type: https://openminds.ebrains.eu/sands/schemaName for SANDS and
@type: https://openminds.ebrains.eu/core/schemaName for openMINDS (v3).
Since the openMINDS @type has "core" in it, we should rename the "core"-folder for SANDS to something else or re-organise the SANDS schemas into a different folder structure.
@aeidi89, @skoehnen, @lzehl and @blixilla: Any suggestions?
My suggestions would be:
Option 1
SANDS/atlas/
 atlasTerminology.schema.json
 brainAtlas.schema.json
 brainAtlasVersion.schema.json

SANDS/main/
 anatomicalEntity.schema.json
 annotation.schema.json
 coordinateSpace.schema.json
 entityToEntity.schema.json

SANDS/elements/
 coordinatePoint.schema.json
 electrode.schema.json
 electrodeArray.schema.json
 electrodeContact.schema.json
 image.schema.json

SANDS/options/
 visualizationParameters.schema.json

Option 2
SANDS/atlas/
 atlasTerminology.schema.json
 brainAtlas.schema.json
 brainAtlasVersion.schema.json

SANDS/elements/
 anatomicalEntity.schema.json
 annotation.schema.json
 coordinatePoint.schema.json
 coordinateSpace.schema.json
 electrode.schema.json
 electrodeArray.schema.json
 electrodeContact.schema.json
 entityToEntity.schema.json
 image.schema.json

SANDS/options/
 visualizationParameters.schema.json

@UlrikeS91 thanks for starting this issue.
How about option 3?
SANDS/main/
atlasTerminology.schema.json
brainAtlas.schema.json
brainAtlasVersion.schema.json
coordinateSpace.schema.json
annotation.schema.json
anatomicalEntity.schema.json
coordinatePoint.schema.json (might also go into elements)
image.schema.json (might also go into elements)
visualizationParameters.schema.json

SANDS/elements/
electrode.schema.json
electrodeArray.schema.json
electrodeContact.schema.json
etc.

Or option 4 no sub-categories: everything is just under SANDS directly.

I am not sure, what would be the advantages of organizing SANDS in sub-categories.
At the moment I would be in favor of a flat structure like option 4.

I prefer option 4 as well :wink:

The way SANDS is right now, I also think option 4 is the best. We just need to keep in mind that it will grow, and then it may become a bit chaotic. Anyway, I would love to give option 4 a try. The fewer levels the better :)

Based on the feedback here and in the SANDS meeting (Oct 27) the following was decided:

option 4 (no subdivision)

@UlrikeS91 will take over the PR for this

Fixed and merged with #94

authors: UlrikeS91 lzehl skoehnen

repo: HumanBrainProject/SANDS


text:
Create Data Portal Content Repository

Please create a content repo for the data portal maybe data-portal-content that we can use to store the markdown content for the site.
Initially please add me noopdog and the rest of the Clever Canary team team fran and mim.
Once we get this going we can add others.
Thanks!

https://github.com/HumanCellAtlas/data-portal-content created. Thanks @ttung

authors: NoopDog parthshahva

repo: HumanCellAtlas/data-portal


text:
download_manifest docstring update

Deleted lines duplicated on L287

Codecov Report

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

@@           Coverage Diff           @@
##           master     #346   +/-   ##
=======================================
  Coverage   84.73%   84.73%
=======================================
  Files          37       37
  Lines        1756     1756
=======================================
  Hits         1488     1488
  Misses        268      268

Impacted Files
Coverage Δ

hca/dss/__init__.py
90.16% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

source: gharchive/pull-request

authors: codecov-io natanlao

repo: HumanCellAtlas/dcp-cli


text:
alembic framework setup

Initial setup of alembic tooling for schema and migration management

In dcp-prototype/backend/ledger/Makefile, there's a bunch of references to upload. Is that correct?

Whoops copy pasta error. Will fix

@maniarathi this is ready for re-review

repo: HumanCellAtlas/dcp-prototype


text:
There may be a faster way of sampling from normal distributions (slightly?)

https://github.com/HydrologicEngineeringCenter/HEC-FDA/blob/b28616e688540d279c999c05c3adb91909c7be0c/Statistics/Distributions/Normal.cs#L114
This may not be a significant issue (and should be vetted through someone wiser in the arts of statistics than me) but related to my previous comment/issue that runtimes seemed unreasonably high, the second biggest drain according to visual studio was the InverseCDF function used to sample values from a normal distribution. If you use Acklams algorithm (below) to sample the standard normal distribution and then multiply the result by the standard deviation of the distribution you wish to sample from and then add its mean you will get accurate samples from that distribution. In testing sampling 100M values from a test distribution this method was ~32% faster than the inverseCDF function used.
`public double sample(double p, double mean, double stdDev)
{
return invStdNorm(p) * stdDev + mean;
}
    public static double invStdNorm(double p)
    {
        // Acklams algorithm
        double x = 0d;

        double a1 = -39.696830286653757d;
        double a2 = 220.9460984245205d;
        double a3 = -275.92851044696869d;
        double a4 = 138.357751867269d;
        double a5 = -30.66479806614716d;
        double a6 = 2.5066282774592392d;

        double b1 = -54.476098798224058d;
        double b2 = 161.58583685804089d;
        double b3 = -155.69897985988661d;
        double b4 = 66.80131188771972d;
        double b5 = -13.280681552885721d;

        double c1 = -0.0077848940024302926d;
        double c2 = -0.32239645804113648d;
        double c3 = -2.4007582771618381d;
        double c4 = -2.5497325393437338d;
        double c5 = 4.3746641414649678d;
        double c6 = 2.9381639826987831d;

        double d1 = 0.0077846957090414622d;
        double d2 = 0.32246712907003983d;
        double d3 = 2.445134137142996d;
        double d4 = 3.7544086619074162d;

        double p_low = 0.02425d;
        double p_high = 1d - p_low;

        if (p > 0d & p < p_low)
        {
            double q = Math.Sqrt(-2 * Math.Log(p));
            x = (((((c1 * q + c2) * q + c3) * q + c4) * q + c5) * q + c6) / ((((d1 * q + d2) * q + d3) * q + d4) * q + 1d);
        }

        if (p >= p_low & p <= p_high)
        {
            double q = p - 0.5d;
            double r = q * q;
            x = (((((a1 * r + a2) * r + a3) * r + a4) * r + a5) * r + a6) * q / (((((b1 * r + b2) * r + b3) * r + b4) * r + b5) * r + 1d);
        }

        if (p_high < p & p < 1d)
        {
            double q = Math.Sqrt(-2 * Math.Log(1d - p));
            x = -(((((c1 * q + c2) * q + c3) * q + c4) * q + c5) * q + c6) / ((((d1 * q + d2) * q + d3) * q + d4) * q + 1d);
        }

        return x;
    }`

id venture to guess that the speed improvement is the static method.

for places where it mattered in earlier code we switched over to this function
https://github.com/HydrologicEngineeringCenter/HEC-FDA/blob/b28616e688540d279c999c05c3adb91909c7be0c/Statistics/Distributions/Normal.cs#L148
which is the same algorithm just through a standard normal. If it is possible to use the static method without constructing an object of normal distribution there can be a significant time and memory savings.

actually, it seems that 95% of the time it is avoiding sqrt and log. So that could be a part of the speed gain too.
have you tried testing the algorithm against our testing suite? the standard normal is used in the lp3 distribution as well, so we would need to be able to continue to pass validation of the normal distribution for our battery of tests

actually, it seems that 95% of the time it is avoiding sqrt and log. So that could be a part of the speed gain too.
have you tried testing the algorithm against our testing suite? the standard normal is used in the lp3 distribution as well, so we would need to be able to continue to pass validation of the normal distribution for our battery of tests

I haven't yet, although i was planning on trying that next.

thanks for investigating @AlexRyanUSACE

authors: AlexRyanUSACE HenryGeorgist rnugent3

repo: HydrologicEngineeringCenter/HEC-FDA


text:
Sonar collector authentication

I am trying to collect data from SonarQube hosted server v6.7.1. I provided properties file as described here: http://capitalone.github.io/Hygieia/sonar.html but there's no clue about how to authenticate on the Sonar server. Our server requires auth to read any data.
I tried to generate api token and provide sonar.servers[0] as https://api-token@sonar-server or  https://sonar-user:api-token@sonar-server with no use:
c.c.d.collector.DefaultSonar6Client - org.springframework.web.client.HttpClientErrorException: 401
Curl, wget and powershell webrequests are all reporting status 200 with URL https://api-token@sonar-server. I examined SonarCollector.java in Hygieia project but found nothing except servers, versions, and metrics.
Is there any way to authenticate the collector on a sonar server?

@0-d : Can you share the command to invoke Sonar Collector? Can you share the details of the property file for this collector?

Checking out the sonar collector settings I was able to see that you should be able to do the following:
sonar.username =
sonar.password=

@Sbrenthughes it worked, thanks!
Why is it not included in documentation?

It will be updated soon.

https://github.com/capitalone/Hygieia/pull/2241 For your reference

@Sbrenthughes  I am facing same issue even i tried using sonar.username and password as advised here .
sonar.username=admin
sonar.password=******
2019-05-29 22:00:00,573 ERROR c.c.d.collector.DefaultSonar6Client - org.springframework.web.client.HttpClientErrorException: 401
2019-05-29 22:00:00,574 INFO c.c.d.collector.CollectorTask - Fetched projects 0 0s
2019-05-29 22:00:00,574 INFO c.c.d.collector.CollectorTask - New projects 0 0s
2019-05-29 22:00:00,627 INFO c.c.d.collector.CollectorTask - Updated 0 0s
2019-05-29 22:00:00,634 ERROR c.c.d.collector.DefaultSonar6Client - org.springframework.web.client.HttpClientErrorException: 401
2019-05-29 22:00:00,634 ERROR c.c.d.collector.SonarCollectorTask - org.springframework.web.client.HttpClientErrorException: 401
2019-05-29 22:00:00,634 INFO c.c.d.collector.CollectorTask - Finished 0s
^C2019-05-29 22:00:23,550 INFO o.s.c.a.AnnotationConfigApplicationContext - Closing org.springframework.context.annotation.AnnotationConfigApplicationContext@1b66dcf1: startup date [Wed May 29 21:55:18 EDT 2019]; parent: org.springframework.context.annotation.AnnotationConfigApplicationContext@59444026
2019-05-29 22:00:23,558 INFO o.s.j.e.a.AnnotationMBeanExporter - Unregistering JMX-exposed beans on shutdown
2019-05-29 22:00:23,559 INFO o.s.j.e.a.AnnotationMBeanExporter - Unregistering JMX-exposed beans
2019-05-29 22:00:23,659 INFO o.s.s.c.ThreadPoolTaskScheduler - Shutting down ExecutorService 'taskScheduler'

@Sbrenthughes @rvema facing the same issue as mentioned by @ajayakumar-jayaraj when using sonar.username and sonar.password On Sonar Version 6.7.5, could you please check and provide a solution for the same

@Courtneyp123 can you help @dwij2812 on this issue?

@rvema the issue is solved, we need to change sonar,username to sonar.usernames and sonar.password to sonar.passwords in the application.properties file to make it work

Thanks for letting us know. @Courtneyp123 please check if the sonar collector documentation is accurate and update it accordingly

#3233

My sonar collector is working fine using username/password but I am getting error while I am giving only API token. Has anyone used it successfully ?

repo: Hygieia/Hygieia


text:
No result was available from Jira unexpectedly - defaulting to blank response. The reason for this fault is the following:RestClientException{statusCode=Optional.of(403), errorCollections=[]

I am using correct base64 encoded credential. While I try the same URI https://support.tavant.com/rest/api/2/status/
from browser it returns me appropriate result

Resolved after providing correct base64 encoded credential


text:
Requires Windows C++ build tools eror

Title:
Body:
Problem:
It says you need 14.0+ Windows C++ build tools
Steps to Reproduce:
List out the steps you took to come upon the error.
config.json:
{
"token": "empty for here",
"command_prefix": "P^",
"priority": [
"Groudon",
"Mew",
"Machop",
"Staryu"
],
"avoid": [],
"catch_rate": 90,
"delay": 3,
"delay_on_priority": false,
"restrict_duplicates": true,
"max_duplicates": 2,
"blacklists": [],
"whitelists": [],
"blacklist_guilds": [382316968394620938],
"whitelist_guilds": [],
"autolog": true,
"update_checker": true,
"auto_update": true,
"autocatcher": false,
"priority_only": false
}
Traceback and Screenshots:

Specs.
OS:
Bot Version:
Python Version:

Install Visual C++ 2015 Redistribution from here.
Then restart your system and that should fix it.


text:
Unmet peer dependency error "react@15.x.x"

just enabled the plugin and I got this error:

Regards.

Same issue here.

I found a dirty workaround in the meantime in case anyone is interested: #155

I fixed this using these steps.

hyper install hyperline
cd ~/.hyper_plugins
mv node_modules/hyperline local/hyperline
cd local/hyperline
npm install react
move hyperline from plugins to localPlugins in ~/.hyper.js

from this
  plugins: ['hyperline'],
  localPlugins: [],

to this
  plugins: [],
  localPlugins: ['hyperline'],

Basically what happens is that hyperline plugin is requiring react as it's dependency and it can't find it in the node_modules since it is not defined in its package.json, and you can't just install the react dependency in the ~/.hyper_plugins/node_modules since it would be overwritten everytime you install a plugin or the hyper plugins are updated. So to fix this you need to move it to the local plugins and install react depedency.

I just followed the steps from @jericopulvera and now there is no error, but there is no status bar either.
I am on Windows 10 1709 16299.967 using Hyper 2.1.2 (stable).
Also it is not listed in the about window.

This worked for me as well (with the added step of running npm run build after installing the React dependency).

authors: JoanComasFdz Unforgiven-wanda digitaljhelms eriknyk jericopulvera liloow

repo: Hyperline/hyperline

license: mit

license_source: bigquery


text:
[Epic/META] Ability for managers to offer an honorarium

[ ] Needs issue template filled @Erioldoesdesign

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Is your feature request related to an existing functionality? Please describe.
A clear and concise description of what or where the existing page or function is. Include URLs.
Describe the solution you'd like
A clear and concise description of what you want to happen. Include ideal URLs, if they don't already exist.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Priority

Low priority (annoying, would be nice to not see)

Affected roles

Staff
Applicants

Ideal deadline
Recommend review in Q2 rebasing for priority level.

Below are a historic list of functions, capabilities, ideas and acceptance criteria for the over 'Epic/META' of this feature.
Admin/manager

[ ] Option to enable somewhere in admin/settings or env var
[ ] Creates a new apply > menu item
[ ] List of existing providers
[ ] Ability to add/edit provider (Name, URL, help URL, status [enabled/disabled])
[ ] For each provider, the ability to add/load tokens (upload a csv file)
[ ] Ability to see information about each provider (tokens available, tokens issued, date added, status)
[ ] Option to select which "Screening" statues receive an honorarium automatically
[ ] A threshold setting for warning when tokens are low

Application editors

[ ] New "Honorarium" form option is available to be included for all applications, the applicant has the option to choose any one of the enabled providers

Applicant

[ ] Ability to choose an honorarium from the list of enabled providers when applying (see https://apply.reset.tech/reset-our-future-fund/)
[ ] On first determination, the applicant receives a new email letting them know they have an honoraria to claim
[ ] On the application page, a new box "Honorarium", listing their chosen provider with the option to change provider or claim their honorarium.
[ ] Change, presents an option for them to chose from any enabled provider
[ ] Claim, presents them a token, URL, and help URL, a confirm
[ ] When confirmed, they no longer see the option change but have the option to view their confirmed selection again

Backend considerations

[ ] Mapping confirmed token to the applicant, no double issuing

Ahh, gonna refine this to make use of https://docs.voucherify.io/reference

Q1 2022 Rebasing updates:

Removed from milestones 'backlog'https://github.com/HyphaApp/hypha/milestones/Backlog
Added the issue template to body without content yet and assigned Eriol to issue to fill at a later date.
This is not a single issue, it's an Epic/META. - PM needed to build out Epic/META details
Converted to an EPIC in Zenhub extension.
Size estimated at XL
Removed priority low label
Recommend review in Q2 rebasing for priority level.

authors: Erioldoesdesign danblah

repo: HyphaApp/hypha


text:
Removed Service Proxy entry

SD is deprecated and removed from catalog (4th Jan). Removed its entry in the services table.

This needs closing out ASAP, please can you merge?
@jenschlot @sefuhrer @mekaufman

repo: IBM-Bluemix/docs


text:
removed tradeoff analytics

https://github.com/IBM-Bluemix/insurance-bot/issues/179

Bluemix toolchain: Delivery Pipeline deployed insurance-catalog to DEPLOY, including commit 91663772db6a2c241d7afca93c8e48200b19b6b4

Bluemix toolchain: Delivery Pipeline deployed insurance-catalog to cloudco, including commit 91663772db6a2c241d7afca93c8e48200b19b6b4

repo: IBM-Bluemix/insurance-catalog


text:
CI failures on kitura-2.6 branch

https://travis-ci.org/IBM-Swift/Kitura/jobs/487043108
Compile CNIOOpenSSL shims.c
In file included from /Users/travis/build/IBM-Swift/Kitura/.build/checkouts/swift-nio-ssl.git--2353935232896716629/Sources/CNIOOpenSSL/shims.c:16:
/Users/travis/build/IBM-Swift/Kitura/.build/checkouts/swift-nio-ssl.git--2353935232896716629/Sources/CNIOOpenSSL/include/c_nio_openssl.h:17:10: fatal error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^~~~~~~~~~~~~~~~
1 error generated.

I suspect this is because https://github.com/IBM-Swift/Kitura/commit/68e98937d62d792cee733726b9eb99d31319a3ec needs backporting to the kitura-2.6 branch.

This should now be resolved, see https://github.com/IBM-Swift/Kitura/issues/1398

repo: IBM-Swift/Kitura-NIO


text:
Standardize model file packaging

Refer to https://github.ibm.com/CODAIT/Production-Readiness/issues/4
This model does not package the model files into tar.gz like TensorFlow models.

This seems to have been resolved

repo: IBM/MAX-Review-Text-Generator


text:
K8s v1.16 got error

Hello!
I've got error message while trying to deploy in K8s v1.16 :
kubectl create -f cassandra-statefulset.yaml
error: unable to recognize cassandra-statefulset.yaml: no matches for kind "StatefulSet" in version "apps/v1beta1".
After trying to change to apiVersion: "apps/v1" error message also changes:
error: error validating cassandra-statefulset.yaml: error validating data: ValidationError(StatefulSet.spec): missing required field "selector" in io.k8s.api.apps.v1.StatefulSetSpec; if you choose to ignore these errors, turn validation off with --validate=false

Add the selector field in the cassandra-statefulset.yaml
---
apiVersion: "apps/v1"
kind: StatefulSet
metadata:
  name: cassandra
  labels:
    app: cassandra
spec:
  serviceName: cassandra
  replicas: 1
  selector:
    matchLabels:
      app: cassandra
  template:
      ...

replace it as follows
apiVersion: "apps/v1" # for k8s versions before 1.9.0 use apps/v1beta2  and before 1.8.0 use extensions/v1beta1 kind: StatefulSet metadata:   name: cassandra   labels:      app: cassandra spec:   serviceName: cassandra   replicas: 3   selector:     matchLabels:       app: cassandra   template:     metadata:       labels:         app: cassandra

replace it as follows
apiVersion: "apps/v1" # for k8s versions before 1.9.0 use apps/v1beta2  and before 1.8.0 use extensions/v1beta1
kind: StatefulSet
metadata:
name: cassandra
labels:
app: cassandra
spec:
serviceName: cassandra
replicas: 3
selector:
matchLabels:
app: cassandra
template:
metadata:
labels:
app: cassandra

replace it as follows
apiVersion: "apps/v1" # for k8s versions before 1.9.0 use apps/v1beta2  and before 1.8.0 use extensions/v1beta1
kind: StatefulSet
metadata:
name: cassandra
labels:
app: cassandra
spec:
serviceName: cassandra
replicas: 3
selector:
matchLabels:
app: cassandra
template:
metadata:
labels:
app: cassandra


text:
Publish documentation to rubydoc.info

Something is not working and the documentation is not making it to https://www.rubydoc.info/gems/aspera-cli/4.0.0.pre1

@laurent-martin seem to think this is a limitation of the rubydoc system and that only full versions 4.0.0 get the doc published.
For example https://rubygems.org/gems/factory_girl/versions/4.0.0.rc1 does not have a doc either.

The documentation probably does not generate due to non digital version number. probably a bug in rubydoc ?
see: https://rubygems.org/gems/factory_girl/versions/4.0.0.rc1
digit version => doc, non dit -> no doc
Also:
one can add a li nk to source code using metadata field “source_code_uri” in aspera-cli.gemspec
see https://guides.rubygems.org/specification-reference/#metadata

According to @laurent-martin this should "just work" once we do a proper (non pre) release. Let's wait and hope. 🤞🏻

According to @laurent-martin this should "just work" once we do a proper (non pre) release. Let's wait and hope. 🤞🏻

authors: gegles laurent-martin

repo: IBM/aspera-cli


text:
Sort custom css classes alphabetically

Already sorted?

repo: IBM/carbon-components-builder


text:
Installlation error

Hi there,
I get the following error when I run npm run app-install
Any help is much appreciated.
gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack     at getNotFoundError (/home/ubuntu/cognitive-social-crm/client/node_modules/which/which.js:13:12)
gyp ERR! stack     at F (/home/ubuntu/cognitive-social-crm/client/node_modules/which/which.js:68:19)
gyp ERR! stack     at E (/home/ubuntu/cognitive-social-crm/client/node_modules/which/which.js:80:29)
gyp ERR! stack     at /home/ubuntu/cognitive-social-crm/client/node_modules/which/which.js:89:16
gyp ERR! stack     at /home/ubuntu/cognitive-social-crm/client/node_modules/isexe/index.js:42:5
gyp ERR! stack     at /home/ubuntu/cognitive-social-crm/client/node_modules/isexe/mode.js:8:5
gyp ERR! stack     at FSReqCallback.oncomplete (fs.js:149:21)
gyp ERR! System Linux 4.15.0-1032-aws
gyp ERR! command "/usr/bin/node" "/home/ubuntu/cognitive-social-crm/client/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd /home/ubuntu/cognitive-social-crm/client/node_modules/node-sass
gyp ERR! node -v v12.3.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok

you need to run:
npm run start
which should start the app after npm install. may be node needs to be udpated.
probable #79 might fix it.

#79 fixes it.

authors: mubashirqasim sanjeevghimire

repo: IBM/cognitive-social-crm


text:
fix(project): remove codecov steps

Signed-off-by: James Hart jhart@uk.ibm.com
PR summary
Removing unwanted steps from CI
Fixes: <! -- link to issue -->
PR Checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the Angular Commit Message Guidelines.
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] New tests
[x] Build/CI related changes
[ ] Documentation content changes
[ ] Other (please describe)

What is the current behavior?

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

:tada: This PR is included in version 0.0.7 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

repo: IBM/container-registry-python-sdk


text:
Improve logging visibility

What does this PR do?

Sets the default logging level to WARNING instead of ERROR. This way, warnings will be displayed back to the user by default, which helps with troubleshooting issues. They will no longer need to provide the --verbose flag to be able to see warnings anymore.
Improves the warning message that's logged when a file cannot be loaded (detect_secrets/core/secrets_collection.py)
Fixes a unit test associated with the above logging change
Updates the .secrets.baseline file

How to test

Create a test.py file in the root detect-secrets directory:

import detect_secrets.main

# Run a scan - default
detect_secrets.main.main(
    [
        "scan",
        "--update",
        ".secrets.baseline",
    ]
)

# Run a scan - verbose
# detect_secrets.main.main(
#     [
#         "--verbose",
#         "scan",
#         "--update",
#         ".secrets.baseline",
#     ]
# )

Add the following lines here

    log.warning('Should see warning by default.')
    log.error('Should see error by default.')
    log.debug('Should see debug only with verbose.')

Run python test.py to test which logs show up without the --verbose option. Result:

➜  detect-secrets git:(improve-logging-visibility) ✗ python test.py
Should see warning by default.
Should see error by default.

Comment out lines 4-10 in test.py and uncomment lines 13-20 to test the --verbose option. Result:

➜  detect-secrets git:(improve-logging-visibility) ✗ python test.py
Should see warning by default.
Should see error by default.
Should see debug only with verbose.
Checking file: .coveragerc
Checking file: .dockerignore
Checking file: .editorconfig
Checking file: .github/ISSUE_TEMPLATE/bug-report.md
Checking file: .github/ISSUE_TEMPLATE/engineering-work-item-template.md
Checking file: .github/workflows/codeql-analysis.yml
Checking file: .gitignore
Checking file: .pre-commit-config.yaml
Checking file: .pre-commit-hooks.yaml
Checking file: .travis.yml
Checking file: CHANGELOG.md
Checking file: CONTRIBUTING.md
Checking file: Dockerfiles/base/00.python-redhat-ubi.Dockerfile
Checking file: Dockerfiles/base/00.python.Dockerfile
Checking file: Dockerfiles/base/01.cli.Dockerfile
Checking file: Dockerfiles/detect-secrets/01.detect-secrets-redhat-ubi.Dockerfile
Checking file: Dockerfiles/detect-secrets/02.detect-secrets-redhat-ubi-custom.Dockerfile
Checking file: Dockerfiles/detect-secrets/02.detect-secrets.Dockerfile
Checking file: Dockerfiles/hook/02.detect-secrets-hook.Dockerfile
Checking file: LICENSE
Checking file: Makefile
Checking file: Makefile.ibm
Checking file: README.md
Checking file: detect_secrets/__init__.py
Checking file: detect_secrets/constants.py
Checking file: detect_secrets/core/__init__.py
Checking file: detect_secrets/core/audit.py
Checking file: detect_secrets/core/baseline.py
Checking file: detect_secrets/core/bidirectional_iterator.py
Checking file: detect_secrets/core/code_snippet.py
Checking file: detect_secrets/core/color.py
Checking file: detect_secrets/core/common.py
Checking file: detect_secrets/core/constants.py
Checking file: detect_secrets/core/log.py
Checking file: detect_secrets/core/potential_secret.py
Checking file: detect_secrets/core/report/__init__.py
Checking file: detect_secrets/core/report/conditions.py
Checking file: detect_secrets/core/report/constants.py
Checking file: detect_secrets/core/report/output.py
Checking file: detect_secrets/core/report/report.py
Checking file: detect_secrets/core/secrets_collection.py
Checking file: detect_secrets/core/usage.py
Checking file: detect_secrets/main.py
Checking file: detect_secrets/plugins/__init__.py
Checking file: detect_secrets/plugins/artifactory.py
Checking file: detect_secrets/plugins/aws.py
Checking file: detect_secrets/plugins/azure_storage_key.py
Checking file: detect_secrets/plugins/base.py
Checking file: detect_secrets/plugins/basic_auth.py
Checking file: detect_secrets/plugins/box.py
Checking file: detect_secrets/plugins/cloudant.py
Checking file: detect_secrets/plugins/common/__init__.py
Checking file: detect_secrets/plugins/common/constants.py
Checking file: detect_secrets/plugins/common/filetype.py
Checking file: detect_secrets/plugins/common/filters.py
Checking file: detect_secrets/plugins/common/ini_file_parser.py
Checking file: detect_secrets/plugins/common/initialize.py
Checking file: detect_secrets/plugins/common/util.py
Checking file: detect_secrets/plugins/common/yaml_file_parser.py
Checking file: detect_secrets/plugins/db2.py
Checking file: detect_secrets/plugins/github_enterprise.py
Checking file: detect_secrets/plugins/github_token.py
Checking file: detect_secrets/plugins/high_entropy_strings.py
Checking file: detect_secrets/plugins/ibm_cloud_iam.py
Checking file: detect_secrets/plugins/ibm_cos_hmac.py
Checking file: detect_secrets/plugins/jwt.py
Checking file: detect_secrets/plugins/keyword.py
Checking file: detect_secrets/plugins/mailchimp.py
Checking file: detect_secrets/plugins/npm.py
Checking file: detect_secrets/plugins/private_key.py
Checking file: detect_secrets/plugins/slack.py
Checking file: detect_secrets/plugins/softlayer.py
Checking file: detect_secrets/plugins/square_oauth.py
Checking file: detect_secrets/plugins/stripe.py
Checking file: detect_secrets/plugins/twilio.py
Checking file: detect_secrets/pre_commit_hook.py
Checking file: detect_secrets/util.py
Checking file: docs/audit.md
Checking file: docs/cheat-sheet.md
Checking file: docs/developer-tool-faq.md
Checking file: docs/scan.md
Checking file: lgtm.yml
Checking file: prepare-upstream-contribution.sh
Checking file: renovate.json
Checking file: requirements-dev.txt
Checking file: scripts/benchmark.py
Checking file: scripts/bumpity.py
Checking file: scripts/gen-pipfile.sh
Checking file: scripts/run-in-pipeline.sh
Checking file: scripts/run_performance_tests.py
Checking file: scripts/version_greater_than_in_cos.py
Checking file: setup.cfg
Checking file: setup.py
Checking file: testing/__init__.py
Checking file: testing/baseline.py
Checking file: testing/factories.py
Checking file: testing/mocks.py
Checking file: testing/util.py
Checking file: tox.ini
Checking file: update.md
Checking file: user-config/.pre-commit-config.yaml
Checking file: user-config/detect-secrets.psm1

I need to do some additional testing on Monday to see if this will be logged each time a scan is run when a plugin is disabled: https://github.com/IBM/detect-secrets/blob/improve-logging-visibility/detect_secrets/plugins/common/initialize.py#L140-L143
If so, that would be really noisy and should only show up in verbose mode...

Note about https://github.com/IBM/detect-secrets/pull/120/commits/ef5796829cd57e0e69564cdbc89b4b80c97d03a1:
I noticed that when a --no-<insert-plugin-name>-scan option is included in the scan arguments, a certain log always shows up.
For example if you have this in test.py:
detect_secrets.main.main(
    [
        "scan",
        "--update",
        ".secrets.baseline",
        "--no-keyword-scan"
    ]
)

You will see the following log when running a scan:
 Warning: No such KeywordDetector plugin to initialize.
 Chances are you've disabled it with command line options, or need to run `pre-commit autoupdate`.
 This error occurs when using a baseline file that references a plugin which is disabled or not installed.

To prevent this from being logged in each scan, I changed its log level to debug: https://github.com/IBM/detect-secrets/pull/120/files#diff-7f359002f472ddc72105e7e538bae0ccbb3e0e6e7034d821c05b7c34fef0e52aR140

repo: IBM/detect-secrets


text:
Reapply replacement of net and crypto versions

Reapply #707 and #724 go.mod updates to replace golang.org/x/net and crypto.

Patched the image in a cluster attaching the logs, description below.
rani security-test-automation % oc get pods|grep ibm-iam-operator
ibm-iam-operator-7f59df44d-tplw2                        1/1     Running     0          7m55s

Description
rani security-test-automation % oc describe pod ibm-iam-operator-7f59df44d-tplw2
Name:             ibm-iam-operator-7f59df44d-tplw2
Namespace:        ibm-common-services
Priority:         0
Service Account:  ibm-iam-operator
Node:             worker1.o1-391739.cp.fyre.ibm.com/10.17.92.1
Start Time:       Thu, 11 Jan 2024 01:23:52 +0530
Labels:           app.kubernetes.io/instance=ibm-iam-operator
                  app.kubernetes.io/managed-by=ibm-iam-operator
                  app.kubernetes.io/name=ibm-iam-operator
                  intent=projected
                  name=ibm-iam-operator
                  pod-template-hash=7f59df44d
Annotations:      alm-examples:
                    [
                      {
                        "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": "auditService no longer used - ignore",
                            "imageRegistry": "auditService no longer used - ignore",
                            "imageTag": "auditService no longer used - ignore"
                          },
                          "authService": {
                            "imageName": "icp-platform-auth",
                            "imageRegistry": "quay.io/opencloudio",
                            "imageTag": "4.4.0",
                            "ldapsCACert": "platform-auth-ldaps-ca-cert",
                            "resources": {
                              "limits": {
                                "cpu": "1000m",
                                "memory": "1Gi",
                                "ephemeral-storage": "650Mi"
                              },
                              "requests": {
                                "cpu": "100m",
                                "memory": "350Mi",
                                "ephemeral-storage": "400Mi"
                              }
                            },
                            "routerCertSecret": "saml-auth-secret"
                          },
                          "clientRegistration": {
                            "imageName": "im-initcontainer",
                            "imageRegistry": "quay.io/opencloudio",
                            "imageTag": "4.4.0",
                            "resources": {
                              "limits": {
                                "cpu": "1000m",
                                "memory": "1Gi"
                              },
                              "requests": {
                                "cpu": "100m",
                                "memory": "128Mi",
                                "ephemeral-storage": "158Mi"
                              }
                            }
                          },
                          "config": {
                            "authUniqueHosts": "internal-ip1 internal-ip2 mycluster.icp",
                            "clusterCADomain": "mycluster.icp",
                            "clusterExternalAddress": "10.0.0.1",
                            "clusterInternalAddress": "10.0.0.1",
                            "clusterName": "mycluster",
                            "defaultAdminPassword": "password",
                            "defaultAdminUser": "cpadmin",
                            "scimAdminPassword": "scimpassword",
                            "scimAdminUser": "scimadmin",
                            "enableImpersonation": false,
                            "fipsEnabled": true,
                            "ibmCloudSaas": 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://127.0.0.1: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": "4.4.0",
                            "masterNodesList": "10.0.0.1",
                            "resources": {
                              "limits": {
                                "cpu": "1000m",
                                "memory": "1Gi",
                                "ephemeral-storage": "550Mi"
                              },
                              "requests": {
                                "cpu": "50m",
                                "memory": "150Mi",
                                "ephemeral-storage": "300Mi"
                              }
                            }
                          },
                          "identityProvider": {
                            "imageName": "icp-identity-provider",
                            "imageRegistry": "quay.io/opencloudio",
                            "imageTag": "4.4.0",
                            "resources": {
                              "limits": {
                                "cpu": "1000m",
                                "memory": "1Gi",
                                "ephemeral-storage": "550Mi"
                              },
                              "requests": {
                                "cpu": "50m",
                                "memory": "150Mi",
                                "ephemeral-storage": "300Mi"
                              }
                            }
                          },
                          "initMongodb": {
                            "imageName": "im-initcontainer",
                            "imageRegistry": "quay.io/opencloudio",
                            "imageTag": "4.4.0",
                            "resources": {
                              "limits": {
                                "cpu": "100m",
                                "memory": "128Mi"
                              },
                              "requests": {
                                "cpu": "100m",
                                "memory": "128Mi",
                                "ephemeral-storage": "178Mi"
                              }
                            }
                          },
                          "operatorVersion": "0.14.1",
                          "replicas": 1
                        }
                      },
                      {
                        "apiVersion": "operator.ibm.com/v1alpha1",
                        "kind": "OperandRequest",
                        "metadata": {
                          "name": "ibm-iam-request"
                        },
                        "spec": {
                          "requests": [
                            {
                              "operands": [
                                {
                                  "name": "ibm-im-mongodb-operator"
                                },
                                {
                                  "name": "ibm-idp-config-ui-operator"
                                }
                              ],
                              "registry": "common-service"
                            }
                          ]
                        }
                      },
                      {
                        "apiVersion": "operator.ibm.com/v1alpha1",
                        "kind": "OperandBindInfo",
                        "metadata": {
                          "name": "ibm-iam-bindinfo"
                        },
                        "spec": {
                          "operand": "ibm-im-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"
                            },
                            "public-cam-map": {
                              "configmap" : "oauth-client-map"
                            },
                            "public-auth-config": {
                              "configmap" : "platform-auth-idp"
                            },
                            "public-ibmcloud-config": {
                              "configmap" : "ibmcloud-cluster-info"
                            },
                            "public-ibmcloudca-secret": {
                              "secret" : "ibmcloud-cluster-ca-cert"
                            }
                          }
                        }
                      }
                    ]
                  capabilities: Basic Install
                  categories: Security
                  certified: false
                  containerImage: icr.io/cpopen/ibm-iam-operator@sha256:a3a23653c104498c039d77d2f60561b64991b3f7665ee8c11fff6080afe553da
                  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":["10.254.16.58/22"],"mac_address":"0a:58:0a:fe:10:3a","gateway_ips":["10.254.16.1"],"ip_address":"10.254.16.58/...
                  k8s.v1.cni.cncf.io/network-status:
                    [{
                        "name": "ovn-kubernetes",
                        "interface": "eth0",
                        "ips": [
                            "10.254.16.58"
                        ],
                        "mac": "0a:58:0a:fe:10:3a",
                        "default": true,
                        "dns": {}
                    }]
                  k8s.v1.cni.cncf.io/networks-status:
                    [{
                        "name": "ovn-kubernetes",
                        "interface": "eth0",
                        "ips": [
                            "10.254.16.58"
                        ],
                        "mac": "0a:58:0a:fe:10:3a",
                        "default": true,
                        "dns": {}
                    }]
                  olm.operatorGroup: common-service
                  olm.operatorNamespace: ibm-common-services
                  olm.skipRange: <4.4.0
                  olm.targetNamespaces: ibm-common-services
                  openshift.io/scc: restricted-v2
                  operatorframework.io/properties:
                    {"properties":[{"type":"olm.gvk","value":{"group":"oidc.security.ibm.com","kind":"Client","version":"v1"}},{"type":"olm.gvk","value":{"gro...
                  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:               10.254.16.58
IPs:
  IP:           10.254.16.58
Controlled By:  ReplicaSet/ibm-iam-operator-7f59df44d
Containers:
  ibm-iam-operator:
    Container ID:  cri-o://c5a525f86c5fe4326c9dec796a29f82ae1b4072d8cf20e9defe03cf98ff473be
    Image:         docker-na-public.artifactory.swg-devops.com/hyc-cloud-private-scratch-docker-local/rwhundle/ibm-iam-operator-amd64:4.4.0-update-gomod
    Image ID:      docker-na-public.artifactory.swg-devops.com/hyc-cloud-private-scratch-docker-local/rwhundle/ibm-iam-operator-amd64@sha256:8f2d126721d2e2ad7870938d8f7d435188112d6564462f8f37a33927df3c1723
    Port:          <none>
    Host Port:     <none>
    Command:
      ibm-iam-operator
    State:          Running
      Started:      Thu, 11 Jan 2024 01:24:03 +0530
    Ready:          True
    Restart Count:  0
    Limits:
      cpu:     25m
      memory:  320Mi
    Requests:
      cpu:                10m
      ephemeral-storage:  256Mi
      memory:             80Mi
    Environment:
      ICP_PLATFORM_AUTH_IMAGE:      icr.io/cpopen/cpfs/icp-platform-auth@sha256:c914edb5a00730a2ea0a42a848ba7c85da17c97b92241661ac23f33c2132a0ec
      ICP_IDENTITY_PROVIDER_IMAGE:  icr.io/cpopen/cpfs/icp-identity-provider@sha256:fb007ebbabea25f713880c8c13d452626be2f774490dff0c4741bd49fa1e3399
      ICP_IDENTITY_MANAGER_IMAGE:   docker-na-public.artifactory.swg-devops.com/hyc-cloud-private-scratch-docker-local/ibmcom/icp-identity-manager-amd64:01aebb1
      IM_INITCONTAINER_IMAGE:       icr.io/cpopen/cpfs/im-initcontainer@sha256:a2c7146f8dad2a70a11e386fa6be7e5ba2ba06ea72c63cb2f1f2b8b2625d846b
      WATCH_NAMESPACE:              <set to the key 'namespaces' of config map 'namespace-scope'>  Optional: false
      POD_NAME:                     ibm-iam-operator-7f59df44d-tplw2 (v1:metadata.name)
      OPERATOR_NAME:                ibm-iam-operator
      ROUTE_HTTP_PORT:
      ROUTE_HTTPS_PORT:
      cluster_name:
      OPERATOR_CONDITION_NAME:      ibm-iam-operator.v4.4.0
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-2kz68 (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             True
  ContainersReady   True
  PodScheduled      True
Volumes:
  kube-api-access-2kz68:
    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       8m10s  default-scheduler  Successfully assigned ibm-common-services/ibm-iam-operator-7f59df44d-tplw2 to worker1.o1-391739.cp.fyre.ibm.com by master0.o1-391739.cp.fyre.ibm.com
  Normal  AddedInterface  8m9s   multus             Add eth0 [10.254.16.58/22] from ovn-kubernetes
  Normal  Pulling         8m8s   kubelet            Pulling image "docker-na-public.artifactory.swg-devops.com/hyc-cloud-private-scratch-docker-local/rwhundle/ibm-iam-operator-amd64:4.4.0-update-gomod"
  Normal  Pulled          8m3s   kubelet            Successfully pulled image "docker-na-public.artifactory.swg-devops.com/hyc-cloud-private-scratch-docker-local/rwhundle/ibm-iam-operator-amd64:4.4.0-update-gomod" in 5.199657275s
  Normal  Created         8m     kubelet            Created container ibm-iam-operator
  Normal  Started         8m     kubelet            Started container ibm-iam-operator

Logs
rani security-test-automation % oc logs -f ibm-iam-operator-7f59df44d-tplw2
{"level":"info","ts":"2024-01-10T19:54:05Z","logger":"setup","msg":"starting manager"}
{"level":"info","ts":"2024-01-10T19:54:05Z","logger":"controller-runtime.metrics","msg":"Starting metrics server"}
{"level":"info","ts":"2024-01-10T19:54:05Z","logger":"controller-runtime.metrics","msg":"Serving metrics server","bindAddress":":8080","secure":false}
{"level":"info","ts":"2024-01-10T19:54:05Z","msg":"starting server","kind":"health probe","addr":"[::]:8081"}
{"level":"info","ts":"2024-01-10T19:54:05Z","msg":"Starting EventSource","controller":"client","controllerGroup":"oidc.security.ibm.com","controllerKind":"Client","source":"kind source: *v1.Client"}
{"level":"info","ts":"2024-01-10T19:54:05Z","msg":"Starting Controller","controller":"client","controllerGroup":"oidc.security.ibm.com","controllerKind":"Client"}
{"level":"info","ts":"2024-01-10T19:54:05Z","msg":"Starting EventSource","controller":"authentication","controllerGroup":"operator.ibm.com","controllerKind":"Authentication","source":"kind source: *v1alpha1.Authentication"}
{"level":"info","ts":"2024-01-10T19:54:05Z","msg":"Starting EventSource","controller":"authentication","controllerGroup":"operator.ibm.com","controllerKind":"Authentication","source":"kind source: *v1.ConfigMap"}
{"level":"info","ts":"2024-01-10T19:54:05Z","msg":"Starting EventSource","controller":"authentication","controllerGroup":"operator.ibm.com","controllerKind":"Authentication","source":"kind source: *v1.Secret"}
{"level":"info","ts":"2024-01-10T19:54:05Z","msg":"Starting EventSource","controller":"authentication","controllerGroup":"operator.ibm.com","controllerKind":"Authentication","source":"kind source: *v1.Certificate"}
{"level":"info","ts":"2024-01-10T19:54:05Z","msg":"Starting EventSource","controller":"authentication","controllerGroup":"operator.ibm.com","controllerKind":"Authentication","source":"kind source: *v1.Job"}
{"level":"info","ts":"2024-01-10T19:54:05Z","msg":"Starting EventSource","controller":"authentication","controllerGroup":"operator.ibm.com","controllerKind":"Authentication","source":"kind source: *v1.Service"}
{"level":"info","ts":"2024-01-10T19:54:05Z","msg":"Starting EventSource","controller":"authentication","controllerGroup":"operator.ibm.com","controllerKind":"Authentication","source":"kind source: *v1.Ingress"}
{"level":"info","ts":"2024-01-10T19:54:05Z","msg":"Starting EventSource","controller":"authentication","controllerGroup":"operator.ibm.com","controllerKind":"Authentication","source":"kind source: *v1.Deployment"}
{"level":"info","ts":"2024-01-10T19:54:05Z","msg":"Starting EventSource","controller":"authentication","controllerGroup":"operator.ibm.com","controllerKind":"Authentication","source":"kind source: *v1.Route"}
{"level":"info","ts":"2024-01-10T19:54:05Z","msg":"Starting Controller","controller":"authentication","controllerGroup":"operator.ibm.com","controllerKind":"Authentication"}
{"level":"info","ts":"2024-01-10T19:54:08Z","msg":"Starting workers","controller":"client","controllerGroup":"oidc.security.ibm.com","controllerKind":"Client","worker count":1}
{"level":"info","ts":"2024-01-10T19:54:08Z","logger":"controller_oidc_client","msg":"Reconciling Client CR","Request.Namespace":"ibm-common-services","Request.Name":"zenclient-ibm-common-services"}
{"level":"info","ts":"2024-01-10T19:54:08Z","logger":"controller_oidc_client","msg":"Add finalizer to Client if not already present","Request.Namespace":"ibm-common-services","Request.Name":"zenclient-ibm-common-services"}
{"level":"info","ts":"2024-01-10T19:54:08Z","logger":"controller_oidc_client","msg":"All Client finalizers were already set; skipping","Request.Namespace":"ibm-common-services","Request.Name":"zenclient-ibm-common-services"}
{"level":"info","ts":"2024-01-10T19:54:08Z","logger":"controller_oidc_client","msg":"Handle cleanup of Client if it has been marked for deletion","Request.Namespace":"ibm-common-services","Request.Name":"zenclient-ibm-common-services"}
{"level":"info","ts":"2024-01-10T19:54:08Z","logger":"controller_oidc_client","msg":"Client is not being deleted; skipping","Request.Namespace":"ibm-common-services","Request.Name":"zenclient-ibm-common-services"}
{"level":"info","ts":"2024-01-10T19:54:08Z","logger":"controller_oidc_client","msg":"Ensuring Secret and Client ID are set","Request.Namespace":"ibm-common-services","Request.Name":"zenclient-ibm-common-services"}
{"level":"info","ts":"2024-01-10T19:54:08Z","logger":"controller_oidc_client","msg":"Processing OIDC client registration","Request.Namespace":"ibm-common-services","Request.Name":"zenclient-ibm-common-services"}
{"level":"info","ts":"2024-01-10T19:54:09Z","msg":"Starting workers","controller":"authentication","controllerGroup":"operator.ibm.com","controllerKind":"Authentication","worker count":1}
{"level":"info","ts":"2024-01-10T19:54:09Z","logger":"controller_authentication","msg":"Reconciling Authentication","Request.Namespace":"ibm-common-services","Request.Name":"example-authentication"}
{"level":"info","ts":"2024-01-10T19:54:09Z","logger":"controller_authentication","msg":"Creating ibm-iam-operand-restricted serviceaccount","Request.Namespace":"ibm-common-services","Request.Name":"example-authentication"}
{"level":"info","ts":"2024-01-10T19:54:09Z","logger":"controller_authentication","msg":"Creating ibm-iam-operand-restricted role","Instance.Namespace":"ibm-common-services","Instance.Name":"example-authentication"}

regression results are as expected(48 failed) - https://ibm-cloudplatform.slack.com/archives/C01U9J93TT8/p1704923016135119

authors: Raniprathyusha rwhundley

repo: IBM/ibm-iam-operator


text:
rewrite cvtsrcpf to support dbcs

Fixes #106

[ ] doc update

What is the root cause of #106 and how does this fix it?

What is the root cause of #106 and how does this fix it?

The original method uses qsh and cat to read a physical and redirects the output to the streamfile. For files encoded with DBCS, the cat gets blank files. In this pr, I use CPYTOSTMF.

What is the root cause of #106 and how does this fix it?

The original method uses qsh and cat to read a physical and redirects the output to the streamfile. For files encoded with DBCS, the cat gets blank files. In this pr, I use CPYTOSTMF.

Makes sense. Thank you

@TongkunZhang
I have met with Barbara Morris and Liam Allan to discuss how to handle the CCSID problem.
The situation is:
ILE RPG and ILE C support TRTCCSID and COBOL and CL do not yet.
Tooling will require all source to be encoded in UTF8 to avoid NLS problems during editing.
However the source needs to be in the right EBCDIC.
So when we convert to IFS we will store  the CCSID of the source SRC-PF in the target directory .ibmi.json
If the SRC-PF is 65535, then the value of the -defaultCcsid parameter of the cvtsrcpf command will be used (used what spelling/case that makes sense_
If the parameter is not specified the job CCSID should be used.
During compilation, even CL and ILE COBOL will use the CRTFRMSTMF trick using a SRC-PF created in QTEMP.  The SRC-PF will be created with the CCSID specified in .ibmi.json
Only ILE RPG and ILE C can be safely compiled from stream files at this point.
The only issue remaining is long source lines in CL.
Use + continuation as per https://www.ibm.com/docs/en/i/7.4?topic=parts-cl-command-continuation to split lines to the record length of the created SRC-PF.
Make the SRC-PF a long record length like 512 and this should not even have to happen very often.

@TongkunZhang I have met with Barbara Morris and Liam Allan to discuss how to handle the CCSID problem. The situation is: ILE RPG and ILE C support TRTCCSID and COBOL and CL do not yet. Tooling will require all source to be encoded in UTF8 to avoid NLS problems during editing. However the source needs to be in the right EBCDIC. So when we convert to IFS we will store the CCSID of the source SRC-PF in the target directory .ibmi.json If the SRC-PF is 65535, then the value of the -defaultCcsid parameter of the cvtsrcpf command will be used (used what spelling/case that makes sense_ If the parameter is not specified the job CCSID should be used.
During compilation, even CL and ILE COBOL will use the CRTFRMSTMF trick using a SRC-PF created in QTEMP. The SRC-PF will be created with the CCSID specified in .ibmi.json Only ILE RPG and ILE C can be safely compiled from stream files at this point.
The only issue remaining is long source lines in CL. Use + continuation as per https://www.ibm.com/docs/en/i/7.4?topic=parts-cl-command-continuation to split lines to the record length of the created SRC-PF. Make the SRC-PF a long record length like 512 and this should not even have to happen very often.

At least at 7.5 the TGTCCSID keyword for CRTRPGMOD and CRTCMOD seem to be addressing different things.  (Or maybe the help is not correct)
C TGTCCSID Specifies the target coded character set identifier used to describe data stored into the resulting module object.
RPG TGTCCSID Specifies the CCSID that the compiler uses to read the source files.

At least at 7.5 the TGTCCSID keyword for CRTRPGMOD and CRTCMOD seem to be addressing different things. (Or maybe the help is not correct) C TGTCCSID Specifies the target coded character set identifier used to describe data stored into the resulting module object. RPG TGTCCSID Specifies the CCSID that the compiler uses to read the source files.

So it looks like we need to use the pragma convert to accomplish this for C
https://www.wisdomjobs.com/e-university/ibm-ile-tutorial-183/converting-string-literals-in-a-source-file-5674.html
Is this something that we should insert as part of converting to stream files?

slack conversation with Barbara Morris
The doc says that #pragma convert only applies to literals https://www.ibm.com/docs/en/i/7.5?topic=descriptions-convert#prag_convert
https://www.ibm.com/docs/en/i/7.5?topic=tc-how-ile-cc-compiler-converts-source-file-target-ccsid
When the TGTCCSID differs from the source file's CCSID, the ILE C compiler converts the source files to the TGTCCSID and processes files. This ensures that the target module and all it's character data components (for example, listing, string pool) are in the desired TGTCCSID. You can then develop in one character set and target another. The argument defaults to the source file's character set so the default behavior is backward compatible (with the exception of 290, 930 and 5026).
BUT
Note: C++ converts only the string literals (not the source) to the TGTCCSID.
I don't know what that means for import/export function names
https://www.ibm.com/docs/en/i/7.5?topic=ccsid-literals-comments-identifiers
The TGTCCSID parameter allows you to choose the CCSID of the resulting module. The module's CCSID identifies the coded character set identifier in which the module's character data is stored, including character data used to describe literals, comments and identifier names described by the source (with the exception of identifier names for CCSIDs 5026, 930 and 290).
So for ILE C, it seems like the actual implementation of TGTCCSID is the same as for ILE RPG.
The question for the C++ compiler folks is how identifier names are handled for UTF-8 source.
And I guess find out what are the exact caveats for 5026, 930, and 290.

@TongkunZhang In conclusion we will be using TGTCCSID parameter for C/C++ and ILE RPG and CRTFRMSTMF for all the other languages

https://www.ibm.com/support/pages/node/1108071 using TGTCCSID(*JOB) might be appropriate if 65535 is the source SRC-PF CCSID

@TongkunZhang  can we merge in this change and close the issue?

authors: ThePrez TongkunZhang edmundreinhardt johnsherrill

repo: IBM/ibmi-bob


text:
Kubedriver compatability with Amazon EKS Cluster

Hi,
We are investigating using kubedriver with EKS Cluster.
We load a deployment location for the EKS Cluster based on the  kubectl config view --raw output.
In the kubectl config view output the user definition section looks similar to below ( i have replaced some info with <> below):
- name: arn:aws:eks:<cluster-location>:<cluster number>:cluster/<cluster-name>
  user:
    exec:
      apiVersion: client.authentication.k8s.io/v1alpha1
      args:
      - --region
      - <location>
      - eks
      - get-token
      - --cluster-name
      - <cluster-name>
      command: aws

afterwards I added the deployment location to CP4NA:
[ec2-user@ip-172-31-8-141 ~]$ lmctl deployment add --rm brent -i Kubernetes -d 'EKSCluster-New' -p deployment_location.yaml dev deploy --config ~/lmctl-config.yaml
| id     | name   | resourceManager   | infrastructureType   | description    |
|--------+--------+-------------------+----------------------+----------------|
| deploy | deploy | brent             | Kubernetes           | EKSCluster-New |

When I try a simple pod instance installation on EKS Cluster via a CP4NA assembly I get the below error in the kubedriver log:
{"@timestamp": "2021-07-09T09:59:46.426Z", "@version": "1", "message": "[Errno 2] No such file or directory: 'aws': 'aws'", "host": "ib-orch001-kubedriver-028-664b6db4bc-pwh8d", "path": "/usr/local/lib/python3.7/site-packages/kubernetes/config/kube_config.py", "tags": [], "type": "logstash", "thread_name": "MainThread", "level": "ERROR", "logger_name": "root", "traceCtx.processid": "a2d8c669-dc43-44d3-a2a5-9232caf0afc7", "traceCtx.transactionid": "3abd2533-ab67-442d-af12-172c2d2967eb", "traceCtx.taskid": "7"}

afterwards in the kubedriver logs you can see some more stack messages that mention openshift client (/usr/local/lib/python3.7/site-packages/openshift/dynamic/client.py) etc,...
{"@timestamp": "2021-07-09T09:59:46.426Z", "@version": "1", "message": "[Errno 2] No such file or directory: 'aws': 'aws'", "host": "ib-orch001-kubedriver-028-664b6db4bc-pwh8d", "path": "/usr/local/lib/python3.7/site-packages/kubernetes/config/kube_config.py", "tags": [], "type": "logstash", "thread_name": "MainThread", "level": "ERROR", "logger_name": "root", "traceCtx.processid": "a2d8c669-dc43-44d3-a2a5-9232caf0afc7", "traceCtx.transactionid": "3abd2533-ab67-442d-af12-172c2d2967eb", "traceCtx.taskid": "7"}
{"@timestamp": "2021-07-09T09:59:46.453Z", "@version": "1", "message": "API error occurred: 403\nReason: Forbidden\nHTTP response headers: HTTPHeaderDict({'Audit-Id': '75f4a366-2504-41e9-889b-cac012c6b48f', 'Cache-Control': 'no-cache, private', 'Content-Type': 'application/json', 'X-Content-Type-Options': 'nosniff', 'X-Kubernetes-Pf-Flowschema-Uid': 'e8d368dd-67e7-4875-8826-7975db4db675', 'X-Kubernetes-Pf-Prioritylevel-Uid': '7f4e1ebe-d3e5-47f3-85c2-f760ba425c6a', 'Date': 'Fri, 09 Jul 2021 09:59:46 GMT', 'Content-Length': '189'})\nHTTP response body: b'{\"kind\":\"Status\",\"apiVersion\":\"v1\",\"metadata\":{},\"status\":\"Failure\",\"message\":\"forbidden: User \\\\\"system:anonymous\\\\\" cannot get path \\\\\"/apis\\\\\"\",\"reason\":\"Forbidden\",\"details\":{},\"code\":403}\\n'\nOriginal traceback: \n  File \"/usr/local/lib/python3.7/site-packages/openshift/dynamic/client.py\", line 42, in inner\n    resp = func(self, *args, **kwargs)\n\n  File \"/usr/local/lib/python3.7/site-packages/openshift/dynamic/client.py\", line 247, in request\n    _return_http_data_only=params.get('_return_http_data_only', True)\n\n  File \"/usr/local/lib/python3.7/site-packages/kubernetes/client/api_client.py\", line 345, in call_api\n    _preload_content, _request_timeout)\n\n  File \"/usr/local/lib/python3.7/site-packages/kubernetes/client/api_client.py\", line 176, in __call_api\n    _request_timeout=_request_timeout)\n\n  File \"/usr/local/lib/python3.7/site-packages/kubernetes/client/api_client.py\", line 366, in request\n    headers=headers)\n\n  File \"/usr/local/lib/python3.7/site-packages/kubernetes/client/rest.py\", line 241, in GET\n    query_params=query_params)\n\n  File \"/usr/local/lib/python3.7/site-packages/kubernetes/client/rest.py\", line 231, in request\n    raise ApiException(http_resp=r)\n", "host": "ib-orch001-kubedriver-028-664b6db4bc-pwh8d", "path": "/usr/local/lib/python3.7/site-packages/ignition/api/exceptions.py", "tags": [], "type": "logstash", "thread_name": "MainThread", "level": "ERROR", "logger_name": "ignition.api.exceptions", "stack_trace": "Traceback (most recent call last):\n  File \"/usr/local/lib/python3.7/site-packages/openshift/dynamic/client.py\", line 42, in inner\n    resp = func(self, *args, **kwargs)\n  File \"/usr/local/lib/python3.7/site-packages/openshift/dynamic/client.py\", line 247, in request\n    _return_http_data_only=params.get('_return_http_data_only', True)\n  File \"/usr/local/lib/python3.7/site-packages/kubernetes/client/api_client.py\", line 345, in call_api\n    _preload_content, _request_timeout)\n  File \"/usr/local/lib/python3.7/site-packages/kubernetes/client/api_client.py\", line 176, in __call_api\n    _request_timeout=_request_timeout)\n  File \"/usr/local/lib/python3.7/site-packages/kubernetes/client/api_client.py\", line 366, in request\n    headers=headers)\n  File \"/usr/local/lib/python3.7/site-packages/kubernetes/client/rest.py\", line 241, in GET\n    query_params=query_params)\n  File \"/usr/local/lib/python3.7/site-packages/kubernetes/client/rest.py\", line 231, in request\n    raise ApiException(http_resp=r)\nkubernetes.client.rest.ApiException: (403)\nReason: Forbidden\nHTTP response headers: HTTPHeaderDict({'Audit-Id': '75f4a366-2504-41e9-889b-cac012c6b48f', 'Cache-Control': 'no-cache, private', 'Content-Type': 'application/json', 'X-Content-Type-Options': 'nosniff', 'X-Kubernetes-Pf-Flowschema-Uid': 'e8d368dd-67e7-4875-8826-7975db4db675', 'X-Kubernetes-Pf-Prioritylevel-Uid': '7f4e1ebe-d3e5-47f3-85c2-f760ba425c6a', 'Date': 'Fri, 09 Jul 2021 09:59:46 GMT', 'Content-Length': '189'})\nHTTP response body: b'{\"kind\":\"Status\",\"apiVersion\":\"v1\",\"metadata\":{},\"status\":\"Failure\",\"message\":\"forbidden: User \\\\\"system:anonymous\\\\\" cannot get path \\\\\"/apis\\\\\"\",\"reason\":\"Forbidden\",\"details\":{},\"code\":403}\\n'\n\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File \"/usr/local/lib/python3.7/site-packages/flask/app.py\", line 1499, in full_dispatch_request\n    rv = self.dispatch_request()\n  File \"/usr/local/lib/python3.7/site-packages/flask/app.py\", line 1485, in dispatch_request\n    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)\n  File \"/usr/local/lib/python3.7/site-packages/connexion/decorators/decorator.py\", line 48, in wrapper\n    response = function(request)\n  File \"/usr/local/lib/python3.7/site-packages/connexion/decorators/uri_parsing.py\", line 144, in wrapper\n    response = function(request)\n  File \"/usr/local/lib/python3.7/site-packages/connexion/decorators/validation.py\", line 184, in wrapper\n    response = function(request)\n  File \"/usr/local/lib/python3.7/site-packages/connexion/decorators/parameter.py\", line 121, in wrapper\n    return function(**kwargs)\n  File \"/usr/local/lib/python3.7/site-packages/ignition/service/resourcedriver.py\", line 209, in execute_lifecycle\n    execute_response = self.service.execute_lifecycle(lifecycle_name, driver_files, system_properties, resource_properties, request_properties, associated_topology, deployment_location)\n  File \"/usr/local/lib/python3.7/site-packages/ignition/service/resourcedriver.py\", line 276, in execute_lifecycle\n    execute_response = self.handler.execute_lifecycle(lifecycle_name, driver_files_tree, PropValueMap(system_properties), PropValueMap(resource_properties), PropValueMap(request_properties), associated_topology, deployment_location)\n  File \"/usr/local/lib/python3.7/site-packages/kubedriver/resourcedriver/api_handler.py\", line 47, in execute_lifecycle\n    request_id = self.kegd_strategy_manager.apply_kegd_strategy(kube_location, keg_name, kegd_strategy, lifecycle_name, kegd_files, render_context)\n  File \"/usr/local/lib/python3.7/site-packages/kubedriver/kegd/manager.py\", line 33, in apply_kegd_strategy\n    context = self.context_factory.build(kube_location)\n  File \"/usr/local/lib/python3.7/site-packages/kubedriver/locationcontext/factory.py\", line 13, in build\n    api_ctl = self.api_ctl_factory.build(kube_location)\n  File \"/usr/local/lib/python3.7/site-packages/kubedriver/kubeclient/os_api_ctl_factory.py\", line 7, in build\n    return OpenshiftApiController(kube_location.client, default_namespace=kube_location.default_object_namespace)\n  File \"/usr/local/lib/python3.7/site-packages/kubedriver/kubeclient/os_api_ctl.py\", line 10, in __init__\n    self.dynamic_client = DynamicClient(base_kube_client)\n  File \"/usr/local/lib/python3.7/site-packages/openshift/dynamic/client.py\", line 71, in __init__\n    self.__discoverer = discoverer(self, cache_file)\n  File \"/usr/local/lib/python3.7/site-packages/openshift/dynamic/discovery.py\", line 259, in __init__\n    Discoverer.__init__(self, client, cache_file)\n  File \"/usr/local/lib/python3.7/site-packages/openshift/dynamic/discovery.py\", line 31, in __init__\n    self.__init_cache()\n  File \"/usr/local/lib/python3.7/site-packages/openshift/dynamic/discovery.py\", line 79, in __init_cache\n    self.discover()\n  File \"/usr/local/lib/python3.7/site-packages/openshift/dynamic/discovery.py\", line 263, in discover\n    self.__resources = self.parse_api_groups(request_resources=False)\n  File \"/usr/local/lib/python3.7/site-packages/openshift/dynamic/discovery.py\", line 131, in parse_api_groups\n    groups_response = self.client.request('GET', '/{}'.format(DISCOVERY_PREFIX)).groups\n  File \"/usr/local/lib/python3.7/site-packages/openshift/dynamic/client.py\", line 44, in inner\n    raise api_exception(e)\nopenshift.dynamic.exceptions.ForbiddenError: 403\nReason: Forbidden\nHTTP response headers: HTTPHeaderDict({'Audit-Id': '75f4a366-2504-41e9-889b-cac012c6b48f', 'Cache-Control': 'no-cache, private', 'Content-Type': 'application/json', 'X-Content-Type-Options': 'nosniff', 'X-Kubernetes-Pf-Flowschema-Uid': 'e8d368dd-67e7-4875-8826-7975db4db675', 'X-Kubernetes-Pf-Prioritylevel-Uid': '7f4e1ebe-d3e5-47f3-85c2-f760ba425c6a', 'Date': 'Fri, 09 Jul 2021 09:59:46 GMT', 'Content-Length': '189'})\nHTTP response body: b'{\"kind\":\"Status\",\"apiVersion\":\"v1\",\"metadata\":{},\"status\":\"Failure\",\"message\":\"forbidden: User \\\\\"system:anonymous\\\\\" cannot get path \\\\\"/apis\\\\\"\",\"reason\":\"Forbidden\",\"details\":{},\"code\":403}\\n'\nOriginal traceback: \n  File \"/usr/local/lib/python3.7/site-packages/openshift/dynamic/client.py\", line 42, in inner\n    resp = func(self, *args, **kwargs)\n\n  File \"/usr/local/lib/python3.7/site-packages/openshift/dynamic/client.py\", line 247, in request\n    _return_http_data_only=params.get('_return_http_data_only', True)\n\n  File \"/usr/local/lib/python3.7/site-packages/kubernetes/client/api_client.py\", line 345, in call_api\n    _preload_content, _request_timeout)\n\n  File \"/usr/local/lib/python3.7/site-packages/kubernetes/client/api_client.py\", line 176, in __call_api\n    _request_timeout=_request_timeout)\n\n  File \"/usr/local/lib/python3.7/site-packages/kubernetes/client/api_client.py\", line 366, in request\n    headers=headers)\n\n  File \"/usr/local/lib/python3.7/site-packages/kubernetes/client/rest.py\", line 241, in GET\n    query_params=query_params)\n\n  File \"/usr/local/lib/python3.7/site-packages/kubernetes/client/rest.py\", line 231, in request\n    raise ApiException(http_resp=r)\n\n", "lineno": 38, "process": 11}

should kubedriver be expected to work with an Amazon EKS Cluster ?
or would require a change request for the driver etc..,

Should kubedriver be expected to work with an Amazon EKS Cluster ?

I'd say yes, we'd like it to, but it's never been tested. The assumption has been that the kubernetes client we use supports everything kubectl does, as it uses the same config file. However, based on No such file or directory: 'aws': 'aws'" it's possible that EKS authentication requires additional libraries to be installed? As this is not installed, I assume authentication cannot be completed but the client continue anyway, which causes the Forbidden error seen later in the logs.
Not sure if the "Create kubeconfig manually" section in this will help: https://docs.aws.amazon.com/eks/latest/userguide/create-kubeconfig.html
Otherwise, we may have to look into adding the aws command line tool into the docker image?

Hi Daniel,
we actually built a kubedriver image with asw cli installed on it.
it got us past the aws cli error, and now we are restricted by user permissions it seems on amazon eks side of things.
we will be looking into more detail later, but for now this is fine and can be closed.
Thanks,
John

authors: dvaccarosenna johnnally

repo: IBM/kubernetes-driver


text:
dev docs refer to the shell as "fsh"

The docs here will need to be updated https://github.com/IBM/kui/tree/master/docs/dev for example under quick start
git clone git@github.com:ibm-functions/shell.git
$ cd shell
$ ./tools/setup-npmrc.sh && npm install
$ ./fsh.js

fixed by #118

authors: rabbah starpit

repo: IBM/kui


text:
feat: added the support for macsec enabled gateway for direct link

PR summary
added the support for macsec enabled gateway for direct link
Fixes: <! -- link to issue -->
PR Checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the Angular Commit Message Guidelines.
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] New tests
[ ] Build/CI related changes
[ ] Documentation content changes
[ ] Other (please describe)

What is the current behavior?

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

:tada: This PR is included in version 0.3.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

repo: IBM/networking-python-sdk


text:
Content type method

Related to #325

Thanks for this implementation :-)

@lionelschiepers Published! Try out v2.2.3!

authors: Alan-Cha lionelschiepers

repo: IBM/openapi-to-graphql


text:
fix: specify the maximum version of requests to avoid regression

Version 2.23.3 of the requests package broke our custom SSLHTTPAdapter. This commit defines the maximum version of that package, to make sure it will continue working without an issue. Note that, this is a short term solution only. For more details see this issue: https://github.com/psf/requests/issues/6730

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

:tada: This PR is included in version 3.20.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

authors: CLAassistant ibm-devx-sdk pyrooka

repo: IBM/python-sdk-core


text:
unaligned 64-bit atomic operation on i386

Description
I've recently packaged this library for Debian, as it is required to upgrade another library. When the tests were run on a 32bit system (i386), the following panic is reported:
=== RUN   TestConsumerHandlesExpectationsPausingResuming
    consumer.go:284: Expectations set on other/0, but no partition consumer was started.
    consumer.go:284: Expectations set on test/1, but no partition consumer was started.
    consumer.go:284: Expectations set on test/0, but no partition consumer was started.
--- FAIL: TestConsumerHandlesExpectationsPausingResuming (0.00s)
panic: unaligned 64-bit atomic operation [recovered]
	panic: unaligned 64-bit atomic operation

goroutine 49 [running]:
testing.tRunner.func1.2({0x81c13e0, 0x822cc58})
	/usr/lib/go-1.22/src/testing/testing.go:1631 +0x2a3
testing.tRunner.func1()
	/usr/lib/go-1.22/src/testing/testing.go:1634 +0x434
panic({0x81c13e0, 0x822cc58})
	/usr/lib/go-1.22/src/runtime/panic.go:770 +0x103
runtime/internal/atomic.panicUnaligned()
	/usr/lib/go-1.22/src/runtime/internal/atomic/unaligned.go:8 +0x2d
runtime/internal/atomic.Xadd64(0xa49e944, 0x1)
	/usr/lib/go-1.22/src/runtime/internal/atomic/atomic_386.s:125 +0x11
github.com/IBM/sarama/mocks.(*PartitionConsumer).YieldMessage(0xa49e910, 0xa4c8ea0)
	/tmp/autopkgtest-lxc.3ncu_7nv/downtmp/autopkgtest_tmp/_build/src/github.com/IBM/sarama/mocks/consumer.go:400 +0xcb
github.com/IBM/sarama/mocks.TestConsumerHandlesExpectationsPausingResuming(0xa4eec08)
	/tmp/autopkgtest-lxc.3ncu_7nv/downtmp/autopkgtest_tmp/_build/src/github.com/IBM/sarama/mocks/consumer_test.go:82 +0x1e2
testing.tRunner(0xa4eec08, 0x81ff324)
	/usr/lib/go-1.22/src/testing/testing.go:1689 +0x125
created by testing.(*T).Run in goroutine 1
	/usr/lib/go-1.22/src/testing/testing.go:1742 +0x3b9
FAIL	github.com/IBM/sarama/mocks	0.008s

Versions

Sarama
Kafka
Go

1.43.0 and 1.43.1
N/A
1.22.2

Configuration

Debian sid, with go 1.22.2 on an i386 system (both the auto test builder and a local container where I reproduced the problem). I don't know if this affects armel/armhf, or if this is specific to the 32bit i386 architecture.
Logs
Full log available here.
Additional Context

I've taken a quick look for an easy fix like an unaligned struct field, but didn't see anything obvious.

Looking at this… yeah. suppressedHighWaterMarkOffset probably needs to be moved up next to highWaterMarkOffset for the exact same reason.
There’s definitely no reason for it to be listed under the sync.Mutex as it is not being protected by it.

@gibmat thanks for reporting this as similar to #2337 it will effect Fargate too. Have added a fix and a simple lint check using GOARCH=i386 staticcheck which seems to catch it

@gibmat I've pushed out a tagged release to include this fix so that hopefully you can continue your packaging efforts
Version 1.43.2 (2024-04-25)

Awesome, thanks for the quick response! I've just uploaded the latest release to Debian. :smile:

authors: dnwe gibmat puellanivis

repo: IBM/sarama


text:
📌 Problem: Lack of Detailed Release Information 🛠

It has been noticed that releases are often lacking in detailed information, making it difficult for stakeholders to understand the nature and scope of changes made.
To address this problem, it is recommended to provide comprehensive and clear release notes with each release. This should include:

A list of new features and changes
Bug fixes and performance improvements
Known issues and limitations
Any breaking changes and how to handle them

By providing this information, stakeholders can have a better understanding of what has been changed and what impact it will have, enabling them to make informed decisions and prepare accordingly.

Example my project release: https://github.com/tnltk/tnltk/releases/tag/v0.1.2

Example polars pr release:  https://github.com/pola-rs/polars/releases/tag/py-0.16.0

Note:

I would like to request to be added as an author to repository.

@Joao-L-S-Almeida

Hi, @TarikKaanKoc. These initial releases are really very poor in description. I expect to solve this question in the future ones. Your recommendations are really welcome.
Do you mean have writing access ? I just gave it.

Hi or oi ;) @Joao-L-S-Almeida Nevertheless, I look forward to working with you and making the project even better in the future. Thanks

authors: Joao-L-S-Almeida TarikKaanKoc

repo: IBM/simulai


text:
WOS 2.0 changes

Add your criteria here:

[ ] New disco files
[ ] Add "checkout" to conversation flow
[ ] Use slots or new assistant features in conversation flow
[ ] better UI?
[ ] more robust conversation (don't force remove, don't show empty cart, etc...)
[ ] multi-user
[ ] can we do more natural lang instead of numbers like a call tree?
[ ] might consider serverless action

Closing this and tracking in internal repository.

authors: scottdangelo stevemart

repo: IBM/watson-online-store


text:
Error

When I try to use it, it gave me this error:
cv2.error: OpenCV(4.8.0) D:\a\opencv-python\opencv-python\opencv\modules\dnn\src\onnx\onnx_importer.cpp:274: error: (-5:Bad argument) Can't read ONNX file: D:\桌面\Have a good day\Stable-difussion\sd-webui-aki-v4.2\extensions\sd-webui-controlnet\annotator\downloads\openpose\yolox_l.onnx in function 'cv::dnn::dnn4_v20230620::ONNXImporter::ONNXImporter'
I don't know how to fix it.

Make sure the yolox_l.onnx is not broken. If the error still exists, you can try to reinstall opencv.

authors: Charlotte-Macbeth yzd-v

repo: IDEA-Research/DWPose


text:
🛑 IDR (well 590686) is down

In 96f58cf, IDR (well 590686) (https://idr.openmicroscopy.org/webclient/?show=well-590686) was down:

HTTP code: 0
Response time: 0 ms

Resolved: IDR (well 590686) is back up in be7d3e5 after 9 minutes.

repo: IDR/upptime


text:
🛑 IDR (well 547609) is down

In ca6c141, IDR (well 547609) (https://idr.openmicroscopy.org/webclient/?show=well-547609) was down:

HTTP code: 0
Response time: 0 ms

Resolved: IDR (well 547609) is back up in 207e55f after 13 minutes.


text:
🛑 IDR (well 4852) is down

In 9877a38, IDR (well 4852) (https://idr.openmicroscopy.org/webclient/?show=well-4852) was down:

HTTP code: 0
Response time: 0 ms

Resolved: IDR (well 4852) is back up in d1aa62b after 44 minutes.


text:
🛑 IDR (well 1056578) is down

In 86c7d86, IDR (well 1056578) (https://idr.openmicroscopy.org/webclient/?show=well-1056578) was down:

HTTP code: 0
Response time: 0 ms

Resolved: IDR (well 1056578) is back up in 0c07a52 after 8 minutes.


text:
🛑 IDR (well 1046336) is down

In 5b5f887, IDR (well 1046336) (https://idr.openmicroscopy.org/webclient/?show=well-1046336) was down:

HTTP code: 502
Response time: 142 ms

Resolved: IDR (well 1046336) is back up in 06e83b8 after 19 minutes.


text:
Add sample go program demo/library.go

pls review it

closes #8

great job @GriffinAnnshual

great job @GriffinAnnshual

Thanks , will you please add hacktoberfest-accepted lable to it.

authors: GriffinAnnshual RohithParahmesh

repo: IEEE-VIT/pykitzoid


text:
[Slack] Have checkbox for Evacuate/രക്ഷപ്പെടുത്തുക in request page.

https://keralarescue.in/request/

Please refer #108 too.
Also which is the slack channel ?

thanks https://keralarescue.slack.com
I will ask to merge

thanks.
Slack is not accessible.

If you have an @neoito.com email address, you can create an account.

https://join.slack.com/t/keralarescue/shared_invite/enQtNDE2ODU1NDAxNDI0LWNjMTBjYWJhZmUxYjY5NjY1NjU5YmFlODE2NGZhNTUzNzMxYTRjZTRkNWViZTE2NTQ4MDhmNzhmMTIxNmUxN2M
Use this link

The slack invite link is no longer active

Duplicate if #98 Please merge #98. Closing this issue.

@aktsbot  - you have enabled "Team Signup Mode" as for me, no worries. :) keep up the good work

We're is the new link ???

mered #98

authors: abhaikollara alokbabu biswaz bobinson cooliscool naveenfrancis syam3526

repo: IEEEKeralaSection/rescuekerala


text:
Support right to left reading in all views

Following the viewing hint if present.
Should manifest itself wherever there is horizontal navigation:

film strip
navigation buttons
scroll view

duplicate of #419

duplicate of #419

authors: rsinghal snydman


text:
SPIKE - Processing infrastucture and priorities part #2

Description
Take the design from #74 and create cdk code. Create scenarios to see if the design works as expected.
Requirements

Requirement 1
Requirement 2

Nice to have or Goal Requirements

Nice to have 1
Nice to have 2

Additional notes
Any additional notes on the issue, if you have them.
Related tickets

#68
#71
#72
#74

Follow up tickets
This spike is not considered complete until at least one follow up issue is created.

[ ] Placeholder ticket

**Below is the template for the response to this ticket. Add as many solutions as needed, but preferably include 2-5 for discussion. The response should be posted as a comment on this issue, or linked in a comment. **
Solution 1
Write an overview of the solution here.
Pros:

pro 1

Cons:

con 1

Additional notes:

note

Solution 2
Write an overview of the solution here.
Pros:

pro 1

Cons:

con 1

Additional notes:

note

Summary
Write up a summary of your findings, including your preferred solution.

Is this complete with your spike #154 @laspsandoval ? Would it be possible for you to write up the results of that investigation in a comment here? It seems like you didn't run into any major issues with the design we have, so maybe you can create a follow up ticket and close this spike. Or, if there are still unanswered questions, it would be good to know what those are here.

Closing SPIKE based on work done in #154.

authors: laspsandoval maxinelasp sdhoyt


text:
Extend to take generic graph/tree as table input - to rewrite to standard validation input table (subject object pairs)

e.g.

Organ_Level_1
Anatomical_Level_2
Anatomical_Level_3
Anatomical_Level_4

Brain
Forebrain
Diencephalon
Prethalamus

Brain
Forebrain
Diencephalon
Hypothalamus

Brain
Forebrain
Diencephalon
Subthalamus

Can the table have the ontology terms on the left side?

Organ_Level_1 ID
Organ_Level_1
Anatomical_Level_2 ID
Anatomical_Level_2
Anatomical_Level_3 ID
Anatomical_Level_3
Anatomical_Level_4 ID
Anatomical_Level_4

UBERON:0000955
Brain
UBERON:0001890
Forebrain
UBERON:000189
Diencephalon
UBERON:0001900
Prethalamus

UBERON:0000955
Brain
UBERON:0001890
Forebrain
UBERON:000189
Diencephalon
UBERON:0001898
Hypothalamus

UBERON:0000955
Brain
UBERON:0001890
Forebrain
UBERON:000189
Diencephalon
UBERON:0001900
Subthalamus

authors: anitacaron dosumis

repo: INCATools/relation-validator


text:
🛑 pybossa.taalradar.ivdnt.org is down

In 535727f, pybossa.taalradar.ivdnt.org (https://pybossa.taalradar.ivdnt.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: pybossa.taalradar.ivdnt.org is back up in 2e0f69b.

repo: INL/ivdnt-statusoverzicht


text:
Bug in the checking folder

As shown in the picture attached, some error are not justified (according to me).

Hi I updated the API, it's seems that the feedback was wrong at the session level ,now works for me :

@Slowblitz has it been pushed to the web server?

authors: BlaizeKevin Slowblitz SylvainTakerkart

repo: INT-NIT/AnDOChecker


text:
🛑 IOGT CLOUD is down

In b3531ff, IOGT CLOUD ($CLOUD_SERVER) was down:

HTTP code: 0
Response time: 0 ms

Resolved: IOGT CLOUD is back up in 5a5a505 after 1 hour, 33 minutes.

repo: IOGT/upptime


text:
🛑 Main is down

In e2a9ba7, Main (https://ipmgroupuk.com) was down:

HTTP code: 429
Response time: 4189 ms

Resolved: Main is back up in 48eccc0 after 9 minutes.

repo: IPMGroupLtd/Uptime


text:
Support for two channel audio files

Please let me know the feasibility of;
a) Using "wavParserWorkerClass.js" to support 2-Channel audio files.
b) Modifying the UI upper-panel the need is to display oscillogram for both the channels and to display spectrogram of channel 1 audio stream only.
Is there any plan of providing multi-channel audio file support feature in the pipeline?

Although theoretically possible we have opted (for the time being anyway) to stick with single channel uncompressed wav files only. Multi channel audio would extremely bloat the configuration of an emuDB (and require a bucketload of extra code) as it would mean we would have to think of things like:

what to draw on the SPEC canvas (channel X / mix of channel X & Y & ... (volume relationship?) / switchable SPEC canvas / multiple SPEC canvases ??)
what audio to play (channel X / mix of channel X & Y & ... (volume relationship?) / switchable audio option? / ...)
what do we do with interleaved vs non-interleaves multi-channel audio? Treat them the same?
how to we link the annotations to the channel? Think multi Mic recordings...
when extracting / computing derived signals such as F0 what channel should it default to?
...

In future we might try to takle these questions, but for now we are sticking with single channel audio as the CRAN release of emuR is currently the priority.
What do you want to do with your multi channel audio? Maybe there is a workaround we can help you with?

It's so that we instruct our transcribers to listen the 2-Channel audio files and ask only to transcribe Channel 1 audio stream events. Channel 2 audio stream provides cues to the transcriber to decide upon that the some events source on Channel 1 is due the cross-talk/headset-speaker interference and not part of the primary microphone inputs, and those events are tagged accordingly. (Our headset is mounted with multiple microphones)

Sorry for the late reply. I am afraid that aside from "merging" audio files into a single audio file we currently don't have a solution for you. In the long run I'll try to get multi channel audio to work but that could be a few months away.

Multi-channel audio is now supported

repo: IPS-LMU/EMU-webApp


text:
407 create dataset prefill

What this PR does / why we need it:
Fills Create Dataset form with info from the currently logged in user
Which issue(s) this PR closes:
Closes #407
Special notes for your reviewer:
Suggestions on how to test this:
Does this PR introduce a user interface change? If mockups are available, please link/include them here:
Is there a release notes update needed for this change?:
Additional documentation:

coverage: 98.403% (+0.6%) from 97.848%
when pulling f4dc332899776bf10c7b21c68ab66348d4a5e408 on 407-create-dataset-prefill
into f34e56a2ce56c9990b4df9e9965b4e5029e911fa on fix/393-match-api-email-validation2.

Thanks @GermanSaracca, I made the changes you suggested.

authors: coveralls ekraffmiller

repo: IQSS/dataverse-frontend