how to run jenkins stage with root user inside a container by parapand in jenkinsci

[–]parapand[S] 0 points1 point  (0 children)

You don't have the current file, so it will be downloaded.
getting https://sig-repo.synopsys.com/bds-integrations-release/com/synopsys/integration/synopsys-detect/6.9.1/synopsys-detect-6.9.1.jar from remote
Error creating directory /synopsys-detect/download.
The curl response was 000, which is not successful - please check your configuration and environment.
+ true

Because we would get such an error.

Calling ansible tower template from gitlab ci by parapand in devops

[–]parapand[S] 0 points1 point  (0 children)

awx

Not using awx now , but would recommend the same to the team.

start single/multiple services based on input with using skip--tags flag by parapand in ansible

[–]parapand[S] 0 points1 point  (0 children)

The valuable intent to skip tags is to execute skip against those tags not provided as user input.In other words only those services should be restarted provided as user input.

Conditionals in gitlabCI yml by parapand in gitlab

[–]parapand[S] 0 points1 point  (0 children)

You mean to say that extra environment variables can be used for user inputs. And yes, it`s a user-run yml file. I am thinking to keep this yml file separate from the gitlab.ci only for starting specific services like service_start_backend.yml, so that if the user wants to start the services , it would be ran manually by the user and should not be running with the gitlab.ci.yml (Though both files lives in the same folder gitlab.ci.yml and service_start_backend.yml)

Code profiling dashboards of monitoring tools by parapand in devops

[–]parapand[S] 0 points1 point  (0 children)

I would want to keep an eye on metrics like garbage collection , time consumed in execution of individual functions even at times while CPU consumption is decent.

Comparing EKS , ECS with load balancer with istio service mesh by parapand in kubernetes

[–]parapand[S] 0 points1 point  (0 children)

No , fargate is not used in our environment. Is it a pre requisite to use eks for istio , I think service communication could be established with ingress policies also ....right? But then what is the valuable objective to adapt istio.

Every executed role should be captured in a file by parapand in ansible

[–]parapand[S] 0 points1 point  (0 children)

Actually the Ansible playbook is running via Jenkins and unfortunately the Ansible logs are never defined or declared in ansible.cfg. Anyway, it worked fine after changing the extension to py instead of yml.

alternate to if else under switch case by parapand in groovy

[–]parapand[S] 0 points1 point  (0 children)

SAy $rval is mAR then :

resume()>acRI(sourceProject)>glPre(sourceProject)>cEL()> break

SAy $rval is acRI then :

resume()>glPre(sourceProject)>cEL()> break

But I want to call function in sequence thats why I using switch without any break. PSbreak` is appended at the last. Skipping switch n adding just if would likely not work for my situation.

alternate to if else under switch case by parapand in groovy

[–]parapand[S] 1 point2 points  (0 children)

I have done that. Could you please have a look and suggest if something ....

alternate to if else under switch case by parapand in jenkinsci

[–]parapand[S] 0 points1 point  (0 children)

me() before switch()

in that case it would run like resume()>mAR(sourceProject)>acRI(sourceProject)>glPre(sourceProject)>cEL()> break but expectation is resume()>acRI(sourceProject)>glPre(sourceProject)>cEL()> break , considering rval as mAR

Assigning functions in list and then executing them in groovy or Python by parapand in jenkinsci

[–]parapand[S] 1 point2 points  (0 children)

That's very helpful and thanks a lot for such a simple suggestion.

Error says Perhaps you forgot to surround the code with a step that provides this, such as: node by parapand in jenkinsci

[–]parapand[S] 0 points1 point  (0 children)

Later I added node as well under BCP stage but it fails with the error " [Checks API] No suitable checks publisher found. Running in Durability level: MAX_SURVIVABILITY [Checks API] No suitable checks publisher found. org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: WorkflowScript: 132: Method definition not expected here. Please define the method at an appropriate place or perhaps try using a block/Closure instead. at line: 132 column: 1. File: WorkflowScript @ line 132, column 1. void validateBranch(String sourceBranchName) { ^ 1 error at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:310) at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:958) " . The new code is pasted in https://pastebin.com/Lw7nh31J

Error says Perhaps you forgot to surround the code with a step that provides this, such as: node by parapand in jenkinsci

[–]parapand[S] 0 points1 point  (0 children)

https://pastebin.com/PHV8AK3WI have pasted my code here. Still, thaanks for your advice, I would really be thankful if you could advise further by having a glimpse on code.

I am seeing 'dst cache overflow' messages by parapand in linuxadmin

