feat: dynamically set test dependencies via bundle file

This PR demonstrates a way to dynamically change the channel of any charms used as dependencies by passing the desired channels via a bundle file (either a local file or a url, such as to a raw kubeflow-bundle release.
Added here are:

a command line argument --version-bundle-uri someUrl, which accepts an address of a bundle.yaml formatted file (such as a https://, file:./relative/file, etc)
Modifies the integration tests that need dependencies (see test_add_profile_relation) to look up the channel for each dependency from the above bundle.  If not found, the CharmHub default channel is used
A CI matrix that points to the 1.4 edge and stable bundles.  This gives us integration tests in the context of each of those bundles (eg: tests kubeflow-dashboard using both kubeflow-profile 1.4/edge and 1.4/stable)

TODO: for easier maintenance, have the matrix of bundle yamls constructed from the bundle-kubeflow/releases/this-release folder contents. Then as we add new bundles there, new tests arise here
would that be too volatile? or would it be helpful? It might be a bit volatile if tests were only triggered by PRs (not easy to see a green check mark next to a PR from 2 months ago and know if it pulled a newly added stable bundle), but if we also had nightly or weekly tests that would be better as we know they'll be good. We could even trigger a CI run whenever new bundles are added to the releases folder
I think even if we just built our tests on explicitly specified bundle files, we've still got the "what did i test with?" problem. We might update a bundle and then we don't know if this repo used the old or new version. Nightly/weekly to make sure we didn't miss anything would be important there too


Format workflow to run on branches apart from main

Added wildcard
can run the build  on  release-* named branches


travis: Add missed all_branches: true

In this case, Travis wrote:

Skipping a deployment with the pages provider because a custom condition was not met

Should work on  feature/layout-superhero/superhero-production
@mradkov


Add docs

Docker is not available on readthedocs so we won't be able to do that. We'll need to have the docs use a released version of xeus-python-kernel.

CI failure looks relevant, although the dependency on @jupyterlab/builder seems to be correct at first glance.

Seems to be failing on main as well.

Yes, I was merging knowing it was relevant (but not relevant to the docs). Just pushed an hopeful fix here https://github.com/jupyterlite/xeus-python-kernel/pull/5


feat: added YouTube links to Posts

I added YouTube links to Posts, let me know how they look!

LGTM!


Some issues

I immediately apologize for the text generated by the Google translator.
List of offers:

Ammo counter widget for LBG / HBG

Support for launching two application windows (I play on a PC divided through aster program for two simultaneously working users)

PS Ready to test work in 2 windows. Now for such work you have to run one of the windows in the sandboxie. But in this mode, hotkeys do not work.

1 - There is already a capture indicator which is way more visible than a flashing animation, it appears on top right of the monster health bar and it's a trap icon.

2 - That's going in the class helper widget that is already in development, I've finished the Insect Glaive and Charge Blade so far. Since it takes some time to gather information from memory and understand how it works, design a widget, code the widget logic, I'll be done (hopefully) by next week. Feel free to join Discord if you want to see the work-in-progress of the new widget: https://discord.gg/5pdDq4Q
3 - Not sure why you'd want two instances of HunterPie since they would hook to the same game (the first game process), and consequently show the exact same data.

2game. 2 users 1pc
https://www.ibik.ru/
2steam work in sandboxie

Oftop: And so that the PC copes with two users, it looks like this ... =)
Just assembling one such pc is cheaper than two with the same overall performance.

I am ready to test.
I am ready to give access to the PC through TeamViewer.
It is not convenient to use the program when running in sandboxie.
You also need to select a discord process for integration.
To save your time, the easiest way is to add this to the arguments of the .exe call.

The problem is that it isn't that simple, HunterPie gets the first MHW process to read it's memory. Right now, if you open two HunterPies and two MHW, both HunterPie instances will read the first MHW process and display the same information. So what I need to do is:
1 - Find a way to detect which MonsterHunterWorld process the first instance of HunterPie is hooked to;
2 - Hook the second instance of HunterPie to the next process in the process list;
I'm also busy with something else for probably this whole week, so I can't start working on this yet.
Also, you can't just select the Discord that you want to connect to, that's handled by the Discord RPC library, not by HunterPie.

They are launched from different users.
Well, or the second option is the selection menu.
But I almost managed to get the program to work correctly in a partially isolated environment.

I would be glad to see a hint why the program cannot access the keys when starting up in the sandboxie.

I would be glad to see a hint why the program cannot access the keys when starting up in the sandboxie.

HunterPie uses the https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-registerhotkey function from the Windows API to register it's hotkeys. If it's failing to register them then there are two reasons I can think of:
Either Sandboxie doens't support it, or HunterPie is trying to register an already registered Hotkey (you can try setting the hotkey to something else and see if it still fails to register it)

=(
https://github.com/sandboxie/sandboxie/issues/17


Makefile: disable memory profile feature

What problem does this PR solve?
Turn out even compiling profiling can still lead to deadlock.
What's Changed:
Related changes

PR to update pingcap/docs/pingcap/docs-cn:
PR to update pingcap/tidb-ansible:
Need to cherry-pick to the release branch

Check List
Tests

Unit test
Integration test

Side effects

Performance regression

Consumes more CPU
Consumes more MEM

Breaking backward compatibility

Release note

No release note

/release

This conflicts with an existing PR. Can we merge that first?
https://github.com/tikv/tikv/pull/8777

Turns out the deadlock is due to invalid cache, close this.

Turns out the deadlock is due to invalid cache, close this.

Could you explain a bit more about this?

The build script of jemallocator doesn't watch changes of JEMALLOC_SYS_WITH_MALLOC_CONF, so it doesn't recompile at all, the change from last PR doesn't take affect on master.


Support Multiple Ingress hosts

I can probably submit a PR on this, if its something you would want.
Essentially, our setup creates DNS records in Route 53, and we create CNAMES to those records in CLoudflare.  So I actually need 2 ingresses, one for the internal entry, and one of the external entry.

this can be closed.


newbie question and a few bugs found

I'm using the default Driver to generate cs files:

this is the code to do the setup

and this is what i get...
btw another question is, why it generates *-symbols.cpp files for me? i don't need them, so how to avoid these *.cpp files being generated?
so basically 3 questions:
1, duplicated namespace (how to avoid generating the namespace of the added moudle)
2, avoid generating *.cpp files

3, how to fix this error? (why it's not new Color(a, b, c))? or, how to add a new constructor for a class?
sorry for these questions, i have tried to find on Google or in the Docs but no luck.
thanks so much.

answer myself:
1, just set newMoudle.OutputNamespace = string.Empty
2, didn't find the snippet where handled it in the source code
3, didn't find the snippet where handled it in the source code, i have just simpled ignored them with an ugly way, because these global fields are just for handy purpose, so can be ignored.
// ugly but works, maybe there is more elegant way?
var ignoreList = new []
        {
            "Black",
            "White",
            "Red",
            "Green",
            "Blue"
        };

        foreach (var u in ctx.TranslationUnits)
        {
            foreach (var ns in u.Namespaces)
            {
                foreach (var v in ns.Variables)
                {
                    if (Array.IndexOf(ignoreList, v.Name) >= 0)
                        v.Ignore = true;
                }
            }
        }

in the UsersManu.md it says global scope functions are handled in the FunctionToXXXXMethodPass, but i didn't find which pass handles for variables.

struct Point {
float length() const {
    return Point::Length(x, y);
  }
  static float Length(float x, float y) {
    return sqrt(x * x + y * y);
  }
}

generate this will cause error too.

enum class Backend {
  /**
   * Mock is a backend that does not draw anything. It is used for unit tests and to measure CPU
   * overhead.
   */
  MOCK,
  OPENGL,
  METAL,
  VULKAN,
};

the generated comments are wrong:
public enum Backend
    {
        /// <summary>
        /// <para>Mock is a backend that does not draw anything. It is used for unit tests and to measure CPU</para>
        /// <para>overhead.</para>
        /// </summary>
        MOCK = 0,
        /// <summary>
        /// <para>Mock is a backend that does not draw anything. It is used for unit tests and to measure CPU</para>
        /// <para>overhead.</para>
        /// </summary>
        OPENGL = 1,
        /// <summary>
        /// <para>Mock is a backend that does not draw anything. It is used for unit tests and to measure CPU</para>
        /// <para>overhead.</para>
        /// </summary>
        METAL = 2,
        /// <summary>
        /// <para>Mock is a backend that does not draw anything. It is used for unit tests and to measure CPU</para>
        /// <para>overhead.</para>
        /// </summary>
        VULKAN = 3
    }

thanks for youre reply @tritao
later if i have time i'll try to PR,
here another i just found:
public virtual void GenerateUsings()
        {
//            .......
            foreach (var library in internalsVisibleTo)
                WriteLine($"[assembly:InternalsVisibleTo(\"{library}\")]");

InternalsVisibleTo needs a feature that consider for public key if the current library has one.

https://github.com/mono/CppSharp/issues/968
i'm encountering this, is there a easy way to fix it?

well, everything is fine but stuck on std::shared_ptr.... a lot of key methods are ignored...
don't know what to do now.....
https://github.com/mono/CppSharp/issues/1738
not sure how did @frankenherm do it.

hi @tritao, @ddobrev for such a complex type, what is the right way to write a TypeMap for it?
i have to fully figure out how to customize type first before pushing any merge request.
if just a simple type, use [TypeMap("typestr", GeneratorKind = GeneratorKind.CSharp)] would be enough,
but with such an complex one, how to define?
[TypeMap("::std::_Ptr_base", GeneratorKind = GeneratorKind.CSharp)], obviously this is not enough, so how to define ::std::_Ptr_base<???>::element_type*? because ??? can be any types.
thanks

I don't think that's supported atm.
Check here how we do it for strings: https://github.com/mono/CppSharp/blob/main/src/Generator/Types/Std/Stdlib.CSharp.cs#L302
This code could be extended to do a regex match over all the typemaps: https://github.com/mono/CppSharp/blob/main/src/Generator/Types/TypeMapDatabase.cs#L63
Then you could have something like * in the type names. For now you can have multiple [TypeMap(...)] for multiple types you might need.

thanks so much for the tips, i'll have a look now. 👍

i have both Property<T> and Point classes generated successfully, but why Property<Point>* is an incomplete type?
i have checked in the source code but didn't find the reason (in CheckIgnoredDeclsPass), and even define a [TypeMap("::pag::Property<::pag::Point>*", GeneratorKind = GeneratorKind.CSharp)] for it but it still does not work....
really have no idea on how to fix it now, could you please help me on where should i go? @tritao
thanks for your time.

Want to help but it's hard to say based on the info. These messages should be improved to give more information to the user, for now I would recommend you add some breakpoints and use the debugger to help figure out what's going on.

well, thanks so much, actually i did so in the source code already, mainly it's because the source code does not have comments so a little hard to understand some of the parsing details, although the main parsing flow is easy to understand.

Want to help but it's hard to say based on the info. These messages should be improved to give more information to the user, for now I would recommend you add some breakpoints and use the debugger to help figure out what's going on.

well, thanks so much, actually i did so in the source code already, mainly it's because the source code does not have comments so a little hard to understand some of the parsing details, although the main parsing flow is easy to understand.

One technique you might try:
https://github.com/mono/CppSharp/blob/main/src/AST/Declaration.cs#L157
Override the base set with something like:
            set => { if (Name == "::pag::Property<::pag::Point>*") System.Diagnostics.Debugger.Break(); }

Then your debugger will break when your AST node is being ignored. Just make sure the Name is right, but the overall technique is how I debug these kind of issues.

okay 👍, thanks man


Latest jira collector issue with story status

Hi i have an issue with the JIRA collector.
when querying  the mongodb for the sStatus and sState, all of the tickets are set to Backlog, even though the tickets/issues have other states.
Any idea?

@sjalee82  when is it last collected data

@sjalee82 : Please validate the data that you are getting from the JIRA API:

https:///rest/agile/1.0/board?name=
Get the board id from the response, and then use that to get the issue data using the API below

https:///rest/agile/1.0/board//issue
See what the statuses are on the response.
If there is a discrepancy, as nireeshT suggested, check your properties file as well.
This is what I had at a minimum when I tested it last time.

feature.pageSize=100
feature.cron=0 * * * * *
feature.queryFolder=jiraapi-queries
feature.storyQuery=story
feature.epicQuery=epic
feature.jiraProxyUrl=
feature.jiraProxyPort=
feature.jiraBaseUrl=
feature.jiraQueryEndpoint=rest/api/2/
feature.jiraCredentials=
feature.jiraIssueTypeNames=Story
feature.jiraSprintDataFieldName=customfield_10007
feature.jiraEpicIdFieldName=customfield_10003
feature.jiraStoryPointsFieldName=customfield_10004
feature.jiraTeamFieldName=customfield_11248
feature.jiraBoardAsTeam=true
feature.deltaStartDate=
feature.masterStartDate=
feature.deltaCollectorItemStartDate=

i get the same response from both rest queries
Below is my configruation:
feature.pageSize=1000
feature.cron=0 * * * * *
feature.queryFolder=jiraapi-queries
feature.storyQuery=story
feature.epicQuery=epic
feature.jiraProxyUrl=
feature.jiraProxyPort=
feature.jiraBaseUrl=
feature.jiraQueryEndpoint=rest/api/2/
feature.jiraCredentials=
feature.jiraIssueTypeNames=Task,Bug,Sub-task,Story,Spike,Production Support,New Feature,Improvement
feature.jiraSprintDataFieldName=customfield_10104
feature.jiraEpicIdFieldName=customfield_10100
feature.jiraStoryPointsFieldName=customfield_10106
feature.jiraTeamFieldName=#do not have Team
feature.jiraBoardAsTeam=false
feature.deltaStartDate=2018-03-01T00:00:00.000000
feature.masterStartDate=2018-01-01T00:00:00.000000
feature.deltaCollectorItemStartDate=2008-01-01T00:00:00.000000

Excerpt from MongoDB:
"_id" : ObjectId("5b2417b836d1a0000b7935d3"),
"_class" : "com.capitalone.dashboard.model.Feature",
"collectorId" : ObjectId("5b22889230c49e000c0a8cf1"),
"sId" : "10126",
"sNumber" : "DP-38",
"sName" : "deleted",
"sTypeId" : "10001",
"sTypeName" : "Story",
"sStatus" : "Backlog",
"sState" : "Backlog",
"sEstimate" : "5",
"sEstimateTime" : 0,
}
response from rest/api/latest/issue/DP-38
"expand": "renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations",
"id": "10126",
"self": "http://:8080/rest/api/latest/issue/10126",
"key": "DP-38",
"fields": {
"issuetype": {
"self": "http://:8080/rest/api/2/issuetype/10001",
"id": "10001",
"description": "Created by JIRA Software - do not edit or delete. Issue type for a user story.",
"iconUrl": "http://:8080/images/icons/issuetypes/story.svg",
"name": "Story",
"subtask": false
},
"updated": "2018-06-18T13:24:09.960+0000",
"status": {
"self": "http://:8080/rest/api/2/status/10101",
"description": "",
"iconUrl": "http://:8080/images/icons/statuses/generic.png",
"name": "In-Progress",
"id": "10101",
"statusCategory": {
"self": "http://<IP_ADDRESS>:8080/rest/api/2/statuscategory/4",
"id": 4,
"key": "indeterminate",
"colorName": "yellow",
"name": "In Progress"
}
},

@sjalee82: This could be a configuration issue in your properties file
Can you please call the api below, to get the story information for your board, and then in that response json, there is a section as below (from what I got last time I worked on it) that lists the field names. Make sure your properties file has the correct field name configuration. You will have to update the query parameters as needed.
https://{jira server domain name}/rest/agile/1.0/board/{board-id}/issue?jql=updatedDate%3E%3D'2016-03-01+00:00'+AND+issueType+IN+('Story')+ORDER+BY+updated+ASC&expand=schema,names&fields=*all,-comment,-watches,-worklog,-votes,-reporter,-creator,-attachment&maxResults=100&startAt=0
"names": {
"customfield_15521": "AE",
"customfield_15400": "Approvals",
"customfield_13100": "Time Scope Variability",
"customfield_17700": "Definition of Done",
"customfield_15522": "Bank Priority",
"customfield_15401": "Satisfaction",
"customfield_15520": "Requesting LOB",
"customfield_13101": "JSD EazyBI Account Name",
"customfield_15525": "Intent Lead",
"resolution": "Resolution",
"customfield_15526": "Overall Status",
"customfield_15402": "Satisfaction date",
"customfield_15523": "Complexity",
"customfield_15524": "Delivery Model",
"customfield_17701": "To Do",
"customfield_12800": "System Team Area",
"customfield_15518": "Operations Area Goal Alignment",
"customfield_15519": "Operations Imperatives",
"customfield_12802": "Customer Priority Justification (if Medium, High & Critical)",
"customfield_15516": "Key Initiative",
"customfield_12801": "Customer/LOB Priority",
"customfield_15517": "LOB Impacts",
"customfield_12804": "Sprint Requested",
"customfield_12803": "EASE WEB Environment (What Environment Does this Exist in?)",
"customfield_12806": "Additional Assignee #1",
"customfield_12805": "Feature mapping to Test Case",
"customfield_12808": "Resolution Area (Where was issue Resolved)",
"customfield_12807": "External Dependency",
"customfield_12809": "If External Resolve:  What External Team or Teams Owned & Resolved?",
"customfield_18100": "Target start",
"customfield_18101": "Target end",
"lastViewed": "Last Viewed",
"customfield_14300": "Squad",
"customfield_15510": "Estimated Benefit - Baseline",
"customfield_12000": "Software Cap Type",
"customfield_16600": "CSGE Resource Type",
"customfield_14301": "Impediment Reason",
"customfield_15511": "Estimated Benefit - Current",
"customfield_15514": "Milestone Delta",
"customfield_15515": "CR Type",
"customfield_15512": "Estimated Total Benefit ($)",
"labels": "Labels",
"customfield_15513": "Estimated Total Cost ($)",
"customfield_15507": "Current End Date",
"customfield_15508": "Current Start Date",
"customfield_15505": "Benefit Achievement Date Current",
"customfield_15506": "Current Due Date",
"aggregatetimeoriginalestimate": "Σ Original Estimate",
"customfield_15509": "RTG Date",
"issuelinks": "Linked Issues",
"assignee": "Assignee",
"components": "Component/s",
"customfield_17000": "Region",
"customfield_15500": "Benefit Categories",
"customfield_13200": "JSD PluginType",
"customfield_15504": "Benefit Achievement Date Baseline",
"customfield_15501": "Baseline Due Date",
"customfield_17800": "Feature Readiness",
"customfield_12227": "Volume",
"customfield_10600": "Rank",
"customfield_14405": "Requesting IT Director",
"subtasks": "Sub-Tasks",
"customfield_12220": "Date/Time ISO Lead Review",
"customfield_14400": "Software Cap Asset Name",
"customfield_12222": "Date/Time Approved",
"customfield_12101": "Release Name Introduced",
"customfield_12221": "Date/Time ISRM Review Complete",
"customfield_12100": "Application",
"customfield_14403": "Original Estimate",
"customfield_12224": "Point of Contact",
"customfield_14404": "Requesting Team Product Owner",
"customfield_12223": "Date/Time Retired",
"customfield_12102": "Scope",
"customfield_14401": "Requesting Team Name",
"customfield_12226": "Real Time",
"customfield_16701": "R&D Tax Credit Applicable",
"customfield_14402": "Accountable Executive/Stakeholder",
"customfield_12225": "Batch",
"customfield_16700": "Total SG's",
"customfield_11248": "Team",
"customfield_12219": "Date/Time Peer Review",
"progress": "Progress",
"issuetype": "Issue Type",
"customfield_17100": "Risk Resolution (ROAM)",
"project": "Project",
"customfield_13300": "JSD eazyBI Description",
"customfield_11000": "Feature Label",
"customfield_11001": "Testing Work Stream",
"customfield_11002": "Testing Cycle",
"customfield_13301": "Class of Service",
"customfield_17901": "Compliance",
"customfield_15600": "BAP CI",
"customfield_11246": "Customer Email Address",
"customfield_17900": "Legal",
"customfield_15601": "Policy",
"customfield_13303": "Current Efforts",
"customfield_12214": "ISRM Risk Manager",
"customfield_11237": "Is the product currently in market?",
"customfield_12206": "Peer Review Assignee",
"customfield_11238": "Product Lead",
"customfield_10700": "Customer Request Type",
"customfield_10701": "Request participants",
"customfield_10702": "Time to resolution",
"customfield_12209": "ISO Lead",
"resolutiondate": "Resolved",
"customfield_16000": "Incident Number",
"customfield_12561": "Process Instructions (3)",
"customfield_12560": "Process Instructions (2)",
"customfield_12200": "Project Status (RYG)",
"customfield_12202": "Forward to FAs",
"customfield_12201": "Kanban",
"customfield_12564": "LOB (Other)",
"customfield_12558": "Date/Time Customer",
"customfield_12557": "MS-Project ID",
"customfield_10810": "Priority Reason",
"customfield_11228": "Cost Center",
"customfield_12559": "Process Instructions (1)",
"customfield_10811": "Assigned PO",
"customfield_10812": "Assigned Team",
"customfield_10813": "LOE",
"customfield_10814": "Closed Reason",
"customfield_10815": "Blocked Reason",
"updated": "Updated",
"customfield_17201": "Supply Chain Manager",
"customfield_17200": "Category Manager",
"timeoriginalestimate": "Original Estimate",
"customfield_12550": "Gantt Options",
"customfield_17205": "Sourcing Intake Number",
"description": "Description",
"customfield_17204": "Contracting Intake Number",
"customfield_12552": "Baseline End",
"customfield_11220": "Feedback Rating",
"customfield_17203": "Contract Signatory",
"customfield_12551": "Baseline Start",
"customfield_17202": "Contract Manager",
"customfield_12554": "Baseline Effort",
"customfield_10012": "Release Version History",
"customfield_12553": "Date of Baselining",
"customfield_13400": "Software Testing",
"customfield_11224": "Is this story being copied from the "Engagement Stories" Project templates?",
"customfield_11103": "Requested By",
"customfield_12555": "Velocity %",
"customfield_11104": "Deliverable URL",
"timetracking": "Time Tracking",
"customfield_12547": "Actual End",
"customfield_10005": "Business Value",
"customfield_12304": "Lessons Learned",
"customfield_11216": "LOB (Unofficial)",
"customfield_10006": "Rank (Obsolete)",
"customfield_12549": "Latest End",
"customfield_10007": "Sprint",
"customfield_12548": "Latest Start",
"customfield_10800": "Feature",
"customfield_10801": "Found by",
"customfield_11219": "Type of Feedback",
"customfield_10802": "Date",
"customfield_10803": "Steps to Reproduce",
"customfield_10804": "Expected Results",
"customfield_10805": "Actual Results",
"customfield_10806": "Client Device",
"customfield_10807": "App Build Version",
"customfield_10808": "Environments",
"customfield_10809": "Impact/Severity",
"summary": "Summary",
"customfield_16101": "Business Functional Team",
"customfield_16100": "Use Case(s)",
"customfield_12541": "Target Production go-live date",
"customfield_10000": "[CHART] Time in Status",
"customfield_11210": "Peer Sign-off",
"customfield_12540": "Provide link to project workspace (KL, GitHub, OneDrive, etc)",
"customfield_16102": "Model Change Type",
"customfield_10001": "[CHART] Date of First Response",
"customfield_11211": "Cascading Select",
"customfield_12543": "Customer SME",
"customfield_11212": "TEST Field Type "Labels"",
"customfield_12542": "Date/Time AE Review Complete",
"customfield_10002": "Flagged",
"customfield_11213": "User Field",
"customfield_10003": "Epic/Theme",
"customfield_12544": "Application name",
"customfield_14600": "Gumbo PI Issues",
"customfield_10004": "Story Points",
"customfield_12536": "Data Elements",
"customfield_11204": "QA Completed On",
"customfield_12535": "Data Classification",
"customfield_11205": "Total Days Spent",
"customfield_12414": "Needs Enhancement",
"customfield_12538": "Where is application hosted?",
"customfield_11206": "End Date",
"environment": "Environment",
"customfield_15802": "Dependency Due Date",
"customfield_12537": "Third Parties Involved?",
"customfield_11207": "Testing Notes status",
"customfield_15803": "Theme",
"customfield_11208": "Link to play",
"customfield_12539": "Are there any high-risk transactions involved?",
"customfield_11209": "Frustration",
"duedate": "Due Date",
"customfield_15000": "Program Increment List",
"customfield_12530": "ASV Name",
"fixVersions": "Fix Version/s",
"customfield_12532": "ART PI",
"customfield_13500": "Engagement Level",
"customfield_12411": "ALM_Severity",
"customfield_11200": "Effort",
"customfield_15800": "Dependency Status",
"customfield_12410": "ALM_Sprint End Date Introduced",
"customfield_12531": "ART Name",
"customfield_11201": "Incorporated Version",
"customfield_15801": "Dependency Delivery Description",
"customfield_12534": "Internal or External facing?",
"customfield_11202": "Founder Sign-off",
"customfield_11203": "Morale",
"customfield_12404": "Program Increment",
"customfield_12403": "Epic Type",
"customfield_12406": "Workstream",
"customfield_12405": "Feature/Enabler",
"customfield_12408": "ALM_Application",
"customfield_10901": "Developer(s)",
"customfield_12407": "Planned Start",
"customfield_10902": "QA",
"customfield_12409": "ALM_Release Name Introduced",
"customfield_16200": "Start Date",
"customfield_16201": "Progress",
"customfield_12400": "Expected Remediation Date",
"priority": "Priority",
"customfield_12402": "Planned End",
"customfield_16206": "Risk probability",
"customfield_16205": "Risk consequence",
"customfield_15901": "Time to first response",
"customfield_12515": "Risk Issue Title",
"customfield_12518": "Risk Issue Type",
"timeestimate": "Remaining Estimate",
"versions": "Affects Version/s",
"customfield_12519": "Risk Issue Description:",
"status": "Status",
"customfield_15100": "TIR Updated?",
"customfield_11300": "Phase Found",
"customfield_15900": "Approvers",
"customfield_13601": "Incident Severity",
"customfield_13600": "Incident Type",
"customfield_12624": "CLI Project Key",
"customfield_11414": "Time in Status",
"customfield_11413": "Acknowledged Date",
"customfield_12502": "Targeted UATE migration date",
"customfield_12625": "Dependencies",
"aggregatetimeestimate": "Σ Remaining Estimate",
"customfield_16303": "Regulatory Impact",
"customfield_16302": "Global Finance Required",
"customfield_16301": "IT Required",
"customfield_16300": "Audit Driven",
"aggregateprogress": "Σ Progress",
"customfield_11531": "Date/Time Complete",
"customfield_11410": "System Impact: Secondary",
"customfield_11530": "Date/Time In Progress",
"customfield_14800": "Rank Number",
"customfield_11412": "System Impact: Additional",
"customfield_12501": "Targeted SITE migration date",
"customfield_12622": "Production Deployment Date",
"customfield_11411": "System Impact: Tertiary",
"customfield_12621": "EIDs Needing EazyBI access",
"customfield_11524": "Additional Stakeholders",
"customfield_11523": "Primary KPI",
"customfield_13701": "Parent Link",
"customfield_11526": "Division (ISRM)",
"customfield_11525": "Accountable Executive (AE)",
"customfield_11407": "VersionOne ID",
"customfield_11527": "Task Details",
"customfield_11406": "Is issue in VersionOne?",
"customfield_11409": "System Impact: Primary",
"customfield_11529": "ISRM POC",
"customfield_11408": "Prod Deploy Date",
"timespent": "Time Spent",
"customfield_15200": "Delivery Status",
"customfield_17500": "Release Train",
"aggregatetimespent": "Σ Time Spent",
"customfield_13700": "Team",
"customfield_11522": "URL",
"customfield_14902": "Primary CTQ",
"customfield_12602": "NIST Alignment",
"customfield_11634": "Impact",
"customfield_11633": "Date/Time Canceled",
"customfield_14900": "Portfolio Plan Name",
"customfield_12604": "Investment Estimate",
"customfield_11515": "Hypothesis",
"customfield_14901": "Sub-Portfolio Plan Name",
"customfield_12603": "Epic Owner",
"customfield_11635": "Next Steps",
"customfield_11514": "Problem Statement",
"customfield_11517": "Undesired Metrics",
"customfield_12606": "WSJF (Weighted Shortest Job First)",
"customfield_11516": "Secondary KPI",
"customfield_12605": "Funded",
"customfield_12608": "Expected Value",
"customfield_12607": "Additional Notes",
"customfield_11518": "Reporters",
"workratio": "Work Ratio",
"created": "Created",
"customfield_14100": "Exposure",
"customfield_16400": "Change Order",
"customfield_14101": "Potential Loss Avoided (PLA)",
"customfield_11630": "Risk Level",
"customfield_11632": "ISRM - Prime ID",
"customfield_12600": "Systems Impacted",
"customfield_11631": "Risk Response Rationale",
"customfield_11623": "Impediment Risk",
"customfield_11502": "eID",
"customfield_13800": "Flagged reason",
"customfield_12835": "All Tickets EM & TDM",
"customfield_11504": "JSD How much money and time saved?",
"customfield_11625": "LOB (Cyber)",
"customfield_11503": "JSD How many teams would use?",
"customfield_11506": "JSD Is LOB willing to pay?",
"customfield_11627": "Risk Issue Description",
"customfield_11626": "Risk ISRM Area",
"customfield_11505": "JSD Are there alternatives?",
"customfield_11508": "Category",
"customfield_11629": "Risk Issue Type",
"customfield_11507": "JSD Does JIRA Sponsor Support?",
"customfield_11628": "Risk Issue Title",
"customfield_11509": "On Behalf Of",
"customfield_15540": "Status Summary",
"customfield_15543": "Intent Requestor",
"customfield_13001": "EASE Web Tech Service Desk Request Type",
"customfield_13000": "Deploy/Toggle Type",
"customfield_17600": "Acceptance Criteria (AC):",
"customfield_15541": "Upcoming Milestones",
"customfield_15542": "Intent Approver",
"customfield_13002": "Design Skills",
"customfield_15545": "Owner",
"customfield_15303": "Requirement Status",
"customfield_15546": "Delivery Approver",
"customfield_11620": "Automation Status",
"customfield_12701": "Applicable Stakeholders",
"customfield_12822": "NIST Category",
"customfield_12700": "Project Category",
"customfield_15538": "Objectives",
"customfield_12824": "JSD Rename EazyBI account",
"customfield_15539": "Resolution Plan",
"customfield_12826": "Goals",
"customfield_12825": "JSD Group",
"customfield_12828": "Stage(s)",
"customfield_12827": "Required Resources (ORM)",
"customfield_11619": "Client/Device",
"customfield_12829": "Division ORM",
"customfield_18000": "Risk Impact Advisors",
"customfield_15532": "Strategic Alignment",
"customfield_16501": "Incident",
"customfield_15533": "Sub-Portfolio",
"customfield_16500": "Benefit Category",
"customfield_15530": "Service Impact",
"customfield_15531": "Sponsor",
"customfield_15536": "Impacts of Change",
"customfield_15537": "Key Accomplishments",
"customfield_12820": "Automation Closing Access ticket",
"customfield_15534": "Trend",
"customfield_15535": "Business Justification",
"customfield_10400": "Epic Link",
"customfield_15529": "Schedule",
"customfield_13900": "Service Type",
"customfield_12811": "System Team Comments",
"customfield_12810": "External Resolver Team Comments",
"customfield_15527": "Portfolio",
"customfield_13902": "Sub-LOB / Portfolios (CML TECH)",
"customfield_15528": "Resources",
"customfield_13901": "Acceptance Criteria",
"customfield_12812": "External Resolver Team Priority",
"customfield_12815": "System Team Priority",
"customfield_13904": "ValidatorBridge",
"customfield_13903": "ValidatorNameEID",
"customfield_12817": "Pending reason",
"customfield_13906": "Type Of Role",
"customfield_12816": "System Team Status/Resolution",
"customfield_13905": "ValidationSteps",
"customfield_12819": "EazyBI Role Request",
"customfield_13907": "AWS Account(s)",
"customfield_12818": "Reference"
}

@sjalee82 : Since we didn't hear back from you, I am assuming this issue is resolved at your end, and therefore closing this issue. Thanks !

Hi All,
I am new to this api and I have one issue in our project.
Currently, I am facing the issue for collecting all jira items for a specific project. Sometimes jira collectors are not able to collect all the data. I want to understand the three parameters here,
feature.deltaStartDate=2018-03-01T00:00:00.000000
feature.masterStartDate=2018-01-01T00:00:00.000000
feature.deltaCollectorItemStartDate=2008-01-01T00:00:00.000000
Also, how jira collectors collect data after any exception occurs in midway? Is it atomic?
Please help me to understand.
Thanks,
Sandip


Some Stocks endpoints return incorrectly

It appears that some endpoints (such as get_earnings are returning incorrectly-formatted data)

from iexfinance import Stock

aapl = Stock("AAPL", output_format='pandas')
aapl.get_earnings()

#                                                                            AAPL
# earnings [{'fiscalPeriod': 'Q4 2017', 'announceTime': '...
# symbol                                                                     AAPL

This is incorrect. In addition, odd behavior is that get_earnings sometimes returns with a symbol index, and sometimes does not. This would cause calls like aapl.get_earnings()["totalDebt"] to fail.

The Stocks Earnings and Financials endpoints return differently than the rest:

The Stocks/earnings and Stocks/financials endpoints return differently than the rest of the group, in that they have an extra dictionary level:
{
  "symbol": "AAPL",
  "earnings": [
    {
      "actualEPS": 2.1,
      "consensusEPS": 2.02
      ...

This causes some requests to return a symbol-indexed dictionary of the endpoint instead of the actual endpoint. This also causes pandas format to be incorrect.

Merged #35.


TIM-137 feat(backend): add events table

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#83  👈
#82
#81
#80
#79
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @xdjeremy and the rest of your teammates on  Graphite


Typescript doesn't detect correct type in constant array.

TypeScript Version:  2.1.1 / nightly (2.2.0-dev.201xxxxx)
Code
let map = {};

[
    ['foo', false],
    ['bar', true],
    ['baz', true],
].forEach(entry => {
    let id = map[entry[0]];
    let booleanVar = entry[1];
});

Expected behavior:
Typescript could detect that entry[0] is a string so a cast isn't needed.
Actual behavior:

Type 'true' cannot be used as an index type.

The problem is solved using a cast to string, or alternatively (in this case more elegantly) using a map.
Feel free to mark as wontfix or duplicate as appropriate.
Thanks!

The problem is that we really have no idea that your array isn't mutated. Heterogeneous arrays are sometimes tuples and sometimes just arrays. In this case since you are using an array as a tuple (thus hopefully not calling sort / push / pop on it), you can add a type assertion to inform the checker:
([
    ['foo', false],
    ['bar', true],
    ['baz', true],
] as ([string, boolean][])).forEach(entry => {
    let id = map[entry[0]];
    let booleanVar = entry[1];
});

Well, it's a temporary, so I expected Typescript to be able to auto-treat it as constant.
I guess you could whitelist forEach (and some other methods) as a const method or something, so you know it can't be mutated, but yeah, seems complex enough.
Thanks for the reply! :)

Not that it particularly matters (since we don't do it either way), but it's the possible mutation of entry that's the issue, which is definitely available to mutate. And forEach on a temporary still isn't guaranteed to be immutable because the array itself is the third argument to the forEach callback (JS: always out to get you).

Oh, of course, sorry :)


bonfire: init at 0.0.7

Things done

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

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@womfoo The package install some extraneous files:
$ tree result/
├── AUTHORS.rst
├── bin
│   └── bonfire
…
├── LICENSE.txt
├── nix-support
│   └── propagated-native-build-inputs
├── README.rst
└── requirements.txt

Can you fix that?

@orivej just rebased the changes to remove extraneous files.
I also tried updating the version to 2017-01-19 and unstable-2017-01-19 but pip fails with these.
/nix/store/9b4d3vb92z7b4ydxdk1zg9slvcfdgaxm-python3.6-bootstrapped-pip-9.0.1/lib/python3.6/site-packages/setuptools/dist.py:360: UserWarning: The version specified ('unstable-2017-01-19') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
  "details." % self.metadata.version

@womfoo try putting "unstable" in pname so that pip gets the date as the version:
version = "2017-01-19";
pname = "bonfire-unstable";

But that would mean repo for src wouldn't work. Just put "unstable" in name then: name = "${pname}-unstable-${version}";.

Moving "unstable" in the version did fix it. Thanks @vyp


rpc error: code = Internal desc = Error creating device for volume pvc-xxxx, err: device not found with serial 60002xxxx or target

Hi !
We have installed HPE CSI Driver v2.4 over OCP 4.14 (3 masters+3 workers) in order to obtain persistent storage from a HPE_3PAR 8440. The installation was done with OCP OperatorHub and has worked perfectly and we have created a secret with the backend info and a storageclass.
The problem we are seeing is that we can create PVC with correct attached PVs, but when using them in the pods we cannot mount them. We obtain : "rpc error: code = Internal desc = Error creating device for volume pvc-xxxx, err: device not found with serial 60002xxxx or target" errors.
// sample Storageclass used:
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
annotations:
storageclass.kubernetes.io/is-default-class: "true"
name: hpe-standard-test
provisioner: csi.hpe.com
parameters:
csi.storage.k8s.io/fstype: xfs
csi.storage.k8s.io/controller-expand-secret-name: hpe-backend
csi.storage.k8s.io/controller-expand-secret-namespace: hpe-storage
csi.storage.k8s.io/controller-publish-secret-name: hpe-backend
csi.storage.k8s.io/controller-publish-secret-namespace: hpe-storage
csi.storage.k8s.io/node-publish-secret-name: hpe-backend
csi.storage.k8s.io/node-publish-secret-namespace: hpe-storage
csi.storage.k8s.io/node-stage-secret-name: hpe-backend
csi.storage.k8s.io/node-stage-secret-namespace: hpe-storage
csi.storage.k8s.io/provisioner-secret-name: hpe-backend
csi.storage.k8s.io/provisioner-secret-namespace: hpe-storage
description: "Volume created by the HPE CSI Driver for Kubernetes"
fsMode: "0777"
accessProtocol: fc
reclaimPolicy: Delete
allowVolumeExpansion: true
We create a PVC that creates and attach a PV:
//PVC
// oc apply -f test_pvc-test.yaml
persistentvolumeclaim/demo-pvc-file-system-test created
NAME                        STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS        AGE
demo-pvc-file-system-test   Bound    pvc-67143914-df21-4af3-a3bc-5b7b4731836d   1Gi        RWO            hpe-standard-test   7s
// PV
NAME                                       CAPACITY   ACCESS MODES   RECLAIM POLICY   STATUS   CLAIM                            STORAGECLASS        REASON   AGE
pvc-67143914-df21-4af3-a3bc-5b7b4731836d   1Gi        RWO            Delete           Bound    test/demo-pvc-file-system-test   hpe-standard-test            52s
When creating a pod that has to use that PV we obtain an error :
// oc get pods -n test
NAME                          READY   STATUS              RESTARTS   AGE
postgresql-5998df5877-98dkn   0/1     ContainerCreating   0          76s
Events:
Type     Reason                  Age   From                     Message

Normal   Scheduled               42s   default-scheduler        Successfully assigned test/postgresql-5998df5877-98dkn to worker01.clusterk8s01.test.es
Normal   SuccessfulAttachVolume  36s   attachdetach-controller  AttachVolume.Attach succeeded for volume "pvc-67143914-df21-4af3-a3bc-5b7b4731836d"
Warning  FailedMount             4s    kubelet                  MountVolume.MountDevice failed for volume "pvc-67143914-df21-4af3-a3bc-5b7b4731836d" : rpc error: code = Internal desc = Failed to stage volume pvc-67143914-df21-4af3-a3bc-5b7b4731836d, err: rpc error: code = Internal desc = Error creating device for volume pvc-67143914-df21-4af3-a3bc-5b7b4731836d, err: device not found with serial 60002ac00000000000000257000222ea or target
// oc logs hpe-csi-node-2nc2q -c hpe-csi-driver
time="2023-12-28T20:19:34Z" level=info msg="GRPC call: /csi.v1.Node/NodeGetCapabilities" file="utils.go:69"
time="2023-12-28T20:19:34Z" level=info msg="GRPC request: {}" file="utils.go:70"
time="2023-12-28T20:19:34Z" level=info msg="GRPC response: {"capabilities":[{"Type":{"Rpc":{"type":1}}},{"Type":{"Rpc":{"type":3}}},{"Type":{"Rpc":{"type":2}}}]}" file="utils.go:75"
time="2023-12-28T20:19:34Z" level=info msg="GRPC call: /csi.v1.Node/NodeGetCapabilities" file="utils.go:69"
time="2023-12-28T20:19:34Z" level=info msg="GRPC request: {}" file="utils.go:70"
time="2023-12-28T20:19:34Z" level=info msg="GRPC response: {"capabilities":[{"Type":{"Rpc":{"type":1}}},{"Type":{"Rpc":{"type":3}}},{"Type":{"Rpc":{"type":2}}}]}" file="utils.go:75"
time="2023-12-28T20:19:34Z" level=info msg="GRPC call: /csi.v1.Node/NodeGetCapabilities" file="utils.go:69"
time="2023-12-28T20:19:34Z" level=info msg="GRPC request: {}" file="utils.go:70"
time="2023-12-28T20:19:34Z" level=info msg="GRPC response: {"capabilities":[{"Type":{"Rpc":{"type":1}}},{"Type":{"Rpc":{"type":3}}},{"Type":{"Rpc":{"type":2}}}]}" file="utils.go:75"
time="2023-12-28T20:19:34Z" level=info msg="GRPC call: /csi.v1.Node/NodeStageVolume" file="utils.go:69"
time="2023-12-28T20:19:34Z" level=info msg="GRPC request: {"publish_context":{"accessProtocol":"fc","fsCreateOptions":"","fsMode":"0777","fsOwner":"","fsType":"xfs","lunId":"0","readOnly":"false","serialNumber":"60002ac00000000000000257000222ea","targetNames":"","targetScope":"group","volumeAccessMode":"mount"},"secrets":"stripped","staging_target_path":"/var/lib/kubelet/plugins/kubernetes.io/csi/csi.hpe.com/858120b3b146d49ad0a9ea09fdfa4ee182be04dc92daa964051c3ecf2ca01853/globalmount","volume_capability":{"AccessType":{"Mount":{"fs_type":"xfs"}},"access_mode":{"mode":1}},"volume_context":{"accessProtocol":"fc","compression":"false","cpg":"","csi.storage.k8s.io/pv/name":"pvc-67143914-df21-4af3-a3bc-5b7b4731836d","csi.storage.k8s.io/pvc/name":"demo-pvc-file-system-test","csi.storage.k8s.io/pvc/namespace":"test","description":"Volume created by the HPE CSI Driver for Kubernetes","fsMode":"0777","fsType":"xfs","hostEncryption":"false","provisioningType":"tpvv","snapCpg":"","storage.kubernetes.io/csiProvisionerIdentity":"1703782340721-8001-csi.hpe.com","volumeAccessMode":"mount"},"volume_id":"pvc-67143914-df21-4af3-a3bc-5b7b4731836d"}" file="utils.go:70"
time="2023-12-28T20:19:34Z" level=info msg="NodeStageVolume requested volume pvc-67143914-df21-4af3-a3bc-5b7b4731836d with access type mount, targetPath /var/lib/kubelet/plugins/kubernetes.io/csi/csi.hpe.com/858120b3b146d49ad0a9ea09fdfa4ee182be04dc92daa964051c3ecf2ca01853/globalmount, capability mount:<fs_type:"xfs" > access_mode:<mode:SINGLE_NODE_WRITER > , publishContext map[accessProtocol:fc fsCreateOptions: fsMode:0777 fsOwner: fsType:xfs lunId:0 readOnly:false serialNumber:60002ac00000000000000257000222ea targetNames: targetScope:group volumeAccessMode:mount] and volumeContext map[accessProtocol:fc compression:false cpg: csi.storage.k8s.io/pv/name:pvc-67143914-df21-4af3-a3bc-5b7b4731836d csi.storage.k8s.io/pvc/name:demo-pvc-file-system-test csi.storage.k8s.io/pvc/namespace:test description:Volume created by the HPE CSI Driver for Kubernetes fsMode:0777 fsType:xfs hostEncryption:false provisioningType:tpvv snapCpg: storage.kubernetes.io/csiProvisionerIdentity:1703782340721-8001-csi.hpe.com volumeAccessMode:mount]" file="node_server.go:222"
time="2023-12-28T20:19:34Z" level=error msg="\n Error in GetSecondaryBackends unexpected end of JSON input" file="volume.go:87"
time="2023-12-28T20:19:34Z" level=error msg="\n Passed details " file="volume.go:88"
time="2023-12-28T20:19:35Z" level=info msg="vendor: Generic-" file="device.go:1023"
time="2023-12-28T20:19:35Z" level=error msg="open /sys/class/scsi_device/0:0:0:0/device/vpd_pg80: no such file or directory" file="file.go:41"
time="2023-12-28T20:19:35Z" level=info msg="vendor: HPE     " file="device.go:1023"
time="2023-12-28T20:19:35Z" level=info msg="vendor: HPE     " file="device.go:1023"
time="2023-12-28T20:19:35Z" level=info msg="vendor: HPE     " file="device.go:1023"
time="2023-12-28T20:19:35Z" level=error msg="\n Error in GetSecondaryArrayLUNIds unexpected end of JSON input" file="volume.go:29"
time="2023-12-28T20:19:35Z" level=error msg="\n Error in GetSecondaryArrayLUNIds unexpected end of JSON input" file="volume.go:29"
time="2023-12-28T20:19:40Z" level=info msg="vendor: Generic-" file="device.go:1023"
time="2023-12-28T20:19:40Z" level=error msg="open /sys/class/scsi_device/0:0:0:0/device/vpd_pg80: no such file or directory" file="file.go:41"
time="2023-12-28T20:19:40Z" level=info msg="vendor: HPE     " file="device.go:1023"
time="2023-12-28T20:19:40Z" level=info msg="vendor: HPE     " file="device.go:1023"
time="2023-12-28T20:19:40Z" level=info msg="vendor: HPE     " file="device.go:1023"
time="2023-12-28T20:19:40Z" level=error msg="\n Error in GetSecondaryArrayLUNIds unexpected end of JSON input" file="volume.go:29"
time="2023-12-28T20:19:40Z" level=error msg="\n Error in GetSecondaryArrayLUNIds unexpected end of JSON input" file="volume.go:29"
time="2023-12-28T20:19:45Z" level=info msg="vendor: Generic-" file="device.go:1023"
time="2023-12-28T20:19:45Z" level=error msg="open /sys/class/scsi_device/0:0:0:0/device/vpd_pg80: no such file or directory" file="file.go:41"
time="2023-12-28T20:19:45Z" level=info msg="vendor: HPE     " file="device.go:1023"
time="2023-12-28T20:19:45Z" level=info msg="vendor: HPE     " file="device.go:1023"
time="2023-12-28T20:19:45Z" level=info msg="vendor: HPE     " file="device.go:1023"
time="2023-12-28T20:19:45Z" level=error msg="\n Error in GetSecondaryArrayLUNIds unexpected end of JSON input" file="volume.go:29"
time="2023-12-28T20:19:45Z" level=error msg="\n Error in GetSecondaryArrayLUNIds unexpected end of JSON input" file="volume.go:29"
time="2023-12-28T20:19:50Z" level=info msg="vendor: Generic-" file="device.go:1023"
time="2023-12-28T20:19:50Z" level=error msg="open /sys/class/scsi_device/0:0:0:0/device/vpd_pg80: no such file or directory" file="file.go:41"
time="2023-12-28T20:19:50Z" level=info msg="vendor: HPE     " file="device.go:1023"
time="2023-12-28T20:19:50Z" level=info msg="vendor: HPE     " file="device.go:1023"
time="2023-12-28T20:19:50Z" level=info msg="vendor: HPE     " file="device.go:1023"
time="2023-12-28T20:19:50Z" level=error msg="\n Error in GetSecondaryArrayLUNIds unexpected end of JSON input" file="volume.go:29"
time="2023-12-28T20:19:50Z" level=error msg="\n Error in GetSecondaryArrayLUNIds unexpected end of JSON input" file="volume.go:29"
time="2023-12-28T20:19:55Z" level=info msg="vendor: Generic-" file="device.go:1023"
time="2023-12-28T20:19:55Z" level=error msg="open /sys/class/scsi_device/0:0:0:0/device/vpd_pg80: no such file or directory" file="file.go:41"
time="2023-12-28T20:19:55Z" level=info msg="vendor: HPE     " file="device.go:1023"
time="2023-12-28T20:19:55Z" level=info msg="vendor: HPE     " file="device.go:1023"
time="2023-12-28T20:19:55Z" level=info msg="vendor: HPE     " file="device.go:1023"
time="2023-12-28T20:19:55Z" level=error msg="\n Error in GetSecondaryArrayLUNIds unexpected end of JSON input" file="volume.go:29"
time="2023-12-28T20:19:55Z" level=error msg="\n Error in GetSecondaryArrayLUNIds unexpected end of JSON input" file="volume.go:29"
time="2023-12-28T20:20:00Z" level=info msg="vendor: Generic-" file="device.go:1023"
time="2023-12-28T20:20:00Z" level=error msg="open /sys/class/scsi_device/0:0:0:0/device/vpd_pg80: no such file or directory" file="file.go:41"
time="2023-12-28T20:20:00Z" level=info msg="vendor: HPE     " file="device.go:1023"
time="2023-12-28T20:20:00Z" level=info msg="vendor: HPE     " file="device.go:1023"
time="2023-12-28T20:20:00Z" level=info msg="vendor: HPE     " file="device.go:1023"
time="2023-12-28T20:20:00Z" level=error msg="\n Error in GetSecondaryArrayLUNIds unexpected end of JSON input" file="volume.go:29"
time="2023-12-28T20:20:00Z" level=error msg="\n Error in GetSecondaryArrayLUNIds unexpected end of JSON input" file="volume.go:29"
time="2023-12-28T20:20:05Z" level=info msg="vendor: Generic-" file="device.go:1023"
time="2023-12-28T20:20:05Z" level=error msg="open /sys/class/scsi_device/0:0:0:0/device/vpd_pg80: no such file or directory" file="file.go:41"
time="2023-12-28T20:20:05Z" level=info msg="vendor: HPE     " file="device.go:1023"
time="2023-12-28T20:20:05Z" level=info msg="vendor: HPE     " file="device.go:1023"
time="2023-12-28T20:20:05Z" level=info msg="vendor: HPE     " file="device.go:1023"
time="2023-12-28T20:20:05Z" level=error msg="unable to create device for volume  with IQN " file="device.go:1116"
time="2023-12-28T20:20:05Z" level=error msg="Failed to create device from publish info. Error: device not found with serial 60002ac00000000000000257000222ea or target " file="node_server.go:543"
time="2023-12-28T20:20:05Z" level=error msg="GRPC error: rpc error: code = Internal desc = Failed to stage volume pvc-67143914-df21-4af3-a3bc-5b7b4731836d, err: rpc error: code = Internal desc = Error creating device for volume pvc-67143914-df21-4af3-a3bc-5b7b4731836d, err: device not found with serial 60002ac00000000000000257000222ea or target " file="utils.go:73"
kubectl get volumeattachment
NAME                                                                   ATTACHER      PV                                         NODE                             ATTACHED   AGE
csi-809cf06e1f55e459dea190d61a913be5693a80e8cd946b36ca45acae0422e574   csi.hpe.com   pvc-67143914-df21-4af3-a3bc-5b7b4731836d   worker01.clusterk8s01.test.es   true       20m
kubectl get hpenodeinfo  worker01.clusterk8s01.test.es -o json
{
"apiVersion": "storage.hpe.com/v1",
"kind": "HPENodeInfo",
"metadata": {
"creationTimestamp": "2023-12-21T11:48:50Z",
"generation": 1,
"name": "worker01.clusterk8s01.test.es",
"resourceVersion": "467344",
"uid": "551b3fdd-dc64-4f6b-941a-109d7c9576ac"
},
"spec": {
"iqns": [
"iqn.1994-05.com.redhat:e18eadf1b25b"
],
"networks": [
"<IP_ADDRESS>/23",
"<IP_ADDRESS>/25",
"<IP_ADDRESS>/29"
],
"uuid": "ce49a88f-d5c6-a43a-6662-a225105e7bda",
"wwpns": [
"10008eff0320019e",
"10008eff032001a0"
]
}
}
kubectl get hpenodeinfo  worker02.clusterk8s01.test.es -o json
{
"apiVersion": "storage.hpe.com/v1",
"kind": "HPENodeInfo",
"metadata": {
"creationTimestamp": "2023-12-21T11:48:50Z",
"generation": 1,
"name": "worker02.clusterk8s01.test.es",
"resourceVersion": "467338",
"uid": "834548b4-e250-4a61-8702-2e96302df56f"
},
"spec": {
"iqns": [
"iqn.1994-05.com.redhat:9baf6a1c428b"
],
"networks": [
"<IP_ADDRESS>/23",
"<IP_ADDRESS>/25",
"<IP_ADDRESS>/29"
],
"uuid": "d9b981dd-04c1-ab42-8c6a-899efa933981",
"wwpns": [
"10008eff032001a2",
"10008eff032001a4"
]
}
}
kubectl get hpenodeinfo  worker03.clusterk8s01.test.es -o json
{
"apiVersion": "storage.hpe.com/v1",
"kind": "HPENodeInfo",
"metadata": {
"creationTimestamp": "2023-12-21T11:48:50Z",
"generation": 1,
"name": "worker03.clusterk8s01.test.es",
"resourceVersion": "467336",
"uid": "dbbb809f-6c70-489d-a6db-592eca663115"
},
"spec": {
"iqns": [
"iqn.1994-05.com.redhat:6ba146ac3380"
],
"networks": [
"<IP_ADDRESS>/23",
"<IP_ADDRESS>/25",
"<IP_ADDRESS>/29"
],
"uuid": "6e74fc78-97bb-4f46-50a1-1dcb2f251833",
"wwpns": [
"10008eff032001a6",
"10008eff032001a8"
]
}
}
I can provide additional info from the 3PAR side although I'm not a storage admin.
Thank you very much for your help,
Best Regards,
rafa

This error
Warning FailedMount 4s kubelet MountVolume.MountDevice failed for volume "pvc-67143914-df21-4af3-a3bc-5b7b4731836d" : rpc error: code = Internal desc = Failed to stage volume pvc-67143914-df21-4af3-a3bc-5b7b4731836d, err: rpc error: code = Internal desc = Error creating device for volume pvc-67143914-df21-4af3-a3bc-5b7b4731836d, err: device not found with serial 60002ac00000000000000257000222ea or target

means that the device are not appearing on the hosts as expected. How are the worker nodes connected to the array? If they are virtual machines it won't work when using FC.

Hi Michael, thank you very much. These are baremetal HPE servers. We have been able to mount the volumes once we have provisioned manually the ports of the hosts in the 3PAR admin console. But if we delete the PVCs the hosts get deleted from the 3PAR and for the initial PVC is always necessary to reprovision the ports manually. we have workarounded the issue by creating and presenting a disk to all the worker nodes permanentely. I don't know if this is the expected behaviour (3PAR side or CSI driver side conf ?)
Thank you very much !
Best Regards

The host initiators are managed by the CSI driver and this is expected behavior.
Have you tried specifying which ports are being presented to the Kubernetes nodes?

https://scod.hpedev.io/container_storage_provider/hpe_alletra_9000/index.html#specifying_fibre_channel_ports

Switching to hostSeesVLUN templates helps a lot of discovery problems too:

https://scod.hpedev.io/container_storage_provider/hpe_alletra_9000/index.html#vlun_templates

Hi Michael,
Thank you very much for the info. We tested with specifying FC ports in the storageclass and same result: devices were not automatically discovered in multipath until provisioning the ports manually on the 3PAR webconsole before the first PV.
In a week or so I'll make some more tests with the actual SC (default parameters except from the fc access protocol) and come back with the results. My fear is that after rebooting a node it can't discover the PVs if it is automatically deleted from 3PAR.
best regards,
rafa

I'm curious if you're using a virtual domain on the 3PAR?

I really don't know.  I'll come back to you with the answer.
I'll ask the storage admins.
Best Regards

Hi Michael,
sorry about my late response. I've been out for some days.
// I'm curious if you're using a virtual domain on the 3PAR?
Customer is not using virtual domain.
We have created a new SC :
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
annotations:
storageclass.kubernetes.io/is-default-class: "false"
name: hpe-standard-hostseesvlun
provisioner: csi.hpe.com
parameters:
csi.storage.k8s.io/fstype: xfs
csi.storage.k8s.io/controller-expand-secret-name: hpe-backend
csi.storage.k8s.io/controller-expand-secret-namespace: hpe-storage
csi.storage.k8s.io/controller-publish-secret-name: hpe-backend
csi.storage.k8s.io/controller-publish-secret-namespace: hpe-storage
csi.storage.k8s.io/node-publish-secret-name: hpe-backend
csi.storage.k8s.io/node-publish-secret-namespace: hpe-storage
csi.storage.k8s.io/node-stage-secret-name: hpe-backend
csi.storage.k8s.io/node-stage-secret-namespace: hpe-storage
csi.storage.k8s.io/provisioner-secret-name: hpe-backend
csi.storage.k8s.io/provisioner-secret-namespace: hpe-storage
description: "Volume created by the HPE CSI Driver for Kubernetes"
fsMode: "0770"
accessProtocol: fc
hostSeesVLUN: "true"
reclaimPolicy: Delete
allowVolumeExpansion: true
and recreated all the PVCs with the new SC. And the problem remains. When the node is restarted the initiator does not discover any disks. (multipath -ll empty)
When the 3PAR Administrator add the ports manually all the disks are seen again from the node.
We don't know why the node (initiator) behaves that way. What is missing in our storageclass in order to re-discover the disks once the node is rebooted?
About the fcPortsList we understand that the default value should be correct (Use this parameter to specify a subset of Fibre Channel (FC) ports on the array to create vluns. By default, the HPE CSI Driver uses all available FC ports.)
thank you very mcuh for your help,
Best Regards,
rafa

I think we need to support involved to understand what is going on here. Do you have a support case?

I have asked the customer to open a support case. I'll tell you the caseid number as soon as I get it.
From a quick view to the CSP log it seems that the problem resides in the host creation (I see various requests at the same time doing the same thing...race condition?). But the logic is complex and as you say we need to get support involved.
Thanks !
Best Regards
rafa

Hi Michael,
The support case number is :<PHONE_NUMBER>.
Best Regards,
rafa

Info attached to the support case.Thanks !

The problem is that the zoning is created automatically via OneView.
If the PVCs are created with the driver, when restarting the worker node, OneView automatically deletes the zones and the worker node is not able to see 3PAR until the ports are manually provisioned again.
Solutions:
a) Present a permanent disk from OneView to the worker nodes. In that way the zoning is never deleted when the nodes restart.
b) Manually create a zoning to these worker nodes on the switches.
Thanks for your help !
Regards,
Rafa.

Thanks for your support !


Minimum Adobe Acrobat version required to open the PDF

This is not an issue, but a question.
Is there a minimum version of Adode Acrobat Reader that is required to open the PDFs generated using this library?
PS: Although trivial but I needed this information (Could not find the answer in the documentation).

Well we try to use Adobe PDF Reference 1.3 but actually we are using higher level pdf instructions too, so it depends on the used methods/functions.

Alright. Thanks!

I'll wait to see if anyone else has some thoughts on this. If not, I'll close this issue.


Issue with getting value from i18n.__("Hello")

Hello!
I've tried to use this lib in my own project. But basic configuration doesn't work for me.
Here's the language files:
locales/en.json
{
    "Hello": "Hello EN",
    ....
}

locales/de.json
{
    "Hello": "Hello DE",
    ....
}

Here's the express.js:

var i18n = new (require('i18n-2'))({
    // setup some locales - other locales default to the first locale
    locales: ['en', 'de'],
    extension: '.json',
    directory: path.join(__dirname, '/locales')
});

// Use it however you wish
console.log( 'i18n-2 Hello value: ', i18n.__("Hello") );

This console gives thee Hello instead of Hello EN.
Additionally, my i18n object looks like this:
{ devMode: true,
locales: { en: {}, de: {} },
extension: '.json',
directory: '/backend-app/dist/config/locales',
defaultLocale: 'en',
locale: 'en' }

Thanks in advance!

@nijat13 I've got exactly same issue. Have you managed to find out what the issue was?

Okay, in my case it was the missing defaultLocale setting.
But in your case (I can see that you've submitted this a few months ago but maybe someone will have a similar issue), I think you need to add a parse function that will transform your json into a JS object.
Mine looks like this:
      parse(data) {
        const parsed = JSON.parse(data.toString());
        return parsed;
      },


Permission denied building ijar

steigerwald-macbookair:Projects steigerwald$ git clone https://github.com/google/bazel.git
Cloning into 'bazel'...
remote: Counting objects: 31216, done.
remote: Compressing objects: 100% (58/58), done.
remote: Total 31216 (delta 16), reused 0 (delta 0), pack-reused 31153
Receiving objects: 100% (31216/31216), 52.47 MiB | 5.63 MiB/s, done.
Resolving deltas: 100% (18302/18302), done.
Checking connectivity... done.
steigerwald-macbookair:Projects steigerwald$ cd bazel/
steigerwald-macbookair:bazel steigerwald$ ./compile.sh
INFO: You can skip this first step by providing a path to the bazel binary as second argument:
INFO:    ./compile.sh build /path/to/bazel
🍃  Building Bazel from scratch...........
🍃  Building Bazel with Bazel.
.Extracting Bazel installation...
.........
INFO: Found 1 target...
INFO: From Linking tools/cpp/libmalloc.a:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: bazel-out/local_darwin-fastbuild/bin/tools/cpp/_objs/malloc/tools/cpp/empty.pic.o has no symbols
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning for library: bazel-out/local_darwin-fastbuild/bin/tools/cpp/libmalloc.a the table of contents is empty (no object file members in the library define global symbols)
INFO: From Linking tools/cpp/libmalloc.a [for host]:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: file: bazel-out/host/bin/tools/cpp/_objs/malloc/tools/cpp/empty.o has no symbols
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: warning for library: bazel-out/host/bin/tools/cpp/libmalloc.a the table of contents is empty (no object file members in the library define global symbols)
INFO: From Linking src/main/native/libunix.so:
ld: warning: option -noall_load is obsolete and being ignored
INFO: From Javac src/main/java/libshell-skylark.jar [for host]:
warning: [options] bootstrap class path not set in conjunction with -source 1.7
1 warning
INFO: From Javac src/java_tools/buildjar/libskylark-deps.jar [for host]:
warning: [options] bootstrap class path not set in conjunction with -source 1.7
1 warning
INFO: From Javac src/java_tools/singlejar/libbootstrap.jar [for host]:
warning: [options] bootstrap class path not set in conjunction with -source 1.7
1 warning
INFO: From Javac src/java_tools/buildjar/libbootstrap.jar [for host]:
warning: [options] bootstrap class path not set in conjunction with -source 1.7
1 warning
INFO: From Building src/main/java/libbazel-core.jar (1109 files):
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Target //src:bazel up-to-date:
bazel-bin/src/bazel
INFO: Elapsed time: 85.782s, Critical Path: 81.23s
🍃  Building Bazel tools.
Building tools/jdk/ijar
/Users/steigerwald/Projects/bazel/output/bazel --nomaster_blazerc --blazerc=/dev/null build --singlejar_top=//src/java_tools/singlejar:bootstrap_deploy.jar --javabuilder_top=//src/java_tools/buildjar:bootstrap_deploy.jar --ijar_top=//third_party/ijar --javacopt=-source 1.7 -target 1.7 --stamp --embed_label head (@6e31316) //third_party/ijar:ijar
scripts/bootstrap/buildenv.sh: line 56: /Users/steigerwald/Projects/bazel/output/bazel: Permission denied
steigerwald-macbookair:bazel steigerwald$
And JAVA_HOME
steigerwald-macbookair:bazel steigerwald$ echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home

Did you start from a clean clone? Do you have an "output" directory, what's
in it?
Le dim. 21 juin 2015 à 02:37, Richie Steigerwald<EMAIL_ADDRESS>a écrit :

steigerwald-macbookair:Projects steigerwald$ git clone
https://github.com/google/bazel.git
Cloning into 'bazel'...
remote: Counting objects: 31216, done.
remote: Compressing objects: 100% (58/58), done.
remote: Total 31216 (delta 16), reused 0 (delta 0), pack-reused 31153
Receiving objects: 100% (31216/31216), 52.47 MiB | 5.63 MiB/s, done.
Resolving deltas: 100% (18302/18302), done.
Checking connectivity... done.
steigerwald-macbookair:Projects steigerwald$ cd bazel/
steigerwald-macbookair:bazel steigerwald$ ./compile.sh
INFO: You can skip this first step by providing a path to the bazel binary
as second argument:
INFO: ./compile.sh build /path/to/bazel
🍃 Building Bazel from scratch...........
🍃 Building Bazel with Bazel.
.Extracting Bazel installation...
.........
INFO: Found 1 target...
INFO: From Linking tools/cpp/libmalloc.a:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:
file:
bazel-out/local_darwin-fastbuild/bin/tools/cpp/_objs/malloc/tools/cpp/empty.pic.o
has no symbols
warning:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:
warning for library:
bazel-out/local_darwin-fastbuild/bin/tools/cpp/libmalloc.a the table of
contents is empty (no object file members in the library define global
symbols)
INFO: From Linking tools/cpp/libmalloc.a [for host]:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:
file: bazel-out/host/bin/tools/cpp/_objs/malloc/tools/cpp/empty.o has no
symbols
warning:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool:
warning for library: bazel-out/host/bin/tools/cpp/libmalloc.a the table of
contents is empty (no object file members in the library define global
symbols)
INFO: From Linking src/main/native/libunix.so:
ld: warning: option -noall_load is obsolete and being ignored
INFO: From Javac src/main/java/libshell-skylark.jar [for host]:
warning: [options] bootstrap class path not set in conjunction with
-source 1.7
1 warning
INFO: From Javac src/java_tools/buildjar/libskylark-deps.jar [for host]:
warning: [options] bootstrap class path not set in conjunction with
-source 1.7
1 warning
INFO: From Javac src/java_tools/singlejar/libbootstrap.jar [for host]:
warning: [options] bootstrap class path not set in conjunction with
-source 1.7
1 warning
INFO: From Javac src/java_tools/buildjar/libbootstrap.jar [for host]:
warning: [options] bootstrap class path not set in conjunction with
-source 1.7
1 warning
INFO: From Building src/main/java/libbazel-core.jar (1109 files):
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Target //src:bazel up-to-date:
bazel-bin/src/bazel
INFO: Elapsed time: 85.782s, Critical Path: 81.23s
🍃 Building Bazel tools.
Building tools/jdk/ijar
/Users/steigerwald/Projects/bazel/output/bazel --nomaster_blazerc
--blazerc=/dev/null build
--singlejar_top=//src/java_tools/singlejar:bootstrap_deploy.jar
--javabuilder_top=//src/java_tools/buildjar:bootstrap_deploy.jar
--ijar_top=//third_party/ijar --javacopt=-source 1.7 -target 1.7 --stamp
--embed_label head (@6e31316
https://github.com/google/bazel/commit/6e31316) //third_party/ijar:ijar
scripts/bootstrap/buildenv.sh: line 56:
/Users/steigerwald/Projects/bazel/output/bazel: Permission denied
steigerwald-macbookair:bazel steigerwald$
And JAVA_HOME
steigerwald-macbookair:bazel steigerwald$ echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/jdk1.8.0_45.jdk/Contents/Home
—
Reply to this email directly or view it on GitHub
https://github.com/google/bazel/issues/259.

--
Damien

Yes, I did a clean clone.  The script basically say it
cannot execute it.
What happens if you do ./output/bazel info ?
On Mon, Jun 22, 2015 at 2:41 AM Richie Steigerwald<EMAIL_ADDRESS>wrote:

Yes, I did a clean clone.

--
Damien

Here are the results of the commands:
steigerwald-macbookair:bazel steigerwald$ file output/bazel
output/bazel: Mach-O 64-bit executable x86_64
steigerwald-macbookair:bazel steigerwald$ output/bazel info
Sending SIGTERM to previous Bazel server (pid=73810)... done.
...........
bazel-bin: /private/var/tmp/_bazel_steigerwald/3be305c2a4bf4c5fcb6748aabe2ab3fc/bazel/bazel-out/local_darwin-fastbuild/bin
bazel-genfiles: /private/var/tmp/_bazel_steigerwald/3be305c2a4bf4c5fcb6748aabe2ab3fc/bazel/bazel-out/local_darwin-fastbuild/genfiles
bazel-testlogs: /private/var/tmp/_bazel_steigerwald/3be305c2a4bf4c5fcb6748aabe2ab3fc/bazel/bazel-out/local_darwin-fastbuild/testlogs
command_log: /private/var/tmp/_bazel_steigerwald/3be305c2a4bf4c5fcb6748aabe2ab3fc/command.log
committed-heap-size: 128MB
execution_root: /private/var/tmp/_bazel_steigerwald/3be305c2a4bf4c5fcb6748aabe2ab3fc/bazel
gc-count: 3
gc-time: 27ms
install_base: /var/tmp/_bazel_steigerwald/install/e4b35ba04b14087b2d4838e2f6550331
max-heap-size: 1908MB
message_log: /private/var/tmp/_bazel_steigerwald/3be305c2a4bf4c5fcb6748aabe2ab3fc/message.log
output_base: /private/var/tmp/_bazel_steigerwald/3be305c2a4bf4c5fcb6748aabe2ab3fc
output_path: /private/var/tmp/_bazel_steigerwald/3be305c2a4bf4c5fcb6748aabe2ab3fc/bazel/bazel-out
package_path: %workspace%
release: release head (@6e31316)
server_pid: 74136
used-heap-size: 15MB
workspace: /Users/steigerwald/Projects/bazel
I forgot to mention before, I have the internal version of bazel working and running in a separate workspace.

Is that consistent?
What happens if you try './compile.sh tools output/bazel'?

From a clean client I ran './compile.sh' and './compile.sh tools output/bazel'
The first fails when building the tools, the second one succeeds.
steigerwald-macbookair:bazel steigerwald$ ./compile.sh
INFO: You can skip this first step by providing a path to the bazel binary as second argument:
INFO:    ./compile.sh build /path/to/bazel
🍃  Building Bazel from scratch...........
🍃  Building Bazel with Bazel.
.Extracting Bazel installation...
.......
INFO: Found 1 target...
INFO: From Building src/main/java/libpackages.jar (147 files):
Note: src/main/java/com/google/devtools/build/lib/packages/AspectDefinition.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
INFO: From Building src/main/java/libanalysis-exec-rules-skyframe.jar (540 files):
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
INFO: From Building src/main/java/libquery2.jar (46 files):
Note: src/main/java/com/google/devtools/build/lib/query2/BlazeTargetAccessor.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Target //src:bazel up-to-date:
bazel-bin/src/bazel
INFO: Elapsed time: 40.902s, Critical Path: 37.94s
🍃  Building Bazel tools.
Building tools/jdk/ijar
/Users/steigerwald/bazel/output/bazel --nomaster_blazerc --blazerc=/dev/null build --singlejar_top=//src/java_tools/singlejar:bootstrap_deploy.jar --javabuilder_top=//src/java_tools/buildjar:bootstrap_deploy.jar --ijar_top=//third_party/ijar --javacopt=-source 1.7 -target 1.7 --stamp --embed_label head (@0e1680e) //third_party/ijar:ijar
scripts/bootstrap/buildenv.sh: line 56: /Users/steigerwald/bazel/output/bazel: Permission denied
steigerwald-macbookair:bazel steigerwald$ ./compile.sh tools output/bazel
🍃  Building Bazel tools...........
Build successful! Binary is here: output/bazel
steigerwald-macbookair:bazel steigerwald$ output/bazel build examples/cpp:hello-world
INFO: Found 1 target...
Target //examples/cpp:hello-world up-to-date:
bazel-bin/examples/cpp/hello-world
INFO: Elapsed time: 0.532s, Critical Path: 0.39s

From a clean client I ran './compile.sh &> /dev/null ; ls output/bazel' and got 'permission denied' again with the 'ls' command, but ran it a few seconds later and got the expected output--I suspect that it may be trying to run it before it finishes writing it to the disk.
I cloned head and tried again, but could not replicate. Perhaps it is fixed.

Ok I will close the bug for now as unreproducible, please ping again if you find it.


add example on how to use with other middleware

in detail:

connect
node-sass-middleware
postcss-middleware
autoprefixer

PTAL @justicart

LGTM. Thanks @Xiphe!


expo managed app: ERROR  Invariant Violation: requireNativeComponent: "RNSVGSvgViewAndroid" was not found in the UIManager.

I'm trying to use StackedBarChart but I keep getting this error, any way around it? I heard here and there that it might be due to my app being expo managed, but I do not want to eject expo as I need to for my app development.
package.json:
{
  "name": "app",
  "version": "1.0.0",
  "main": "node_modules/expo/AppEntry.js",
  "scripts": {
    "start": "expo start",
    "android": "expo start --android",
    "ios": "expo start --ios",
    "web": "expo start --web"
  },
  "dependencies": {
    "@react-native-community/slider": "^4.4.2",
    "@react-navigation/drawer": "^6.6.3",
    "@react-navigation/native": "^6.1.7",
    "@react-navigation/native-stack": "^6.9.13",
    "@reduxjs/toolkit": "^1.9.5",
    "@types/react": "~18.0.27",
    "axios": "^1.4.0",
    "expo": "^48.0.19",
    "expo-app-loading": "^2.1.1",
    "expo-constants": "~14.2.1",
    "expo-device": "~5.2.1",
    "expo-font": "~11.1.1",
    "expo-linking": "~4.0.1",
    "expo-notifications": "~0.18.1",
    "expo-router": "^1.2.0",
    "expo-splash-screen": "~0.18.1",
    "expo-status-bar": "~1.4.2",
    "firebase": "^10.0.0",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "react-native": "0.71.8",
    "react-native-calendar-picker": "^7.1.4",
    "react-native-chart-kit": "^6.12.0",
    "react-native-countdown-circle-timer": "^3.2.1",
    "react-native-countdown-component": "^2.7.1",
    "react-native-dotenv": "^3.4.9",
    "react-native-elements": "^3.4.3",
    "react-native-gesture-handler": "~2.9.0",
    "react-native-modal-dropdown": "^1.0.2",
    "react-native-notifications": "^5.0.0",
    "react-native-push-notification": "^8.1.1",
    "react-native-reanimated": "~2.14.4",
    "react-native-safe-area-context": "4.5.0",
    "react-native-screens": "~3.20.0",
    "react-native-select-dropdown": "^3.3.4",
    "react-native-stopwatch-timer": "github:jianrontan/react-native-stopwatch-timer",
    "react-native-switch": "^1.5.1",
    "react-native-switch-toggle": "^2.2.1",
    "react-native-web": "~0.18.7",
    "react-redux": "^8.1.1",
    "redux": "^4.2.1",
    "redux-thunk": "^2.4.2",
    "typescript": "^4.9.4"
  },
  "devDependencies": {
    "@babel/core": "^7.20.0",
    "@types/react-native-calendar-picker": "^7.0.3"
  },
  "private": true
}

Full error:
` ERROR  Invariant Violation: requireNativeComponent: "RNSVGSvgViewAndroid" was not found in the UIManager.
This error is located at:
in RNSVGSvgViewAndroid (created by Svg)
in Svg (created by StackedBarChart)
in RCTView (created by View)
in View (created by StackedBarChart)
in StackedBarChart (created by Statistics)
in RCTView (created by View)
in View (created by Statistics)
in RCTView (created by View)
in View (created by ScrollView)
in RCTScrollView (created by ScrollView)
in ScrollView (created by ScrollView)
in ScrollView (created by Statistics)
in RCTView (created by View)
in View (created by Statistics)
in Statistics (created by SceneView)
in StaticContainer
in EnsureSingleNavigator (created by SceneView)
in SceneView (created by Drawer)
in RCTView (created by View)
in View (created by Screen)
in RCTView (created by View)
in View (created by Background)
in Background (created by Screen)
in Screen (created by Drawer)
in RNSScreen (created by AnimatedComponent)
in AnimatedComponent
in AnimatedComponentWrapper (created by InnerScreen)
in Suspender (created by Freeze)
in Suspense (created by Freeze)
in Freeze (created by DelayedFreeze)
in DelayedFreeze (created by InnerScreen)
in InnerScreen (created by Screen)
in Screen (created by MaybeScreen)
in MaybeScreen (created by Drawer)
in RNSScreenContainer (created by ScreenContainer)
in ScreenContainer (created by MaybeScreenContainer)
in MaybeScreenContainer (created by Drawer)
in RCTView (created by View)
in View (created by Drawer)
in RCTView (created by View)
in View (created by AnimatedComponent(View))
in AnimatedComponent(View)
in Unknown (created by Drawer)
in RCTView (created by View)
in View (created by AnimatedComponent(View))
in AnimatedComponent(View)
in Unknown (created by PanGestureHandler)
in PanGestureHandler (created by Drawer)
in Drawer (created by DrawerViewBase)
in DrawerViewBase (created by DrawerView)
in RNGestureHandlerRootView (created by GestureHandlerRootView)
in GestureHandlerRootView (created by DrawerView)
in RNCSafeAreaProvider (created by SafeAreaProvider)
in SafeAreaProvider (created by SafeAreaInsetsContext)
in SafeAreaProviderCompat (created by DrawerView)
in DrawerView (created by DrawerNavigator)
in PreventRemoveProvider (created by NavigationContent)
in NavigationContent
in Unknown (created by DrawerNavigator)
in DrawerNavigator (created by NavStack)
in EnsureSingleNavigator
in BaseNavigationContainer
in ThemeProvider
in NavigationContainerInner (created by NavStack)
in NavStack (created by RootNavigation)
in RootNavigation (created by App)
in ThemeProvider (created by App)
in Provider (created by App)
in App (created by withDevTools(App))
in withDevTools(App)
in RCTView (created by View)
in View (created by AppContainer)
in RCTView (created by View)
in View (created by AppContainer)
in AppContainer
in main(RootComponent), js engine: hermes`

https://www.youtube.com/watch?v=m8gyy7JItmU https://www.youtube.com/watch?v=1WZjeESH4a0

https://www.youtube.com/watch?v=3okXriDEB44


Use latest ocean.js

Test are performed with ocean.js v2.X.
Let's bump it to 3.X

@alexcos20 Is this issue still relevant?


Add Concourse pipeline

https://concourse.int.adgear.com/teams/data/pipelines/anoa

hahaha this is a fun PR
I almost thought this repo is dead :D

I added the permissions too.


Declare constant table names -- resolves #1004

Declare constant table names in bigchaindb/backend/schema.py

Current coverage is 96.20% (diff: 100%)

Merging #1037 into master will increase coverage by <.01%

@@             master      #1037   diff @@
==========================================
  Files            37         37
  Lines          1789       1790     +1
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           1721       1722     +1
  Misses           68         68
  Partials          0          0

Powered by Codecov. Last update c036b14...d2d35c2

I don't understand. Is this supposed to be used?

I don't understand. Is this supposed to be used?

Oh yes, I just split it away from https://github.com/bigchaindb/bigchaindb/pull/984/commits

Didn't get a chance to comment on this earlier: while this is fine for now, the current implementation may become limiting in the future as we might change table names for different DBs. A problem for the future though.


Cleanup: Need to remove all instances of new ExpressionEngine() for cleaner pattern.

Version
4.7
Describe the bug
We new up instances of expression engine and use it all over the place.  We need to replace with a pattern where you can define the custom functions and expression engine you are using and that is what is used.
[Bug] [Cleanu[

this is merged


Rendered SQL is not available for failed runs.

Airflow Rendered template is empty if the task if failed. I wish to see the rendered query/test that was executed resulting in the failure.
IMO, this is because store_compiled_sql is called after the error/exception check local.py file.
exception_handling methods simply raises AirflowException in case of error resulting rendered template as empty.

Hello,
I tested this issue and it still exists.
DBT: 1.5.1
Cosmos: 1.2.0
Airflow: 2.5.1

@tatiana I think this would be a very helpful thing to address and I would be happy to provide a submission.

Just read this issue, thanks for looping me in @agreenburg , and thanks for reporting it @saikotcharlakota !
It is a relevant improvement to Cosmos, and we'd appreciate if you'd like to contribute to fix this, @agreenburg !


Question: Can we use Scatter auth on Dapp that is hosted on localhost ?

Hello all,
I'd like to ask you whether we can use scatter authentication on our dapp whose the smartcontract is deployed and run on local private EOSIO node (hosted in localhost) and the front end is a ReactJS based web SPA, hosted on localhost as well. Can we do this ? If yes, what is the possible JSON values that I should pass as an argument of ScatterJS.Network.fromJson method ?
Thanks.

Really depends on where your local node is referenced to.
Here's an example of my localhost setup:
const network = Network.fromJson({
	host:'<IP_ADDRESS>',
	port:8888,
	protocol:'http',
	chainId:'cf057bbfb72640471fd910bcb67639c22df9f92470936cddc1ade0e2f2e7dc4f',
	blockchain:'eos',
});

Thanks for your kind response, @nsjames
I ran my nodeos on localhost or <IP_ADDRESS>, will it work if I set the host with these url ? Also, how did you get the chainId from ? is it from log message that is displayed on terminal/log when starting nodeos ?

<IP_ADDRESS> just listens on all interfaces so likely you can just replace the host with <IP_ADDRESS> or localhost.
That chainId should work for your local too since it's the default chainId when no genesis is input. If not, then just do cleos get info and it'll tell you the chainId there.

@nsjames Thank you , mate. I am going to try out and close this question :+1:


Windows 10 WSL - "cannot allocate memory" when calling a plugin

Is this a request for help? (If yes, you should use our troubleshooting guide and community support channels, see http://kubernetes.io/docs/troubleshooting/.): no
What keywords did you search in Kubernetes issues before filing this one? (If you have found any duplicates, you should instead reply there.): windows; allocate

Is this a BUG REPORT or FEATURE REQUEST? (choose one): bug report

Kubernetes version (use kubectl version): Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.3", GitCommit:"721bfa751924da8d1680787490c54b9179b1fed0", GitTreeState:"clean", BuildDate:"2019-02-01T20:08:12Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"}
Environment:

Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release): Windows 10.0.17763 / Ubuntu 18.04.2 LTS
Kernel (e.g. uname -a): Linux DESKTOP-3I1L0FQ 4.4.0-17763-Microsoft #253-Microsoft Mon Dec 31 17:49:00 PST 2018 x86_64 x86_64 x86_64 GNU/Linux
Install tools:
Others:

What happened:
kubectl often returns cannot allocate memory instead of executing a plugin. Calling the plugin directly always works.
What you expected to happen:
calling the plugin via kubectl to work as if called directly
How to reproduce it (as minimally and precisely as possible):
Use the example plugin from https://kubernetes.io/docs/tasks/extend-kubectl/kubectl-plugins/#example-plugin
$ k plugin list
The following kubectl-compatible plugins are available:

/home/jon/.kube/plugins/kubectl-foo

kubectl often returns cannot allocate memory instead of executing the plugin.
$ k foo
cannot allocate memory
$ k foo version
1.0.0
$ k foo version
cannot allocate memory
$ k foo version
cannot allocate memory
$ k foo
cannot allocate memory
$ k foo
cannot allocate memory
$ k foo
cannot allocate memory
$ k foo
cannot allocate memory
$ k foo
I am a plugin named kubectl-foo
$ k foo
cannot allocate memory

executing the plugin directly always works
$ kubectl-foo version
1.0.0
$ kubectl-foo
I am a plugin named kubectl-foo
$ kubectl-foo version
1.0.0
$ kubectl-foo version
1.0.0
$ kubectl-foo version
1.0.0
$ kubectl-foo version
1.0.0
$ kubectl-foo version
1.0.0

Anything else we need to know:
This also happens with windows compatible plugins when called directly from Windows 10, rather then WSL; however it's easier for me to provide details using linux tooling.
Here's a strace -o kubectl -ff -y kubectl foo version
kubectl.zip

Here's a strace -o kubectl -ff -y kubectl foo version of it working
kubectl-works.zip

I am also having issue installing Krew on Windows and got here fromhttps://github.com/kubernetes-sigs/krew/issues/156
@jon-walton Looking at the description, error message you have are for Linux. For windows I see following
PS C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\bin> kubectl krew --help
not supported by windows
PS C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\bin>

I tried different plugins but same error.  kubectl version is this:
Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.3", GitCommit:"721bfa751924da8d1680787490c54b9179b
1fed0", GitTreeState:"clean", BuildDate:"2019-02-01T20:08:12Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"windows/amd64"}

Windows version:  Microsoft Windows Server 2012 R2 Datacenter�

kubectl calls Exec which on windows returns error (https://golang.org/src/syscall/exec_windows.go)
May be kubectl should be using StartProcess instead of Exec on Windows.

Also getting not supported by windows:
PS C:\krew-temp\krew> kubectl krew
not supported by windows

Ran the following command in an elevated PowerShell and it installed successfully:
.\krew-windows_amd64.exe install --manifest=krew.yaml --archive=krew.zip
clientVersion:
  buildDate: "2019-03-25T15:53:57Z"
  compiler: gc
  gitCommit: 641856db18352033a0d96dbc99153fa3b27298e5
  gitTreeState: clean
  gitVersion: v1.14.0
  goVersion: go1.12.1
  major: "1"
  minor: "14"
  platform: windows/amd64
serverVersion:
  buildDate: "2019-03-25T06:30:48Z"
  compiler: gc
  gitCommit: 16236ce91790d4c75b79f6ce96841db1c843e7d2
  gitTreeState: clean
  gitVersion: v1.11.9
  goVersion: go1.10.8
  major: "1"
  minor: "11"
  platform: linux/amd64

Windows 10 Pro

/sig cli
/area kubectl
/kind bug

I just updated to Windows 10 1903 (10.0.18362) and can no longer reproduce this under WSL.
Can anyone else confirm?

I can't run any plugin on Windows. I'm using kubectl 1.15.2* on Windows 10 Enterprise 1903 Version 10.0.18362.295 and it always fails with
not supported by windows
@spacecat, are you still seeing this?
* Downloaded from https://storage.googleapis.com/kubernetes-release/release/v1.15.2/bin/windows/amd64/kubectl.exe

I just updated to Windows 10 1903 (10.0.18362) and can no longer reproduce this under WSL.
Can anyone else confirm?

Updating Windows 10 did not fix the issue for me. Still getting not supported by windows
If I use kubectl-krew (with the dash) it does work however.

Experiencing this under Windows 10 (10.0.17763) and kubectl 1.19, getting cannot allocate memory for most calls as described by the OP

me too  for
kubectl krew list
same versions

Windows 10 1809 and WSL1, most of krew calls I get "cannot allocate memory". I'm using ConEmu terminal.

Windows 10 1809 and WSL1, most of krew calls I get "cannot allocate memory". I'm using ConEmu terminal.


Examples for "forms" of theorems

Hi David, with the 2019-04-07 version we are very close to a "fixed version" - thanks a lot for your magnificient work so far. Especially the list of "forms" at the beginning of section 3.9.3 is very useful. As I always like to have examples, showing the decribed general principles more vividly, I would propose to add some examples here, too.
I would suggest the following (which can be understood easily without additional explanations):
closed form:
unss $p |- ( ( A C_ C /\ B C_ C ) <-> ( A u. B ) C_ C ) $=
deduction form:
unssd.1 $e |- ( ph -> A C_ C ) $.
unssd.2 $e |- ( ph -> B C_ C ) $.
unssd $p |- ( ph -> ( A u. B ) C_ C ) $=
inference form:
unssi.1 $e |- A C_ C $.
unssi.2 $e |- B C_ C $.
unssi $p |- ( A u. B ) C_ C $=
Regards,
Alexander

I have a pull request that does it.  I decided to use the & ... => notation; we don't really need to know the names of the individual hypotheses for the purpose of this example.


add PropTypes

This is not urgent, but may be an improvement in the future.

fixed by 36fd391e8a7287667c96b8ebc76c94a89ad96e54


[Breaking Change]: print out JSON paths in the breaking changes GitHub pane table rows

This work item expands on:

https://github.com/Azure/azure-sdk-tools/issues/7182

To improve diagnosability of error messages, not only TypeFormatChanged.
To get full context see the discussion here:

https://github.com/Azure/openapi-diff/pull/333

PR implementing this work:

Pull Request 557572: Print out JSON paths for breaking changes table rows

This has rolled out to production. Example of the improvement in action:


markdown to html link converter fails on links within tables

Description
The converter for markdown links to html links used in the website doesn't work for links in tables.
This has been causing broken links.
Take for example this table in the build from source guide:
https://mxnet.incubator.apache.org/versions/master/install/build_from_source.html#installing-mxnet-language-bindings
At the moment these links are broken. They should have been converted but were not. The links are fixed by hardcoding them to be .html links. I did this in #15205. But, then browsing this file on github will make those links broken. I chose website > github. Anyway this conversion tool or feature needs to be looked into to see if we can't fix it for when links are in tables.

I researched this problem and found that there's an upgrade to recommonmark compared to what we're using.
On a test server:
I upgraded recommonmark to v0.5.0 and ccommonmark>=0.7.3 which ends up being 0.9.0.
I successfully build, but saw many new warnings (which will fail in CI). Aside from this, the upgrade still didn't fix the links in markdown tables. It looks like table support has been requested since 2015.
We need another utility with better features, or just don't use markdown tables. Neither sounds appealing.

Also, we've been having issues with recommonmark for a long time:
https://issues.apache.org/jira/browse/MXNET-958
Maybe an alternative package is the right way to go.

Moot issue


ARTEMIS-1935: Close of connection closes all open sessions

I'm renaming your commit as I merge it...
and I'm adding an extra commit, to make the test a bit. Open several connections to make sure this wouldn't be an issue with many Sessions, and I've fixed a memory leak along the way.

@clebertsuconic : Will this patch be cherry picked to 2.6.x branch?


Increase max number of heavyweight workers

Describe the enhancement you'd like
Right now the number of heavyweight workers can only be set to a maximum of 3 through the frontend and setting it on the .env file seems to have no effect, it would be nice if this number could be increased beyond 3.
Describe why this will benefit the LibrePhotos
Increase scan speed.

Same behaviour here

I ran into this issue, but if you check the source code it seems that the environment variable is honoured.

I'm running using the docker image, set HEAVYWEIGHT_PROCESS=15 in the backend environment variables, and inspected the container. The increased number is not shown in the GUI, but the specified number of workers are being spawned during the execution - and my initial photo ingress is flying in now!

This is great news. So all we need to do is enable more numbers in the gui?

Yes, I expect that would be fine. I don't do much front-end work, but I don't see why it would cause any issues!
There may be a motivation from the developers to limit that worker number - I set my compute workhorse to 30 workers and it managed to eat over 100GB of RAM and max out a 5950x. I could imagine that less technical users might go "big number is more better" and totally cripple their machines. For now, I'm happy to continue setting the env variable. I only need the huge number of workers for initial set-up, then I'm going to move the entire installation to a different server (thanks to docker for easy migration) where 3 workers is more than enough.

On closer inspection, seems that it is still stuck at three simultaneous independent operations, but that it spawns the specified number of threads to do the work. Not sure if that's the intended behaviour or not - regardless, it is still able to max out the CPU so it's probably irrelevant unless the instance serves a ton of simultaneous users.

I could imagine that less technical users might go "big number is more better" and totally cripple their machines
This could be easily solved by calculating the amount of RAM the machine has  (if that's visible to the docker) and dividing it by 800 MB. And then displaying that number -1 as the most workers that can be set up.

That's assuming the devs even have the motivation of protecting users from themselves - maybe it's just a legacy default that hasn't been looked at in a while. Regardless, the file to edit in LibrePhotos/librephotos-frontend is probably src/layouts/settings/SiteSettings.tsx You could have a go at making the change, and submit it as a PR!

So basically something like this:
import os from 'os';
const availableMemory = os.freemem() / (1024 * 1024);
const MAX_HEAVYWEIGHT_PROCESSES = Math.floor((availableMemory * 0.9) / 800);

It is probably more appropriate to query the installed memory with os.totalmem() - however a simple PR raising the hardcoded limit itself may be all that is required. Considering the specs of modern hardware, I'd suggest that 8 is a reasonable default ceiling.
If the devs are worried about the issue we're discussing, you could suggest your solution to them, then extend your PR to include it. Another option would be to base MAX_HEAVYWEIGHT_PROCESSES on the number of available CPU threads.

We could do a server side check, but a message in the frontend with "Total ram usage will be approximately x GB of RAM when scanning. Are you sure, you want to set this?" is fine too.
The ceiling is 3, because in the past the backend used a lot more RAM.

I added this now. You can set it up to 10 workers, but you will get a warning if you set it higher than three. It is now available in dev or in the next latest release in january.


Github activity now in stream, modified author model

closes #16

closes #16

Looks good :+1:
Maybe wait to merge until after part 2?


fix memleaks in uv__get_cpu_speed for darwin

ERROR: LeakSanitizer: detected memory leaks
Direct leak of 432 byte(s) in 9 object(s) allocated from:
    #0 0x1062eedc2 in __sanitizer_mz_calloc+0x92 (libclang_rt.asan_osx_dynamic.dylib:x86_64+0x46dc2)
    #1 0x7fff20171eb6 in _malloc_zone_calloc+0x3a (libsystem_malloc.dylib:x86_64+0x1beb6)
    #2 0x7fff203ac180 in _CFRuntimeCreateInstance+0x124 (CoreFoundation:x86_64h+0x4180)
    #3 0x7fff203ab906 in __CFStringCreateImmutableFunnel3+0x84d (CoreFoundation:x86_64h+0x3906)
    #4 0x7fff203ab0a1 in CFStringCreateWithCString+0x48 (CoreFoundation:x86_64h+0x30a1)
    #5 0x1056f63e1 in uv__get_cpu_speed darwin.c:267
    #6 0x1056f491e in uv_cpu_info darwin.c:338

I just CFRelease that.

Landed in https://github.com/libuv/libuv/commit/d2482ae121e0ae5d0cf0934b2e93cee81a4ac5ed. Thanks!


Nshlib nxstyle fixes

please fix the failing check

@jerpelea how? "for (; ; )"?

d0950018 nsh_dbgcmds.c: Appease nxstyle complaints
ec8f18fa nsh_command.c: Appease nxstyle complaints
../nuttx/tools/checkpatch.sh -g ec8f18fa70526fc61a989c29b4d40757cdc2bb1a
d09500185c0a1ebbd796d39e00a8011e391bcb19
nshlib/nsh_dbgcmds.c:418:7: error: Missing whitespace after semicolon
nshlib/nsh_dbgcmds.c:418:8: error: Missing whitespace after semicolon
##[error]Process completed with exit code 1.

@jerpelea i know the errors. i explained why i didn't fix them in the commit message.

you should fix them because otherise the warning will always be there

for (;;)

Is not an acceptable form.  Whitespace is required after the semicolons like
for (; ; )

I try to rebase to master and I get some conflicts.  I would like you input on which is correct:
s21K1xx_periphclocks.c:
137 <<<<<<< HEAD
138     .clkname = LPSPI1_CLK,
139 #ifdef CONFIG_S32K1XX_LPSPI1
140     .clkgate = true,
141 #else
142     .clkgate = false,
143 #endif
144     .clksrc  = CLK_SRC_SIRC_DIV2,
145 =======
146     .clkname    = FlexCAN0_CLK,
147     .clkgate    = true,
148     .clksrc     = CLK_SRC_SOSC,
149     .frac       = MULTIPLY_BY_ONE,
150     .divider    = 1,
151   },
152   {
153     .clkname    = RTC0_CLK,
154     .clkgate    = true,
155     .clksrc     = CLK_SRC_OFF,
156     .frac       = MULTIPLY_BY_ONE,
157     .divider    = 1,
158 >>>>>>> PoC S32K1XX FlexCAN sends CAN msgs through SocketCAN

The FlexCAN0 change is, I suspect, yours.  FYI:  All FlexCAN definitions have been renamed as FLEXCAN on master to conform to the coding standard.
And the other conflict is in boards/arm/s32k1xx/s32k148evb/src/s32k148evb.h
 85 <<<<<<< HEAD
 86 #define NUM_OF_PERIPHERAL_CLOCKS_0 18
 87 =======
 88 #define NUM_OF_PERIPHERAL_CLOCKS_0 15
 89 >>>>>>> PoC S32K1XX FlexCAN sends CAN msgs through SocketCAN

I think that in both cases, the second change "PoC S32K1XX FlexCAN sends CAN msgs through SocketCAN" takes precedence, correct.
I have aborted the rebase for now, but will try again based on your advice.

ok, i fixed it.
@patacongo your last comment seems unrelated to this PR. i guess you posted it on a wrong place.

ok, i fixed it.
@patacongo your last comment seems unrelated to this PR. i guess you posted it on a wrong place.

Yep, you are right. I wondered what happened to that comment.  Sorry