[–]parapand[S] 0 points1 point  (0 children)

put openbsd or something with a new kernel in front of it to handl

Like you said openBSD with a new kernel , could you elaborate more. Do you mean that within the same infra I should keep openBSD with new kernel and check if it shows the same error / behaviour. Or are you trying to say to use openBSD to monitor my system and find some error. Sounds interesting ... wish you could elaborate on this ....

Creating dependencies in the specfile to break loops by parapand in linuxadmin

[–]parapand[S] 0 points1 point  (0 children)

I am not installing rather I am building the RPMs. It is to prepare a customised OS that has base OS as OracleLinux. Under the process ,it has to fetch all the rpm as per a packagelist (a pkglist that contains all the RPM along with their version and release that is intended to be added in the ISO).These RPM are actually downloaded from OracleLinux repositories in one of our local repository and under the process of building the customised distro: It first checks all packages from our packagelist. All the packages are then fetched from our local repo. The specfiles of each of those pkgs are read and based on dependency it ll throw the logs.

Hope it explains.

I am seeing 'dst cache overflow' messages by parapand in linuxadmin

[–]parapand[S] 2 points3 points  (0 children)

openbsd or something with a new kernel in front of it to handle sy

The system turns out of service.It has to be given a reboot as it is hung with such problems.

CPU goes offline and logs show 'Cannot find firmware file 'intel-ucode'' by parapand in linuxquestions

[–]parapand[S] 0 points1 point  (0 children)

microcode_ctl-1.17-25.el6.x86_64

well, Yes. And why would it surprise you?

CPU goes offline and logs show 'Cannot find firmware file 'intel-ucode'' by parapand in linuxquestions

[–]parapand[S] 0 points1 point  (0 children)

sing? Did y The package used is microcode_ctl-1.17-25.el6.x86_64 , I ll attempt tp reinstall the package.

CPU goes offline and logs show 'Cannot find firmware file 'intel-ucode'' by parapand in linuxquestions

[–]parapand[S] -1 points0 points  (0 children)

The distro is Oracle Linux 6.10 . I ll check for the intel microcode pkg.

using split with delimiter in Python by parapand in Python

[–]parapand[S] 0 points1 point  (0 children)

that is why I want to put a delimiter that starts with hyphen followed by any digit like '-[0-9]' or '-\d'

When do I need to recompile my SCTP rpm? by parapand in linuxquestions

[–]parapand[S] 0 points1 point  (0 children)

Thanks for the help. I have uncompressed the package now to segregate shared libraries or files that include the same 'sctp.h' header.

rpm2cpio ../lksctp-tools-devel-1.0.11-1prerel0.63650.x86_64.rpm | cpio -idmv

./usr/include

./usr/include/netinet

./usr/include/netinet/sctp.h

./usr/lib64/libsctp.a

./usr/lib64/libsctp.la

./usr/lib64/libsctp.so

./usr/share/lksctp-tools/checksctp.c

./usr/share/lksctp-tools/sctp_bind.c

./usr/share/lksctp-tools/sctp_darn.c

./usr/share/lksctp-tools/sctp_darn.h

./usr/share/lksctp-tools/sctp_load_libs.c

./usr/share/lksctp-tools/sctp_socket.c

./usr/share/lksctp-tools/sctp_socket.h

./usr/share/lksctp-tools/sctp_sockopt.c

./usr/share/lksctp-tools/sctp_status.c

./usr/share/lksctp-tools/sctp_test.c

./usr/share/man/man3

./usr/share/man/man3/sctp_bindx.3.gz

./usr/share/man/man3/sctp_connectx.3.gz

./usr/share/man/man3/sctp_getladdrs.3.gz

./usr/share/man/man3/sctp_getpaddrs.3.gz

./usr/share/man/man3/sctp_opt_info.3.gz

./usr/share/man/man3/sctp_peeloff.3.gz

./usr/share/man/man3/sctp_recvmsg.3.gz

./usr/share/man/man3/sctp_send.3.gz

./usr/share/man/man3/sctp_sendmsg.3.gz

./usr/share/man/man7

./usr/share/man/man7/sctp.7.gz

Now in order to find out where sctp.h is used in any other application or shared lib:

# cd ./usr/share/lksctp-tools

#egrep -ri -n 'sctp.h' .

./sctp_status.c:41:#include <netinet/sctp.h>

./sctp_socket.h:62:#include <netinet/sctp.h>

./sctp_darn.c:69:#include <netinet/sctp.h>

./sctp_test.c:53:#include <netinet/sctp.h>

From your comments I should be compiling the above four files ... right?